|
|
|
@ -14,48 +14,74 @@
|
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="性别"> |
|
|
|
|
<a-select v-model="queryParam.sex" placeholder="请选择性别"> |
|
|
|
|
<a-form-item label="用户状态"> |
|
|
|
|
<a-select v-model="queryParam.status" placeholder="请选择"> |
|
|
|
|
<a-select-option value="">请选择</a-select-option> |
|
|
|
|
<a-select-option value="1">男性</a-select-option> |
|
|
|
|
<a-select-option value="2">女性</a-select-option> |
|
|
|
|
<a-select-option value="1">正常</a-select-option> |
|
|
|
|
<a-select-option value="2">冻结</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="toggleSearchStatus"> |
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="真实名字"> |
|
|
|
|
<a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="手机号码"> |
|
|
|
|
<a-input placeholder="请输入手机号码查询" v-model="queryParam.phone"></a-input> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="用户状态"> |
|
|
|
|
<a-select v-model="queryParam.status" placeholder="请选择"> |
|
|
|
|
<a-select-option value="">请选择</a-select-option> |
|
|
|
|
<a-select-option value="1">正常</a-select-option> |
|
|
|
|
<a-select-option value="2">冻结</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
</template> |
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="真实名字"> |
|
|
|
|
<a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<a-form-item label="部门"> |
|
|
|
|
<j-select-depart v-model="queryParam.departIds" :trigger-change="true" ></j-select-depart> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<!-- <a-row :gutter="24">--> |
|
|
|
|
<!-- <a-col :md="6" :sm="8">--> |
|
|
|
|
<!-- <a-form-item label="选择职务">--> |
|
|
|
|
<!-- <j-select-position :buttons="false" v-model="formData.post" />--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- <a-col :md="6" :sm="8">--> |
|
|
|
|
<!-- <a-form-item label="性别">--> |
|
|
|
|
<!-- <a-select v-model="queryParam.sex" placeholder="请选择性别">--> |
|
|
|
|
<!-- <a-select-option value="">请选择</a-select-option>--> |
|
|
|
|
<!-- <a-select-option value="1">男性</a-select-option>--> |
|
|
|
|
<!-- <a-select-option value="2">女性</a-select-option>--> |
|
|
|
|
<!-- </a-select>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <template v-if="toggleSearchStatus">--> |
|
|
|
|
<!-- <a-col :md="6" :sm="8">--> |
|
|
|
|
<!-- <a-form-item label="真实名字">--> |
|
|
|
|
<!-- <a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
<!--<!– <a-col :md="6" :sm="8">–>--> |
|
|
|
|
<!--<!– <a-form-item label="手机号码">–>--> |
|
|
|
|
<!--<!– <a-input placeholder="请输入手机号码查询" v-model="queryParam.phone"></a-input>–>--> |
|
|
|
|
<!--<!– </a-form-item>–>--> |
|
|
|
|
<!--<!– </a-col>–>--> |
|
|
|
|
|
|
|
|
|
<!-- <a-col :md="6" :sm="8">--> |
|
|
|
|
<!-- <a-form-item label="用户状态">--> |
|
|
|
|
<!-- <a-select v-model="queryParam.status" placeholder="请选择">--> |
|
|
|
|
<!-- <a-select-option value="">请选择</a-select-option>--> |
|
|
|
|
<!-- <a-select-option value="1">正常</a-select-option>--> |
|
|
|
|
<!-- <a-select-option value="2">冻结</a-select-option>--> |
|
|
|
|
<!-- </a-select>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
|
|
|
|
<a-col :md="6" :sm="8"> |
|
|
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
|
|
|
|
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
|
|
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
|
|
|
|
<a @click="handleToggleSearch" style="margin-left: 8px"> |
|
|
|
|
{{ toggleSearchStatus ? '收起' : '展开' }} |
|
|
|
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> |
|
|
|
|
</a> |
|
|
|
|
<!-- <a @click="handleToggleSearch" style="margin-left: 8px">--> |
|
|
|
|
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}--> |
|
|
|
|
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>--> |
|
|
|
|
<!-- </a>--> |
|
|
|
|
</span> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
@ -129,9 +155,9 @@
|
|
|
|
|
更多 <a-icon type="down"/> |
|
|
|
|
</a> |
|
|
|
|
<a-menu slot="overlay"> |
|
|
|
|
<a-menu-item> |
|
|
|
|
<a href="javascript:;" @click="handleDetail(record)">详情</a> |
|
|
|
|
</a-menu-item> |
|
|
|
|
<!-- <a-menu-item>--> |
|
|
|
|
<!-- <a href="javascript:;" @click="handleDetail(record)">详情</a>--> |
|
|
|
|
<!-- </a-menu-item>--> |
|
|
|
|
|
|
|
|
|
<a-menu-item> |
|
|
|
|
<a href="javascript:;" @click="handleChangePassword(record.username)">密码</a> |
|
|
|
@ -183,6 +209,8 @@
|
|
|
|
|
import JInput from '@/components/jeecg/JInput' |
|
|
|
|
import UserRecycleBinModal from './modules/UserRecycleBinModal' |
|
|
|
|
import JSuperQuery from '@/components/jeecg/JSuperQuery' |
|
|
|
|
import JSelectDepart from '@/components/jeecgbiz/JSelectDepart' |
|
|
|
|
import JSelectPosition from '@comp/jeecgbiz/JSelectPosition' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: "UserList", |
|
|
|
@ -193,13 +221,20 @@
|
|
|
|
|
PasswordModal, |
|
|
|
|
JInput, |
|
|
|
|
UserRecycleBinModal, |
|
|
|
|
JSuperQuery |
|
|
|
|
JSuperQuery, |
|
|
|
|
JSelectDepart, |
|
|
|
|
JSelectPosition |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
description: '这是用户管理页面', |
|
|
|
|
queryParam: {}, |
|
|
|
|
recycleBinVisible: false, |
|
|
|
|
formData: { |
|
|
|
|
areaLinkage1: '110105', |
|
|
|
|
areaLinkage2: '140221', |
|
|
|
|
sex: 1 |
|
|
|
|
}, |
|
|
|
|
columns: [ |
|
|
|
|
/*{ |
|
|
|
|
title: '#', |
|
|
|
|