Commit ce4c19e9 by crushh

update: 悬浮窗

parent 5a379915
......@@ -70,7 +70,7 @@
<div class="list-content">
<div v-if="selectRightList.length > 0">
<div class="list-item" v-for="(item, index) in selectRightList" :key="index">
<span class="storeGroup-name">{{ item.pickUpPointName }}</span>
<span slot="content" class="storeGroup-name" :title="item.pickUpPointName"> {{ item.pickUpPointName }}</span>
<span class="el-icon-close" @click="removeItem(item, index)" />
</div>
</div>
......@@ -97,6 +97,7 @@
import request from '../../service/request.js';
import qs from 'qs';
import copy from '../../utils/clone';
import utils from '../../utils/common';
export default {
directives: {
loadmore: {
......@@ -149,6 +150,7 @@ export default {
tableData: [],
showHeader: false,
popoverShow: false,
getZhLen: utils.getZhLen,
};
},
mounted () {
......@@ -185,7 +187,7 @@ export default {
this.totalPage = res.data.result.totalPage;
if (this.selectLeftList.length) {
for (const item of this.selectLeftList) {
let obj;
let obj = '';
obj = this.tableData.find(i => {
return i.integralMallPickUpPointId === item.integralMallPickUpPointId;
});
......@@ -244,7 +246,7 @@ export default {
},
// 右侧搜索
getRightList () {
var newData = this.selectLeftList.filter(item => {
const newData = this.selectLeftList.filter(item => {
if (item.pickUpPointName.indexOf(this.searchValue) > -1) {
return item;
}
......@@ -260,7 +262,7 @@ export default {
return false;
}
// 过滤数据只保留部分有用字段
this.selectLeftList.map(v => {
this.selectLeftList.forEach(v => {
delete v.storeId;
delete v.pickUpPointAddress;
delete v.pickUpPointPhone;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment