Commit d9a82d77 by lanyulei Committed by GitHub

Merge pull request #37 from lanyulei/dev

fix: fix bug.
parents 3fd6d8a4 e8e47232
......@@ -23,7 +23,9 @@
<el-table-column label="标题" prop="title" :show-overflow-tooltip="true" />
<el-table-column label="当前状态" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.state[0].label }}</span>
<span>
{{ scope.row.state_name }}
</span>
</template>
</el-table-column>
<el-table-column label="当前处理人" :show-overflow-tooltip="true">
......
......@@ -23,7 +23,9 @@
<el-table-column label="标题" prop="title" :show-overflow-tooltip="true" />
<el-table-column label="当前状态" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.state[0].label }}</span>
<span>
{{ scope.row.state_name }}
</span>
</template>
</el-table-column>
<el-table-column label="当前处理人" :show-overflow-tooltip="true">
......
......@@ -23,7 +23,9 @@
<el-table-column label="标题" prop="title" :show-overflow-tooltip="true" />
<el-table-column label="当前状态" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.state[0].label }}</span>
<span>
{{ scope.row.state_name }}
</span>
</template>
</el-table-column>
<el-table-column label="当前处理人" :show-overflow-tooltip="true">
......
......@@ -23,7 +23,9 @@
<el-table-column label="标题" prop="title" :show-overflow-tooltip="true" />
<el-table-column label="当前状态" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.state[0].label }}</span>
<span>
{{ scope.row.state_name }}
</span>
</template>
</el-table-column>
<el-table-column label="当前处理人" :show-overflow-tooltip="true">
......@@ -116,6 +118,8 @@
<script>
import { workOrderList, inversionWorkOrder } from '@/api/process/work-order'
import { listUser } from '@/api/system/sysuser'
import { mapGetters } from 'vuex'
export default {
data() {
return {
......@@ -146,6 +150,11 @@ export default {
}
}
},
computed: {
...mapGetters([
'userId'
])
},
created() {
this.getList()
},
......
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 sign in to comment