诊断类别:字典管理中找不到对应的字典数据,字典类别在显示出来的数据和医生开立诊断的数据不一致。

This commit is contained in:
2025-10-27 15:09:48 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@
>
<el-select v-model="scope.row.medTypeCode" placeholder=" " style="width: 150px">
<el-option
v-for="item in med_type"
v-for="item in diag_type"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -235,7 +235,7 @@ const props = defineProps({
const emits = defineEmits(['diagnosisSave']);
const { proxy } = getCurrentInstance();
const userStore = useUserStore();
const { med_type } = proxy.useDict('med_type');
const { diag_type } = proxy.useDict('diag_type');
const rules = ref({
name: [{ required: true, message: '请选择诊断', trigger: 'change' }],
medTypeCode: [{ required: true, message: '请选择诊断类型', trigger: 'change' }],

View File

@@ -43,7 +43,7 @@ const props = defineProps({
required: true,
},
});
// getList();
getList();
function getList() {
queryParams.value.useScopeCode = 1;
getEmrTemplateList(queryParams.value).then((res) => {