fix 81062

This commit is contained in:
danshihao
2024-01-19 17:42:39 +08:00
parent a0c306aeff
commit 5e439359e5
3 changed files with 59 additions and 40 deletions
@@ -286,25 +286,32 @@ export default {
this.$nextTick(() => {
this.$refs.baseInfoForm.initData(this.formInfo)
})
} else {
// 非强制撤回调接口查数据
this.getFormInfo()
}
} else {
// 非草稿获取业务数据
getPostMeetingManageDataById({ projectId: this.projectId }).then(res => {
if (res.success) {
const data = res.result || {}
// 保存并回显表单信息
this.formInfo = data
this.$nextTick(() => {
this.$refs.baseInfoForm.initData(data)
})
}
})
// 非草稿调用接口查数据
this.getFormInfo()
}
}
}).finally(() => {
this.loading = false
})
},
// 获取表单业务数据
getFormInfo () {
getPostMeetingManageDataById({ projectId: this.projectId }).then(res => {
if (res.success) {
const data = res.result || {}
// 保存并回显表单信息
this.formInfo = data
this.$nextTick(() => {
this.$refs.baseInfoForm.initData(data)
})
}
})
},
// 获取人员信息
getPersonInfo (isValidate = true) {
let personnelObj = {}