[update] 自测bug

This commit is contained in:
zhaomeijing
2022-06-15 10:16:51 +08:00
parent f18e37ef16
commit df218aea19
2 changed files with 11 additions and 8 deletions
+10 -7
View File
@@ -10,19 +10,19 @@
:wrapper-col='wrapperCol'
>
<a-row :gutter='24'>
<!-- <a-col :span='9'>-->
<!-- <a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>-->
<!-- <a-input-->
<!-- v-model='form.realname' />-->
<!-- </a-form-model-item>-->
<!-- </a-col>-->
<a-col :span='9'>
<a-form-model-item ref='paramsTemplateName' :label="$t('fullName')" prop='paramsTemplateName'>
<a-input
v-model='form.realname' />
</a-form-model-item>
</a-col>
<a-col :span='9'>
<a-form-model-item ref='paramsTemplateName' :label="$t('accountNumber')" prop='paramsTemplateName'>
<a-input
v-model='form.username' />
</a-form-model-item>
</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' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
</a-col>
@@ -141,6 +141,9 @@ export default {
if(this.form.username !== undefined) {
params.username = `*${this.form.username}*`
}
if(this.form.realname !== undefined) {
params.realname = `*${this.form.realname}*`
}
getAction(`sys/user/page`, params).then(res => {
if (res.success) {
this.areaTable = [...res.result.records]
@@ -40,7 +40,7 @@
v-model='form.paramsTemplateName' />
</a-form-model-item>
</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' style='margin-left: 8px' @click='searchReset'>{{ $t('reset') }}</a-button>
</a-col>