<template>
  <xc-dialog v-model="data.dialog" title="申请错误">
    <div v-for="(value,key) in data.msg" class="main">
      <div class="key">
        手术名称： {{ key }}
      </div>
      <div class="msg">
        {{ value }}
      </div>
    </div>
  </xc-dialog>
</template>

<script setup name='SurgicalErrorInfo'>
import XcDialog from "@/components/xiao-chan/dialog/XcDialog";

const props = defineProps({
  data: Object
})


</script>

<style scoped lang="scss">
.main {
  border: 1px solid;
  border-radius: 5px;
  padding: 10px;

  .key {
    border: 1px solid;
    border-radius: 5px;
    background-color: red;
    color: #ffffff;
  }


}
</style>
