对接重点认证标准/政策合规性项目审查流程
This commit is contained in:
+3
-3
@@ -351,18 +351,18 @@
|
|||||||
getData(row) {
|
getData(row) {
|
||||||
this.infoTableDatas = row.infoTableDatas || []
|
this.infoTableDatas = row.infoTableDatas || []
|
||||||
this.infoTableDatas = [...this.infoTableDatas]
|
this.infoTableDatas = [...this.infoTableDatas]
|
||||||
this.multipleTableData = row.cpghDataList || []
|
this.multipleTableData = row.cpghbDataList || []
|
||||||
this.multipleTableData = [...this.multipleTableData]
|
this.multipleTableData = [...this.multipleTableData]
|
||||||
},
|
},
|
||||||
submit(callback) {
|
submit(callback) {
|
||||||
if (this.multipleTableData && this.multipleTableData.length > 0) {
|
if (this.multipleTableData && this.multipleTableData.length > 0) {
|
||||||
callback && callback(this.multipleTableData,this.deleteList)
|
callback && callback(this.multipleTableData,this.deleteList.join(','))
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请至少添加一条数据')
|
this.$message.warning('请至少添加一条数据')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
save(callback) {
|
save(callback) {
|
||||||
callback && callback(this.multipleTableData,this.deleteList)
|
callback && callback(this.multipleTableData,this.deleteList.join(','))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,9 +192,9 @@
|
|||||||
import processFile from "../../components/processFile";
|
import processFile from "../../components/processFile";
|
||||||
import approvalHistory from "./components/approvalHistory";//审批历史
|
import approvalHistory from "./components/approvalHistory";//审批历史
|
||||||
import personnelInformation from "./components/personnelInformation";//人员信息
|
import personnelInformation from "./components/personnelInformation";//人员信息
|
||||||
import fetchList from "./components/fetchList";
|
import fetchList from "./components/fetchList";//未选择责任人时的列表
|
||||||
import businessDivisionList from "./components/businessDivisionList";
|
import businessDivisionList from "./components/businessDivisionList";//责任人为事业部时的列表
|
||||||
import productPlanningList from "./components/productPlanningList";
|
import productPlanningList from "./components/productPlanningList";//责任人为产品规划部的列表
|
||||||
import {
|
import {
|
||||||
queryTaskFirst,
|
queryTaskFirst,
|
||||||
saveTaskFirst,
|
saveTaskFirst,
|
||||||
@@ -263,20 +263,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
showPersonnel() {
|
showPersonnel() {//显示人员信息
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
showApprovalHistory() {
|
showApprovalHistory() {//显示历史记录
|
||||||
if (!this.taskKey) {
|
if (!this.taskKey) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
disabledXX() {
|
disabledXX() {//是否可以操作基础信息
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||||
return false
|
return false
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
|
|
||||||
isFetchList() { //是否展示征求意见列表
|
isFetchList() {//根据流程节点判断 是否展示列表
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' ||
|
||||||
@@ -357,7 +357,7 @@
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
isBusinessDivisionList() {
|
isBusinessDivisionList() {//根据流程节点判断 展示责任人为事业部的列表
|
||||||
if ((this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' ||
|
if ((this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey9' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey9' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey10' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey10' ||
|
||||||
@@ -371,7 +371,7 @@
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
isProductPlanningList() {
|
isProductPlanningList() {//根据流程节点判断 展示责任人为产品规划部的列表
|
||||||
if ((this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' ||
|
if ((this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey9' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey9' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey10' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey10' ||
|
||||||
@@ -453,7 +453,6 @@
|
|||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.$refs.solicitationListRef.getData()
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
});
|
});
|
||||||
@@ -470,7 +469,6 @@
|
|||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.$refs.solicitationListRef.getData()
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
});
|
});
|
||||||
@@ -490,7 +488,6 @@
|
|||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.$refs.solicitationListRef.getData()
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
});
|
});
|
||||||
@@ -500,7 +497,7 @@
|
|||||||
let dataForm = JSON.parse(JSON.stringify(this.dataForm))
|
let dataForm = JSON.parse(JSON.stringify(this.dataForm))
|
||||||
this.$refs.solicitationListRef.save((row, ids) => {
|
this.$refs.solicitationListRef.save((row, ids) => {
|
||||||
_formData.append("taskIds", this.$route.query.taskIds);
|
_formData.append("taskIds", this.$route.query.taskIds);
|
||||||
dataForm.cpghDataList = row
|
dataForm.cpghbDataList = row
|
||||||
_formData.append("json", JSON.stringify({
|
_formData.append("json", JSON.stringify({
|
||||||
form: this.dataForm,
|
form: this.dataForm,
|
||||||
commentText: this.commentText,
|
commentText: this.commentText,
|
||||||
@@ -510,7 +507,6 @@
|
|||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.$refs.solicitationListRef.getData()
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.closeButtonLoading()
|
this.closeButtonLoading()
|
||||||
});
|
});
|
||||||
@@ -644,14 +640,15 @@
|
|||||||
this.completeTask(this.$route.query.taskIds, query)
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
})
|
})
|
||||||
} else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部提交
|
} else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部提交
|
||||||
this.$refs.productPlanningListRef.submit((row) => {
|
this.$refs.productPlanningListRef.submit((row, ids) => {
|
||||||
const json = Object.assign(this.dataForm);
|
const json = Object.assign(this.dataForm);
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
json.cpghDataList = row
|
json.cpghbDataList = row
|
||||||
json.approvalFlag = 0
|
json.approvalFlag = 0
|
||||||
let query = {
|
let query = {
|
||||||
form: json,
|
form: json,
|
||||||
commentText: this.commentText
|
commentText: this.commentText,
|
||||||
|
removeIds: ids,
|
||||||
}
|
}
|
||||||
this.openButtonLoading()
|
this.openButtonLoading()
|
||||||
this.completeTask(this.$route.query.taskIds, query)
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
@@ -691,14 +688,15 @@
|
|||||||
this.completeTask(this.$route.query.taskIds, query)
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
})
|
})
|
||||||
} else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部驳回
|
} else if (this.dataForm.departmentType == 'productPlanning') {//产品规划部驳回
|
||||||
this.$refs.productPlanningListRef.save((row) => {
|
this.$refs.productPlanningListRef.save((row, ids) => {
|
||||||
const json = Object.assign(this.dataForm);
|
const json = Object.assign(this.dataForm);
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
json.cpghDataList = row
|
json.cpghbDataList = row
|
||||||
json.approvalFlag = 1
|
json.approvalFlag = 1
|
||||||
let query = {
|
let query = {
|
||||||
form: json,
|
form: json,
|
||||||
commentText: this.commentText
|
commentText: this.commentText,
|
||||||
|
removeIds: ids
|
||||||
}
|
}
|
||||||
this.openButtonLoading()
|
this.openButtonLoading()
|
||||||
this.completeTask(this.$route.query.taskIds, query)
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
|
|||||||
Reference in New Issue
Block a user