[update 标准解读流程] 完善
This commit is contained in:
+12
-11
@@ -291,7 +291,9 @@ export default {
|
||||
}
|
||||
// 回显业务信息,如果有标识属性就是强制撤回
|
||||
if (Object.hasOwnProperty.call(infoJson, 'revocation')) {
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.$refs.businessComp.setData(infoJson.pageData)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -367,16 +369,6 @@ export default {
|
||||
projectId: this.projectId
|
||||
})
|
||||
|
||||
// 发起保存草稿信息
|
||||
// if (this.isInitiate) {
|
||||
// params.infoJsonStr = JSON.stringify({
|
||||
// // 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
||||
// personInfo: this.$refs.personnelInfo.getDataObj(),
|
||||
// // 业务表格数据,用于强制撤回后回显
|
||||
// draftData: params.processEsInspectPlanList
|
||||
// })
|
||||
// }
|
||||
|
||||
params.data = {}
|
||||
// 发起节点
|
||||
if (this.isInitiate) {
|
||||
@@ -420,6 +412,15 @@ export default {
|
||||
params.data.processStandardInterpretClauseList = []
|
||||
params.data.processStandardInterpretClauseSublistList = compData.clauseInterpretData
|
||||
}
|
||||
|
||||
// 保存草稿信息
|
||||
params.infoJsonStr = JSON.stringify({
|
||||
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
||||
personInfo: this.$refs.personnelInfo.getDataObj(),
|
||||
// 业务表格数据,用于强制撤回后回显
|
||||
pageData: params
|
||||
})
|
||||
|
||||
// 如果有校验失败的,那就报错
|
||||
if (flag) {
|
||||
throw new Error(flag)
|
||||
|
||||
Reference in New Issue
Block a user