27265
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
<h2>
|
||||
{{ item.dictName }}
|
||||
</h2>
|
||||
<img src="./img/down-icon.png" alt="" :class="type == item.dictValue ? 'img-active' : ''">
|
||||
<img src="./img/down-icon.png" alt="" :class="type === item.dictValue ? 'img-active' : ''">
|
||||
</div>
|
||||
<div class="user-list" v-if="type == item.dictValue">
|
||||
<div class="user-list" v-if="type == item.dictValue && type !== ''">
|
||||
<div class="user-item" v-for="(e, indexs) in userList" :key="indexs">
|
||||
<div class="user-img">
|
||||
<img src="./img/user-img.png" alt="">
|
||||
@@ -177,18 +177,14 @@ export default {
|
||||
return idNumber
|
||||
},
|
||||
showUserType(item) {
|
||||
this.type = item.dictValue
|
||||
this.current = 1
|
||||
this.userList = []
|
||||
this.getUserList()
|
||||
// if(this.userList[index].check) {
|
||||
// this.userList[index].check = false
|
||||
// }else {
|
||||
// this.userList.map((item) => {
|
||||
// item.check = false
|
||||
// })
|
||||
// this.userList[index].check = true
|
||||
// }
|
||||
if (item.dictValue != this.type) {
|
||||
this.type = item.dictValue
|
||||
this.current = 1
|
||||
this.userList = []
|
||||
this.getUserList()
|
||||
}else {
|
||||
this.type = ''
|
||||
}
|
||||
},
|
||||
toEdit(row,index) {
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user