58cb0456 by zhaoqian

工作流相关修改内容

1 parent 16496a0d
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
154 confirm(type){ 154 confirm(type){
155 if (type == 'sh') { 155 if (type == 'sh') {
156 let params = { 156 let params = {
157 executeActors: this.sprList.filter(i => i.activityInstance == this.spr), 157 executeActors: this.sprList.filter(i => i.accountNo == this.spr),
158 message: "", 158 message: "",
159 params: { 159 params: {
160 shyj:this.shData.shyj 160 shyj:this.shData.shyj
...@@ -166,11 +166,15 @@ export default { ...@@ -166,11 +166,15 @@ export default {
166 this.$message({ 166 this.$message({
167 type:'success', 167 type:'success',
168 message:'审核通过' 168 message:'审核通过'
169 });
170 this.shVisible = false;
171 this.$router.push({
172 path: '/dbx'
169 }) 173 })
170 }); 174 });
171 }else{ 175 }else{
172 let params = { 176 let params = {
173 executeActors: this.sprList.filter(i => i.activityInstance == this.spr), 177 executeActors: this.sprList.filter(i => i.accountNo == this.spr),
174 message: "", 178 message: "",
175 params: {}, 179 params: {},
176 targetNodes: [], 180 targetNodes: [],
...@@ -178,6 +182,10 @@ export default { ...@@ -178,6 +182,10 @@ export default {
178 }; 182 };
179 transitProcess(params).then((res) => { 183 transitProcess(params).then((res) => {
180 this.$message.success("提交成功!") 184 this.$message.success("提交成功!")
185 this.setTjDialog(false);
186 this.$router.push({
187 path: '/dbx'
188 })
181 }); 189 });
182 } 190 }
183 }, 191 },
......
...@@ -338,7 +338,8 @@ export default { ...@@ -338,7 +338,8 @@ export default {
338 this.$router.push({ 338 this.$router.push({
339 path: '/zd', query:{ 339 path: '/zd', query:{
340 source: 2, 340 source: 2,
341 bsm:res.processInstance.title 341 bsm:res.processInstance.title,
342 workitemInstanceId:res.workitemInstance.id
342 } 343 }
343 }); 344 });
344 } else { 345 } else {
......