流程详情

This commit is contained in:
yf
2021-06-21 16:49:48 +08:00
parent e5f18ec16c
commit 890b7ec2ba
5 changed files with 1162 additions and 4 deletions
@@ -703,8 +703,7 @@
pId: this.$route.query.prcId
}).then(res => {
if (res) {
console.log(res);
resolve()
this.form = JSON.parse(res.mesg)
}
}).catch(e => {
})
File diff suppressed because it is too large Load Diff
@@ -211,6 +211,13 @@ export default {
this.queryProcess()
},
dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'AlreadyProcess'
}
})
},
...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu'])
@@ -212,6 +212,13 @@ export default {
this.queryProcess()
},
dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'AlreadySend'
}
})
},
...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu'])
@@ -124,7 +124,7 @@
<el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
<el-dropdown-item :command="[scope.row, '办理']">查看</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@@ -167,7 +167,7 @@ export default {
methods: {
handleCommand (command) {
switch (command[1]) {
case '办理':
case '查看':
this.dealWith(command[0])
break
}
@@ -212,6 +212,13 @@ export default {
this.queryProcess()
},
dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'MonitorProcess'
}
})
},
...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu'])