诊断模板

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)
formType.value = type
resetForm()
orgList.value = await DiagnosisTemplateApi.getOrgList()
doctorList.value = await DiagnosisTemplateApi.getDoctorList()
templateList.value = await DiagnosisTemplateApi.getAllList()
if (id) {
formLoading.value = true
try {
@ -316,11 +319,7 @@ const submitForm = async () => {
}
/** 钩子方法 **/
onMounted(async () => {
orgList.value = await DiagnosisTemplateApi.getOrgList()
doctorList.value = await DiagnosisTemplateApi.getDoctorList()
templateList.value = await DiagnosisTemplateApi.getAllList()
})
onMounted(async () => {})
/** 防空作用域 **/
console.log(dateFormatter)