Commit d9a82d77 by lanyulei Committed by GitHub

Merge pull request #37 from lanyulei/dev

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