This commit is contained in:
shijingjing
2022-10-27 14:16:37 +08:00
parent 650a6ced04
commit e05ce4d719
2 changed files with 3 additions and 16 deletions

View File

@@ -207,11 +207,7 @@ export default {
});
}
}).catch(err => {
uni.showToast({
title: err,
icon: "none",
duration: 1000
})
console.log(err);
})
}
},

View File

@@ -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('提交失败')
})
}
}