流程详情

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 pId: this.$route.query.prcId
}).then(res => { }).then(res => {
if (res) { if (res) {
console.log(res); this.form = JSON.parse(res.mesg)
resolve()
} }
}).catch(e => { }).catch(e => {
}) })
File diff suppressed because it is too large Load Diff
@@ -211,6 +211,13 @@ export default {
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'AlreadyProcess'
}
})
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu']) ...mapActions(['setMenu'])
@@ -212,6 +212,13 @@ export default {
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'AlreadySend'
}
})
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu']) ...mapActions(['setMenu'])
@@ -124,7 +124,7 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <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-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -167,7 +167,7 @@ export default {
methods: { methods: {
handleCommand (command) { handleCommand (command) {
switch (command[1]) { switch (command[1]) {
case '办理': case '查看':
this.dealWith(command[0]) this.dealWith(command[0])
break break
} }
@@ -212,6 +212,13 @@ export default {
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 办理
this.$router.push({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
tabsName: 'MonitorProcess'
}
})
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu']) ...mapActions(['setMenu'])