提示
This commit is contained in:
@@ -207,11 +207,7 @@ export default {
|
||||
});
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err,
|
||||
icon: "none",
|
||||
duration: 1000
|
||||
})
|
||||
console.log(err);
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -138,24 +138,15 @@ export default {
|
||||
this.baseInfo.reportType = this.$dict.getValue('partyReportSignupReportType', this.reportName);
|
||||
this.$instance.post(`/app/apppartyreport/signup`, this.baseInfo, null).then(res => {
|
||||
if (res.code == 0) {
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
icon: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.$u.toast('提交成功')
|
||||
setTimeout(() => {
|
||||
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}, 2000)
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err,
|
||||
icon: "none",
|
||||
duration: 1000
|
||||
})
|
||||
this.$u.toast('提交失败')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user