[update] 自测bug
This commit is contained in:
@@ -10,19 +10,19 @@
|
|||||||
:wrapper-col='wrapperCol'
|
:wrapper-col='wrapperCol'
|
||||||
>
|
>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24'>
|
||||||
<!-- <a-col :span='9'>-->
|
<a-col :span='9'>
|
||||||
<!-- <a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>-->
|
<a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>
|
||||||
<!-- <a-input-->
|
<a-input
|
||||||
<!-- v-model='form.realname' />-->
|
v-model='form.realname' />
|
||||||
<!-- </a-form-model-item>-->
|
</a-form-model-item>
|
||||||
<!-- </a-col>-->
|
</a-col>
|
||||||
<a-col :span='9'>
|
<a-col :span='9'>
|
||||||
<a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'>
|
<a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'>
|
||||||
<a-input
|
<a-input
|
||||||
v-model='form.username' />
|
v-model='form.username' />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span='6'>
|
<a-col :span='6' style='margin-top: 5px;'>
|
||||||
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
|
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
|
||||||
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
|
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -141,6 +141,9 @@ export default {
|
|||||||
if(this.form.username !== undefined) {
|
if(this.form.username !== undefined) {
|
||||||
params.username = `*${this.form.username}*`
|
params.username = `*${this.form.username}*`
|
||||||
}
|
}
|
||||||
|
if(this.form.realname !== undefined) {
|
||||||
|
params.realname = `*${this.form.realname}*`
|
||||||
|
}
|
||||||
getAction(`sys/user/page`, params).then(res => {
|
getAction(`sys/user/page`, params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.areaTable = [...res.result.records]
|
this.areaTable = [...res.result.records]
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
v-model='form.paramsTemplateName' />
|
v-model='form.paramsTemplateName' />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span='6'>
|
<a-col :span='6' style='margin-top: 5px'>
|
||||||
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
|
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
|
||||||
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
|
<a-button class='box-button' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
Reference in New Issue
Block a user