From 601e6b59be2d71300495d27de057e854f9a4575a Mon Sep 17 00:00:00 2001 From: lichuanyang <1176537920@qq.com> Date: Sat, 31 Aug 2024 03:10:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=8A=E6=96=AD=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../diagnosisTemplate/index.ts | 3 + .../DiagnosisTemplateForm.vue | 236 ++++++++++++++---- .../diagnosisTemplate/index.vue | 92 +++++-- 3 files changed, 270 insertions(+), 61 deletions(-) diff --git a/src/api/applyregistration/diagnosisTemplate/index.ts b/src/api/applyregistration/diagnosisTemplate/index.ts index fc9a3423..288060c0 100644 --- a/src/api/applyregistration/diagnosisTemplate/index.ts +++ b/src/api/applyregistration/diagnosisTemplate/index.ts @@ -15,6 +15,9 @@ export const DiagnosisTemplateApi = { getPage: async (params: any) => { return await request.get({ url: `/system/reporttemplate/page`, params }) }, + getAllList: async () => { + return await request.get({ url: `/system/reporttemplate/getlist` }) + }, get: async (id: any) => { return await request.get({ url: `/system/reporttemplate/get?id=`+ id }) }, diff --git a/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue b/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue index 4e73180a..aead0ad8 100644 --- a/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue +++ b/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue @@ -1,56 +1,44 @@