| | |
| | | :data="tableData" |
| | | highlight-current-row |
| | | > |
| | | <el-table-column prop="time" label="时间" width="185" fixed="left" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="描述" prop="note" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="用户" prop="user" width="120" fixed="left" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column prop="time" label="时间" width="185" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="操作类型" prop="type" width="170" show-overflow-tooltip> </el-table-column> |
| | | |
| | | <el-table-column label="用户" prop="user" width="120" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="类型" prop="type" width="170" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="IP 地址" prop="client_ip" width="170" show-overflow-tooltip> </el-table-column> |
| | | |
| | | <el-table-column label="来源" prop="from" width="120" show-overflow-tooltip> </el-table-column> |
| | | |
| | | <el-table-column label="IP地址" prop="client_ip" width="170" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column label="描述" prop="note" show-overflow-tooltip> </el-table-column> |
| | | |
| | | </el-table> |
| | | </div> |
| | |
| | | import { debounce, getItemMap } from '/@/utils/util'; |
| | | |
| | | import { onMounted, ref } from 'vue'; |
| | | |
| | | |
| | | import * as userApi from '/@/api/auth/user'; |
| | | |
| | |
| | | const res = await getOperateLog({ |
| | | start_time: queryParams.value.timeRange[0], |
| | | end_time: queryParams.value.timeRange[1], |
| | | |
| | | |
| | | type: queryParams.value.type, |
| | | user: queryParams.value.user, |
| | | }); |
| | |
| | | roleList.value = res?.values ?? []; |
| | | }; |
| | | onMounted(async () => { |
| | | nextTick(() => { |
| | | nextTick(() => { |
| | | handleQueryTable(); |
| | | }); |
| | | }); |