chunk-16ca8ff9.291a7077.js 2.3 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-16ca8ff9"],{"469e":function(t,e,a){"use strict";a.d(e,"i",(function(){return s})),a.d(e,"h",(function(){return r})),a.d(e,"f",(function(){return c})),a.d(e,"a",(function(){return o})),a.d(e,"c",(function(){return l})),a.d(e,"d",(function(){return i})),a.d(e,"b",(function(){return u})),a.d(e,"e",(function(){return d})),a.d(e,"g",(function(){return b}));var n=a("f175");const s=t=>n.a.get("/settings.system.log/lists",{params:t}),r=()=>n.a.post("/settings.system.cache/clear"),c=t=>n.a.get("/crontab.crontab/lists",{params:t}),o=t=>n.a.post("/crontab.crontab/add",t),l=t=>n.a.get("/crontab.crontab/detail",{params:t}),i=t=>n.a.post("/crontab.crontab/edit",t),u=t=>n.a.post("/crontab.crontab/delete",t),d=t=>n.a.get("/crontab.crontab/expression",{params:t}),b=t=>n.a.post("/crontab.crontab/operate",t)},"6e3b":function(t,e,a){"use strict";a.r(e);var n=a("9ab4"),s=a("1b40"),r=a("469e"),c=a("0a6d");let o=class extends s.e{constructor(){super(...arguments),this.lists=[{content:"系统缓存",description:"系统运行过程中产生的各类缓存数据"}]}onSystemCacheClear(){Object(r.h)().then(t=>{location.reload()}).catch(t=>{})}created(){}};o=Object(n.a)([Object(s.a)({components:{LsDialog:c.a}})],o);var l=o,i=a("2877"),u=Object(i.a)(l,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"system-cache"},[e("div",{staticClass:"ls-card"},[e("el-alert",{staticClass:"xxl",attrs:{title:"温馨提示:管理系统运行过程中产生的缓存。",type:"info",closable:!1,"show-icon":""}})],1),e("div",{staticClass:"ls-card m-t-16"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:!1,expression:"false"}],staticStyle:{width:"100%"},attrs:{data:t.lists,size:"mini","header-cell-style":{background:"#f5f8ff"}}},[e("el-table-column",{attrs:{prop:"content",label:"管理内容"}}),e("el-table-column",{attrs:{prop:"description",label:"内容说明"}}),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("ls-dialog",{staticClass:"inline",attrs:{content:"确定清除:"+a.row.content},on:{confirm:t.onSystemCacheClear}},[e("el-button",{attrs:{slot:"trigger",type:"text",size:"small"},slot:"trigger"},[t._v("清除系统缓存")])],1)]}}])})],1)],1)])}),[],!1,null,"2c6c97c8",null);e.default=u.exports}}]);