wujingjing
2024-10-31 8203dbf3281ab379484be289aa770fd40ec1560f
src/views/project/yw/systemManage/accessLog/AccessLog.vue
@@ -24,12 +24,15 @@
               :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>
@@ -41,7 +44,6 @@
import { debounce, getItemMap } from '/@/utils/util';
import { onMounted, ref } from 'vue';
import * as userApi from '/@/api/auth/user';
@@ -73,7 +75,7 @@
   const res = await getOperateLog({
      start_time: queryParams.value.timeRange[0],
      end_time: queryParams.value.timeRange[1],
      type: queryParams.value.type,
      user: queryParams.value.user,
   });
@@ -170,7 +172,7 @@
   roleList.value = res?.values ?? [];
};
onMounted(async () => {
   nextTick(() => {
      nextTick(() => {
      handleQueryTable();
   });
});