| | |
| | | icon="Delete"
|
| | | :disabled="multiple"
|
| | | @click="handleDelete"
|
| | | v-hasPermi="['system:operlog:remove']"
|
| | | v-hasPermi="['monitor:operlog:remove']"
|
| | | >删除</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | plain
|
| | | icon="Delete"
|
| | | @click="handleClean"
|
| | | v-hasPermi="['system:operlog:remove']"
|
| | | v-hasPermi="['monitor:operlog:remove']"
|
| | | >清空</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | plain
|
| | | icon="Download"
|
| | | @click="handleExport"
|
| | | v-hasPermi="['system:operlog:export']"
|
| | | v-hasPermi="['monitor:operlog:export']"
|
| | | >导出</el-button>
|
| | | </el-col>
|
| | | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
| | |
| | | </el-table-column>
|
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
| | | <template #default="scope">
|
| | | <el-button
|
| | | type="text"
|
| | | icon="View"
|
| | | @click="handleView(scope.row, scope.index)"
|
| | | v-hasPermi="['system:operlog:query']"
|
| | | >详细</el-button>
|
| | | <el-button link type="primary" icon="View" @click="handleView(scope.row, scope.index)" v-hasPermi="['monitor:operlog:query']">详细</el-button>
|
| | | </template>
|
| | | </el-table-column>
|
| | | </el-table>
|
| | |
| | | function resetQuery() {
|
| | | dateRange.value = [];
|
| | | proxy.resetForm("queryRef");
|
| | | queryParams.value.pageNum = 1;
|
| | | proxy.$refs["operlogRef"].sort(defaultSort.value.prop, defaultSort.value.order);
|
| | | handleQuery();
|
| | | }
|
| | | /** 多选框选中数据 */
|
| | | function handleSelectionChange(selection) {
|