消除控制台出现的警告信息

This commit is contained in:
RuoYi
2022-11-21 18:57:42 +08:00
parent 89e93a986e
commit 0effee74b1
19 changed files with 116 additions and 294 deletions

View File

@@ -7,7 +7,8 @@
<span>缓存列表</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
link
type="primary"
icon="Refresh"
@click="refreshCacheNames()"
></el-button>
@@ -48,7 +49,8 @@
>
<template #default="scope">
<el-button
type="text"
link
type="primary"
icon="Delete"
@click="handleClearCacheName(scope.row)"
></el-button>
@@ -64,7 +66,8 @@
<span>键名列表</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
link
type="primary"
icon="Refresh"
@click="refreshCacheKeys()"
></el-button>
@@ -97,7 +100,8 @@
>
<template #default="scope">
<el-button
type="text"
link
type="primary"
icon="Delete"
@click="handleClearCacheKey(scope.row)"
></el-button>
@@ -113,7 +117,8 @@
<span>缓存内容</span>
<el-button
style="float: right; padding: 3px 0"
type="text"
link
type="primary"
icon="Refresh"
@click="handleClearCacheAll()"
>清理全部</el-button

View File

@@ -111,44 +111,19 @@
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="修改" placement="top">
<el-button
type="text"
icon="Edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['monitor:job:edit']"
></el-button>
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['monitor:job:edit']"></el-button>
</el-tooltip>
<el-tooltip content="删除" placement="top">
<el-button
type="text"
icon="Delete"
@click="handleDelete(scope.row)"
v-hasPermi="['monitor:job:remove']"
></el-button>
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['monitor:job:remove']"></el-button>
</el-tooltip>
<el-tooltip content="执行一次" placement="top">
<el-button
type="text"
icon="CaretRight"
@click="handleRun(scope.row)"
v-hasPermi="['monitor:job:changeStatus']"
></el-button>
<el-button link type="primary" icon="CaretRight" @click="handleRun(scope.row)" v-hasPermi="['monitor:job:changeStatus']"></el-button>
</el-tooltip>
<el-tooltip content="任务详细" placement="top">
<el-button
type="text"
icon="View"
@click="handleView(scope.row)"
v-hasPermi="['monitor:job:query']"
></el-button>
<el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']"></el-button>
</el-tooltip>
<el-tooltip content="调度日志" placement="top">
<el-button
type="text"
icon="Operation"
@click="handleJobLog(scope.row)"
v-hasPermi="['monitor:job:query']"
></el-button>
<el-button link type="primary" icon="Operation" @click="handleJobLog(scope.row)" v-hasPermi="['monitor:job:query']"></el-button>
</el-tooltip>
</template>
</el-table-column>

View File

@@ -119,12 +119,7 @@
</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)"
v-hasPermi="['monitor:job:query']"
>详细</el-button>
<el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']">详细</el-button>
</template>
</el-table-column>
</el-table>

View File

@@ -48,12 +48,7 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
type="text"
icon="Delete"
@click="handleForceLogout(scope.row)"
v-hasPermi="['monitor:online:forceLogout']"
>强退</el-button>
<el-button link type="primary" icon="Delete" @click="handleForceLogout(scope.row)" v-hasPermi="['monitor:online:forceLogout']">强退</el-button>
</template>
</el-table-column>
</el-table>

View File

@@ -121,12 +121,7 @@
</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="['monitor: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>