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