|
|
@@ -719,15 +719,15 @@ export default {
|
|
|
// localStorage.removeItem('visitId');
|
|
|
// this.getStoreTypeList();
|
|
|
// this.getStoreLabels();
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
- if (postType == 'GZ') {
|
|
|
- this.addShow1 = false;
|
|
|
- this.otherShow = true;
|
|
|
- } else {
|
|
|
- this.addShow1 = true;
|
|
|
- this.otherShow = false;
|
|
|
- }
|
|
|
- this.getMonth();
|
|
|
+ // var postType = localStorage.getItem('postType');
|
|
|
+ // if (postType == 'GZ') {
|
|
|
+ // this.addShow1 = false;
|
|
|
+ // this.otherShow = true;
|
|
|
+ // } else {
|
|
|
+ // this.addShow1 = true;
|
|
|
+ // this.otherShow = false;
|
|
|
+ // }
|
|
|
+ // this.getMonth();
|
|
|
},
|
|
|
methods: {
|
|
|
initData() {
|
|
|
@@ -762,7 +762,15 @@ export default {
|
|
|
}
|
|
|
this.query = this.$route.query; // 路由参数
|
|
|
localStorage.removeItem('visitId');
|
|
|
+ if (localStorage.getItem('postType') == 'GZ') {
|
|
|
+ this.addShow1 = false;
|
|
|
+ this.otherShow = true; //筛选-其他
|
|
|
+ } else {
|
|
|
+ this.addShow1 = true;
|
|
|
+ this.otherShow = false; //筛选-其他
|
|
|
+ }
|
|
|
this.onSearch();
|
|
|
+ this.getMonth();
|
|
|
},
|
|
|
setStroeNameStyle(item) {
|
|
|
// 家装或工装 approvalStatus:是否结案 0:未结案,1:已结案
|