诊断模板

This commit is contained in:
旺仔 2024-08-31 03:22:20 +08:00
parent 601e6b59be
commit f73f5ef917

View File

@ -231,6 +231,9 @@ const open = async (type: string, id?: number) => {
dialogTitle.value = t('action.' + type) dialogTitle.value = t('action.' + type)
formType.value = type formType.value = type
resetForm() resetForm()
orgList.value = await DiagnosisTemplateApi.getOrgList()
doctorList.value = await DiagnosisTemplateApi.getDoctorList()
templateList.value = await DiagnosisTemplateApi.getAllList()
if (id) { if (id) {
formLoading.value = true formLoading.value = true
try { try {
@ -316,11 +319,7 @@ const submitForm = async () => {
} }
/** 钩子方法 **/ /** 钩子方法 **/
onMounted(async () => { onMounted(async () => {})
orgList.value = await DiagnosisTemplateApi.getOrgList()
doctorList.value = await DiagnosisTemplateApi.getDoctorList()
templateList.value = await DiagnosisTemplateApi.getAllList()
})
/** 防空作用域 **/ /** 防空作用域 **/
console.log(dateFormatter) console.log(dateFormatter)