|
@@ -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() {
|