wangguangping hace 3 años
padre
commit
1cf2de4dc5
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. 6 4
      src/pages/main/advertising/acceptanceSituation.vue

+ 6 - 4
src/pages/main/advertising/acceptanceSituation.vue

@@ -555,26 +555,28 @@ export default {
         //     this.params.pcId = this.$route.query.pcId;
         // }
         
-
+        this.getUser();
         let jumpParams = JSON.parse(sessionStorage.getItem("jumpParams"))
         this.params.cityWoId = jumpParams.cityWoId;
         this.params.countyWoId = jumpParams.countyWoId;
         this.params.woId = jumpParams.woId;
         this.params.pcId = jumpParams.pcId;
         // console.log(this.companyFlag);
-        if(this.userInfo.cityName==null && this.userInfo.countyName == null){
-            console.log(this.$route.query.cityWoId);
+        if(this.userInfo.cityName == null && this.userInfo.countyName == null){
+            
             this.params.woCityId = this.$route.query.cityWoId;
 
         }else if(this.userInfo.cityName!=null && this.userInfo.countyName == null){
+            
             this.params.woCityId = jumpParams.cityWoId;
             this.params.id = jumpParams.countyWoId;
+           
 
         }
         
 
         this.getList(this.params, 1);
-        this.getUser();
+        
     },
     watch: {
         $route() {