Files
2025-12-09 20:22:03 +08:00

81 lines
3.5 KiB
HTML

<div class=" animated fadeInRight ecommerce">
<div class="ibox ">
<div class="ibox-title">
<h5>
<vc:i18n name="查询条件" namespace="cacheManage"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;"></div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-2">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请输入缓存编码','cacheManage')"
v-model="cacheManageInfo.conditions.cacheCode" class=" form-control">
</div>
</div>
<div class="col-sm-2">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请输入缓存名称','cacheManage')"
v-model="cacheManageInfo.conditions.name" class=" form-control">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryCacheMethod()">
<vc:i18n name="查询" namespace="cacheManage"></vc:i18n>
</button>
<button type="button" class="btn btn-primary btn-sm" v-on:click="_resetCacheMethod()">
<vc:i18n name="重置" namespace="cacheManage"></vc:i18n>
</button>
</div>
</div>
</div>
</div>
<div class="ibox">
<div class="ibox-title">
<h5>
<vc:i18n name="缓存信息" namespace="cacheManage"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;"></div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">
<vc:i18n name="缓存ID" namespace="cacheManage"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="缓存编码" namespace="cacheManage"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="名称" namespace="cacheManage"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="操作" namespace="cacheManage"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="cache in cacheManageInfo.caches">
<td class="text-center">{{cache.id}}</td>
<td class="text-center">{{cache.cacheCode}}</td>
<td class="text-center">{{cache.name}}</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_flushCache(cache)">
<vc:i18n name="刷新缓存" namespace="cacheManage"></vc:i18n>
</button>
</div>
</td>
</tr>
</tbody>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>