Commit 4cbfa693 authored by 盖献康's avatar 盖献康

feat: bug - 70889

parent b6dceeba
...@@ -790,7 +790,9 @@ export default { ...@@ -790,7 +790,9 @@ export default {
}, },
getUserByRole() { getUserByRole() {
getUserByRole({ roleName: '检验员' }).then(response => { getUserByRole({ roleName: '检验员' }).then(response => {
this.userList = response.data.map(obj => { this.userList = response.data
.filter(obj => obj.status.toString() !== '1')
.map(obj => {
return { ...obj, disabled: false } return { ...obj, disabled: false }
}) })
console.log('this.userList-1', this.userList) console.log('this.userList-1', this.userList)
......
...@@ -804,7 +804,9 @@ export default { ...@@ -804,7 +804,9 @@ export default {
}, },
getUserByRole() { getUserByRole() {
getUserByRole({ roleName: '检验员' }).then(response => { getUserByRole({ roleName: '检验员' }).then(response => {
this.userList = response.data.map(obj => { this.userList = response.data
.filter(obj => obj.status.toString() !== '1')
.map(obj => {
return { ...obj, disabled: false } return { ...obj, disabled: false }
}) })
console.log('this.userList-1', this.userList) console.log('this.userList-1', this.userList)
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
> >
<el-table-column label="姓名" align="left" prop="nickName"> <el-table-column label="姓名" align="left" prop="nickName">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.userId !== ''">{{ row.name }}</span> <span>{{ row.name }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="组内角色" align="left" prop="role"> <el-table-column label="组内角色" align="left" prop="role">
......
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