update 稽查流程完善
This commit is contained in:
+16
-1
@@ -330,7 +330,22 @@ export default {
|
||||
}
|
||||
const params = {}
|
||||
// 收集表格数据
|
||||
params.processEsInspectList = this.$refs.inspectionProcessTable.dataSource
|
||||
params.processEsInspectList = this.$refs.inspectionProcessTable.dataSource.map(item => {
|
||||
// 如果没有子表格数据,就默认空数组,否则后端报错
|
||||
// 稽查内容
|
||||
if (!item.enterpriseStandardInspectContentList) {
|
||||
item.enterpriseStandardInspectContentList = []
|
||||
}
|
||||
// 稽查报告
|
||||
if (!item.enterpriseStandardInspectReportList) {
|
||||
item.enterpriseStandardInspectReportList = []
|
||||
}
|
||||
// 整改计划
|
||||
if (!item.enterpriseStandardInspectRectifyPlanList) {
|
||||
item.enterpriseStandardInspectRectifyPlanList = []
|
||||
}
|
||||
return item
|
||||
})
|
||||
// 获取删除业务信息的ids列表
|
||||
params.processAllDelIds = this.$refs.inspectionProcessTable.getDelIds()
|
||||
// 收集所有表单信息
|
||||
|
||||
Reference in New Issue
Block a user