Commit 67799144 authored by 我在何方's avatar 我在何方

订单费用审核审核中点击修复

parent 1f24dbe4
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
channelList:[], channelList:[],
processInstanceID:undefined, processInstanceID:undefined,
list:[], list:[],
currencyList:[],
prodName: '' prodName: ''
} }
}, },
......
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作')"> <el-table-column :label="$t('操作')">
<template v-slot:default = 'scope'> <template v-slot:default = 'scope'>
<el-button type="text" v-if="scope.row.status !== 0">{{STATUS[scope.row.status]}}</el-button> <el-button type="text" v-if="scope.row.status !== 0&&scope.row.status !== 1">{{STATUS[scope.row.status]}}</el-button>
<el-button type="text" v-if="scope.row.status == 1" @click="examineFn">{{$t('审核中')}}</el-button>
<el-button type="text" v-if="scope.row.status === 2" @click="modify(scope.row)">{{$t('修改')}}</el-button> <el-button type="text" v-if="scope.row.status === 2" @click="modify(scope.row)">{{$t('修改')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -185,6 +186,7 @@ export default { ...@@ -185,6 +186,7 @@ export default {
}, },
examineFn(){ examineFn(){
let item = this.list.find(e => e.status === 1); let item = this.list.find(e => e.status === 1);
console.log(item)
this.$router.push({path:'/bpm/process-instance/detail',query:{id:item.bpmProcessId}}) this.$router.push({path:'/bpm/process-instance/detail',query:{id:item.bpmProcessId}})
}, },
cancel(){ cancel(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment