| | |
| | | <el-col :span="8">
|
| | | <el-card style="height: calc(100vh - 125px)">
|
| | | <template #header>
|
| | | <span>缓存列表</span>
|
| | | <Collection style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">缓存列表</span>
|
| | | <el-button
|
| | | style="float: right; padding: 3px 0"
|
| | | type="text"
|
| | | link
|
| | | type="primary"
|
| | | icon="Refresh"
|
| | | @click="refreshCacheNames()"
|
| | | ></el-button>
|
| | |
| | | >
|
| | | <template #default="scope">
|
| | | <el-button
|
| | | type="text"
|
| | | link
|
| | | type="primary"
|
| | | icon="Delete"
|
| | | @click="handleClearCacheName(scope.row)"
|
| | | ></el-button>
|
| | |
| | | <el-col :span="8">
|
| | | <el-card style="height: calc(100vh - 125px)">
|
| | | <template #header>
|
| | | <span>键名列表</span>
|
| | | <Key style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">键名列表</span>
|
| | | <el-button
|
| | | style="float: right; padding: 3px 0"
|
| | | type="text"
|
| | | link
|
| | | type="primary"
|
| | | icon="Refresh"
|
| | | @click="refreshCacheKeys()"
|
| | | ></el-button>
|
| | |
| | | >
|
| | | <template #default="scope">
|
| | | <el-button
|
| | | type="text"
|
| | | link
|
| | | type="primary"
|
| | | icon="Delete"
|
| | | @click="handleClearCacheKey(scope.row)"
|
| | | ></el-button>
|
| | |
| | | <el-col :span="8">
|
| | | <el-card :bordered="false" style="height: calc(100vh - 125px)">
|
| | | <template #header>
|
| | | <span>缓存内容</span>
|
| | | <Document style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">缓存内容</span>
|
| | | <el-button
|
| | | style="float: right; padding: 3px 0"
|
| | | type="text"
|
| | | link
|
| | | type="primary"
|
| | | icon="Refresh"
|
| | | @click="handleClearCacheAll()"
|
| | | >清理全部</el-button
|
| | | >
|
| | | </template>
|
| | | <el-form :model="form">
|
| | | <el-form :model="cacheForm">
|
| | | <el-row :gutter="32">
|
| | | <el-col :offset="1" :span="22">
|
| | | <el-form-item label="缓存名称:" prop="cacheName">
|
| | |
| | | /** 清理指定名称缓存 */
|
| | | function handleClearCacheName(row) {
|
| | | clearCacheName(row.cacheName).then(response => {
|
| | | proxy.$modal.msgSuccess("清理缓存名称[" + nowCacheName.value + "]成功");
|
| | | proxy.$modal.msgSuccess("清理缓存名称[" + row.cacheName + "]成功");
|
| | | getCacheKeys();
|
| | | });
|
| | | }
|