Browse Source

页面更新

sr 4 years ago
parent
commit
8402783c95
1 changed files with 11 additions and 3 deletions
  1. 11 3
      ruoyi-ui/src/views/system/surface/index.vue

+ 11 - 3
ruoyi-ui/src/views/system/surface/index.vue

@@ -125,7 +125,7 @@
       this.tabName = items.sysTableName
       this.tabName = items.sysTableName
       this.queryParams.table = items.sysTableName
       this.queryParams.table = items.sysTableName
       this.form.table = items.sysTableName
       this.form.table = items.sysTableName
-      
+
       console.log(items,99112)
       console.log(items,99112)
       // if (meta.activeMenu) {
       // if (meta.activeMenu) {
       //   this.$store.dispatch('TabFn', meta.activeMenu)
       //   this.$store.dispatch('TabFn', meta.activeMenu)
@@ -140,7 +140,11 @@
           case 'A':
           case 'A':
             {
             {
               this.$router.push({
               this.$router.push({
-                path: '/business/table'
+                path: '/business/table',
+                query: {
+                  id: -1,
+                  table: this.tabName,
+                },
               })
               })
               return
               return
             }
             }
@@ -152,7 +156,11 @@
               }
               }
               const id = this.ids
               const id = this.ids
               this.$router.push({
               this.$router.push({
-                path: '/business/table'
+                path: '/business/table',
+                query: {
+                  id,
+                  table: this.tabName,
+                },
               })
               })
               return
               return
             }
             }