登录日志添加登录用户和角色搜索条件

uat_us
caiyiling 2024-04-15 10:19:20 +08:00
parent 852a794c44
commit 15a7b6d1ac
1 changed files with 28 additions and 1 deletions

View File

@ -37,6 +37,31 @@
style="width:120px;" style="width:120px;"
/> />
</el-form-item> </el-form-item>
<el-form-item
:label="$t('trials:loginLog:table:userName')"
prop="LoginUserName"
>
<el-input
v-model="searchData.LoginUserName"
size="small"
clearable
style="width:120px;"
/>
</el-form-item>
<el-form-item
:label="$t('trials:loginLog:table:userType')"
prop="OptType"
>
<el-select v-model="searchData.LoginUserTypeEnum" clearable style="width:120px;">
<el-option
v-for="item of $d.UserType"
v-show="item.value !== 7 && item.value !== 8"
:key="'UserType' + item.label"
:value="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<el-form-item <el-form-item
:label="$t('trials:loginLog:table:createTime')" :label="$t('trials:loginLog:table:createTime')"
> >
@ -120,7 +145,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
:label="$t('trials:loginLog:table:optUserName')" :label="$t('trials:loginLog:table:optUserName')"
prop="optUserName" prop="OptUserName"
min-width="90" min-width="90"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" sortable="custom"
@ -160,6 +185,8 @@ const searchDataDefault = () => {
OptType: null, OptType: null,
Ip: '', Ip: '',
LoginFaildName: '', LoginFaildName: '',
LoginUserName: '',
LoginUserTypeEnum: null,
BeginDate: '', BeginDate: '',
EndDate: '', EndDate: '',
Asc: false, Asc: false,