gaoluyang
2026-05-18 530a2ce7c5483f7a04bec7b80251634fee9e3399
src/views/monitor/operlog/index.vue
@@ -83,7 +83,6 @@
               icon="Delete"
               :disabled="multiple"
               @click="handleDelete"
               v-hasPermi="['monitor:operlog:remove']"
            >删除</el-button>
         </el-col>
         <el-col :span="1.5">
@@ -92,7 +91,6 @@
               plain
               icon="Delete"
               @click="handleClean"
               v-hasPermi="['monitor:operlog:remove']"
            >清空</el-button>
         </el-col>
         <el-col :span="1.5">
@@ -101,7 +99,6 @@
               plain
               icon="Download"
               @click="handleExport"
               v-hasPermi="['monitor:operlog:export']"
            >导出</el-button>
         </el-col>
         <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
@@ -135,7 +132,7 @@
         </el-table-column>
         <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
            <template #default="scope">
               <el-button link type="primary" icon="View" @click="handleView(scope.row, scope.index)" v-hasPermi="['monitor:operlog:query']">详细</el-button>
               <el-button link type="primary" icon="View" @click="handleView(scope.row, scope.index)">详细</el-button>
            </template>
         </el-table-column>
      </el-table>
@@ -199,6 +196,7 @@
<script setup name="Operlog">
import { list, delOperlog, cleanOperlog } from "@/api/monitor/operlog"
import {onMounted} from "vue";
const { proxy } = getCurrentInstance()
const { sys_oper_type, sys_common_status } = proxy.useDict("sys_oper_type","sys_common_status")
@@ -306,5 +304,7 @@
  }, `config_${new Date().getTime()}.xlsx`)
}
getList()
onMounted(() => {
   getList();
});
</script>