diff --git a/src/views/safetyenvironmental/inspection/components/add.vue b/src/views/safetyenvironmental/inspection/components/add.vue
index c7f6b64..f359e13 100644
--- a/src/views/safetyenvironmental/inspection/components/add.vue
+++ b/src/views/safetyenvironmental/inspection/components/add.vue
@@ -1176,10 +1176,7 @@ export default {
this.$forceUpdate()
},
/**
- * 暂存 也就是采用分开提交的策略
- * 先提交外部表单
- * 然后每确定一条隐患就上传一条隐患
- * 避免一次性提交造成接口超时
+ * 先缓存
*/
staging() {
let flag = false
@@ -1238,8 +1235,8 @@ export default {
this.$set(this.form, 'HIDDENJSON', JSON.stringify(this.form.hiddenList))
this.listLoading = true
requestFN(
- '/safetyenvironmental/staging',
- { ...this.form }
+ '/safetyenvironmental/' + this.dialogType,
+ { ...this.form, INSPECTION_STATUS: '99' }
).then((data) => {
for (let i = 0; i < data.pd.hiddenList.length; i++) {
this.uploadImg(this.hdFile[i]['fileHdImgList'], data.pd.hiddenList[i].HIDDEN_ID)
diff --git a/src/views/safetyenvironmental/inspection/components/list.vue b/src/views/safetyenvironmental/inspection/components/list.vue
index 507fb54..d43c87d 100644
--- a/src/views/safetyenvironmental/inspection/components/list.vue
+++ b/src/views/safetyenvironmental/inspection/components/list.vue
@@ -164,7 +164,7 @@
查看
流程图