Przeglądaj źródła

-修改检测数据上传url

jiangbiao 2 lat temu
rodzic
commit
e576bc9bbf

+ 5 - 1
ui/src/views/check/inspectionCheck/pointEnter.vue

@@ -342,13 +342,17 @@ export default {
       this.dialog.dialogFormVisible = false;
     },
     openDialog(row) {
+      console.log(row)
       this.leftData = [];
       this.row = row;
       this.queryParams.plantId = row.plantId;
       this.queryParams.inspectionId = row.id;
-      this.upload.url += this.upload.url.endsWith('/') ? row.id : '';
+      this.upload.url = process.env.VUE_APP_BASE_API + "/check/checkpoints/importData/" + row.id;
+      console.log(this.upload.url)
       if (row.isEnter && row.status == 1) {
         this.isEnter = true;
+      }else{
+        this.isEnter = false;
       }
       this.dialog.dialogFormVisible = true;
       this.getList();