diff --git a/api/handlecase/index.js b/api/handlecase/index.js index 753b383..9845f8b 100644 --- a/api/handlecase/index.js +++ b/api/handlecase/index.js @@ -89,38 +89,46 @@ 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 + }) +} /** 根据id查询案件信息 */ export function caseApplicationSelectById(data) { return request({ diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue index 98886f0..049dfd9 100644 --- a/pages/handlecase/component/list.vue +++ b/pages/handlecase/component/list.vue @@ -44,7 +44,8 @@ -