From 84cb63fc8be2a8a24df329be7deb6390f331a7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Wed, 25 Oct 2023 17:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E9=87=8D=E7=82=B9=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E6=A0=87=E5=87=86/=E6=94=BF=E7=AD=96=E5=90=88?= =?UTF-8?q?=E8=A7=84=E6=80=A7=E9=A1=B9=E7=9B=AE=E5=AE=A1=E6=9F=A5=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process.js | 9 ++++++++- .../creatProcess/policyComplianceReview/index.vue | 12 +++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) 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)