fix 81062
This commit is contained in:
+17
-13
@@ -343,19 +343,21 @@ export default {
|
|||||||
}
|
}
|
||||||
// 回显业务信息,如果有标识属性就是强制撤回
|
// 回显业务信息,如果有标识属性就是强制撤回
|
||||||
if (Object.hasOwnProperty.call(infoJson, 'revocation')) {
|
if (Object.hasOwnProperty.call(infoJson, 'revocation')) {
|
||||||
const data = infoJson.draftData
|
const formData = infoJson.draftData
|
||||||
const list = data.lawsEnterpriseStandardList || []
|
const list = formData.lawsEnterpriseStandardList || []
|
||||||
// 发起节点的表格和审批节点的表格,哪个存在回显哪个的数据
|
|
||||||
this.$refs.baseInfoTable && this.$refs.baseInfoTable.setData(list)
|
|
||||||
this.$refs.applyPermissionTable && this.$refs.applyPermissionTable.setData(list)
|
|
||||||
// 保存并回显表单信息
|
// 保存并回显表单信息
|
||||||
this.info = cloneDeep(data)
|
this.info = cloneDeep(formData)
|
||||||
this.formInfo = data
|
this.formInfo = formData
|
||||||
this.baseInfoForm.setFieldsValue({
|
this.$nextTick(() => {
|
||||||
expirationDate: data.expirationDate,
|
// 发起节点的表格和审批节点的表格,哪个存在回显哪个的数据
|
||||||
userDictText: data.userDictText,
|
this.$refs.baseInfoTable && this.$refs.baseInfoTable.setData(list)
|
||||||
standardNumbers: data.standardNumbers,
|
this.$refs.applyPermissionTable && this.$refs.applyPermissionTable.setData(list)
|
||||||
applyDetail: data.applyDetail
|
this.baseInfoForm.setFieldsValue({
|
||||||
|
expirationDate: formData.expirationDate,
|
||||||
|
userDictText: formData.userDictText,
|
||||||
|
standardNumbers: formData.standardNumbers,
|
||||||
|
applyDetail: formData.applyDetail
|
||||||
|
})
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 非强制撤回调接口查数据
|
// 非强制撤回调接口查数据
|
||||||
@@ -503,7 +505,9 @@ export default {
|
|||||||
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
|
||||||
personInfo: this.$refs.personnelInfo.getDataObj(),
|
personInfo: this.$refs.personnelInfo.getDataObj(),
|
||||||
// 业务数据,用于强制撤回后回显
|
// 业务数据,用于强制撤回后回显
|
||||||
draftData: params.processEsPermissionApply
|
draftData: Object.assign({}, params.processEsPermissionApply, {
|
||||||
|
lawsEnterpriseStandardList: this.$refs.baseInfoTable.dataSource
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// 如果有校验失败的,那就报错
|
// 如果有校验失败的,那就报错
|
||||||
|
|||||||
Reference in New Issue
Block a user