Bladeren bron

首页增加提示类tab,B类指标页优化,我的-增加业务员日常工作统计

zhujindu 1 jaar geleden
bovenliggende
commit
8a4cac6f0e
2 gewijzigde bestanden met toevoegingen van 6 en 5 verwijderingen
  1. 4 3
      src/views/deviceOutside/suishenbangOutstoreVisit.vue
  2. 2 2
      src/views/deviceWithin/storeVisit.vue

+ 4 - 3
src/views/deviceOutside/suishenbangOutstoreVisit.vue

@@ -677,9 +677,10 @@ export default {
               if (this.$route.query.urltype == 1) {
                 window.location.replace(window.location.origin + '/mobile/home');
               } else {
-                window.location.replace(
-                  window.location.origin + '/mobile/outsidelist/index?info=y'
-                );
+                this.onClickLeft();
+                // window.location.replace(
+                //   window.location.origin + '/mobile/outsidelist/index?info=y'
+                // );
               }
             }
           } else {

+ 2 - 2
src/views/deviceWithin/storeVisit.vue

@@ -449,7 +449,6 @@ export default {
               forbidClick: true,
             });
             that.list = [];
-            debugger;
             getStoreGroupTask(params).then((res) => {
               loading2.clear();
               if (res.code == 200) {
@@ -785,7 +784,8 @@ export default {
               if (this.$route.query.urltype == 2) {
                 window.location.replace(window.location.origin + '/mobile/home');
               } else {
-                window.location.replace(window.location.origin + '/mobile/deviceWithin/index');
+                this.$router.go(-1);
+                // window.location.replace(window.location.origin + '/mobile/deviceWithin/index');
               }
             } else {
               this.$toast({