fix 81062
This commit is contained in:
+24
-19
@@ -357,33 +357,38 @@ export default {
|
||||
standardNumbers: data.standardNumbers,
|
||||
applyDetail: data.applyDetail
|
||||
})
|
||||
} else {
|
||||
// 非强制撤回调接口查数据
|
||||
this.getFormInfo()
|
||||
}
|
||||
} else {
|
||||
// 非草稿获取业务数据
|
||||
getPermissionApplyDataById({ projectId: this.projectId }).then(res => {
|
||||
if (res.success) {
|
||||
const data = res.result || {}
|
||||
const list = data.lawsEnterpriseStandardList || []
|
||||
// 发起节点的表格和审批节点的表格,哪个存在回显哪个的数据
|
||||
this.$refs.baseInfoTable && this.$refs.baseInfoTable.setData(list)
|
||||
this.$refs.applyPermissionTable && this.$refs.applyPermissionTable.setData(list)
|
||||
// 保存并回显表单信息
|
||||
this.info = cloneDeep(data)
|
||||
this.formInfo = data
|
||||
this.baseInfoForm.setFieldsValue({
|
||||
expirationDate: data.expirationDate,
|
||||
userDictText: data.userDictText,
|
||||
standardNumbers: data.standardNumbers,
|
||||
applyDetail: data.applyDetail
|
||||
})
|
||||
}
|
||||
})
|
||||
// 非草稿调用接口查数据
|
||||
this.getFormInfo()
|
||||
}
|
||||
}
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
// 获取业务表单信息
|
||||
getFormInfo () {
|
||||
getPermissionApplyDataById({ projectId: this.projectId }).then(res => {
|
||||
if (res.success) {
|
||||
const data = res.result || {}
|
||||
const list = data.lawsEnterpriseStandardList || []
|
||||
// 发起节点的表格和审批节点的表格,哪个存在回显哪个的数据
|
||||
this.$refs.baseInfoTable && this.$refs.baseInfoTable.setData(list)
|
||||
this.$refs.applyPermissionTable && this.$refs.applyPermissionTable.setData(list)
|
||||
this.formInfo = data
|
||||
this.baseInfoForm.setFieldsValue({
|
||||
expirationDate: data.expirationDate,
|
||||
userDictText: data.userDictText,
|
||||
standardNumbers: data.standardNumbers,
|
||||
applyDetail: data.applyDetail
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 获取人员信息
|
||||
getPersonInfo (isValidate = true) {
|
||||
let personnelObj = {}
|
||||
|
||||
Reference in New Issue
Block a user