管控流程 驳回修改

This commit is contained in:
CD
2023-01-06 11:21:09 +08:00
parent 14777e7b19
commit 9c7f1a92a3
@@ -592,21 +592,21 @@ export default {
qbzxdFrom.commentText = this.commentText;
qbzxdFrom.addFlag = '0'
let json = Object.assign(qbzxdFrom, this.roleForm);
this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
roleForm: this.roleForm,
qbfsForm: qbzxdFrom,
commentText: this.commentText
})
}, {
_this: this
}, res => {
if (res.ok) {
// this.$http.post("lawss/activiti/startProcessRollBack", {
// createUser: this.$store.getters.userInfo.userId,
// createUserName: this.$store.getters.userInfo.userName,
// type: '25',
// json: JSON.stringify({
// roleForm: this.roleForm,
// qbfsForm: qbzxdFrom,
// commentText: this.commentText
// })
// }, {
// _this: this
// }, res => {
// if (res.ok) {
this.$http.post("lawss/activiti/completeTask", {
taskIds: res.data,
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
@@ -628,8 +628,8 @@ export default {
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
}
});
}
});
// }
// });
}else {
this.$refs["roleForm"].validate((valid) => {
if (valid) {