|
|
@@ -463,6 +463,23 @@ Page({
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ onUnload() {
|
|
|
+ const page = getCurrentPages().find(v => v.__route__ == 'packageA/saleClue/index');
|
|
|
+ if (!page) return;
|
|
|
+ let content = JSON.parse(JSON.stringify(page.data.content));
|
|
|
+ content.pageSize = (content.pageNumber - 1) * content.pageSize;
|
|
|
+ content.pageNumber = 1;
|
|
|
+ _Http.basic({
|
|
|
+ id: '20221101094502',
|
|
|
+ content
|
|
|
+ }).then(res => {
|
|
|
+ console.log("更新线索列表", res);
|
|
|
+ if (res.msg == '成功') page.setData({
|
|
|
+ list: res.data,
|
|
|
+ "content.total": res.total
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
/* 完成情况说明输入 */
|
|
|
areaInput(e) {
|
|
|
this.setData({
|