diff --git a/src/api/process.js b/src/api/process.js index 44ac63ddc..614e99e00 100644 --- a/src/api/process.js +++ b/src/api/process.js @@ -49,7 +49,14 @@ export function inboundLiaisonDetail (data) { params: data }) } - +// 联络人分配FO详情查询 +export function queryZchgxxmscTaskDetail (data) { + return axios({ + url: '/api/lawss/activiti/queryZchgxxmscTaskDetail', + method: 'get', + params: data + }) +} // 流程保存 export function saveTask (data) { return axios({ diff --git a/src/pages/processCenter/pages/creatProcess/policyComplianceReview/index.vue b/src/pages/processCenter/pages/creatProcess/policyComplianceReview/index.vue index 12ab1263f..a500bb883 100644 --- a/src/pages/processCenter/pages/creatProcess/policyComplianceReview/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyComplianceReview/index.vue @@ -216,7 +216,7 @@ saveTaskFirst, taskDel, changeAssigneeNew, - inboundLiaisonDetail, + queryZchgxxmscTaskDetail, saveTaskForPub, } from "api/process"; import axios from "axios"; @@ -659,7 +659,7 @@ this.openButtonLoading() this.completeTask(this.$route.query.taskIds, query) }) - } else if (this.data.departmentType == 'productPlanning') {//产品规划部提交 + } else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部提交 this.$refs.productPlanningListRef.submit((row) => { const json = Object.assign(this.dataForm); json.commentText = this.commentText @@ -706,7 +706,7 @@ this.openButtonLoading() this.completeTask(this.$route.query.taskIds, query) }) - } else if (this.data.departmentType == 'productPlanning') {//产品规划部驳回 + } else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部驳回 this.$refs.productPlanningListRef.save((row) => { const json = Object.assign(this.dataForm); json.commentText = this.commentText @@ -863,9 +863,10 @@ getData() { this.dataLoading = true return new Promise((resolve, reject) => { - inboundLiaisonDetail({ + queryZchgxxmscTaskDetail({ taskIds: this.$route.query.taskIds, - pId: this.$route.query.prcId + pId: this.$route.query.prcId, + taskDefinitionKey: this.taskKey }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) @@ -879,6 +880,7 @@ }, formProcessing(row) { this.dataForm = row.form + // this.dataForm.departmentType = 'productPlanning' this.dataForm = {...this.dataForm} if (this.showPersonnel) {//拿到人员信息的数据 this.$refs.personnelInformationRef.getData(row.form)