EmrControlRuleDialog.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <xc-dialog-v2 v-model="dialog" title="病历质控" width="80%" maximize>
  3. <el-tabs>
  4. <el-tab-pane label="时间质控">
  5. <RuleSift :data="patientList" default-expand-all/>
  6. </el-tab-pane>
  7. <el-tab-pane label="质控建议">
  8. <div v-for="(value,key) in suggestion">
  9. <div>
  10. {{ key }}
  11. </div>
  12. <el-table :data="value">
  13. <el-table-column prop="name" label="项目" width="180"/>
  14. <el-table-column prop="scoringCriteriaName" label="等级" width="40"/>
  15. <el-table-column prop="remark" label="备注" show-overflow-tooltip/>
  16. <el-table-column prop="numberOfDefects" label="缺陷数"/>
  17. </el-table>
  18. </div>
  19. </el-tab-pane>
  20. </el-tabs>
  21. </xc-dialog-v2>
  22. </template>
  23. <script setup name='EmrControlRuleDialog'>
  24. import XcDialogV2 from "@/components/xiao-chan/dialog/XcDialogV2.vue";
  25. import {myPatientQualityControl} from "@/api/zhu-yuan-yi-sheng/emr-control-rule";
  26. import RuleSift
  27. from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr_control_rule/RuleSift.vue";
  28. import {isDev} from "@/utils/public";
  29. const patientList = ref([])
  30. const suggestion = ref({})
  31. const dialog = ref(false)
  32. onMounted(() => {
  33. myPatientQualityControl().then((res) => {
  34. patientList.value = res.timeQualityControl.details
  35. suggestion.value = res.emrSuggestion
  36. if (patientList.value.length > 0) {
  37. dialog.value = true
  38. }
  39. });
  40. })
  41. </script>
  42. <style scoped lang="scss">
  43. </style>