[update] 用户管理查询条件的顺序调整
This commit is contained in:
@@ -6,44 +6,14 @@
|
|||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
|
|
||||||
<a-col :md="6" :sm="12">
|
<!-- 用户姓名 -->
|
||||||
<a-form-item :label="$t('user.userAccount')">
|
|
||||||
<j-input :placeholder="$t('pleaseEnter') + $t('user.userAccount')" v-model="queryParam.username"></j-input>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
<a-col :md="6" :sm="12">
|
|
||||||
<a-form-item :label="$t('user.gender')">
|
|
||||||
<a-select v-model="queryParam.sex" :placeholder="$t('pleaseSelect') + $t('user.gender')">
|
|
||||||
<a-select-option value="">{{ $t('pleaseSelect') }}</a-select-option>
|
|
||||||
<a-select-option value="1">{{ $t('user.male') }}</a-select-option>
|
|
||||||
<a-select-option value="2">{{ $t('user.female') }}</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="12">
|
||||||
<a-form-item :label="$t('user.userName')">
|
<a-form-item :label="$t('user.userName')">
|
||||||
<j-input :placeholder="$t('pleaseEnter') + $t('user.userName')" v-model="queryParam.realname"></j-input>
|
<j-input :placeholder="$t('pleaseEnter') + $t('user.userName')" v-model="queryParam.realname"></j-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<template v-if="toggleSearchStatus">
|
<!-- 组织机构 -->
|
||||||
<!--<a-col :md="6" :sm="12">-->
|
|
||||||
<!-- <a-form-item :label="$t('phoneNumber')">-->
|
|
||||||
<!-- <a-input :placeholder="$t('pleaseEnter') + $t('phoneNumber')" v-model="queryParam.phone"></a-input>-->
|
|
||||||
<!-- </a-form-item>-->
|
|
||||||
<!--</a-col>-->
|
|
||||||
<a-col :md="6" :sm="12">
|
|
||||||
<a-form-item :label="$t('status')">
|
|
||||||
<a-select v-model="queryParam.status" :placeholder="$t('pleaseSelect') + $t('status')">
|
|
||||||
<a-select-option value="">{{ $t('pleaseSelect') }}</a-select-option>
|
|
||||||
<a-select-option value="1">{{ $t('normal') }}</a-select-option>
|
|
||||||
<a-select-option value="2">{{ $t('user.frozen') }}</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
|
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="12">
|
||||||
<a-form-item :label="$t('organization')">
|
<a-form-item :label="$t('organization')">
|
||||||
<a-tree-select
|
<a-tree-select
|
||||||
@@ -61,6 +31,7 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<!-- 角色 -->
|
||||||
<a-col :md="6" :sm="12">
|
<a-col :md="6" :sm="12">
|
||||||
<a-form-item :label="$t('role')">
|
<a-form-item :label="$t('role')">
|
||||||
<j-search-select-tag
|
<j-search-select-tag
|
||||||
@@ -70,6 +41,41 @@
|
|||||||
</j-search-select-tag>
|
</j-search-select-tag>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<!--<a-col :md="6" :sm="12">-->
|
||||||
|
<!-- <a-form-item :label="$t('phoneNumber')">-->
|
||||||
|
<!-- <a-input :placeholder="$t('pleaseEnter') + $t('phoneNumber')" v-model="queryParam.phone"></a-input>-->
|
||||||
|
<!-- </a-form-item>-->
|
||||||
|
<!--</a-col>-->
|
||||||
|
<!-- 用户账号 -->
|
||||||
|
<a-col :md="6" :sm="12">
|
||||||
|
<a-form-item :label="$t('user.userAccount')">
|
||||||
|
<j-input :placeholder="$t('pleaseEnter') + $t('user.userAccount')" v-model="queryParam.username"></j-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
|
<!-- 状态 -->
|
||||||
|
<a-col :md="6" :sm="12">
|
||||||
|
<a-form-item :label="$t('status')">
|
||||||
|
<a-select v-model="queryParam.status" :placeholder="$t('pleaseSelect') + $t('status')">
|
||||||
|
<a-select-option value="">{{ $t('pleaseSelect') }}</a-select-option>
|
||||||
|
<a-select-option value="1">{{ $t('normal') }}</a-select-option>
|
||||||
|
<a-select-option value="2">{{ $t('user.frozen') }}</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
|
<!-- 性别 -->
|
||||||
|
<a-col :md="6" :sm="12">
|
||||||
|
<a-form-item :label="$t('user.gender')">
|
||||||
|
<a-select v-model="queryParam.sex" :placeholder="$t('pleaseSelect') + $t('user.gender')">
|
||||||
|
<a-select-option value="">{{ $t('pleaseSelect') }}</a-select-option>
|
||||||
|
<a-select-option value="1">{{ $t('user.male') }}</a-select-option>
|
||||||
|
<a-select-option value="2">{{ $t('user.female') }}</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
<div style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||||
|
|||||||
Reference in New Issue
Block a user