This commit is contained in:
yanran200730
2023-04-19 10:13:33 +08:00
parent 908a11d268
commit 8c5e95859a
2 changed files with 9 additions and 8 deletions

View File

@@ -140,7 +140,7 @@
onUserChange (e) {
this.deptList = e
this.onChange(e)
this.onChange(e)
},
getTalkList() {

View File

@@ -1,7 +1,7 @@
<template>
<ai-list class="notice">
<template slot="title">
<ai-title title="禁言列表" isShowBack isShowBottomBorder @onBackClick="cancel(false)"></ai-title>
<ai-title title="禁言列表" isShowBack isShowBottomBorder @onBackClick="cancel"></ai-title>
</template>
<template slot="content">
<ai-search-bar>
@@ -9,13 +9,13 @@
</template>
<template #right>
<el-input
v-model="search.createUserName"
v-model="search.userName"
class="search-input"
size="small"
v-throttle="() => {search.current = 1, getList()}"
placeholder="请输入用户昵称"
clearable
@clear="search.current = 1, search.createUserName = '', getList()"
@clear="search.current = 1, search.userName = '', getList()"
suffix-icon="iconfont iconSearch">
</el-input>
</template>
@@ -31,7 +31,7 @@
<el-table-column slot="options" width="100px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="remove(row.createUserId)">解除禁言</el-button>
<el-button type="text" @click="remove(row.userId)">解除禁言</el-button>
</div>
</template>
</el-table-column>
@@ -54,11 +54,11 @@
search: {
current: 1,
size: 10,
createUserName: ''
userName: ''
},
total: 0,
colConfigs: [
{ prop: 'createUserName', label: '用户昵称', align: 'left' },
{ prop: 'userName', label: '用户昵称', align: 'left' },
{ prop: 'areaName', label: '所属地区', align: 'center' },
{ prop: 'createTime', label: '被禁言时间', align: 'center' }
],
@@ -97,7 +97,8 @@
cancel () {
this.$emit('change', {
type: 'List'
type: 'List',
isRefresh: true
})
}
}