58cb0456 by zhaoqian

工作流相关修改内容

1 parent 16496a0d
......@@ -154,7 +154,7 @@ export default {
confirm(type){
if (type == 'sh') {
let params = {
executeActors: this.sprList.filter(i => i.activityInstance == this.spr),
executeActors: this.sprList.filter(i => i.accountNo == this.spr),
message: "",
params: {
shyj:this.shData.shyj
......@@ -166,11 +166,15 @@ export default {
this.$message({
type:'success',
message:'审核通过'
});
this.shVisible = false;
this.$router.push({
path: '/dbx'
})
});
}else{
let params = {
executeActors: this.sprList.filter(i => i.activityInstance == this.spr),
executeActors: this.sprList.filter(i => i.accountNo == this.spr),
message: "",
params: {},
targetNodes: [],
......@@ -178,6 +182,10 @@ export default {
};
transitProcess(params).then((res) => {
this.$message.success("提交成功!")
this.setTjDialog(false);
this.$router.push({
path: '/dbx'
})
});
}
},
......
......@@ -338,7 +338,8 @@ export default {
this.$router.push({
path: '/zd', query:{
source: 2,
bsm:res.processInstance.title
bsm:res.processInstance.title,
workitemInstanceId:res.workitemInstance.id
}
});
} else {
......