|
@@ -58,6 +58,15 @@
|
|
|
v-hasPermi="['biz:keyInfo:export']"
|
|
|
>导出</el-button>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ plain
|
|
|
+ icon="el-icon-refresh"
|
|
|
+ size="mini"
|
|
|
+ @click="handleRefreshCache"
|
|
|
+ >重新匹配</el-button>
|
|
|
+ </el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
|
|
@@ -113,7 +122,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listKeyInfo, getKeyInfo, delKeyInfo, addKeyInfo, updateKeyInfo } from "@/api/biz/keyInfo";
|
|
|
+import { listKeyInfo, getKeyInfo, delKeyInfo, addKeyInfo, updateKeyInfo,replay } from "@/api/biz/keyInfo";
|
|
|
|
|
|
export default {
|
|
|
name: "KeyInfo",
|
|
@@ -251,6 +260,12 @@ export default {
|
|
|
this.download('biz/keyInfo/export', {
|
|
|
...this.queryParams
|
|
|
}, `keyInfo_${new Date().getTime()}.xlsx`)
|
|
|
+ },
|
|
|
+ /** 刷新缓存按钮操作 */
|
|
|
+ handleRefreshCache() {
|
|
|
+ replay().then(() => {
|
|
|
+ this.$modal.msgSuccess("刷新成功");
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|