|
@@ -489,16 +489,16 @@
|
|
|
let that = this;
|
|
let that = this;
|
|
|
this.$http.post("ibps/business/v3/bpm/instance/start", para).then(res => {
|
|
this.$http.post("ibps/business/v3/bpm/instance/start", para).then(res => {
|
|
|
if (res.data.state == 200) {
|
|
if (res.data.state == 200) {
|
|
|
- this.$tip.success("提交成功!")
|
|
|
|
|
|
|
+ this.$methCommon.getPrompt('提交成功', 'success')
|
|
|
this.$Router.replace({
|
|
this.$Router.replace({
|
|
|
name: 'index'
|
|
name: 'index'
|
|
|
})
|
|
})
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$methCommon.getPrompt('请求出现错误', 'error')
|
|
|
}
|
|
}
|
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
|
- let msg = ((err.response || {}).data || {}).message || err.data.message ||
|
|
|
|
|
- "请求出现错误,请稍后再试"
|
|
|
|
|
- this.$tip.error(msg);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$methCommon.getPrompt('请求出现错误,请稍后再试', 'error')
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
//签名确定
|
|
//签名确定
|
|
|
getArgee() {
|
|
getArgee() {
|
|
@@ -520,14 +520,13 @@
|
|
|
}
|
|
}
|
|
|
this.$http.post("/ibps/business/v3/bpm/task/agree", editData).then(res => {
|
|
this.$http.post("/ibps/business/v3/bpm/task/agree", editData).then(res => {
|
|
|
if (res.data.state == 200) {
|
|
if (res.data.state == 200) {
|
|
|
- this.$tip.success('提交成功!')
|
|
|
|
|
- // this.getHouSumit(this.form)
|
|
|
|
|
|
|
+ this.$methCommon.getPrompt('提交成功', 'success')
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
this.$Router.replaceAll({
|
|
this.$Router.replaceAll({
|
|
|
name: 'index'
|
|
name: 'index'
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
- this.$tip.success('提交异常!')
|
|
|
|
|
|
|
+ this.$methCommon.getPrompt('提交异常', 'error')
|
|
|
this.$Router.replaceAll({
|
|
this.$Router.replaceAll({
|
|
|
name: 'index'
|
|
name: 'index'
|
|
|
})
|
|
})
|