|
@@ -300,33 +300,38 @@
|
|
|
:src="sbpmdh"
|
|
:src="sbpmdh"
|
|
|
@click="linkapp(item)" />
|
|
@click="linkapp(item)" />
|
|
|
</div>
|
|
</div>
|
|
|
- <!-- 分销店 -->
|
|
|
|
|
- <template
|
|
|
|
|
- v-if="
|
|
|
|
|
- item.sfaStoreType &&
|
|
|
|
|
- item.sfaStoreType.type == 'fxd' &&
|
|
|
|
|
- item.sfaStoreChainsContactList
|
|
|
|
|
- ">
|
|
|
|
|
- <div class="info" v-if="typeShow">
|
|
|
|
|
- 经销商:
|
|
|
|
|
- <div class="TCFXListItem" v-for="(item, index) in item.sfaStoreChainsContactList">
|
|
|
|
|
- <el-popover
|
|
|
|
|
- popper-class="zpover zpoverStoreztype"
|
|
|
|
|
- placement="bottom-start"
|
|
|
|
|
- trigger="click">
|
|
|
|
|
- <div>
|
|
|
|
|
- <div>{{ item.chainCode }}</div>
|
|
|
|
|
- <div>{{ item.chainName }}</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div slot="reference" :key="index">
|
|
|
|
|
- {{ item.categoryDescribe }}
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-popover>
|
|
|
|
|
|
|
+ <!-- 潜在店不显示经销商 -->
|
|
|
|
|
+ <template v-if="item.sfaStoreType.type != 'qzd'">
|
|
|
|
|
+ <!-- 分销店 -->
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ item.sfaStoreType &&
|
|
|
|
|
+ item.sfaStoreType.type == 'fxd' &&
|
|
|
|
|
+ item.sfaStoreChainsContactList
|
|
|
|
|
+ ">
|
|
|
|
|
+ <div class="info" v-if="typeShow">
|
|
|
|
|
+ 经销商:
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="TCFXListItem"
|
|
|
|
|
+ v-for="(item, index) in item.sfaStoreChainsContactList">
|
|
|
|
|
+ <el-popover
|
|
|
|
|
+ popper-class="zpover zpoverStoreztype"
|
|
|
|
|
+ placement="bottom-start"
|
|
|
|
|
+ trigger="click">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div>{{ item.chainCode }}</div>
|
|
|
|
|
+ <div>{{ item.chainName }}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div slot="reference" :key="index">
|
|
|
|
|
+ {{ item.categoryDescribe }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-popover>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template v-else>
|
|
|
|
|
- <div class="info" v-if="typeShow">经销商:{{ item.chainName }}</div>
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template v-else>
|
|
|
|
|
+ <div class="info" v-if="typeShow">经销商:{{ item.chainName }}</div>
|
|
|
|
|
+ </template>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- storeLonExist 门店是否存在经纬度 字段false=不显示导航和距离,true=显示 -->
|
|
<!-- storeLonExist 门店是否存在经纬度 字段false=不显示导航和距离,true=显示 -->
|
|
|
<div class="info" v-if="item.storeLonExist">
|
|
<div class="info" v-if="item.storeLonExist">
|
|
@@ -507,6 +512,24 @@
|
|
|
</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" style="width: 100%">
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="checkbox1"
|
|
|
|
|
+ v-for="(item, index) in storeTypeLists"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ v-if="item.groupType == 'qzd'">
|
|
|
|
|
+ <div 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>
|
|
@@ -676,6 +699,8 @@ export default {
|
|
|
lon: '',
|
|
lon: '',
|
|
|
timeData: '',
|
|
timeData: '',
|
|
|
customerVisits: true,
|
|
customerVisits: true,
|
|
|
|
|
+ isCompetingStores: true,
|
|
|
|
|
+ postType: '',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
@@ -735,8 +760,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 {
|
|
@@ -792,8 +817,8 @@ export default {
|
|
|
localStorage.removeItem('visitId');
|
|
localStorage.removeItem('visitId');
|
|
|
this.getStoreTypeList();
|
|
this.getStoreTypeList();
|
|
|
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 {
|
|
@@ -2037,8 +2062,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 },
|