@@ -28,9 +28,9 @@ export default {
{
code: '1', value: '待审批'
},
- {
- code: '2', value: '审批中'
- },
+ // {
+ // code: '2', value: '审批中'
+ // },
code: '3', value: '审批完成'
@@ -79,7 +79,7 @@
min-width="100"
label="状态">
<template slot-scope="scope">
- <span>{{ optionsState[Number(scope.row.state) + 1].value }}</span>
+ <span>{{(optionsState.find(t=>t.code === scope.row.state.toString())).value}}</span>
</template>
</el-table-column>
<el-table-column