|
|
@@ -337,7 +337,7 @@
|
|
|
客户信息
|
|
|
</p>
|
|
|
</van-col>
|
|
|
- <van-col span="5" v-if="tabVal == 1" @click="storeJoinVisit(item)">
|
|
|
+ <van-col span="5" v-if="tabVal == 1" @click="storeJoinVisit(item, index)">
|
|
|
<img :src="jiarujihua" style="margin: 0 auto; height: 18px; display: block" />
|
|
|
<p style="text-align: center; margin: 0; font-size: 12px">加入计划内</p>
|
|
|
</van-col>
|
|
|
@@ -1096,10 +1096,11 @@ export default {
|
|
|
cancelSearch() {
|
|
|
this.$refs.item.toggle();
|
|
|
},
|
|
|
- storeJoinVisit(val) {
|
|
|
+ storeJoinVisit(val, index) {
|
|
|
joinInPlan({ storeId: val.storeId }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- this.onSearch();
|
|
|
+ this.list.splice(index, 1);
|
|
|
+ // this.onSearch();
|
|
|
} else {
|
|
|
this.$dialog.alert({
|
|
|
title: '系统提示',
|