|
|
|
@ -6,19 +6,7 @@ |
|
|
|
<Card class="margin-bottom-10"> |
|
|
|
<Form inline> |
|
|
|
<FormItem class="margin-bottom-0"> |
|
|
|
<Select v-model="searchConf.status" clearable placeholder='请选择状态' style="width:120px"> |
|
|
|
<Option :value="1">启用</Option> |
|
|
|
<Option :value="0">禁用</Option> |
|
|
|
</Select> |
|
|
|
</FormItem> |
|
|
|
<FormItem class="margin-bottom-0"> |
|
|
|
<Select v-model="searchConf.type" clearable placeholder="请选择类别" style="width:120px"> |
|
|
|
<Option :value="1">AppId</Option> |
|
|
|
<Option :value="2">应用名称</Option> |
|
|
|
</Select> |
|
|
|
</FormItem> |
|
|
|
<FormItem class="margin-bottom-0"> |
|
|
|
<Input v-model="searchConf.keywords" placeholder=""></Input> |
|
|
|
<Input v-model="searchConf.phone" placeholder="输入手机号码查询"></Input> |
|
|
|
</FormItem> |
|
|
|
<FormItem class="margin-bottom-0"> |
|
|
|
<Button type="primary" @click="search">{{ $t('find_button') }}/{{ $t('refresh_button') }}</Button> |
|
|
|
@ -33,7 +21,7 @@ |
|
|
|
<Card> |
|
|
|
<!-- 用户列表 --> |
|
|
|
<div> |
|
|
|
<Table :loading="listLoading" :columns="columnsList" :data="tableData" border disabled-hover></Table> |
|
|
|
<Table :loading="listLoading" :columns="columnsList" :data="tableData" stripe disabled-hover></Table> |
|
|
|
</div> |
|
|
|
<div class="margin-top-15" style="text-align: center"> |
|
|
|
<Page :total="tableShow.listCount" :current="tableShow.currentPage" :page-size="tableShow.pageSize" @on-change="changePage" @on-page-size-change="changeSize" show-elevator show-sizer show-total></Page> |
|
|
|
@ -63,7 +51,7 @@ |
|
|
|
import { getList } from '@/api/wechat' |
|
|
|
// |
|
|
|
export default { |
|
|
|
name: 'interface_list', |
|
|
|
name: 'wechat_user_list', |
|
|
|
data () { |
|
|
|
return { |
|
|
|
appGroup: [], |
|
|
|
@ -77,7 +65,7 @@ export default { |
|
|
|
title: 'openid', |
|
|
|
align: 'openid', |
|
|
|
key: 'openid', |
|
|
|
minWidth: 330 |
|
|
|
minWidth: 280 |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '头像', |
|
|
|
@ -132,39 +120,16 @@ export default { |
|
|
|
pageSize: 10, |
|
|
|
listCount: 0 |
|
|
|
}, |
|
|
|
// 搜索配置 |
|
|
|
searchConf: { |
|
|
|
type: '', |
|
|
|
keywords: '', |
|
|
|
status: '' |
|
|
|
phone: '' |
|
|
|
}, |
|
|
|
modalSetting: { |
|
|
|
show: false, |
|
|
|
loading: false, |
|
|
|
index: 0 |
|
|
|
}, |
|
|
|
formItem: { |
|
|
|
app_name: '', |
|
|
|
app_id: '', |
|
|
|
app_secret: '', |
|
|
|
app_info: '', |
|
|
|
app_api: {}, |
|
|
|
app_group: 'default', |
|
|
|
id: 0 |
|
|
|
}, |
|
|
|
ruleValidate: { |
|
|
|
app_name: [{ |
|
|
|
required: true, |
|
|
|
message: '应用名称不能为空', |
|
|
|
trigger: 'blur' |
|
|
|
}] |
|
|
|
}, |
|
|
|
checkAllStatus: {}, |
|
|
|
checkAllIndeterminate: {}, |
|
|
|
buttonShow: { |
|
|
|
edit: true, |
|
|
|
del: true, |
|
|
|
changeStatus: true |
|
|
|
}, |
|
|
|
|
|
|
|
listLoading: false |
|
|
|
} |
|
|
|
}, |
|
|
|
|