UNPKG

@bee-hole/server

Version:

www.bee-hole.com

1 lines 55.2 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6bb30001"],{"1e4b":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"typical-home"},[e("a-row",{attrs:{gutter:[4,4]}},[e("a-col",{staticStyle:{"padding-bottom":"0"},attrs:{span:24}},[e("a-row",{staticClass:"top-list",attrs:{gutter:[16,16]}},[e("a-col",{staticStyle:{margin:"8px",height:"148px","border-radius":"4px",overflow:"hidden",padding:"0"},attrs:{xxl:6,xl:12,lg:16}},[e("a",{attrs:{href:"##"}})]),t._l(t.dataList,(function(a,n){return e("a-col",{key:n,attrs:{xxl:3,xl:6,lg:8}},[e("a-card",{attrs:{bordered:!1}},[e("a-icon",{style:{background:a.color},attrs:{type:a.icon}}),e("span",[t._v(t._s(a.text))])],1)],1)})),e("a-col",{attrs:{xxl:3,xl:6,lg:8}},[e("a-card",{attrs:{bordered:!1},on:{click:t.showModal}},[e("a-icon",{staticClass:"add-plus",attrs:{type:"plus"}}),e("span",[t._v("添加常用")]),e("a-modal",{attrs:{title:"添加常用应用",centered:"",wrapClassName:"top-list-modal"},on:{ok:t.handleOk},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("a-input-search",{attrs:{placeholder:"请输入需要搜索的内容"},on:{search:t.onSearch}}),e("a-tabs",{attrs:{"default-active-key":"1",tabPosition:"left",size:"small"},on:{change:t.modalcallback}},[e("a-tab-pane",{key:"1",attrs:{tab:"最近使用"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.adddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",{attrs:{description:a.txt}},[e("a",{attrs:{slot:"title",href:a.url},slot:"title"},[t._v(t._s(a.title))]),e("a-avatar",{style:{background:a.color},attrs:{slot:"avatar",size:34,icon:a.icon},slot:"avatar"})],1),e("a-button",{attrs:{size:"small"}},[t._v("移除")])],1)}}])})],1),e("a-tab-pane",{key:"2",attrs:{tab:"分析工具"}},[t._v(" 分析工具 ")]),e("a-tab-pane",{key:"3",attrs:{tab:"沟通协作"}},[t._v(" 沟通协作 ")]),e("a-tab-pane",{key:"4",attrs:{tab:"客户服务"}},[t._v(" 客户服务 ")]),e("a-tab-pane",{key:"5",attrs:{tab:"开发工具"}},[t._v(" 开发工具 ")]),e("a-tab-pane",{key:"6",attrs:{tab:"人力资源"}},[t._v(" 人力资源 ")])],1)],1)],1)],1)],2)],1),e("a-col",{staticClass:"module-list",attrs:{span:16}},[e("a-row",{attrs:{gutter:[16,16]}},[e("a-col",{attrs:{span:12}},[e("div",{staticClass:"module-in module-in01"},[e("a-page-header",{attrs:{ghost:!1,title:"待办事项"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-list",{staticClass:"list-totality",attrs:{grid:{gutter:8,column:3},"data-source":t.data},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-card",[e("p",[t._v(t._s(a.title))]),e("span",[t._v(t._s(a.data))])])],1)}}])}),e("a-list",{staticClass:"list-detail",attrs:{"item-layout":"horizontal","data-source":t.detaildata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("template",{slot:"description"},[e("span",[t._v(t._s(a.state))]),e("span",[t._v(t._s(a.txt))]),e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.hint))])]),e("a-icon",{attrs:{type:"question-circle"}})],2),e("a",[t._v("办理")])],1)],2)],1)}}])})],1)]),e("a-col",{attrs:{span:12}},[e("div",{staticClass:"module-in module-in02"},[e("a-page-header",{attrs:{ghost:!1,title:"关注项目总览"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-table",{attrs:{columns:t.projectcolumns,"data-source":t.projectdata,size:"small"},scopedSlots:t._u([{key:"status",fn:function(t,a){return e("a-badge",{attrs:{status:a.icon,text:a.text}})}}])})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in03"},[e("a-page-header",{attrs:{ghost:!1,title:"组件API搜索"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-input",{attrs:{placeholder:"输入组件或 API 名称,支持中英文模糊搜索"}}),e("div",{staticClass:"subtitle"},[t._v("最近使用")]),e("a-list",{attrs:{grid:{gutter:16,column:4},"data-source":t.apidata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-card",[e("a-icon",{attrs:{type:a.icon}}),e("span",[t._v(t._s(a.con))])],1)],1)}}])})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in04"},[e("a-page-header",{attrs:{ghost:!1,title:"趋势图"}},[e("template",{slot:"extra"},[e("a-radio-group",{attrs:{"default-value":"a","button-style":"solid",size:"small"}},[e("a-radio-button",{attrs:{value:"a"}},[t._v(" 一个月 ")]),e("a-radio-button",{attrs:{value:"b"}},[t._v(" 三个月 ")]),e("a-radio-button",{attrs:{value:"c"}},[t._v(" 六个月 ")])],1)],1)],2),e("div",{staticStyle:{height:"280px"}})],1)]),e("a-col",{attrs:{span:24}},[e("div",{staticClass:"module-in module-in05"},[e("a-page-header",{attrs:{ghost:!1,title:"帮助文档"}}),e("a-row",{attrs:{gutter:[16,16]}},[e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1),e("a-col",{attrs:{span:4}},[e("a-list",{attrs:{size:"small","data-source":t.aiddata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[t._v(" "+t._s(a)+" ")])}}])},[e("div",{attrs:{slot:"header"},slot:"header"},[t._v("组件使用方法")])])],1)],1)],1)])],1)],1),e("a-col",{staticClass:"module-list",attrs:{span:8}},[e("a-row",{attrs:{gutter:[0,16]}},[e("a-col",[e("div",{staticClass:"module-in module-in06"},[e("a-page-header",{attrs:{ghost:!1,title:"公告"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-tabs",{attrs:{"default-active-key":"1",size:"small"},on:{change:t.callback}},[e("a-tab-pane",{key:"1",attrs:{tab:"首推"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.noticedata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("a",{attrs:{slot:"description",href:a.url},slot:"description"},[t._v(t._s(a.state)+t._s(a.title))])])],1)}}])},[e("a-button",{attrs:{type:"link"}},[t._v(" 更多 ")])],1)],1),e("a-tab-pane",{key:"2",attrs:{tab:"升级","force-render":""}},[t._v(" Content of Tab Pane 2 ")]),e("a-tab-pane",{key:"3",attrs:{tab:"安全"}},[t._v(" Content of Tab Pane 3 ")]),e("a-tab-pane",{key:"4",attrs:{tab:"备案"}},[t._v(" Content of Tab Pane 3 ")]),e("a-tab-pane",{key:"5",attrs:{tab:"其他"}},[t._v(" Content of Tab Pane 3 ")])],1)],1)]),e("a-col",[e("div",{staticClass:"module-in module-in07"},[e("a-page-header",{attrs:{ghost:!1,title:"个人信息"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:"110px"}},[e("a-avatar",{attrs:{size:"large",icon:"user"}})],1),e("a-col",[e("a-col",{staticClass:"name"},[e("span",[t._v("Aidex")]),e("a-icon",{attrs:{type:"form"},on:{click:t.compileshowModal}}),e("a-modal",{attrs:{title:"Basic Modal",centered:""},on:{ok:t.compilehandleOk},model:{value:t.compile,callback:function(e){t.compile=e},expression:"compile"}},[e("p",[t._v("Some contents...")]),e("p",[t._v("Some contents...")]),e("p",[t._v("Some contents...")])])],1),e("a-col",[e("span",[t._v("员工编号:")]),e("span",[t._v("88888888888")])]),e("a-col",[e("span",[t._v("组织机构:")]),e("span",[t._v("XXXXX")])]),e("a-col",[e("span",[t._v("所属群组:")]),e("span",[t._v("XXXX")])]),e("a-col",[e("span",[t._v("所属部门:")]),e("span",[t._v("市场部")])])],1)],1)],1)]),e("a-col",[e("div",{staticClass:"module-in module-in08"},[e("a-page-header",{attrs:{ghost:!1,title:"产品热度"}},[e("template",{slot:"extra"},[e("a-icon",{attrs:{type:"dash"}})],1)],2),e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.heatdata},scopedSlots:t._u([{key:"renderItem",fn:function(a){return e("a-list-item",{},[e("a-list-item-meta",[e("a",{attrs:{slot:"description",href:a.url},slot:"description"},[e("div",{staticClass:"order"},[t._v(t._s(a.index))]),e("a-icon",{staticClass:"icon",attrs:{type:a.icon}}),e("div",{staticClass:"txt"},[t._v(t._s(a.txt))]),e("a-statistic",{attrs:{value:a.value,precision:1},scopedSlots:t._u([{key:"suffix",fn:function(){return[e("a-icon",{style:{color:a.color},attrs:{type:a.arrow}})]},proxy:!0}],null,!0)})],1)])],1)}}])})],1)]),e("a-col",[e("div",{staticClass:"module-in module-in09"},[e("a-page-header",{attrs:{ghost:!1,title:"统计信息"}},[e("template",{slot:"extra"},[e("a-date-picker",{attrs:{"default-value":t.moment("2015/01/01",t.dateFormat),format:t.dateFormat}}),e("a-icon",{attrs:{type:"dash"}})],1)],2),e("div",{staticStyle:{height:"260px","text-align":"center"}}),e("a-table",{staticStyle:{height:"238px"},attrs:{columns:t.statisticscolumns,"data-source":t.statisticsdata,size:"small",pagination:!1},scopedSlots:t._u([{key:"tags",fn:function(a){return e("span",{},[e("a-tag",{attrs:{color:a>=0?"green":"volcano"}},[t._v(" "+t._s(a>=0?"+"+a+"%":a+"%")+" ")])],1)}},{key:"status",fn:function(t,a){return e("a-badge",{attrs:{status:a.icon,text:a.text}})}}])})],1)])],1)],1)],1)],1)},i=[],s=[{icon:"area-chart",text:"OKR",color:"#5584fd"},{icon:"pie-chart",text:"汇报",color:"#3470ff"},{icon:"bar-chart",text:"日报",color:"#ff8801"},{icon:"dot-chart",text:"周报",color:"#00d6b9"},{icon:"line-chart",text:"审批",color:"#ff8801"},{icon:"radar-chart",text:"审批",color:"#ff8801"},{icon:"sliders",text:"公告",color:"#ff8801"},{icon:"android",text:"月报",color:"#7e3bf3"}],o=[{title:"待审批",data:"10"},{title:"待提交",data:"10"},{title:"待阅示",data:"4"}],r=[{state:"【待审批】",txt:"公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批公告发布审批",hint:"公告发布审批说明1"},{state:"【待提交】",txt:"差旅费报销差旅费报销",hint:"公告发布审批说明2"},{state:"【待提交】",txt:"录用管理",hint:"公告发布审批说明3"},{state:"【待审批】",txt:"通知公告",hint:"公告发布审批说明4"},{state:"【待审批】",txt:"公告发布审批公告发布审批",hint:"公告发布审批说明5"}],c=[{title:"项目名称",dataIndex:"name",key:"name",ellipsis:!0},{title:"项目状态",dataIndex:"status",scopedSlots:{customRender:"status"},key:"status",ellipsis:!0,width:96},{title:"责任人",dataIndex:"take",key:"take",ellipsis:!0,width:86}],l=[{key:"1",name:"项目名称项目名称项目名称项目名称项目名称",icon:"warning",text:"未开始",take:"张三"},{key:"2",name:"项目名称项目名称项目名称项目名称项目名称",icon:"processing",text:"进行中",take:"李四"},{key:"3",name:"项目名称项目名名称项目名称",icon:"processing",text:"进行中",take:"王五"},{key:"4",name:"项目名称项目名称项目名称项名称项目名称",icon:"success",text:"已完成",take:"张三"},{key:"5",name:"项目名称项目名名称项目名称",icon:"processing",text:"进行中",take:"王五"},{key:"6",name:"项目名称项目名称项目名称项名称项目名称",icon:"processing",text:"进行中",take:"张三"}],d=[{icon:"pie-chart",con:"选择组件"},{icon:"bar-chart",con:"上传文件组件"},{icon:"dot-chart",con:"卡片式暂无数据组件"},{icon:"line-chart",con:"计数文本框组件"}],u=["组件使用方法","组件使用方法","组件使用方法","组件使用方法","组件使用方法"],m=[{state:"【升级】",title:"1月6日DOS高防(国际)升级通知",url:"https://www.baidu.com"},{state:"【升级】",title:"商标局2021年元旦期间服务器异常停止商标递交申请通知",url:"https://www.antdv.com/"},{state:"【升级】",title:"1月消息列队",url:"https://www.baidu.com"},{state:"【升级】",title:"1月6日DOS高防(国际)升级通知",url:"https://www.baidu.com"},{state:"【升级】",title:"商标局2021年元旦期间服务器异常停止商标递交申请通知",url:"https://www.baidu.com"}],f=[{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"},key:"status",ellipsis:!0},{title:"数量",dataIndex:"quantity",key:"quantity",ellipsis:!0},{title:"增长率",dataIndex:"tags",key:"tags",scopedSlots:{customRender:"tags"},ellipsis:!0}],b=[{key:"1",icon:"error",text:"超期未完成",quantity:"10",tags:35},{key:"2",icon:"processing",text:"超期完成",quantity:"10",tags:-12},{key:"3",icon:"warning",text:"进行中",quantity:"10",tags:45},{key:"4",icon:"default",text:"未开始",quantity:"10",tags:24}],p=[{index:"1",icon:"copy",txt:"快速开发工具",value:"10.2",arrow:"arrow-down",color:"#5fb38f",url:"https://www.baidu.com"},{index:"2",icon:"snippets",txt:"代码生成器",value:"11.2",arrow:"arrow-up",color:"#ed2e2e",url:"https://www.antdv.com"},{index:"3",icon:"edit",txt:"流程设计器",value:"17.2",url:"https://www.baidu.com"},{index:"4",icon:"fund",txt:"菜单管理",value:"15.2",url:"https://www.antdv.com"},{index:"5",icon:"highlight",txt:"快速开发工具",value:"11.2",arrow:"arrow-down",color:"#5fb38f",url:"https://www.baidu.com"}],_=[{title:"审批",txt:"简单、高效、开放的审批工具",url:"https://www.baidu.com",icon:"ie",color:"#ff7741"},{title:"打卡",txt:"专业智能工具,实现高效考勤管理",url:"https://www.baidu.com",icon:"code-sandbox",color:"#3389ff"},{title:"公告",txt:"重要信息全员播报,特殊安排定向通知",url:"https://www.baidu.com",icon:"medium",color:"#ff7741"},{title:"OKR",txt:"简单实用的团队目标管理工具",url:"https://www.baidu.com",icon:"slack",color:"#00d6b9"},{title:"打卡",txt:"专业智能工具,实现高效考勤管理",url:"https://www.baidu.com",icon:"ant-cloud",color:"#3389ff"}],v={data:function(){return{visible:!1,data:o,detaildata:r,projectcolumns:c,projectdata:l,apidata:d,aiddata:u,noticedata:m,dateFormat:"YYYY-MM-DD",statisticscolumns:f,statisticsdata:b,compile:!1,heatdata:p,adddata:_,dataList:s}},methods:{showModal:function(){this.visible=!0},handleOk:function(t){this.visible=!1},compileshowModal:function(){this.compile=!0},compilehandleOk:function(t){this.compile=!1},callback:function(t){},onSearch:function(t){},modalcallback:function(t){}}},h=v,w=(a("33bd"),a("2877")),y=Object(w["a"])(h,n,i,!1,null,null,null);e["default"]=y.exports},"22bd":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv",staticClass:"module module01"},[t._m(0),e("a-icon",{staticClass:"card-icon",attrs:{type:"history"}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("h3",[t._v("当月任务总数统计")]),e("div",{staticClass:"card-inner"},[e("span",{staticClass:"card-number"},[t._v("150")]),e("span",{staticClass:"card-tag card-green"},[t._v("-15%")])])])}],s={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},o=s,r=(a("956f"),a("2877")),c=Object(r["a"])(o,n,i,!1,null,"116cb6a9",null);e["default"]=c.exports},"22ca":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv",staticClass:"module module01"},[t._m(0),e("a-icon",{staticClass:"card-icon",attrs:{type:"transaction"}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("h3",[t._v("项目金额总览")]),e("div",{staticClass:"card-inner"},[e("span",{staticClass:"card-number"},[t._v("150032")]),e("span",{staticClass:"card-tag card-blue"},[t._v("+15%")])])])}],s={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},o=s,r=(a("d870"),a("2877")),c=Object(r["a"])(o,n,i,!1,null,"719af272",null);e["default"]=c.exports},"33bd":function(t,e,a){"use strict";a("69f1")},"4c7c":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return c}));var n=a("b775"),i={records:"/notification/records/paging",retry:"/notification/retry",tplCreate:"/notification/tpl/create",tplList:"/notification/tpl/list"};function s(t){return Object(n["b"])({url:i.records,method:"post",data:t})}function o(t){return Object(n["b"])({url:i.retry,method:"post",data:t})}function r(t){return Object(n["b"])({url:i.tplCreate,method:"post",data:t})}function c(t){return Object(n["b"])({url:i.tplList,method:"post",data:t})}},"51ee":function(t,e,a){"use strict";a("953b")},5911:function(t,e,a){"use strict";a.r(e);a("b680");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"padding-card"},[e("a-spin",{attrs:{tip:"正在加载缓存监控数据,请稍后!",spinning:t.loading}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:24}},[e("a-card",{attrs:{title:"基本信息",bordered:!1}},[e("a-descriptions",{attrs:{column:5}},[e("a-descriptions-item",{attrs:{label:"Redis版本"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.redis_version))]):t._e()]),e("a-descriptions-item",{attrs:{label:"运行模式"}},[t.cache.info?e("span",[t._v(t._s("standalone"==t.cache.info.redis_mode?"单机":"集群"))]):t._e()]),e("a-descriptions-item",{attrs:{label:"端口"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.tcp_port))]):t._e()]),e("a-descriptions-item",{attrs:{label:"客户端数"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.connected_clients))]):t._e()]),e("a-descriptions-item",{attrs:{label:"运行时间(天)"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.uptime_in_days))]):t._e()]),e("a-descriptions-item",{attrs:{label:"使用内存"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.used_memory_human))]):t._e()]),e("a-descriptions-item",{attrs:{label:"使用CPU"}},[t.cache.info?e("span",[t._v(t._s(parseFloat(t.cache.info.used_cpu_user_children).toFixed(2)))]):t._e()]),e("a-descriptions-item",{attrs:{label:"内存配置"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.maxmemory_human))]):t._e()]),e("a-descriptions-item",{attrs:{label:"AOF是否开启"}},[t.cache.info?e("span",[t._v(t._s("0"==t.cache.info.aof_enabled?"否":"是"))]):t._e()]),e("a-descriptions-item",{attrs:{label:"RDB是否成功"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.rdb_last_bgsave_status))]):t._e()]),e("a-descriptions-item",{attrs:{label:"Key数量"}},[t.cache.dbSize?e("span",[t._v(t._s(t.cache.dbSize))]):t._e()]),e("a-descriptions-item",{attrs:{label:"系统架构"}},[t.cache.info?e("span",[t._v(" "+t._s(t.cache.info.instantaneous_input_kbps)+"kps/"+t._s(t.cache.info.instantaneous_output_kbps)+"kps")]):t._e()])],1)],1)],1)],1),e("a-row",{staticStyle:{"margin-top":"16px"},attrs:{gutter:16}},[e("a-col",{attrs:{span:12}},[e("a-card",{attrs:{title:"命令统计",bordered:!1}},[e("div",{ref:"commandstats",staticStyle:{height:"380px","z-index":"2"}})])],1),e("a-col",{attrs:{span:12}},[e("a-card",{attrs:{title:"内存信息",bordered:!1}},[e("div",{ref:"usedmemory",staticStyle:{height:"380px"}})])],1)],1)],1)],1)},i=[],s=(a("d3b7"),a("159b"),a("b0c0"),a("ceee")),o=a("313e"),r={name:"Cache",data:function(){return{loading:!0,commandstats:null,usedmemory:null,cache:[]}},filters:{},created:function(){this.getList("0")},mounted:function(){var t=this;window.addEventListener("resize",(function(){t.commandstats.resize(),t.usedmemory.resize()}))},computed:{},watch:{},methods:{getList:function(t){var e=this;"0"===t&&(this.loading=!0),Object(s["c"])().then((function(a){var n=a.data;e.cache=n,"0"===t&&(e.loading=!1),e.$nextTick((function(){var t=a.data.commandStats,n=[],i=[];t.forEach((function(t){return n.push(t.name)})),t.forEach((function(t){return i.push(t.value)})),e.commandstats=o["b"](e.$refs.commandstats,"macarons"),e.commandstats.setOption({title:{textStyle:{fontSize:16,fontWeight:"600",color:"#333"},left:8,top:8},tooltip:{trigger:"axis"},grid:{left:"2%",right:"2%",bottom:"2%",top:"8%",containLabel:!0},xAxis:[{type:"category",data:n,axisTick:{alignWithLabel:!0},axisLabel:{show:!0,rotate:0,margin:8,textStyle:{color:"#666",fontSize:"14"}},axisLine:{lineStyle:{color:"#dfe6ff",width:1}}}],yAxis:[{type:"value"}],series:[{name:"使用次数",type:"bar",barWidth:"20%",itemStyle:{barBorderRadius:[4,4,0,0],color:new o["a"].LinearGradient(0,0,0,1,[{offset:0,color:"#2881e6"},{offset:.5,color:"#308bf2"},{offset:1,color:"#3693fb"}])},data:i}]}),e.usedmemory=o["b"](e.$refs.usedmemory,"macarons"),e.usedmemory.setOption({tooltip:{formatter:"{b} <br/>{a} : "+e.cache.info.used_memory_human},series:[{name:"峰值",type:"gauge",progress:{show:!0,width:14},color:new o["a"].LinearGradient(0,0,0,1,[{offset:0,color:"#2881e6"},{offset:.5,color:"#308bf2"},{offset:1,color:"#3693fb"}]),axisLine:{lineStyle:{width:14}},axisTick:{show:!1},splitLine:{length:4,lineStyle:{width:2,color:"#999"}},anchor:{show:!0,showAbove:!0,size:20,itemStyle:{borderWidth:4,borderColor:new o["a"].LinearGradient(0,0,0,1,[{offset:0,color:"#2881e6"},{offset:.5,color:"#308bf2"},{offset:1,color:"#3693fb"}])}},axisLabel:{distance:25,color:"#999",fontSize:14},radius:"90%",center:["50%","56%"],min:0,max:1e3,detail:{fontSize:24,valueAnimation:!0,formatter:e.cache.info.used_memory_human},data:[{value:parseFloat(e.cache.info.used_memory_human),name:"内存消耗"}]}]})}))}))}}},c=r,l=(a("51ee"),a("2877")),d=Object(l["a"])(c,n,i,!1,null,null,null);e["default"]=d.exports},"5f9b":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("a-row",{attrs:{type:"flex",gutter:10}},[e("a-col",{attrs:{span:8}},[e("a-card",{staticStyle:{height:"calc(100vh - 125px)"},attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"缓存列表",loading:t.loading,scroll:{y:"calc(100vh - 125px)"},rowKey:"cacheId",size:"middle",isTableConfig:!1,isShowSetBtn:!1,tableKey:"monitor-cache-cache-name-list-table",customRow:t.onClickRow,"format-conditions":!0},on:{refresh:t.getList},scopedSlots:t._u([{key:"indexRender",fn:function(a){a.text,a.record;var n=a.index;return e("span",{},[t._v(" "+t._s(n+1)+" ")])}},{key:"operation",fn:function(a){a.text;var n=a.record;return e("span",{},[e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:cache:list"],expression:"['monitor:cache:list']"}],on:{click:function(e){return t.handleClear(n)}}},[t._v(" 删除 ")])])}}])})],1)],1),e("a-col",{attrs:{span:8}},[e("a-card",{staticStyle:{height:"calc(100vh - 125px)"},attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.cacheKeysColumns,"data-source":t.subList,title:"键名列表",scroll:{y:"calc(100vh - 125px)"},loading:t.subLoading,rowKey:"cacheKey",size:"middle",customRow:t.onClickSubRow,isTableConfig:!1,isShowSetBtn:!1,tableKey:"monitor-cache-cache-key-list-table","format-conditions":!0},on:{refresh:t.getCacheKeyList},scopedSlots:t._u([{key:"indexSubRender",fn:function(a){a.text,a.record;var n=a.index;return e("span",{},[t._v(" "+t._s(n+1)+" ")])}},{key:"operation",fn:function(a){a.text;var n=a.record;return e("span",{},[e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:cache:list"],expression:"['monitor:cache:list']"}],on:{click:function(e){return e.stopPropagation(),t.handleClearByKey(n)}}},[t._v(" 删除 ")])])}}])})],1)],1),e("a-col",{attrs:{span:8}},[e("a-card",{staticStyle:{height:"calc(100vh - 125px)","overflow-y":"auto","overflow-x":"hidden"},attrs:{bordered:!1}},[e("a-form-model",{ref:"form",attrs:{model:t.form,layout:"vertical"}},[e("a-row",{attrs:{gutter:32}},[e("a-col",{attrs:{offset:1,span:22}},[e("a-form-model-item",{attrs:{label:"缓存名称:",prop:"cacheName"}},[e("a-input",{attrs:{readOnly:!0},model:{value:t.form.cacheName,callback:function(e){t.$set(t.form,"cacheName",e)},expression:"form.cacheName"}})],1)],1),e("a-col",{attrs:{offset:1,span:22}},[e("a-form-model-item",{attrs:{label:"缓存键名:",prop:"cacheKey"}},[e("a-input",{attrs:{readOnly:!0},model:{value:t.form.cacheKey,callback:function(e){t.$set(t.form,"cacheKey",e)},expression:"form.cacheKey"}})],1)],1),e("a-col",{attrs:{offset:1,span:22}},[e("a-form-model-item",{attrs:{label:"缓存内容:",prop:"cacheValue"}},[e("a-textarea",{attrs:{rows:16,readOnly:!0},model:{value:t.form.cacheValue,callback:function(e){t.$set(t.form,"cacheValue",e)},expression:"form.cacheValue"}})],1)],1)],1)],1)],1)],1)],1)],1)},i=[],s=a("2909"),o=(a("7db0"),a("d3b7"),a("ceee")),r=a("5d9e"),c={name:"CacheName",components:{AdvanceTable:r["default"]},data:function(){return{list:[],cacheData:[],subList:[],selectedRowKeys:[],selectedSubRowKeys:[],selectedRows:[],selectedSubRows:[],advanced:!1,single:!0,multiple:!0,subMultiple:!0,currentSelectCacheId:"",selectItem:{},selectSubItem:{},subLoading:!1,form:{},total:0,subTotal:0,labelCol:{span:6},wrapperCol:{span:18},columns:[{title:"序号",width:"20%",align:"center",scopedSlots:{customRender:"indexRender"}},{title:"缓存名称",dataIndex:"cacheName",ellipsis:!0},{title:"备注",dataIndex:"remarks",ellipsis:!0},{title:"操作",dataIndex:"operation",width:"80px",scopedSlots:{customRender:"operation"}}],cacheKeysColumns:[{title:"序号",width:"20%",align:"center",scopedSlots:{customRender:"indexSubRender"}},{title:"缓存键名",dataIndex:"cacheKey",ellipsis:!0},{title:"操作",dataIndex:"operation",width:"100px",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){this.form={cacheName:void 0,cacheId:void 0,cacheKey:void 0,cacheValue:void 0,fileType:void 0,fileUrl:void 0,fileCreateTime:void 0,methodName:void 0,dtoValue:void 0,dto:void 0,serviceBean:void 0,status:void 0},this.getList()},computed:{},watch:{selectItem:function(t){this.renderStyle(t,"main"),this.getCacheKeyList(t.cacheId)},selectSubItem:function(t){this.renderStyle(t,"sub")}},methods:{getList:function(){var t=this;this.loading=!0,Object(o["f"])().then((function(e){t.list=e.data,t.loading=!1,t.list.length>0&&t.$nextTick((function(){return t.selectItem=t.list[0]}))}))},handleClear:function(t){var e=this;this.$confirm({title:"确认清除所选中数据的缓存吗?",onOk:function(){return Object(o["a"])(t.cacheId).then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("缓存清除成功",3)}))},onCancel:function(){}})},handleClearByKey:function(t){var e=this;this.$confirm({title:"确认清除所选中数据的缓存吗?",onOk:function(){return Object(o["b"])(t.cacheId,t.cacheKey).then((function(){e.$message.success("缓存清除成功",3),Object(o["e"])(t.cacheId).then((function(t){e.subList=t.data,e.subLoading=!1}))}))},onCancel:function(){}})},getCacheKeyList:function(t){var e=this;"string"===typeof t?null===t||""===t||void 0===t?t=this.currentSelectCacheId:this.currentSelectCacheId=t:t=this.currentSelectCacheId,this.subLoading=!0,Object(o["e"])(t).then((function(t){e.subList=t.data,e.subLoading=!1}))},onClickRow:function(t,e){var a=this;return{on:{click:function(e){a.selectItem=t}}}},onClickSubRow:function(t,e){var a=this;return{on:{click:function(e){a.selectSubItem=t,Object(o["d"])(t.cacheId,t.cacheKey).then((function(t){a.form=t.data}))}}}},handleQuery:function(){this.getList()},selectFirstRecord:function(){this.list.length>0?this.selectItem=this.list[0]:(this.subList=[],this.subTotal=0)},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.single=1!==t.length,this.multiple=!t.length},onSelectSubChange:function(t,e){this.selectedSubRowKeys=t,this.selectedSubRows=e,this.subMultiple=!t.length},renderStyle:function(t,e){var a,n=document.getElementsByClassName("ant-table-row"),i=document.getElementsByClassName(e+"-row-selection");i.length&&i[0].classList.remove(e+"-row-selection"),n.length&&(a=Object(s["a"])(n),"main"===e?a.find((function(e){return e.dataset.rowKey===t.cacheId})).classList.add(e+"-row-selection"):"sub"===e&&a.find((function(e){return e.dataset.rowKey===t.cacheKey})).classList.add(e+"-row-selection"))}}},l=c,d=(a("6e78"),a("2877")),u=Object(d["a"])(l,n,i,!1,null,"0c6be729",null);e["default"]=u.exports},"69f1":function(t,e,a){},"6e78":function(t,e,a){"use strict";a("ee23")},"75f5":function(t,e,a){"use strict";a.r(e);var n=a("1b6c");e["default"]={STO_GOODS_NOT_ENOUGH:[{name:Object(n["b"])("view.item.sku.wareHouse"),value:"{{.WarehouseName}}"},{name:Object(n["b"])("view.item.list.itemTitle"),value:"{{.Title}}"},{name:Object(n["b"])("view.item.sku.sku_id"),value:"{{.SkuID}}"},{name:Object(n["b"])("view.config.wander.Quantity"),value:"{{.Quantity}}"}],ORD_PAID:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("view.order.detail.payment"),value:"{{.Payment}}"}],ORD_SHIPPED:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("app.menus.left.setting.express"),value:"{{.LogisticsName}}"},{name:Object(n["b"])("view.config.wander.notify_pars_ShipmentId"),value:"{{.ShipmentID}}"}],ORD_AFTER_SALE:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("view.order.list.after_sale_id"),value:"{{.AfterSaleID}}"}],ORD_REFUNDED:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("view.order.list.refund_amt"),value:"{{.RefundAmount}}"}],ORD_RECEIVED:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("view.config.wander.notify_pars_OrderReceivedTime"),value:"{{.ReceivedTime}}"},{name:Object(n["b"])("view.gangwei.list.shopname"),value:"{{.ShopName}}"},{name:Object(n["b"])("view.order.detail.memberNick"),value:"{{.MemberNick}}"},{name:Object(n["b"])("view.order.detail.memberLastName"),value:"{{.MemberLastName}}"},{name:Object(n["b"])("view.order.detail.memberFirstName"),value:"{{.MemberFirstName}}"}],ORD_RATED:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"},{name:Object(n["b"])("view.config.wander.notify_pars_OrderRatedTime"),value:"{{.RatedTime}}"},{name:Object(n["b"])("view.gangwei.list.shopname"),value:"{{.ShopName}}"},{name:Object(n["b"])("view.order.detail.memberNick"),value:"{{.MemberNick}}"},{name:Object(n["b"])("view.order.detail.memberLastName"),value:"{{.MemberLastName}}"},{name:Object(n["b"])("view.order.detail.memberFirstName"),value:"{{.MemberFirstName}}"}],SUP_PRODUCT_REVIEW:[{name:Object(n["b"])("view.config.wander.notify_pars_Status"),value:"{{.Status}}"},{name:Object(n["b"])("view.config.notify.template.Instruction"),value:"{{.Instruction}}"}],SUP_ORDER_CREATE:[{name:Object(n["b"])("view.config.notify.template.SupplyOrderID"),value:"{{.SupplyOrderID}}"},{name:Object(n["b"])("view.config.wander.notify_pars_OrderCreateTime"),value:"{{.CreatedTime}}"}],SUP_PRODUCT_SUBMIT:[{name:Object(n["b"])("view.config.wander.notify_pars_Title"),value:"{{.Title}}"},{name:Object(n["b"])("view.config.wander.notify_pars_ImageURL"),value:"{{.SUP_PRODUCT_SUBMIT}}"}],SUP_ORDER_SHIPPED:[{name:Object(n["b"])("view.config.notify.template.SupplyOrderID"),value:"{{.SupplyOrderID}}"}],DIS_PUB_PRODUCT_ON:[{name:Object(n["b"])("view.order.detail.itemTitle"),value:"{{.Title}}"}],DIS_PUB_PRODUCT_OFF:[{name:Object(n["b"])("view.order.detail.itemTitle"),value:"{{.Title}}"}],DIS_PURCHASE_CREATE:[{name:Object(n["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderID}}"}],DIS_PURCHASE_SHIPPED:[{name:Object(n["b"])("view.purchaseOrder.list.purchaseId"),value:"{{.PurchaseID}}"},{name:Object(n["b"])("view.express.express.company"),value:"{{.LogisticsName}}"},{name:Object(n["b"])("view.order.list.tracking_number"),value:"{{.ShipmentID}}"}]}},"89c3":function(t,e,a){"use strict";a.r(e);var n=a("5530"),i=(a("4e82"),a("7db0"),a("d3b7"),a("b0c0"),a("4c7c")),s=a("5d9e"),o=a("2f62"),r=a("1b6c"),c=a("75f5");e["default"]={name:"wanderTemplate",data:function(){return{formData:{id:0,subject:"",sender_type:"",sort:"",body:"",status:""},columns:[{title:Object(r["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(r["b"])("view.config.wander.title"),dataIndex:"subject",key:"subject",width:"10%",scopedSlots:{customRender:"subject"}},{title:Object(r["b"])("view.config.wander.template_type"),dataIndex:"sender_type",key:"sender_type",width:"10%",scopedSlots:{customRender:"sender_type"}},{title:Object(r["b"])("view.config.wander.sort"),dataIndex:"sort",key:"sort",width:"20%",scopedSlots:{customRender:"sort"}},{title:Object(r["b"])("view.config.wander.body"),dataIndex:"body",key:"body",width:"35%",ellipsis:!0},{title:Object(r["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",sender_type:[{name:Object(r["b"])("view.config.wander.SMS"),value:"SMS"},{name:Object(r["b"])("view.config.wander.EMAIL"),value:"EMAIL"},{name:Object(r["b"])("view.config.wander.DING_TALK"),value:"DING_TALK"},{name:Object(r["b"])("view.config.wander.WECHAT_BUSINESS"),value:"WECHAT_BUSINESS"}],catList:[{name:Object(r["b"])("view.config.wander.ORD_PAID"),value:"ORD_PAID"},{name:Object(r["b"])("view.config.wander.ORD_SHIPPED"),value:"ORD_SHIPPED"},{name:Object(r["b"])("view.config.wander.ORD_RECEIVED"),value:"ORD_RECEIVED"},{name:Object(r["b"])("view.config.wander.ORD_RATED"),value:"ORD_RATED"},{name:Object(r["b"])("view.config.wander.ORD_AFTER_SALE"),value:"ORD_AFTER_SALE"},{name:Object(r["b"])("view.config.wander.ORD_REFUNDED"),value:"ORD_REFUNDED"},{name:Object(r["b"])("view.config.wander.MAR_PRODUCT_NEW"),value:"MAR_PRODUCT_NEW"},{name:Object(r["b"])("view.config.wander.MAR_COUPON_GIVEAWAY"),value:"MAR_COUPON_GIVEAWAY"},{name:Object(r["b"])("view.config.wander.SUP_PRODUCT_SUBMIT"),value:"SUP_PRODUCT_SUBMIT"},{name:Object(r["b"])("view.config.wander.SUP_PRODUCT_REVIEW"),value:"SUP_PRODUCT_REVIEW"},{name:Object(r["b"])("view.config.wander.SUP_ORDER_CREATE"),value:"SUP_ORDER_CREATE"},{name:Object(r["b"])("view.config.wander.SUP_ORDER_SHIPPED"),value:"SUP_ORDER_SHIPPED"},{name:Object(r["b"])("view.config.wander.DIS_PUB_PRODUCT_ON"),value:"DIS_PUB_PRODUCT_ON"},{name:Object(r["b"])("view.config.wander.DIS_PUB_PRODUCT_OFF"),value:"DIS_PUB_PRODUCT_OFF"},{name:Object(r["b"])("view.config.wander.DIS_PURCHASE_CREATE"),value:"DIS_PURCHASE_CREATE"},{name:Object(r["b"])("view.config.wander.DIS_PURCHASE_SHIPPED"),value:"DIS_PURCHASE_SHIPPED"},{name:Object(r["b"])("view.config.wander.STO_GOODS_NOT_ENOUGH"),value:"STO_GOODS_NOT_ENOUGH"},{name:Object(r["b"])("view.config.wander.INT_USER_COMMENTS"),value:"INT_USER_COMMENTS"},{name:Object(r["b"])("view.config.wander.INT_USER_FEEDBACK"),value:"INT_USER_FEEDBACK"},{name:Object(r["b"])("view.config.wander.UPSTREAM_GOOD_PRICE_CHANGE"),value:"UPSTREAM_GOOD_PRICE_CHANGE"}],status:[{name:Object(r["b"])("view.config.wander.status_1"),value:1},{name:Object(r["b"])("view.config.wander.status_2"),value:2}],visible:!1,confirmLoading:!1,queryParams:{sort:"",sender_type:"",subject:""},labelCol:{md:8,sm:8,lg:6},wrapperCol:{md:16,sm:16,lg:16}}},components:{AdvanceTable:s["default"]},computed:Object(n["a"])(Object(n["a"])({},Object(o["c"])(["shopId"])),{},{Notifyfields:function(){return-1!==this.formData.sort.indexOf("STO_GOODS_NOT_ENOUGH")?c["default"].STO_GOODS_NOT_ENOUGH:-1!==this.formData.sort.indexOf("ORD_PAID")?c["default"].ORD_PAID:-1!==this.formData.sort.indexOf("ORD_SHIPPED")?c["default"].ORD_SHIPPED:c["default"][this.formData.sort]||[]}}),created:function(){this.getList()},methods:{getList:function(){var t=this;Object(i["d"])(this.queryParams).then((function(e){0===e.code&&e.list&&e.list.length>0?t.data=e.list:t.data=[]}))},handleAdd:function(){this.visible=!0,this.formData={id:0,subject:"",sender_type:"",sort:"",body:"",status:""}},handleOk:function(){var t=this,e=this;if(""===e.formData.sender_type||""===e.formData.sort||""===e.formData.body)return this.$message.info(Object(r["b"])("view.config.wander.message")),!1;var a={};"SMS"===e.formData.sender_type?a.subject="蜂洞":a.subject=e.formData.subject,e.formData.id>0?(a.id=e.formData.id,a.sender_type=e.formData.sender_type,a.sort=e.formData.sort,a.body=e.formData.body,a.status=e.formData.status,Object(i["c"])(a).then((function(a){0===a.code&&(t.$message.info(a.message),e.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}),e.getList(),e.visible=!1,e.confirmLoading=!1}))):(a.sender_type=e.formData.sender_type,a.sort=e.formData.sort,a.body=e.formData.body,a.status=e.formData.status,Object(i["c"])(a).then((function(a){a.id>0&&(t.$message.info(a.message),e.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}),e.getList(),e.visible=!1,e.confirmLoading=!1})))},handleGet:function(t){this.formData=t,this.visible=!0},handleCancel:function(t){this.visible=!1,this.formData={id:"",title:"",sender_type:"",sort:"",body:"",status:""}},getTemplateName:function(t){var e=this,a=e.sender_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.catList.find((function(e){return e.value===t}));return a?a.name:""},getStatusName:function(t){var e=this,a=e.status.find((function(e){return e.value===t}));return a?a.name:""},selectNotifyPars:function(t){var e=this;e.formData.body=e.formData.body+t},resetQuery:function(){this.queryParams={sort:"",sender_type:"",subject:""},this.getList()}}}},"953b":function(t,e,a){},"956f":function(t,e,a){"use strict";a("abc2")},a04e:function(t,e,a){"use strict";a.r(e);a("b680");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"padding-card"},[e("a-spin",{attrs:{tip:"玩命加载中...",spinning:t.loading}},[e("a-row",{attrs:{gutter:16}},[e("a-col",{attrs:{span:24}},[e("a-card",{attrs:{title:"基本信息",bordered:!1}},[e("a-descriptions",{attrs:{column:5}},[e("a-descriptions-item",{attrs:{label:"Redis版本"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.redis_version))]):t._e()]),e("a-descriptions-item",{attrs:{label:"运行模式"}},[t.cache.info?e("span",[t._v(t._s("standalone"==t.cache.info.redis_mode?"单机":"集群"))]):t._e()]),e("a-descriptions-item",{attrs:{label:"端口"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.tcp_port))]):t._e()]),e("a-descriptions-item",{attrs:{label:"客户端数"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.connected_clients))]):t._e()]),e("a-descriptions-item",{attrs:{label:"运行时间(天)"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.uptime_in_days))]):t._e()]),e("a-descriptions-item",{attrs:{label:"使用内存"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.used_memory_human))]):t._e()]),e("a-descriptions-item",{attrs:{label:"使用CPU"}},[t.cache.info?e("span",[t._v(t._s(parseFloat(t.cache.info.used_cpu_user_children).toFixed(2)))]):t._e()]),e("a-descriptions-item",{attrs:{label:"内存配置"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.maxmemory_human))]):t._e()]),e("a-descriptions-item",{attrs:{label:"AOF是否开启"}},[t.cache.info?e("span",[t._v(t._s("0"==t.cache.info.aof_enabled?"否":"是"))]):t._e()]),e("a-descriptions-item",{attrs:{label:"RDB是否成功"}},[t.cache.info?e("span",[t._v(t._s(t.cache.info.rdb_last_bgsave_status))]):t._e()]),e("a-descriptions-item",{attrs:{label:"Key数量"}},[t.cache.dbSize?e("span",[t._v(t._s(t.cache.dbSize))]):t._e()]),e("a-descriptions-item",{attrs:{label:"系统架构"}},[t.cache.info?e("span",[t._v(" "+t._s(t.cache.info.instantaneous_input_kbps)+"kps/"+t._s(t.cache.info.instantaneous_output_kbps)+"kps")]):t._e()])],1)],1)],1)],1),e("a-row",{staticStyle:{"margin-top":"16px"},attrs:{gutter:16}},[e("a-col",{attrs:{span:12}},[e("a-card",{attrs:{title:"命令统计",bordered:!1}},[e("div",{ref:"commandstats",staticStyle:{height:"420px","z-index":"2"}}),e("div",{staticClass:"commandstats_bg"})])],1),e("a-col",{attrs:{span:12}},[e("a-card",{attrs:{title:"内存信息",bordered:!1}},[e("div",{ref:"usedmemory",staticStyle:{height:"420px"}})])],1)],1)],1)],1)},i=[],s=a("ceee"),o=a("313e"),r={name:"Cache",data:function(){return{loading:!0,commandstats:null,usedmemory:null,cache:[]}},filters:{},created:function(){this.getList()},computed:{},watch:{},methods:{getList:function(){var t=this;this.loading=!0,Object(s["c"])().then((function(e){var a=e.data;t.cache=a,t.loading=!1,t.$nextTick((function(){t.commandstats=o["b"](t.$refs.commandstats,"macarons"),t.commandstats.setOption({tooltip:{trigger:"item",formatter:"{a} <br/> {b} : {c} ({d}%)"},color:["#36cfc9","#4CAF50","#F44336","#FF9800","#c8d2e0","#4782DA","#9254de"],legend:{bottom:"1%",left:"center",itemGap:8},series:[{name:"命令",type:"pie",radius:["60%","70%"],center:["50%","45%"],data:e.data.commandStats,animationEasing:"cubicInOut",animationDuration:1e3,label:{fontSize:"18",fontWeight:"bold",position:"center",formatter:"{b}\r\n\r\n {c}({d}%) ",show:!0,textBorderWidth:"16"},itemStyle:{borderRadius:0,borderColor:"#fff",borderWidth:2},emphasis:{label:{fontSize:"18",show:!0,textBorderWidth:"16"}}}]}),t.usedmemory=o["b"](t.$refs.usedmemory,"macarons"),t.usedmemory.setOption({tooltip:{formatter:"{b} <br/>{a} : "+t.cache.info.used_memory_human},series:[{name:"峰值",type:"gauge",progress:{show:!0,width:14},color:["#4782DA"],axisLine:{lineStyle:{width:14}},axisTick:{show:!1},splitLine:{length:4,lineStyle:{width:2,color:"#999"}},anchor:{show:!0,showAbove:!0,size:20,itemStyle:{borderWidth:4,borderColor:["#4782DA"]}},axisLabel:{distance:25,color:"#999",fontSize:14},radius:"90%",center:["50%","50%"],min:0,max:1e3,detail:{fontSize:24,valueAnimation:!0,formatter:t.cache.info.used_memory_human},data:[{value:parseFloat(t.cache.info.used_memory_human),name:"内存消耗"}]}]})}))}))}}},c=r,l=(a("cd20"),a("2877")),d=Object(l["a"])(c,n,i,!1,null,null,null);e["default"]=d.exports},abc2:function(t,e,a){},bcc2:function(t,e,a){"use strict";a.r(e);var n=a("5530"),i=(a("7db0"),a("d3b7"),a("b0c0"),a("4c7c")),s=a("5d9e"),o=a("2f62"),r=a("1b6c");e["default"]={name:"wanderTemplate",data:function(){return{columns:[{title:Object(r["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(r["b"])("view.config.wander.title"),dataIndex:"subject",key:"subject",width:"10%",scopedSlots:{customRender:"subject"}},{title:Object(r["b"])("view.config.wander.template_type"),dataIndex:"sender_type",key:"sender_type",width:"10%",scopedSlots:{customRender:"sender_type"}},{title:Object(r["b"])("view.config.wander.sort"),dataIndex:"sort",key:"sort",width:"20%",scopedSlots:{customRender:"sort"}},{title:Object(r["b"])("view.config.wander.body"),dataIndex:"body",key:"body",width:"35%",ellipsis:!0},{title:Object(r["b"])("view.config.notification.status"),dataIndex:"status",key:"status",width:"10%",ellipsis:!0},{title:Object(r["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",sender_type:[{name:Object(r["b"])("view.config.wander.SMS"),value:"SMS"},{name:Object(r["b"])("view.config.wander.EMAIL"),value:"EMAIL"},{name:Object(r["b"])("view.config.wander.DING_TALK"),value:"DING_TALK"},{name:Object(r["b"])("view.config.wander.WECHAT_BUSINESS"),value:"WECHAT_BUSINESS"}],catList:[{name:Object(r["b"])("view.config.wander.ORD_PAID"),value:"ORD_PAID"},{name:Object(r["b"])("view.config.wander.ORD_SHIPPED"),value:"ORD_SHIPPED"},{name:Object(r["b"])("view.config.wander.ORD_RECEIVED"),value:"ORD_RECEIVED"},{name:Object(r["b"])("view.config.wander.ORD_RATED"),value:"ORD_RATED"},{name:Object(r["b"])("view.config.wander.ORD_AFTER_SALE"),value:"ORD_AFTER_SALE"},{name:Object(r["b"])("view.config.wander.ORD_REFUNDED"),value:"ORD_REFUNDED"},{name:Object(r["b"])("view.config.wander.MAR_PRODUCT_NEW"),value:"MAR_PRODUCT_NEW"},{name:Object(r["b"])("view.config.wander.MAR_COUPON_GIVEAWAY"),value:"MAR_COUPON_GIVEAWAY"},{name:Object(r["b"])("view.config.wander.SUP_PRODUCT_SUBMIT"),value:"SUP_PRODUCT_SUBMIT"},{name:Object(r["b"])("view.config.wander.SUP_PRODUCT_REVIEW"),value:"SUP_PRODUCT_REVIEW"},{name:Object(r["b"])("view.config.wander.SUP_ORDER_CREATE"),value:"SUP_ORDER_CREATE"},{name:Object(r["b"])("view.config.wander.SUP_ORDER_SHIPPED"),value:"SUP_ORDER_SHIPPED"},{name:Object(r["b"])("view.config.wander.DIS_PUB_PRODUCT_ON"),value:"DIS_PUB_PRODUCT_ON"},{name:Object(r["b"])("view.config.wander.DIS_PUB_PRODUCT_OFF"),value:"DIS_PUB_PRODUCT_OFF"},{name:Object(r["b"])("view.config.wander.DIS_PURCHASE_CREATE"),value:"DIS_PURCHASE_CREATE"},{name:Object(r["b"])("view.config.wander.DIS_PURCHASE_SHIPPED"),value:"DIS_PURCHASE_SHIPPED"},{name:Object(r["b"])("view.config.wander.STO_GOODS_NOT_ENOUGH"),value:"STO_GOODS_NOT_ENOUGH"},{name:Object(r["b"])("view.config.wander.INT_USER_COMMENTS"),value:"INT_USER_COMMENTS"},{name:Object(r["b"])("view.config.wander.INT_USER_FEEDBACK"),value:"INT_USER_FEEDBACK"},{name:Object(r["b"])("view.config.wander.UPSTREAM_GOOD_PRICE_CHANGE"),value:"UPSTREAM_GOOD_PRICE_CHANGE"}],status:[{name:Object(r["b"])("view.config.wander.status_1"),value:1},{name:Object(r["b"])("view.config.wander.status_2"),value:2}],confirmLoading:!1,queryParams:{page_no:1,page_size:10},total:0,labelCol:{md:8,sm:8,lg:6},wrapperCol:{md:16,sm:16,lg:16}}},components:{AdvanceTable:s["default"]},computed:Object(n["a"])({},Object(o["c"])(["shopId"])),created:function(){this.getList()},methods:{getList:function(){var t=this;Object(i["a"])(this.queryParams).then((function(e){if(0===e.code){var a=t;e.list?e.list.length>0&&(a.data=e.list):a.data=[],a.total=e.total}else t.data=[]}))},retry:function(t){var e=this;this.$confirm({title:this.$t("view.config.wander.retryTitle",{id:t.id}),content:this.$t("view.config.wander.retry_confirm"),onOk:function(){Object(i["b"])({record_id:t.id}).then((function(t){0===t.code&&e.$message.success(Object(r["b"])("view.config.wander.retry_success"))}))}})},getTemplateName:function(t){var e=this,a=e.sender_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.catList.find((function(e){return e.value===t}));return a?a.name:""},getStatusName:function(t){var e=this,a=e.status.find((function(e){return e.value===t}));return a?a.name:""},selectNotifyPars:function(t){var e=this;e.formData.body=e.formData.body+t},changeSize:function(t,e){this.queryParams.page_no=t,this.queryParams.page_size=e,this.getList()},resetQuery:function(){this.queryParams={page_no:1,page_size:10},this.getList()}}}},c7d7:function(t,e,a){"use strict";a.r(e);a("4e82"),a("b0c0");var n=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!1}},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.queryParams.keywords")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-input",{attrs:{placeholder:t.$t("view.config.wander.queryParams.keywords")},model:{value:t.queryParams.keywords,callback:function(e){t.$set(t.queryParams,"keywords",e)},expression:"queryParams.keywords"}})],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.sort")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sort,callback:function(e){t.$set(t.queryParams,"sort",e)},expression:"queryParams.sort"}},t._l(t.catList,(function(a,n){return e("a-select-option",{key:n,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[e("a-button",{attrs:{type:"primary"},on:{click:t.getList}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.order.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.order.list.reset.btn"))+" ")],1)],1)])],1)],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.data,pagination:{current:t.queryParams.page_no,pageSize:t.queryParams.page_size,total:t.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.attach.list.table.num",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,hideOnSinglePage:!1}},scopedSlots:t._u([{key:" template_type",fn:function(a,n){return e("span",{},[t._v(" "+t._s(t.getTemplateName(n.template_type))+" ")])}},{key:"sort",fn:function(a,n){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(n.sort))+" ")])}},{key:"status",fn:function(a,n){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(n.status))+" ")])}},{key:"action",fn:function(a,n){return e("a",{},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.retry(n)}}},[t._v(t._s(t.$t("view.config.wander.retry")))])],1)}}])})],1)],1)},i=[],s=a("5530"),o=a("bcc2"),r=Object(s["a"])({},o["default"]),c=r,l=a("2877"),d=Object(l["a"])(c,n,i,!1,null,null,null);e["default"]=d.exports},cab1:function(t,e,a){},cd20:function(t,e,a){"use strict";a("f6a5")},ceee:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"f",(function(){return s})),a.d(e,"a",(function(){return o})),a.d(e,"e",(function(){return r})),a.d(e,"b",(function(){return c})),a.d(e,"d",(function(){return l}));var n=a("b775");function i(){return Object(n["b"])({url:"/monitor/cache",method:"get"})}function s(){return Object(n["b"])({url:"/monitor/cache/listCacheName",method:"get"})}function o(t){return Object(n["b"])({url:"/monitor/cache/clearCache/"+t,method:"delete"})}function r(t){return Object(n["b"])({url:"/monitor/cache/listCacheKey/"+t,method:"get"})}function c(t,e){return Object(n["b"])({url:"/monitor/cache/clearCacheByKey/"+t+"/"+e,method:"delete"})}function l(t,e){return Object(n["b"])({url:"/monitor/cache/getCacheValue/"+t+"/"+e,method:"get"})}},d870:function(t,e,a){"use strict";a("cab1")},def3:function(t,e,a){"use strict";a.r(e);a("4e82"),a("b0c0");var n=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!0}},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.title")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-input",{attrs:{placeholder:t.$t("view.config.wander.title")},model:{value:t.queryParams.subject,callback:function(e){t.$set(t.queryParams,"subject",e)},expression:"queryParams.subject"}})],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.sort")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sort,callback:function(e){t.$set(t.queryParams,"sort",e)},expression:"queryParams.sort"}},t._l(t.catList,(function(a,n){return e("a-select-option",{key:n,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("a-form-item",{attrs:{label:t.$t("view.config.wander.template_type")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.queryParams.sender_type,callback:function(e){t.$set(t.queryParams,"sender_type",e)},expression:"queryParams.sender_type"}},t._l(t.sender_type,(function(a,n){return e("a-select-option",{key:n,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)])],1),e("a-col",{attrs:{lg:7,xl:6}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[e("a-button",{attrs:{type:"primary"},on:{click:t.getList}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("view.order.list.q