소스 검색

页面更新

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
             }