diff --git a/src/api/modules/process.js b/src/api/modules/process.js index c43a2fa..ca0a8f7 100644 --- a/src/api/modules/process.js +++ b/src/api/modules/process.js @@ -12,7 +12,7 @@ export default { // 获取审批历史 getHistory (data) { return request({ - url: '/api/lawss/activiti/get_list_by_instance', + url: '/api/get_list_by_instance', method: 'get', params: data }) diff --git a/src/views/permissionApplication/examine.vue b/src/views/permissionApplication/examine.vue index 4454e2d..cd02f1b 100644 --- a/src/views/permissionApplication/examine.vue +++ b/src/views/permissionApplication/examine.vue @@ -193,8 +193,11 @@ export default { }, handleSubmit () { if (this.$refs.operationRef.submit()) { - // 通过了校验 需要整合参数 - console.log('斤斤计较') + // 通过了校验 需要整合参数 拿到原来的dataJson 再把新添加的增进去 在拼成dataJson + let submit= JSON.parse(this.processOld.submitJson) + let dataJson= JSON.parse(this.processOld.dataJson) + let submitJson= {...data , ...this.$refs.operationRef.examineForm} + this.completeProcess(dataJson,submitJson) } } } diff --git a/src/views/userCenter/processCenter/finishProcess.vue b/src/views/userCenter/processCenter/finishProcess.vue index 37c14ed..9a6172a 100644 --- a/src/views/userCenter/processCenter/finishProcess.vue +++ b/src/views/userCenter/processCenter/finishProcess.vue @@ -7,11 +7,16 @@ {{ rowIndex + (q.current - 1) * q.size + 1 }} - + + + + - + title="流程编号"> + + + + + + @@ -85,13 +95,26 @@ export default { this.q.current = val; this.loadData(); }, - handle(type) { - switch (type) { + handle(row) { + switch (row.prcType) { case '1' : - this.$router.push({ - path:'', - query:'' - }) + if (row.taskDefinitionKey == 'aid3') { + this.$router.push({ + path: '/permission/launch', + query: { + id: 'AEHJB8YNJ3', + taskIds:row.taskIds + } + }) + }else{ + this.$router.push({ + path: '/permission/examine', + query: { + id: 'AEHJB8YNJ3', + taskIds:row.taskIds + } + }) + } } }, }, diff --git a/src/views/userCenter/processCenter/monitorProcesses.vue b/src/views/userCenter/processCenter/monitorProcesses.vue index 7095465..80bc601 100644 --- a/src/views/userCenter/processCenter/monitorProcesses.vue +++ b/src/views/userCenter/processCenter/monitorProcesses.vue @@ -8,10 +8,20 @@ - + title="流程编号"> + + + + + + diff --git a/src/views/userCenter/processCenter/sentProcess.vue b/src/views/userCenter/processCenter/sentProcess.vue index dce3d5f..cb56b3f 100644 --- a/src/views/userCenter/processCenter/sentProcess.vue +++ b/src/views/userCenter/processCenter/sentProcess.vue @@ -9,10 +9,21 @@ + title="流程编号"> + + + + + +