From 2d361d63d10290faca37c55b9bc76f8fb0f8719d Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Mon, 28 Oct 2024 13:28:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E6=B5=8Bbug=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/health/healthRecord/index.vue | 1 - src/views/health/medicineBasic/index.vue | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/health/healthRecord/index.vue b/src/views/health/healthRecord/index.vue index 4fcda6e..cfc1d9c 100644 --- a/src/views/health/healthRecord/index.vue +++ b/src/views/health/healthRecord/index.vue @@ -285,7 +285,6 @@ import { require } from '@/utils/require' import { nextTick, reactive, toRefs } from 'vue' const { proxy } = getCurrentInstance() const { record_type, etiology, health_record_state } = proxy.useDict('record_type', 'etiology', 'health_record_state') -const { mar_type, medical_unit, mar_resource } = proxy.useDict('mar_type', 'medical_unit', 'mar_resource') const healthRecordList = ref([]) const open = ref(false) const loading = ref(true) diff --git a/src/views/health/medicineBasic/index.vue b/src/views/health/medicineBasic/index.vue index b98b2df..c772cac 100644 --- a/src/views/health/medicineBasic/index.vue +++ b/src/views/health/medicineBasic/index.vue @@ -223,7 +223,7 @@ const title = ref('') const operateList = ref([ { id: 'view', icon: 'View', title: '查看', hasPermi: ['health:medicineBasic:query'] }, { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['health:medicineBasic:edit'] }, - { id: 'copy', icon: 'Link', title: '复制', hasPermi: ['health:marRecord:edit'] }, + { id: 'copy', icon: 'Link', title: '复制', hasPermi: ['health:medicineBasic:edit'] }, { id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['health:medicineBasic:remove'] } ]) const data = reactive({ @@ -253,7 +253,7 @@ const data = reactive({ brand: [{ required: true, message: '品牌不能为空', trigger: 'blur' }], packaging: [{ required: true, message: '药品包装不能为空', trigger: 'blur' }], manufacturers: [{ required: true, message: '生产厂家不能为空', trigger: 'blur' }], - //treatmentType: [{ required: true, message: '治疗类型不能为空', trigger: 'change' }], + treatmentType: [{ required: true, message: '治疗类型不能为空', trigger: 'change' }], dosageForm: [{ required: true, message: '药品剂型不能为空', trigger: 'change' }], code: [{ required: true, message: '药品编码不能为空', trigger: 'blur' }] }