update 稽查计划-强制撤回
This commit is contained in:
+5
-5
@@ -304,15 +304,15 @@ export default {
|
|||||||
|
|
||||||
// 草稿状态回显
|
// 草稿状态回显
|
||||||
if (draftId) {
|
if (draftId) {
|
||||||
const { draftData, personInfo } = JSON.parse(data.infoJsonStr || '{}')
|
const infoJson = JSON.parse(data.infoJsonStr || '{}')
|
||||||
console.log('草稿回显', JSON.parse(data.infoJsonStr || '{}'), draftData, personInfo)
|
console.log('草稿回显', JSON.parse(data.infoJsonStr || '{}'), infoJson.draftData, infoJson.personInfo)
|
||||||
// 节点1 回显人员信息
|
// 节点1 回显人员信息
|
||||||
if (this.isInitiate) {
|
if (this.isInitiate) {
|
||||||
this.draftInitPersonInfo(personInfo)
|
this.draftInitPersonInfo(infoJson.personInfo)
|
||||||
}
|
}
|
||||||
// 回显业务信息,如果有标识属性就是强制撤回
|
// 回显业务信息,如果有标识属性就是强制撤回
|
||||||
if (Object.hasOwnProperty.call(draftData, 'revocation')) {
|
if (Object.hasOwnProperty.call(infoJson, 'revocation')) {
|
||||||
this.$refs.inspectionPlanTable.setData(draftData)
|
this.$refs.inspectionPlanTable.setData(infoJson.draftData)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user