|
@@ -1,5 +1,6 @@
|
|
|
const getHeight = require("../../../../utils/getRheRemainingHeight");
|
|
|
const _Http = getApp().globalData.http;
|
|
|
+const MFT = require("../../../../utils/matchingFeilType");
|
|
|
Component({
|
|
|
/**
|
|
|
* 组件的属性列表
|
|
@@ -87,18 +88,18 @@ Component({
|
|
|
"method": (this.data.tabActiveTitle == '列表') ? "selectList" : "selectMyList",
|
|
|
"content": this.data.content
|
|
|
}).then(res => {
|
|
|
+ console.log("营销", res)
|
|
|
this.selectComponent('#ListBox').RefreshToComplete();
|
|
|
if (res.msg != '成功') return wx.showToast({
|
|
|
title: res.data,
|
|
|
icon: "none"
|
|
|
})
|
|
|
this.setData({
|
|
|
- list: (res.pageNumber == 1) ? res.data : this.data.list.concat(res.data),
|
|
|
+ list: (res.pageNumber == 1) ? MFT.fileList(res.data) : this.data.list.concat(MFT.fileList(res.data)),
|
|
|
['content.pageNumber']: res.pageNumber + 1,
|
|
|
['content.pageTotal']: res.pageTotal,
|
|
|
inTotal: res.total
|
|
|
})
|
|
|
- // console.log((this.data.tabActiveTitle == '列表') ? "列表" : '营销物料', this.data.list)
|
|
|
})
|
|
|
},
|
|
|
/* 搜索框输入 */
|