|
@@ -208,7 +208,11 @@ export default {
|
|
|
// 搜索关键
|
|
|
async searchCrux() {
|
|
|
const res = await appGetEmployeeInfoByPhone({ inquire: this.searchKey }, { emulateJSON: true, loading: true, message: '获取数据中...' })
|
|
|
- this.searchKeyList = res.employeeInfo
|
|
|
+ const employeeInfoVlaue = res.employeeInfo.filter((item) => {
|
|
|
+ return item.role && !item.role.includes("管理员");
|
|
|
+ })
|
|
|
+ console.log(employeeInfoVlaue)
|
|
|
+ this.searchKeyList = employeeInfoVlaue
|
|
|
},
|
|
|
// 点击group
|
|
|
onGroup(item) {
|