From 408cdcedd5f274b6612abb00e9af66fb5eb82c3d Mon Sep 17 00:00:00 2001 From: hanchaobo Date: Tue, 6 Feb 2024 15:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/handlecase/index.js | 48 +++++++++------- pages/handlecase/component/list.vue | 78 +++++++++++++++++++++----- pages/handlecase/component/payList.vue | 8 +-- pages/handlecase/index.vue | 23 +++++++- 4 files changed, 115 insertions(+), 42 deletions(-) diff --git a/api/handlecase/index.js b/api/handlecase/index.js index 9df86e0..0ce0eed 100644 --- a/api/handlecase/index.js +++ b/api/handlecase/index.js @@ -89,35 +89,43 @@ export function queryCaseFlowInfo(data) { // 根据机构id查询模板 export function getTemplate(data) { - return request({ - url: `/deptIdentify/getTemplate`, - method: 'get', - params: data - }) + return request({ + url: `/deptIdentify/getTemplate`, + method: 'get', + params: data + }) } // 根据身份证获取生日和性别 export function getInfoByIdCard(query) { - return request({ - url: '/caseApplication/getInfoByIdCard', - method: 'get', - params: query - }) + return request({ + url: '/caseApplication/getInfoByIdCard', + method: 'get', + params: query + }) } /** 新增案件 */ export function caseApplicationInsert(data) { - return request({ - url: '/caseApplication/insert', - method: 'post', - data: data - }) + return request({ + url: '/caseApplication/insert', + method: 'post', + data: data + }) } // 修改立案申请接口 export function updateComfire(data) { - return request({ - url: "/caseApplication/update", - method: "post", - data: data, - }) + return request({ + url: "/caseApplication/update", + method: "post", + data: data, + }) +} +//提交案件 +export function caseAppSubmit(data) { + return request({ + 'url': `/caseApplication/submit`, + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue index 1d5068c..eec8a71 100644 --- a/pages/handlecase/component/list.vue +++ b/pages/handlecase/component/list.vue @@ -43,7 +43,8 @@ -