BUG优化

dev
xiepeng 2024-05-11 18:01:06 +08:00
parent f756e12e71
commit 84faaaca3d
2 changed files with 3 additions and 7 deletions

View File

@ -279,7 +279,6 @@
_this.commitmentList = res.data.commitmentList; //map _this.commitmentList = res.data.commitmentList; //map
_this.list = res.data.pd.varList _this.list = res.data.pd.varList
_this.list2 = res.data.pd.varList2 _this.list2 = res.data.pd.varList2
console.log(_this.list2)
} else if ("exception" == data.result) { } else if ("exception" == data.result) {
uni.showToast({ uni.showToast({
title: '错误', title: '错误',
@ -346,8 +345,6 @@
}); });
return; return;
} }
var i = 0; var i = 0;
_this.uploadImg(_this.imgList, i); _this.uploadImg(_this.imgList, i);
}, },
@ -378,7 +375,6 @@
}, },
fail: (err) => { fail: (err) => {
uni.hideLoading(); uni.hideLoading();
console.log('uploadImage fail', err);
uni.showModal({ uni.showModal({
content: err.errMsg, content: err.errMsg,
showCancel: false showCancel: false

View File

@ -262,7 +262,6 @@
if("success" == res.data.result){ if("success" == res.data.result){
uni.hideLoading(); uni.hideLoading();
_this.list = res.data.varList; _this.list = res.data.varList;
console.log(res.data.varList)
} else { } else {
uni.showToast({ uni.showToast({
title: res.data.message, title: res.data.message,
@ -297,7 +296,6 @@
if("success" == res.data.result){ if("success" == res.data.result){
uni.hideLoading(); uni.hideLoading();
_this.pclist = res.data.varList; _this.pclist = res.data.varList;
console.log(res.data.varList)
} else { } else {
uni.showToast({ uni.showToast({
title: res.data.message, title: res.data.message,
@ -421,7 +419,9 @@
'Content-type':'application/x-www-form-urlencoded' 'Content-type':'application/x-www-form-urlencoded'
}, },
data: { data: {
NOTIFICATION_ID: ID NOTIFICATION_ID: ID,
USER_ID: loginUser.USER_ID,
USERNAME: loginUser.NAME
}, },
success: (res) => { success: (res) => {
uni.hideLoading(); uni.hideLoading();