修改手机端操作后返回待办页面

This commit is contained in:
高嵩
2023-07-18 10:33:41 +08:00
parent 249ac376a1
commit afb1b16159
35 changed files with 182 additions and 91 deletions
+2 -1
View File
@@ -38,7 +38,8 @@
showClose: false,
showCancelButton: false,
}).then(() => {
HWH5.close()
// hwh5.close()
this.$router.go(-2)
})
},
/**
@@ -215,7 +215,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -244,7 +245,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -211,7 +211,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -240,7 +241,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -261,7 +261,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -302,7 +303,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -284,7 +284,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -309,7 +310,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -239,7 +239,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -267,7 +268,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -252,7 +252,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('退回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -282,7 +283,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -270,7 +270,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isBack = false
@@ -306,7 +307,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -282,7 +282,8 @@
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -333,7 +334,8 @@
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -355,7 +357,8 @@
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
})
@@ -357,7 +357,8 @@
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -376,7 +377,8 @@
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -238,7 +238,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -333,7 +333,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -371,7 +372,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -402,7 +404,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -333,7 +333,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -371,7 +372,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -402,7 +404,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -333,7 +333,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -371,7 +372,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -402,7 +404,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -342,7 +342,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
this.processNum()
} else {
@@ -486,7 +487,8 @@ export default {
if (res.success) {
this.turnLoading = false;
this.$message.success("调整成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
} else {
this.$message.warning(res.message);
@@ -512,7 +514,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -541,7 +544,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -343,7 +343,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
this.processNum()
} else {
@@ -472,7 +473,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -498,7 +500,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -524,7 +527,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -909,7 +909,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
this.processNum()
} else {
@@ -1934,7 +1935,8 @@ export default {
// this.processCreateLaws(json)
}
this.isSubmit = false
hwh5.close()
// hwh5.close()
this.$router.go(-2)
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else {
@@ -909,7 +909,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
this.processNum()
} else {
@@ -1934,7 +1935,8 @@ export default {
// this.processCreateLaws(json)
}
this.isSubmit = false
hwh5.close()
// hwh5.close()
this.$router.go(-2)
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else {
@@ -907,7 +907,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
this.processNum()
} else {
@@ -1932,7 +1933,8 @@ export default {
// this.processCreateLaws(json)
}
this.isSubmit = false
hwh5.close()
// hwh5.close()
this.$router.go(-2)
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else {
@@ -1972,7 +1972,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
this.processNum()
} else {
@@ -2025,7 +2026,8 @@ export default {
// 流程提交之后,应该流转至待办任务页面
this.isSubmit = false
this.saveLoading = false
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
// if(this.formTongGuo.approvalOpinion === '1'){
// this.$message.warning("驳回成功")
@@ -909,7 +909,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
this.processNum()
} else {
@@ -1934,7 +1935,8 @@ export default {
// this.processCreateLaws(json)
}
this.isSubmit = false
hwh5.close()
// hwh5.close()
this.$router.go(-2)
//
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else {
@@ -255,7 +255,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -292,7 +293,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -316,7 +318,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -255,7 +255,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -292,7 +293,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -316,7 +318,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -254,7 +254,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -291,7 +292,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -315,7 +317,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -254,7 +254,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -295,7 +296,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -319,7 +321,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message)
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -301,7 +301,8 @@ export default {
completeTask(params).then(res => {
if(res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -352,7 +353,8 @@ export default {
completeTask(params).then(res => {
if(res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -373,7 +375,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -330,7 +330,8 @@ export default {
completeTask(params).then(res => {
if (res.success === true) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false
@@ -351,7 +352,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({
name: "processCenter"
})
@@ -227,7 +227,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -250,7 +251,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -273,7 +275,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('驳回成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
this.backLoading = false
}
@@ -334,7 +334,8 @@ export default {
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
this.processNum()
} else {
@@ -377,7 +378,8 @@ export default {
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
@@ -505,7 +507,8 @@ export default {
}).then(res => {
if (res.sign && res.sign === '0') {
this.$message.success('接收成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -555,7 +558,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
}, e => {
@@ -578,7 +582,8 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -225,7 +225,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -271,7 +272,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
this.isSubmit = false
@@ -290,7 +292,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('提交成功')
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push('/processCenter')
}
})
@@ -352,7 +352,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -428,7 +429,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -448,7 +450,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -234,7 +234,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -314,7 +315,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -334,7 +336,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -235,7 +235,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -315,7 +316,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -335,7 +337,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -234,7 +234,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -314,7 +315,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -334,7 +336,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -234,7 +234,8 @@ export default {
this.drawerModal = false
this.$message.success('调整成功')
this.processNum()
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.message)
@@ -314,7 +315,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("提交成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -334,7 +336,8 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success("驳回成功");
hwh5.close()
// hwh5.close()
this.$router.go(-2)
this.$router.push("/processCenter");
}
this.isSubmit = false;