Your Name il y a 3 ans
Parent
commit
3ba3c50010

+ 1 - 1
src/views/ADMINISTRATORS/components/ADMINISTRATORS1.vue

@@ -200,7 +200,7 @@ export default {
             console.log(res.data);
              if(res.data.code == "200"){
                 this.$message.success("修改路段顺序号成功")
-                this.$router.go(-1)
+                this.$router.go(0)
             }
            
         })

+ 3 - 1
src/views/index/components/login.vue

@@ -223,7 +223,9 @@ export default {
                 });
               }
               this.loginBtnLoading = false;
-              this.$router.go(0)
+              setTimeout(() => {
+                this.$router.go(0)
+              }, 2000);
             })
             .catch(() => {
               this.loginBtnLoading = false;

+ 5 - 1
src/views/inward/components/inwardFactory/countResult.vue

@@ -24,11 +24,15 @@ export default {
             inputText:'',
             option: {       
                 // 表格请求数据的地址
-                requestUrl: "/api/v1/tms/selectCountList?apiId=364",
+                requestUrl: "",
             },
         }
     },
+    created(){
+        this.option.requestUrl = "/api/v1/tms/selectCountList?apiId=364"
+    },
     methods:{
+
         onclick(){
             this.option.requestUrl = "/api/v1/tms/selectCountList?apiId=364&con="+this.inputText;
         }

+ 4 - 1
src/views/inward/components/inwardFactory/monthResult.vue

@@ -24,10 +24,13 @@ export default {
             inputText:'',
             option: {       
                 // 表格请求数据的地址
-                requestUrl: "/api/v1/tms/getTmstruckMonthResult?apiId=365",
+                requestUrl: "",
             },
         }
     },
+    created(){
+        this.option.requestUrl = "/api/v1/tms/getTmstruckMonthResult?apiId=365"
+    },
     methods:{
         onclick(){
             this.option.requestUrl = "/api/v1/tms/getTmstruckMonthResult?apiId=365&con="+this.inputText;

+ 4 - 1
src/views/inward/components/inwardFactory/timeTaskResult.vue

@@ -24,10 +24,13 @@ export default {
             inputText:'',
             option: {       
                 // 表格请求数据的地址
-                requestUrl: "/api/v1/tms/getAllTimeTaskResult?apiId=363",
+                requestUrl: "",
             },
         }
     },
+    created(){
+        this.option.requestUrl = "/api/v1/tms/getAllTimeTaskResult?apiId=363"
+    },
     methods:{
         onclick(){
             this.option.requestUrl = "/api/v1/tms/getAllTimeTaskResult?apiId=363&con="+this.inputText;