update 标准法规入库/变更流程
This commit is contained in:
@@ -163,7 +163,8 @@ export default {
|
||||
query: {
|
||||
taskName: record.taskName,
|
||||
taskId: record.taskId, // 任务id
|
||||
processInstanceId: record.processInstanceId // 流程实例id,必须传人员信息右侧表格查询需要用
|
||||
processInstanceId: record.processInstanceId, // 流程实例id,必须传人员信息右侧表格查询需要用
|
||||
nodeId: record.nodeId // 节点的id
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -502,7 +502,11 @@ export default {
|
||||
// 处理业务基本信息部分的数据
|
||||
const formList = Object.values(this.formList).reduce((acc, cur) => acc.concat(cur), [])
|
||||
this.formInline = Object.assign({ ...this.formInline }, { ...businessData })
|
||||
this.formInline.standard_number_temp = this.formInline.standard_number
|
||||
const nodeId = this.$route.query.nodeId
|
||||
// 如果是审批节点或者是入库流程的变更节点,处理回显的标准号
|
||||
if (nodeId === FGEntryChangeProcessNode.approve.value || (nodeId === FGEntryChangeProcessNode.initiate.value && this.formInline.operateType === OperationType.CHANGE.value)) {
|
||||
this.formInline.standard_number_temp = this.formInline.standard_number
|
||||
}
|
||||
const treeMultipleField = formList.filter(tt => tt.fieldShowType === FieldType.TREE.value)
|
||||
treeMultipleField.forEach(field => {
|
||||
const valueArr = []
|
||||
@@ -524,13 +528,13 @@ export default {
|
||||
})
|
||||
})
|
||||
// 获取按钮清单
|
||||
const btnList = FGEntryChangeProcessNode.propertyOfValue('btn', this.$route.query.taskName)
|
||||
const btnList = FGEntryChangeProcessNode.propertyOfValue('btn', this.$route.query.nodeId)
|
||||
if (btnList && btnList.length > 0) {
|
||||
this.btnList = btnList
|
||||
} else {
|
||||
this.btnList = FGEntryChangeProcessNode.approve.btn
|
||||
}
|
||||
this.disabled = FGEntryChangeProcessNode.propertyOfValue('disabled', this.$route.query.taskName) || false
|
||||
this.disabled = FGEntryChangeProcessNode.propertyOfValue('disabled', this.$route.query.nodeId) || false
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user