From 85d3a33414e594908565d9cfc91be2ca4793caad Mon Sep 17 00:00:00 2001 From: hanchaobo Date: Tue, 6 Feb 2024 15:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/officialSeal/officialSeal.js | 12 +- .../officialSeal/components/addTemplate.vue | 124 +++++++++---- .../officialSeal/components/editTemplate.vue | 169 +++++++++++++----- vue.config.js | 4 +- 4 files changed, 226 insertions(+), 83 deletions(-) diff --git a/src/api/officialSeal/officialSeal.js b/src/api/officialSeal/officialSeal.js index 30f43af..7255205 100644 --- a/src/api/officialSeal/officialSeal.js +++ b/src/api/officialSeal/officialSeal.js @@ -78,7 +78,7 @@ export function updateTemplate(data) { return request({ url: '/deptIdentify/updateTemplate', method: 'post', - params: data + data: data }) } // 删除模板 @@ -200,4 +200,12 @@ export function getTemplateInfoById(data) { method: 'get', params: data }) -} \ No newline at end of file +} +// 查询模板详情 +export function getTemplateDetail(data) { + return request({ + url: '/deptIdentify/getTemplateDetail', + method: 'get', + params: data + }) +} diff --git a/src/views/officialSeal/components/addTemplate.vue b/src/views/officialSeal/components/addTemplate.vue index ef11b15..fb6f9b2 100644 --- a/src/views/officialSeal/components/addTemplate.vue +++ b/src/views/officialSeal/components/addTemplate.vue @@ -6,12 +6,12 @@ - + @@ -19,10 +19,20 @@ - - 选择模板文件 + + 选择调解申请书模板 + + + 选择和解协议模板 + + + 选择调解书模板