|
|
@@ -16,7 +16,7 @@ Page({
|
|
|
id: "3"
|
|
|
}, {
|
|
|
label: "筛选",
|
|
|
- icon: "icon-daoruxialajiantou",
|
|
|
+ icon: "icon-shaixuan",
|
|
|
color: "",
|
|
|
width: "",
|
|
|
id: "2"
|
|
|
@@ -142,17 +142,19 @@ Page({
|
|
|
title: res.data,
|
|
|
icon: "none"
|
|
|
})
|
|
|
- this.getTags(res.data.map(v => v.sa_customersid));
|
|
|
this.setData({
|
|
|
'content.pageNumber': res.pageNumber + 1,
|
|
|
'content.pageTotal': res.pageTotal,
|
|
|
'content.total': res.total,
|
|
|
list: res.pageNumber == 1 ? res.data : this.data.list.concat(res.data)
|
|
|
})
|
|
|
+ this.getTags();
|
|
|
})
|
|
|
},
|
|
|
/* 获取列表标签 */
|
|
|
- getTags(ownerids = []) {
|
|
|
+ getTags() {
|
|
|
+ let list = this.data.list,
|
|
|
+ ownerids = list.map(v => v.sa_customersid)
|
|
|
_Http.basic({
|
|
|
"id": 20221018102001,
|
|
|
"content": {
|
|
|
@@ -160,8 +162,6 @@ Page({
|
|
|
ownerids
|
|
|
}
|
|
|
}).then(res => {
|
|
|
- console.log("标签", res)
|
|
|
- let list = this.data.list;
|
|
|
for (let key in res.data) {
|
|
|
let index = list.findIndex(v => v.sa_customersid == key);
|
|
|
list[index].tags = res.data[key]
|