{{ msg }}
+亲,没有更多数据了!
+ + ] + } +}) diff --git a/acs/nladmin-ui/src/views/components/VxeTableRender/filter.js b/acs/nladmin-ui/src/views/components/VxeTableRender/filter.js new file mode 100644 index 0000000..6ce21bf --- /dev/null +++ b/acs/nladmin-ui/src/views/components/VxeTableRender/filter.js @@ -0,0 +1,123 @@ +import Vue from 'vue' +import VXETable from 'vxe-table' +import FilterInput from './components/FilterInput.vue' +import FilterContent from './components/FilterContent.vue' +import FilterComplex from './components/FilterComplex.vue' +import FilterExcel from './components/FilterExcel.vue' + +Vue.component(FilterInput.name, FilterInput) +Vue.component(FilterContent.name, FilterContent) +Vue.component(FilterComplex.name, FilterComplex) +Vue.component(FilterExcel.name, FilterExcel) + +// 创建一个简单的输入框筛选 +VXETable.renderer.add('FilterInput', { + // 筛选模板 + renderFilter(h, renderOpts, params) { + return [ +
+ 确定强制退出该用户吗?
+确定停止该线程吗?
+
+ Redis版本: |
+ {{ cache.info.redis_version }} |
+ 运行模式: |
+ {{ cache.info.redis_mode == "standalone" ? "单机" : "集群" }} |
+ 端口: |
+ {{ cache.info.tcp_port }} |
+ 客户端数: |
+ {{ cache.info.connected_clients }} |
+
运行时间(天): |
+ {{ cache.info.uptime_in_days }} |
+ 使用内存: |
+ {{ cache.info.used_memory_human }} |
+ 使用CPU: |
+ {{ parseFloat(cache.info.used_cpu_user_children).toFixed(2) }} |
+ 内存配置: |
+ {{ cache.info.maxmemory_human }} |
+
AOF是否开启: |
+ {{ cache.info.aof_enabled === "0" ? "否" : "是" }} |
+ RDB是否成功: |
+ {{ cache.info.rdb_last_bgsave_status }} |
+ Key数量: |
+ {{ cache.dbSize }} |
+ 网络入口/出口: |
+ {{ cache.info.instantaneous_input_kbps }}kps/{{ cache.info.instantaneous_output_kbps }}kps |
+
时间表达式
+{{ item }} | +Cron 表达式 | + + ++ {{ crontabValueObj.second }} + | ++ {{ crontabValueObj.min }} + | ++ {{ crontabValueObj.hour }} + | ++ {{ crontabValueObj.day }} + | ++ {{ crontabValueObj.month }} + | ++ {{ crontabValueObj.week }} + | ++ {{ crontabValueObj.year }} + | ++ {{ crontabValueString }} + | + +
---|
最近5次运行时间
+确定停止并删除该任务吗?
+
+