Lin Qilong 3 päivää sitten
vanhempi
commit
0fd54a2028
1 muutettua tiedostoa jossa 8 lisäystä ja 4 poistoa
  1. 8 4
      src/views/InspectDC/Object/Problem/index.vue

+ 8 - 4
src/views/InspectDC/Object/Problem/index.vue

@@ -102,7 +102,7 @@ const columns = ref([
     {
       text: "在建水利工程",
       value: "在建水利工程"
-    },  
+    },
     {
       text: "水闸工程",
       value: "水闸工程"
@@ -135,7 +135,7 @@ const columns = ref([
       text: "水利风景区",
       value: "水利风景区"
     },
-    
+
   ]);
 function jumpPageToadd() {
   var par = JSON.parse(router.query.object);
@@ -167,7 +167,7 @@ async function onConfirmDelete() {
               showSuccessToast('删除成功!');
             }
           })
-          
+
         }
     })
     getData();
@@ -178,7 +178,11 @@ function onConfirm(selectedValues, selectedOptions) {
   showPicker.value = false;
 }
 function save128(){
-  request.post('/bis/insp/baseNew/update', formObj.value).then((res) => {
+  let data = {
+    rgstrId: formObj.value.rgstrId,
+    state: '2',
+  }
+  request.post('/bis/insp/genrl/update', data).then((res) => {
     if (res.success) {
       showSuccessToast('保存成功!');
     }