|
|
@@ -131,20 +131,18 @@ Page({
|
|
|
content
|
|
|
}).then(res => {
|
|
|
console.log("保存跟进内容", res)
|
|
|
+ this.setData({
|
|
|
+ loading: false
|
|
|
+ })
|
|
|
wx.showToast({
|
|
|
title: res.msg != '成功' ? res.msg : content.sys_datafollowupid == 0 ? '保存成功' : '修改成功',
|
|
|
icon: "none",
|
|
|
mask: res.msg == '成功'
|
|
|
});
|
|
|
if (res.msg != '成功') return;
|
|
|
-
|
|
|
-
|
|
|
let attachmentids = this.selectComponent("#Yl_files").getFiles().attachmentids;
|
|
|
-
|
|
|
if (attachmentids.length) return this.handleFileLink(attachmentids, 'sys_datafollowup', res.data.sys_datafollowupid, res.data);
|
|
|
-
|
|
|
this.changeItem(res.data)
|
|
|
-
|
|
|
setTimeout(() => {
|
|
|
wx.navigateBack()
|
|
|
}, 500)
|