|
|
@@ -507,6 +507,20 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="height: 2px; background-color: #f5f5f5; width: 100%; clear: both"></div>
|
|
|
+ <template v-if="postType != 'GZ' && postType != 'JZ'">
|
|
|
+ <p class="searchchecktitle" @click="isCompetingStores = !isCompetingStores">
|
|
|
+ 竞品店<van-icon name="arrow-down" style="float: right" />
|
|
|
+ </p>
|
|
|
+ <div v-if="isCompetingStores">
|
|
|
+ <div class="checkbox1" v-for="(item, index) in storeTypeLists" :key="index">
|
|
|
+ <div v-if="item.groupType == 'qzd'" class="child">
|
|
|
+ <van-checkbox :name="item.dictValue">{{ item.dictLabel }}</van-checkbox>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="height: 2px; background-color: #f5f5f5; width: 100%; clear: both"></div>
|
|
|
+ </div>
|
|
|
+ <div style="height: 2px; background-color: #f5f5f5; width: 100%; clear: both"></div>
|
|
|
+ </template>
|
|
|
<p class="searchchecktitle" @click="otherShow = !otherShow">
|
|
|
其他 <van-icon name="arrow-down" style="float: right" />
|
|
|
</p>
|
|
|
@@ -676,6 +690,8 @@ export default {
|
|
|
lon: '',
|
|
|
timeData: '',
|
|
|
customerVisits: true,
|
|
|
+ isCompetingStores: true,
|
|
|
+ postType: '',
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -730,8 +746,8 @@ export default {
|
|
|
) {
|
|
|
this.onSearch();
|
|
|
}
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
- if (postType == 'GZ') {
|
|
|
+ this.postType = localStorage.getItem('postType');
|
|
|
+ if (this.postType == 'GZ') {
|
|
|
this.addShow1 = false;
|
|
|
this.otherShow = true;
|
|
|
} else {
|
|
|
@@ -785,8 +801,8 @@ export default {
|
|
|
localStorage.removeItem('visitId');
|
|
|
this.getStoreTypeList();
|
|
|
this.getStoreLabels();
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
- if (postType == 'GZ') {
|
|
|
+ this.postType = localStorage.getItem('postType');
|
|
|
+ if (this.postType == 'GZ') {
|
|
|
this.addShow1 = false;
|
|
|
this.otherShow = true;
|
|
|
} else {
|