瀏覽代碼

页面更新

sr 4 年之前
父節點
當前提交
8402783c95
共有 1 個文件被更改,包括 11 次插入3 次删除
  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.queryParams.table = items.sysTableName
       this.form.table = items.sysTableName
-      
+
       console.log(items,99112)
       // if (meta.activeMenu) {
       //   this.$store.dispatch('TabFn', meta.activeMenu)
@@ -140,7 +140,11 @@
           case 'A':
             {
               this.$router.push({
-                path: '/business/table'
+                path: '/business/table',
+                query: {
+                  id: -1,
+                  table: this.tabName,
+                },
               })
               return
             }
@@ -152,7 +156,11 @@
               }
               const id = this.ids
               this.$router.push({
-                path: '/business/table'
+                path: '/business/table',
+                query: {
+                  id,
+                  table: this.tabName,
+                },
               })
               return
             }