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

feat: bug - 70889

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