操作日志 登录日志 删除类型状态 状态字段

ywj_dev
wangwei 2 years ago
parent 0537c8b525
commit 1740a666c9

@ -18,20 +18,20 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="状态:" prop="status">
<el-select
v-model="queryParams.status"
placeholder="登录状态"
clearable
>
<el-option
v-for="dict in dict.type.sys_common_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<!--<el-form-item label="状态:" prop="status">-->
<!-- <el-select-->
<!-- v-model="queryParams.status"-->
<!-- placeholder="登录状态"-->
<!-- clearable-->
<!-- >-->
<!-- <el-option-->
<!-- v-for="dict in dict.type.sys_common_status"-->
<!-- :key="dict.value"-->
<!-- :label="dict.label"-->
<!-- :value="dict.value"-->
<!-- />-->
<!-- </el-select>-->
<!--</el-form-item>-->
<el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
@ -100,11 +100,11 @@
<el-table-column label="登录地点" align="center" prop="loginLocation" :show-overflow-tooltip="true"/>
<el-table-column label="浏览器" align="center" prop="browser" :show-overflow-tooltip="true"/>
<el-table-column label="操作系统" align="center" prop="os" show-overflow-tooltip/>
<el-table-column label="登录状态" align="center" prop="status">
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_common_status" :value="scope.row.status"/>
</template>
</el-table-column>
<!--<el-table-column label="登录状态" align="center" prop="status">-->
<!-- <template slot-scope="scope">-->
<!-- <dict-tag :options="dict.type.sys_common_status" :value="scope.row.status"/>-->
<!-- </template>-->
<!--</el-table-column>-->
<el-table-column label="操作信息" align="center" prop="msg"/>
<el-table-column label="登录日期" align="center" prop="loginTime" width="180">
<template slot-scope="scope">

@ -18,20 +18,20 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="类型:" prop="businessType">
<el-select
v-model="queryParams.businessType"
placeholder="操作类型"
clearable
>
<el-option
v-for="dict in dict.type.sys_oper_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<!--<el-form-item label="类型:" prop="businessType">-->
<!-- <el-select-->
<!-- v-model="queryParams.businessType"-->
<!-- placeholder="操作类型"-->
<!-- clearable-->
<!-- >-->
<!-- <el-option-->
<!-- v-for="dict in dict.type.sys_oper_type"-->
<!-- :key="dict.value"-->
<!-- :label="dict.label"-->
<!-- :value="dict.value"-->
<!-- />-->
<!-- </el-select>-->
<!--</el-form-item>-->
<el-form-item label="状态:" prop="status">
<el-select
v-model="queryParams.status"
@ -72,11 +72,11 @@
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="系统模块" align="center" prop="title"/>
<el-table-column label="操作类型" align="center" prop="businessType">
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_oper_type" :value="scope.row.businessType"/>
</template>
</el-table-column>
<!--<el-table-column label="操作类型" align="center" prop="businessType">-->
<!-- <template slot-scope="scope">-->
<!-- <dict-tag :options="dict.type.sys_oper_type" :value="scope.row.businessType"/>-->
<!-- </template>-->
<!--</el-table-column>-->
<el-table-column label="请求方式" align="center" prop="requestMethod"/>
<el-table-column label="操作人员" align="center" prop="operUserName" width="100" :show-overflow-tooltip="true"
sortable="custom" :sort-orders="['descending', 'ascending']"/>

Loading…
Cancel
Save