yrik 4 年之前
父节点
当前提交
087ce66575
共有 2 个文件被更改,包括 19 次插入19 次删除
  1. 1 1
      ruoyi-ui/src/components/DynamicForms/index.vue
  2. 18 18
      ruoyi-ui/src/views/system/surface/index.vue

+ 1 - 1
ruoyi-ui/src/components/DynamicForms/index.vue

@@ -101,7 +101,7 @@
     },
     },
     created() {
     created() {
       this.config = {}
       this.config = {}
-      console.log(this.formConfig.mask.slice(3,4),876454)
+      // console.log(this.formConfig.mask.slice(3,4),876454)
       if(this.formConfig.mask.slice(3,4) == '0'){
       if(this.formConfig.mask.slice(3,4) == '0'){
           this.formConfig.disabshow = true
           this.formConfig.disabshow = true
       }else{
       }else{

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

@@ -130,7 +130,7 @@
     },
     },
     methods: {
     methods: {
       routerFn(id, tables) {
       routerFn(id, tables) {
-        // if (this.queryData.viewType == 'crud') {
+        if (this.queryData.viewType == 'crud') {
           this.$router.push({
           this.$router.push({
             path: '/business/table',
             path: '/business/table',
             query: {
             query: {
@@ -138,23 +138,23 @@
               tables,
               tables,
             },
             },
           })
           })
-        // } else if (this.queryData.viewType == 'headTab') {
-        //   this.$router.push({
-        //     path: '/business/editing',
-        //     query: {
-        //       id,
-        //       tables,
-        //     },
-        //   })
-        // } else if (this.queryData.viewType == 'itemTab') {
-        //   this.$router.push({
-        //     path: '/business/form',
-        //     query: {
-        //       id,
-        //       tables,
-        //     },
-        //   })
-        // }
+        } else if (this.queryData.viewType == 'headTab') {
+          this.$router.push({
+            path: '/business/editing',
+            query: {
+              id,
+              tables,
+            },
+          })
+        } else if (this.queryData.viewType == 'itemTab') {
+          this.$router.push({
+            path: '/business/form',
+            query: {
+              id,
+              tables,
+            },
+          })
+        }
       },
       },
       headerBtn(item) {
       headerBtn(item) {
         switch (item) {
         switch (item) {