|
@@ -508,6 +508,20 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div style="height: 2px; background-color: #f5f5f5; width: 100%; clear: both"></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">
|
|
<p class="searchchecktitle" @click="otherShow = !otherShow">
|
|
|
其他 <van-icon name="arrow-down" style="float: right" />
|
|
其他 <van-icon name="arrow-down" style="float: right" />
|
|
|
</p>
|
|
</p>
|
|
@@ -677,6 +691,8 @@ export default {
|
|
|
lon: '',
|
|
lon: '',
|
|
|
timeData: '',
|
|
timeData: '',
|
|
|
customerVisits: true,
|
|
customerVisits: true,
|
|
|
|
|
+ isCompetingStores: true,
|
|
|
|
|
+ postType: '',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
@@ -731,8 +747,8 @@ export default {
|
|
|
) {
|
|
) {
|
|
|
this.onSearch();
|
|
this.onSearch();
|
|
|
}
|
|
}
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
|
|
- if (postType == 'GZ') {
|
|
|
|
|
|
|
+ this.postType = localStorage.getItem('postType');
|
|
|
|
|
+ if (this.postType == 'GZ') {
|
|
|
this.addShow1 = false;
|
|
this.addShow1 = false;
|
|
|
this.otherShow = true;
|
|
this.otherShow = true;
|
|
|
} else {
|
|
} else {
|
|
@@ -785,8 +801,8 @@ export default {
|
|
|
this.query = this.$route.query;
|
|
this.query = this.$route.query;
|
|
|
localStorage.removeItem('visitId');
|
|
localStorage.removeItem('visitId');
|
|
|
this.getStoreLabels();
|
|
this.getStoreLabels();
|
|
|
- var postType = localStorage.getItem('postType');
|
|
|
|
|
- if (postType == 'GZ') {
|
|
|
|
|
|
|
+ this.postType = localStorage.getItem('postType');
|
|
|
|
|
+ if (this.postType == 'GZ') {
|
|
|
this.addShow1 = false;
|
|
this.addShow1 = false;
|
|
|
this.otherShow = true;
|
|
this.otherShow = true;
|
|
|
} else {
|
|
} else {
|
|
@@ -2032,8 +2048,14 @@ export default {
|
|
|
buryingPointName: '客户信息',
|
|
buryingPointName: '客户信息',
|
|
|
buryingPointPosition: this.tabVal == 1 ? '我的' : '销售部',
|
|
buryingPointPosition: this.tabVal == 1 ? '我的' : '销售部',
|
|
|
});
|
|
});
|
|
|
- // FSQ 仿石漆服务商
|
|
|
|
|
- if (/^FSQ/.test(val.storeCode)) {
|
|
|
|
|
|
|
+ if (val.sfaStoreType.type == 'qzd') {
|
|
|
|
|
+ // 竞品店/潜在店
|
|
|
|
|
+ this.$router.push({
|
|
|
|
|
+ path: '/competingStoresDetail',
|
|
|
|
|
+ query: { id: val.storeId },
|
|
|
|
|
+ });
|
|
|
|
|
+ } else if (/^FSQ/.test(val.storeCode)) {
|
|
|
|
|
+ // FSQ 仿石漆服务商
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: '/FSQStoreDetail',
|
|
path: '/FSQStoreDetail',
|
|
|
query: { id: val.storeId },
|
|
query: { id: val.storeId },
|