fix: 自测bug修复。

This commit is contained in:
tianyongbao
2024-10-28 13:28:43 +08:00
parent 8dfb28ebcf
commit 2d361d63d1
2 changed files with 2 additions and 3 deletions

View File

@@ -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)

View File

@@ -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' }]
}