chenrui  2 years ago
parent
commit
d92fba0115

+ 5 - 5
src/components/Table/index.vue

@@ -488,12 +488,12 @@ export default {
             this.loading = false;
           }, 100);
         } else {
-          this.page--
+          this.page--;
           this.loading = false;
           this.$message.error("获取表格数据失败");
         }
       } catch (error) {
-        this.page--
+        this.page--;
         this.loading = false;
         console.log(error);
       }
@@ -511,7 +511,7 @@ export default {
         });
         if (code == 0) {
           this.$message.success("操作成功");
-          this.resetTable()
+          this.resetTable();
           this.getQuery();
           this.flag = false;
           this.rmFlag = false;
@@ -790,7 +790,7 @@ export default {
       this.$router.push({
         path: "/BasicsData/airportInfoChild",
         query: {
-          dataStructureID: row.dataStructureID,
+          queryTemplateID: row.dataStructureID,
         },
       });
     },
@@ -799,7 +799,7 @@ export default {
       this.$router.push({
         path: "/BasicsData/deployNodeChild",
         query: {
-          dataStructureID: row.nodeID,
+          queryTemplateID: row.nodeID,
         },
       });
     },

+ 1 - 2
src/views/BasicsData/views/deployNode/deployNodeChild.vue

@@ -2,8 +2,7 @@
   <div class="queryItemSettings_home">
     <div class="wrap">
       <DataTable
-        data-id="44"
-        edit-id="45"
+        data-id="59"
         :data-content="{ queryTemplateID }"
         :rows="12"
         label-width="140px"