From 1c784a2e72b3825a9bce64a46b4c131a41123f3c Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Sat, 5 Nov 2022 18:19:38 +0800 Subject: [PATCH] Update the front-end thread pool monitoring page --- .../src/main/resources/static/index.html | 2 +- ...8506.0840a153.css => chunk-65cbbb82.fcbf3365.css} | 2 +- .../static/js/{app.a27d19f1.js => app.d0f020af.js} | 2 +- .../static/static/js/chunk-078a7535.61dbc5da.js | 1 + .../static/static/js/chunk-078a7535.81c3fb35.js | 1 - ...3cdbc8.d5430fc7.js => chunk-1b3cdbc8.37e23478.js} | 2 +- .../static/static/js/chunk-4f40863a.23471382.js | 1 + .../static/static/js/chunk-4f40863a.64a22a74.js | 1 - ...28753b.d8b17a8d.js => chunk-5428753b.6d9eaedb.js} | 2 +- ...c39f89.5c47c6cc.js => chunk-60c39f89.fd8eff2f.js} | 2 +- .../static/static/js/chunk-65cbbb82.2c97c762.js | 1 + .../static/static/js/chunk-70528506.efef5f3f.js | 1 - ...9383d2.f006e752.js => chunk-a89383d2.71eb89e8.js} | 2 +- .../static/static/js/chunk-adca2a60.8cb179ea.js | 1 + .../static/static/js/chunk-adca2a60.b792d58d.js | 1 - .../hippo4j-ui/src/views/hippo4j/monitor/index.vue | 12 ++++++------ 16 files changed, 17 insertions(+), 17 deletions(-) rename hippo4j-server/hippo4j-console/src/main/resources/static/static/css/{chunk-70528506.0840a153.css => chunk-65cbbb82.fcbf3365.css} (85%) rename hippo4j-server/hippo4j-console/src/main/resources/static/static/js/{app.a27d19f1.js => app.d0f020af.js} (99%) create mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-078a7535.61dbc5da.js delete mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-078a7535.81c3fb35.js rename hippo4j-server/hippo4j-console/src/main/resources/static/static/js/{chunk-1b3cdbc8.d5430fc7.js => chunk-1b3cdbc8.37e23478.js} (63%) create mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-4f40863a.23471382.js delete mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-4f40863a.64a22a74.js rename hippo4j-server/hippo4j-console/src/main/resources/static/static/js/{chunk-5428753b.d8b17a8d.js => chunk-5428753b.6d9eaedb.js} (63%) rename hippo4j-server/hippo4j-console/src/main/resources/static/static/js/{chunk-60c39f89.5c47c6cc.js => chunk-60c39f89.fd8eff2f.js} (66%) create mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-65cbbb82.2c97c762.js delete mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-70528506.efef5f3f.js rename hippo4j-server/hippo4j-console/src/main/resources/static/static/js/{chunk-a89383d2.f006e752.js => chunk-a89383d2.71eb89e8.js} (63%) create mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-adca2a60.8cb179ea.js delete mode 100644 hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-adca2a60.b792d58d.js diff --git a/hippo4j-server/hippo4j-console/src/main/resources/static/index.html b/hippo4j-server/hippo4j-console/src/main/resources/static/index.html index 16ce63d4..6fb8e8db 100644 --- a/hippo4j-server/hippo4j-console/src/main/resources/static/index.html +++ b/hippo4j-server/hippo4j-console/src/main/resources/static/index.html @@ -1 +1 @@ -Hippo4J Web
\ No newline at end of file +Hippo4J Web
\ No newline at end of file diff --git a/hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-70528506.0840a153.css b/hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-65cbbb82.fcbf3365.css similarity index 85% rename from hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-70528506.0840a153.css rename to hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-65cbbb82.fcbf3365.css index 560ca5db..3195dc02 100644 --- a/hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-70528506.0840a153.css +++ b/hippo4j-server/hippo4j-console/src/main/resources/static/static/css/chunk-65cbbb82.fcbf3365.css @@ -1 +1 @@ -.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.dashboard-editor-container[data-v-a25e0782]{padding:32px;background-color:#f0f2f5;position:relative;min-height:100vh} \ No newline at end of file +.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.dashboard-editor-container[data-v-6226f7fa]{padding:32px;background-color:#f0f2f5;position:relative;min-height:100vh} \ No newline at end of file diff --git a/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.a27d19f1.js b/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.d0f020af.js similarity index 99% rename from hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.a27d19f1.js rename to hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.d0f020af.js index 20ce4db4..6a1c388c 100644 --- a/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.a27d19f1.js +++ b/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/app.d0f020af.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(t,e,n){t.exports=n("56d7")},"0781":function(t,e,n){"use strict";n.r(e);var a=n("24ab"),i=n.n(a),o=n("83d6"),c=n.n(o),r=c.a.showSettings,s=c.a.tagsView,l=c.a.fixedHeader,u=c.a.sidebarLogo,d={theme:i.a.theme,showSettings:r,tagsView:s,fixedHeader:l,sidebarLogo:u},f={CHANGE_SETTING:function(t,e){var n=e.key,a=e.value;t.hasOwnProperty(n)&&(t[n]=a)}},h={changeSetting:function(t,e){var n=t.commit;n("CHANGE_SETTING",e)}};e["default"]={namespaced:!0,state:d,mutations:f,actions:h}},"07c6":function(t,e,n){"use strict";n("48c1")},"0d3d":function(t,e,n){"use strict";n("a4f4")},"0f9a":function(t,e,n){"use strict";n.r(e);var a=n("c80c"),i=(n("96cf"),n("3b8d")),o=n("b775");function c(t){return Object(o["a"])({url:"/hippo4j/v1/cs/auth/login",method:"post",data:t})}var r=n("5f87"),s=n("a18c"),l={token:Object(r["a"])(),name:"",avatar:"",introduction:"",roles:[]},u={SET_TOKEN:function(t,e){t.token=e},SET_INTRODUCTION:function(t,e){t.introduction=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},d={login:function(t,e){var n=t.commit,a=e.username,i=e.password;return new Promise((function(t,e){c({username:a.trim(),password:i,rememberMe:1}).then((function(e){var a=e.data,i=e.roles;n("SET_TOKEN",a),localStorage.setItem("roles",JSON.stringify(i)),localStorage.setItem("USER_ROLE",i[0]),Object(r["c"])(a),t()})).catch((function(t){alert("登录失败"),e(t)}))}))},getInfo:function(t){var e=t.commit;t.state;return new Promise((function(t,n){var a={};a.roles=JSON.parse(localStorage.getItem("roles")),e("SET_ROLES",a.roles),t(a)}))},logout:function(t){var e=t.commit;t.state;return new Promise((function(t){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(r["b"])(),Object(s["d"])(),t()}))},resetToken:function(t){var e=t.commit;return new Promise((function(t){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(r["b"])(),t()}))},changeRoles:function(t,e){var n=t.commit,o=t.dispatch;return new Promise(function(){var t=Object(i["a"])(Object(a["a"])().mark((function t(i){var c,l,u,d;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return c=e+"-token",n("SET_TOKEN",c),Object(r["c"])(c),t.next=5,o("getInfo");case 5:return l=t.sent,u=l.roles,Object(s["d"])(),t.next=10,o("permission/generateRoutes",u,{root:!0});case 10:d=t.sent,s["c"].addRoutes(d),o("tagsView/delAllViews",null,{root:!0}),i();case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}};e["default"]={namespaced:!0,state:l,mutations:u,actions:d}},"119b":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-other4",use:"icon-other4-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},1424:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-tenant_logo2",use:"icon-tenant_logo2-usage",viewBox:"0 0 1331 1024",content:''});c.a.add(r);e["default"]=r},"187a":function(t,e,n){},"24ab":function(t,e,n){t.exports={theme:"#1890ff"}},2538:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-json",use:"icon-json-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},2580:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(r);e["default"]=r},"273d":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-user6",use:"icon-user6-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"29aa":function(t,e,n){},3150:function(t,e,n){},"31c2":function(t,e,n){"use strict";n.r(e),n.d(e,"filterAsyncRoutes",(function(){return c}));var a=n("db72"),i=(n("ac6a"),n("6762"),n("2fdb"),n("a18c"));function o(t,e){return!e.meta||!e.meta.roles||t.some((function(t){return e.meta.roles.includes(t)}))}function c(t,e){var n=[];return t.forEach((function(t){var i=Object(a["a"])({},t);o(e,i)&&(i.children&&(i.children=c(i.children,e)),n.push(i))})),n}var r={routes:[],addRoutes:[]},s={SET_ROUTES:function(t,e){t.addRoutes=e,t.routes=i["b"].concat(e)}},l={generateRoutes:function(t,e){var n=t.commit;return new Promise((function(t){var a;a=e.includes("ROLE_ADMIN")?i["a"]||[]:c(i["a"],e),n("SET_ROUTES",a),t(a)}))}};e["default"]={namespaced:!0,state:r,mutations:s,actions:l}},4093:function(t,e,n){},4213:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-link3",use:"icon-link3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},4360:function(t,e,n){"use strict";n("a481"),n("ac6a");var a=n("2b0e"),i=n("2f62"),o=(n("7f7f"),{sidebar:function(t){return t.app.sidebar},size:function(t){return t.app.size},device:function(t){return t.app.device},visitedViews:function(t){return t.tagsView.visitedViews},cachedViews:function(t){return t.tagsView.cachedViews},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},introduction:function(t){return t.user.introduction},roles:function(t){return t.user.roles},permission_routes:function(t){return t.permission.routes},errorLogs:function(t){return t.errorLog.logs}}),c=o;a["default"].use(i["a"]);var r=n("c653"),s=r.keys().reduce((function(t,e){var n=e.replace(/^\.\/(.*)\.\w+$/,"$1"),a=r(e);return t[n]=a.default,t}),{}),l=new i["a"].Store({modules:s,getters:c});e["a"]=l},"48c1":function(t,e,n){},"4d49":function(t,e,n){"use strict";n.r(e);var a={logs:[]},i={ADD_ERROR_LOG:function(t,e){t.logs.push(e)},CLEAR_ERROR_LOG:function(t){t.logs.splice(0)}},o={addErrorLog:function(t,e){var n=t.commit;n("ADD_ERROR_LOG",e)},clearErrorLog:function(t){var e=t.commit;e("CLEAR_ERROR_LOG")}};e["default"]={namespaced:!0,state:a,mutations:i,actions:o}},"51ff":function(t,e,n){var a={"./404.svg":"a14a","./audit.svg":"d393","./dashboard2.svg":"ea93","./item4.svg":"f385","./item_logo4.svg":"8811","./json.svg":"2538","./language.svg":"2580","./lessee.svg":"dbd7","./link3.svg":"4213","./log3.svg":"6ba9","./notify.svg":"5448","./other4.svg":"119b","./pool3.svg":"a551","./tenant_logo2.svg":"1424","./threadPool_logo1.svg":"b6d1","./threadPool_logo2.svg":"9bc4","./user6.svg":"273d","./vessel3.svg":"6e71"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="51ff"},5448:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-notify",use:"icon-notify-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"56d7":function(t,e,n){"use strict";n.r(e);var a={};n.r(a),n.d(a,"parseTime",(function(){return $["c"]})),n.d(a,"formatTime",(function(){return $["b"]})),n.d(a,"timeAgo",(function(){return R})),n.d(a,"numberFormatter",(function(){return P})),n.d(a,"toThousandFilter",(function(){return I})),n.d(a,"uppercaseFirst",(function(){return N}));n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d");var i=n("2b0e"),o=n("a78e"),c=n.n(o),r=(n("f5df"),n("5c96")),s=n.n(r),l=(n("24ab"),n("b20f"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),u=[],d={name:"App"},f=d,h=n("2877"),p=Object(h["a"])(f,l,u,!1,null,null,null),m=p.exports,v=n("4360"),b=n("a18c"),g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isExternal?n("div",t._g({staticClass:"svg-external-icon svg-icon",style:t.styleExternalIcon},t.$listeners)):n("svg",t._g({class:t.svgClass,attrs:{"aria-hidden":"true"}},t.$listeners),[n("use",{attrs:{"xlink:href":t.iconName}})])},w=[],x=n("61f7"),y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(x["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},_=y,k=(n("64df"),Object(h["a"])(_,g,w,!1,null,"f9f7fefc",null)),M=k.exports;i["default"].component("svg-icon",M);var E=n("51ff"),z=function(t){return t.keys().map(t)};z(E);var C=n("c80c"),O=n("db72"),L=(n("96cf"),n("3b8d")),S=n("323e"),j=n.n(S),A=(n("a5d8"),n("5f87")),B=n("83d6"),H=n.n(B),T=H.a.title||"Vue Element Admin";function F(t){return t?"".concat(t," - ").concat(T):"".concat(T)}j.a.configure({showSpinner:!1});var V=["/login","/auth-redirect"];b["c"].beforeEach(function(){var t=Object(L["a"])(Object(C["a"])().mark((function t(e,n,a){var i,o,c,s,l;return Object(C["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(j.a.start(),document.title=F(e.meta.title),i=Object(A["a"])(),!i){t.next=35;break}if("/login"!==e.path){t.next=9;break}a({path:"/"}),j.a.done(),t.next=33;break;case 9:if(o=v["a"].getters.roles&&v["a"].getters.roles.length>0,!o){t.next=14;break}a(),t.next=33;break;case 14:return t.prev=14,t.next=17,v["a"].dispatch("user/getInfo");case 17:return c=t.sent,s=c.roles,t.next=21,v["a"].dispatch("permission/generateRoutes",s);case 21:l=t.sent,b["c"].addRoutes(l),a(Object(O["a"])(Object(O["a"])({},e),{},{replace:!0})),t.next=33;break;case 26:return t.prev=26,t.t0=t["catch"](14),t.next=30,v["a"].dispatch("user/resetToken");case 30:r["Message"].error(t.t0||"Has Error"),a("/login?redirect=".concat(e.path)),j.a.done();case 33:t.next=36;break;case 35:-1!==V.indexOf(e.path)?a():(a("/login?redirect=".concat(e.path)),j.a.done());case 36:case"end":return t.stop()}}),t,null,[[14,26]])})));return function(e,n,a){return t.apply(this,arguments)}}()),b["c"].afterEach((function(){j.a.done()}));n("6b54"),n("a481"),n("c5f6");var $=n("ed08");function D(t,e){return 1===t?t+e:t+e+"s"}function R(t){var e=Date.now()/1e3-Number(t);return e<3600?D(~~(e/60)," minute"):e<86400?D(~~(e/3600)," hour"):D(~~(e/86400)," day")}function P(t,e){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],a=0;a=n[a].value)return(t/n[a].value+.1).toFixed(e).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[a].symbol;return t.toString()}function I(t){return(+t||0).toString().replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function N(t){return t.charAt(0).toUpperCase()+t.slice(1)}var G=n("313e"),q=n("00e7"),U=n.n(q);i["default"].prototype.$echarts=G["default"],i["default"].prototype.$cookie=U.a,i["default"].use(s.a,{size:c.a.get("size")||"medium"}),Object.keys(a).forEach((function(t){i["default"].filter(t,a[t])})),i["default"].config.productionTip=!1,new i["default"]({el:"#app",router:b["c"],store:v["a"],render:function(t){return t(m)}})},"5e10":function(t,e,n){"use strict";n("3150")},"5f87":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return s}));var a=n("a78e"),i=n.n(a),o="Admin-Token";function c(){return i.a.get(o)}function r(t){return i.a.set(o,t)}function s(){return i.a.remove(o)}},"61f7":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("6b54");function a(t){return/^(https?:|mailto:|tel:)/.test(t)}},"64df":function(t,e,n){"use strict";n("78bf")},6820:function(t,e,n){"use strict";n("4093")},"6ba9":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-log3",use:"icon-log3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"6e71":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-vessel3",use:"icon-vessel3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"78bf":function(t,e,n){},8326:function(t,e,n){},"83d6":function(t,e){t.exports={title:"Hippo4J Web",showSettings:!0,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},8811:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-item_logo4",use:"icon-item_logo4-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"89f5":function(t,e,n){"use strict";n("29aa")},"8af8":function(t,e,n){"use strict";n("9c98")},"9bc4":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-threadPool_logo2",use:"icon-threadPool_logo2-usage",viewBox:"0 0 1044 1024",content:''});c.a.add(r);e["default"]=r},"9c98":function(t,e,n){},a14a:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(r);e["default"]=r},a18c:function(t,e,n){"use strict";var a,i,o=n("2b0e"),c=n("8c4f"),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":t.fixedHeader}},[n("navbar")],1),t._v(" "),n("app-main")],1)],1)},s=[],l=n("db72"),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:t.key})],1)],1)},d=[],f={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},h=f,p=(n("5e10"),n("0d3d"),n("2877")),m=Object(p["a"])(h,u,d,!1,null,"5ad61798",null),v=m.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"navbar"},[a("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":t.sidebar.opened},on:{toggleClick:t.toggleSideBar}}),t._v(" "),a("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),t._v(" "),a("div",{staticClass:"right-menu"},["mobile"!==t.device?void 0:t._e(),t._v(" "),a("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:n("f561")}}),t._v(" "),a("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("router-link",{attrs:{to:"/"}},[a("el-dropdown-item",[t._v("Dashboard")])],1),t._v(" "),a("el-dropdown-item",{attrs:{divided:""}},[a("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("Log Out")])])],1)],1)],2)],1)},g=[],w=n("c80c"),x=(n("96cf"),n("3b8d")),y=n("2f62"),_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,(function(e,a){return n("el-breadcrumb-item",{key:e.path},["noRedirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])])})),1)],1)},k=[],M=(n("7f7f"),n("f559"),n("bd11")),E=n.n(M),z={data:function(){return{levelList:null}},watch:{$route:function(t){t.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter((function(t){return t.meta&&t.meta.title})),e=t[0];this.isDashboard(e)||(t=[{path:"/dashboard",meta:{title:"Dashboard"}}].concat(t)),this.levelList=t.filter((function(t){return t.meta&&t.meta.title&&!1!==t.meta.breadcrumb}))},isDashboard:function(t){var e=t&&t.name;return!!e&&e.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(t){var e=this.$route.params,n=E.a.compile(t);return n(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},C=z,O=(n("89f5"),Object(p["a"])(C,_,k,!1,null,"1919fc1a",null)),L=O.exports,S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{padding:"0 15px"},on:{click:t.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":t.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},j=[],A={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},B=A,H=(n("d49d"),Object(p["a"])(B,S,j,!1,null,"49e15297",null)),T=H.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errorLogs.length>0?n("div",[n("el-badge",{staticStyle:{"line-height":"25px","margin-top":"-5px"},attrs:{"is-dot":!0},nativeOn:{click:function(e){t.dialogTableVisible=!0}}},[n("el-button",{staticStyle:{padding:"8px 10px"},attrs:{size:"small",type:"danger"}},[n("svg-icon",{attrs:{"icon-class":"bug"}})],1)],1),t._v(" "),n("el-dialog",{attrs:{visible:t.dialogTableVisible,width:"80%","append-to-body":""},on:{"update:visible":function(e){t.dialogTableVisible=e}}},[n("div",{attrs:{slot:"title"},slot:"title"},[n("span",{staticStyle:{"padding-right":"10px"}},[t._v("Error Log")]),t._v(" "),n("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-delete"},on:{click:t.clearAll}},[t._v("Clear All")])],1),t._v(" "),n("el-table",{attrs:{data:t.errorLogs,border:""}},[n("el-table-column",{attrs:{label:"Message"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("div",[n("span",{staticClass:"message-title"},[t._v("Msg:")]),t._v(" "),n("el-tag",{attrs:{type:"danger"}},[t._v("\n "+t._s(a.err.message)+"\n ")])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"10px"}},[t._v("Info: ")]),t._v(" "),n("el-tag",{attrs:{type:"warning"}},[t._v("\n "+t._s(a.vm.$vnode.tag)+" error in "+t._s(a.info)+"\n ")])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"16px"}},[t._v("Url: ")]),t._v(" "),n("el-tag",{attrs:{type:"success"}},[t._v("\n "+t._s(a.url)+"\n ")])],1)]}}],null,!1,3621415002)}),t._v(" "),n("el-table-column",{attrs:{label:"Stack"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.err.stack)+"\n ")]}}],null,!1,1726869048)})],1)],1)],1):t._e()},V=[],$={name:"ErrorLog",data:function(){return{dialogTableVisible:!1}},computed:{errorLogs:function(){return this.$store.getters.errorLogs}},methods:{clearAll:function(){this.dialogTableVisible=!1,this.$store.dispatch("errorLog/clearErrorLog")}}},D=$,R=(n("b36c"),Object(p["a"])(D,F,V,!1,null,"be34583a",null)),P=R.exports,I={components:{Breadcrumb:L,Hamburger:T,ErrorLog:P},computed:Object(l["a"])({},Object(y["b"])(["sidebar","avatar","device"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var t=Object(x["a"])(Object(w["a"])().mark((function t(){return Object(w["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$cookie.delete("userName"),t.next=3,this.$store.dispatch("user/logout");case 3:this.$router.push("/login?redirect=".concat(this.$route.fullPath));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},N=I,G=(n("07c6"),Object(p["a"])(N,b,g,!1,null,"6ab05616",null)),q=G.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"has-logo":t.showLogo}},[t.showLogo?n("logo",{attrs:{collapse:t.isCollapse}}):t._e(),t._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":t.activeMenu,collapse:t.isCollapse,"background-color":t.variables.menuBg,"text-color":t.variables.menuText,"unique-opened":!1,"active-text-color":t.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},t._l(t.permission_routes,(function(t){return n("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})})),1)],1)],1)},J=[],K=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:t.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[t.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title))])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):t._e(),t._v(" "),n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title))])])],1)],1)},Q=[],W={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"hippo4j 1.4.3"}}},Z=W,Y=(n("8af8"),Object(p["a"])(Z,K,Q,!1,null,"741ab93c",null)),X=Y.exports,tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item.hidden?t._e():n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:t.resolvePath(t.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta&&t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,(function(e){return n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}})}))],2):[t.onlyOneChild.meta?n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta&&t.item.meta.icon,title:t.onlyOneChild.meta.title}})],1)],1):t._e()]],2)},et=[],nt=n("df7c"),at=n.n(nt),it=n("61f7"),ot={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},ct=ot,rt=Object(p["a"])(ct,a,i,!1,null,null,null),st=rt.exports,lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("component",t._b({},"component",t.linkProps(t.to),!1),[t._t("default")],2)},ut=[],dt={props:{to:{type:String,required:!0}},methods:{linkProps:function(t){return Object(it["a"])(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},ft=dt,ht=Object(p["a"])(ft,lt,ut,!1,null,null,null),pt=ht.exports,mt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var t=this,e=this.$refs.subMenu;if(e){var n=e.handleMouseleave;e.handleMouseleave=function(e){"mobile"!==t.device&&n(e)}}}}},vt={name:"SidebarItem",components:{Item:st,AppLink:pt},mixins:[mt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=e.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return Object(it["a"])(t)?t:Object(it["a"])(this.basePath)?this.basePath:at.a.resolve(this.basePath,t)}}},bt=vt,gt=Object(p["a"])(bt,tt,et,!1,null,null,null),wt=gt.exports,xt=n("cf1e"),yt=n.n(xt),_t={components:{SidebarItem:wt,Logo:X},computed:Object(l["a"])(Object(l["a"])({},Object(y["b"])(["permission_routes","sidebar"])),{},{activeMenu:function(){var t=this.$route,e=t.meta,n=t.path;return e.activeMenu?e.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return yt.a},isCollapse:function(){return!this.sidebar.opened}})},kt=_t,Mt=Object(p["a"])(kt,U,J,!1,null,null,null),Et=Mt.exports,zt=n("4360"),Ct=document,Ot=Ct.body,Lt=992,St={watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var t=this.$_isMobile();t&&(zt["a"].dispatch("app/toggleDevice","mobile"),zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var t=Ot.getBoundingClientRect();return t.width-1'});c.a.add(r);e["default"]=r},b20f:function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b36c:function(t,e,n){"use strict";n("187a")},b6d1:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-threadPool_logo1",use:"icon-threadPool_logo1-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},b775:function(t,e,n){"use strict";var a=n("bc3a"),i=n.n(a),o=n("5c96"),c=n("4360"),r=n("5f87"),s=n("a18c"),l=i.a.create({baseURL:"",timeout:2e4});l.interceptors.request.use((function(t){return c["a"].getters.token&&(t.headers["Authorization"]=Object(r["a"])()),t}),(function(t){return console.log(t),Promise.reject(t)})),l.interceptors.response.use((function(t){var e=t.data;if("A000004"!==e.code){if("20000"!==e.code&&"0"!==e.code&&"200"!==e.code)return Object(o["Message"])({message:e.message||"Error",type:"error",duration:5e3}),"50008"!==e.code&&"50012"!==e.code&&"50014"!==e.code||o["MessageBox"].confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then((function(){c["a"].dispatch("user/resetToken").then((function(){location.reload()}))})),Promise.reject(new Error(e.message||"Error"));var n=t.data,a=n.code;if("0"===a){var i=n.data;return i}return"200"===a?n:e}Object(r["b"])(),Object(s["d"])(),alert(e.message),document.location.href="index.html"}),(function(t){return console.log("err"+t),Object(o["Message"])({message:t.message,type:"error",duration:5e3}),Promise.reject(t)})),e["a"]=l},c653:function(t,e,n){var a={"./app.js":"d9cd","./errorLog.js":"4d49","./permission.js":"31c2","./settings.js":"0781","./user.js":"0f9a"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="c653"},cf1e:function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d393:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-audit",use:"icon-audit-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},d49d:function(t,e,n){"use strict";n("8326")},d9cd:function(t,e,n){"use strict";n.r(e);var a=n("a78e"),i=n.n(a),o={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},c={TOGGLE_SIDEBAR:function(t){t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1,t.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(t,e){i.a.set("sidebarStatus",0),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e},SET_SIZE:function(t,e){t.size=e,i.a.set("size",e)}},r={toggleSideBar:function(t){var e=t.commit;e("TOGGLE_SIDEBAR")},closeSideBar:function(t,e){var n=t.commit,a=e.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(t,e){var n=t.commit;n("TOGGLE_DEVICE",e)},setSize:function(t,e){var n=t.commit;n("SET_SIZE",e)}};e["default"]={namespaced:!0,state:o,mutations:c,actions:r}},dbd7:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-lessee",use:"icon-lessee-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},ea93:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-dashboard2",use:"icon-dashboard2-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},ed08:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));n("3b2b"),n("4917"),n("4f7f"),n("5df3"),n("1c4c"),n("28a5"),n("ac6a"),n("456d"),n("a481"),n("6b54");var a=n("7618");function i(t,e){if(0===arguments.length)return null;var n,i=e||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(a["a"])(t)?n=t:("string"===typeof t&&/^[0-9]+$/.test(t)&&(t=parseInt(t)),"number"===typeof t&&10===t.toString().length&&(t*=1e3),n=new Date(t));var o={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},c=i.replace(/{(y|m|d|h|i|s|a)+}/g,(function(t,e){var n=o[e];return"a"===e?["日","一","二","三","四","五","六"][n]:(t.length>0&&n<10&&(n="0"+n),n||0)}));return c}function o(t,e){t=10===(""+t).length?1e3*parseInt(t):+t;var n=new Date(t),a=Date.now(),o=(a-n)/1e3;return o<30?"刚刚":o<3600?Math.ceil(o/60)+"分钟前":o<86400?Math.ceil(o/3600)+"小时前":o<172800?"1天前":e?i(t,e):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function c(t,e,n){var a,i,o,c,r,s=function s(){var l=+new Date-c;l0?a=setTimeout(s,e-l):(a=null,n||(r=t.apply(o,i),a||(o=i=null)))};return function(){for(var i=arguments.length,l=new Array(i),u=0;u'});c.a.add(r);e["default"]=r},f561:function(t,e,n){t.exports=n.p+"static/img/hippo4j.ecba1844.gif"}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(t,e,n){t.exports=n("56d7")},"0781":function(t,e,n){"use strict";n.r(e);var a=n("24ab"),i=n.n(a),o=n("83d6"),c=n.n(o),r=c.a.showSettings,s=c.a.tagsView,l=c.a.fixedHeader,u=c.a.sidebarLogo,d={theme:i.a.theme,showSettings:r,tagsView:s,fixedHeader:l,sidebarLogo:u},f={CHANGE_SETTING:function(t,e){var n=e.key,a=e.value;t.hasOwnProperty(n)&&(t[n]=a)}},h={changeSetting:function(t,e){var n=t.commit;n("CHANGE_SETTING",e)}};e["default"]={namespaced:!0,state:d,mutations:f,actions:h}},"07c6":function(t,e,n){"use strict";n("48c1")},"0d3d":function(t,e,n){"use strict";n("a4f4")},"0f9a":function(t,e,n){"use strict";n.r(e);var a=n("c80c"),i=(n("96cf"),n("3b8d")),o=n("b775");function c(t){return Object(o["a"])({url:"/hippo4j/v1/cs/auth/login",method:"post",data:t})}var r=n("5f87"),s=n("a18c"),l={token:Object(r["a"])(),name:"",avatar:"",introduction:"",roles:[]},u={SET_TOKEN:function(t,e){t.token=e},SET_INTRODUCTION:function(t,e){t.introduction=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},d={login:function(t,e){var n=t.commit,a=e.username,i=e.password;return new Promise((function(t,e){c({username:a.trim(),password:i,rememberMe:1}).then((function(e){var a=e.data,i=e.roles;n("SET_TOKEN",a),localStorage.setItem("roles",JSON.stringify(i)),localStorage.setItem("USER_ROLE",i[0]),Object(r["c"])(a),t()})).catch((function(t){alert("登录失败"),e(t)}))}))},getInfo:function(t){var e=t.commit;t.state;return new Promise((function(t,n){var a={};a.roles=JSON.parse(localStorage.getItem("roles")),e("SET_ROLES",a.roles),t(a)}))},logout:function(t){var e=t.commit;t.state;return new Promise((function(t){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(r["b"])(),Object(s["d"])(),t()}))},resetToken:function(t){var e=t.commit;return new Promise((function(t){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(r["b"])(),t()}))},changeRoles:function(t,e){var n=t.commit,o=t.dispatch;return new Promise(function(){var t=Object(i["a"])(Object(a["a"])().mark((function t(i){var c,l,u,d;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return c=e+"-token",n("SET_TOKEN",c),Object(r["c"])(c),t.next=5,o("getInfo");case 5:return l=t.sent,u=l.roles,Object(s["d"])(),t.next=10,o("permission/generateRoutes",u,{root:!0});case 10:d=t.sent,s["c"].addRoutes(d),o("tagsView/delAllViews",null,{root:!0}),i();case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}};e["default"]={namespaced:!0,state:l,mutations:u,actions:d}},"119b":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-other4",use:"icon-other4-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},1424:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-tenant_logo2",use:"icon-tenant_logo2-usage",viewBox:"0 0 1331 1024",content:''});c.a.add(r);e["default"]=r},"187a":function(t,e,n){},"24ab":function(t,e,n){t.exports={theme:"#1890ff"}},2538:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-json",use:"icon-json-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},2580:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(r);e["default"]=r},"273d":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-user6",use:"icon-user6-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"29aa":function(t,e,n){},3150:function(t,e,n){},"31c2":function(t,e,n){"use strict";n.r(e),n.d(e,"filterAsyncRoutes",(function(){return c}));var a=n("db72"),i=(n("ac6a"),n("6762"),n("2fdb"),n("a18c"));function o(t,e){return!e.meta||!e.meta.roles||t.some((function(t){return e.meta.roles.includes(t)}))}function c(t,e){var n=[];return t.forEach((function(t){var i=Object(a["a"])({},t);o(e,i)&&(i.children&&(i.children=c(i.children,e)),n.push(i))})),n}var r={routes:[],addRoutes:[]},s={SET_ROUTES:function(t,e){t.addRoutes=e,t.routes=i["b"].concat(e)}},l={generateRoutes:function(t,e){var n=t.commit;return new Promise((function(t){var a;a=e.includes("ROLE_ADMIN")?i["a"]||[]:c(i["a"],e),n("SET_ROUTES",a),t(a)}))}};e["default"]={namespaced:!0,state:r,mutations:s,actions:l}},4093:function(t,e,n){},4213:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-link3",use:"icon-link3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},4360:function(t,e,n){"use strict";n("a481"),n("ac6a");var a=n("2b0e"),i=n("2f62"),o=(n("7f7f"),{sidebar:function(t){return t.app.sidebar},size:function(t){return t.app.size},device:function(t){return t.app.device},visitedViews:function(t){return t.tagsView.visitedViews},cachedViews:function(t){return t.tagsView.cachedViews},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},introduction:function(t){return t.user.introduction},roles:function(t){return t.user.roles},permission_routes:function(t){return t.permission.routes},errorLogs:function(t){return t.errorLog.logs}}),c=o;a["default"].use(i["a"]);var r=n("c653"),s=r.keys().reduce((function(t,e){var n=e.replace(/^\.\/(.*)\.\w+$/,"$1"),a=r(e);return t[n]=a.default,t}),{}),l=new i["a"].Store({modules:s,getters:c});e["a"]=l},"48c1":function(t,e,n){},"4d49":function(t,e,n){"use strict";n.r(e);var a={logs:[]},i={ADD_ERROR_LOG:function(t,e){t.logs.push(e)},CLEAR_ERROR_LOG:function(t){t.logs.splice(0)}},o={addErrorLog:function(t,e){var n=t.commit;n("ADD_ERROR_LOG",e)},clearErrorLog:function(t){var e=t.commit;e("CLEAR_ERROR_LOG")}};e["default"]={namespaced:!0,state:a,mutations:i,actions:o}},"51ff":function(t,e,n){var a={"./404.svg":"a14a","./audit.svg":"d393","./dashboard2.svg":"ea93","./item4.svg":"f385","./item_logo4.svg":"8811","./json.svg":"2538","./language.svg":"2580","./lessee.svg":"dbd7","./link3.svg":"4213","./log3.svg":"6ba9","./notify.svg":"5448","./other4.svg":"119b","./pool3.svg":"a551","./tenant_logo2.svg":"1424","./threadPool_logo1.svg":"b6d1","./threadPool_logo2.svg":"9bc4","./user6.svg":"273d","./vessel3.svg":"6e71"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="51ff"},5448:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-notify",use:"icon-notify-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"56d7":function(t,e,n){"use strict";n.r(e);var a={};n.r(a),n.d(a,"parseTime",(function(){return $["c"]})),n.d(a,"formatTime",(function(){return $["b"]})),n.d(a,"timeAgo",(function(){return R})),n.d(a,"numberFormatter",(function(){return P})),n.d(a,"toThousandFilter",(function(){return I})),n.d(a,"uppercaseFirst",(function(){return N}));n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d");var i=n("2b0e"),o=n("a78e"),c=n.n(o),r=(n("f5df"),n("5c96")),s=n.n(r),l=(n("24ab"),n("b20f"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),u=[],d={name:"App"},f=d,h=n("2877"),p=Object(h["a"])(f,l,u,!1,null,null,null),m=p.exports,v=n("4360"),b=n("a18c"),g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isExternal?n("div",t._g({staticClass:"svg-external-icon svg-icon",style:t.styleExternalIcon},t.$listeners)):n("svg",t._g({class:t.svgClass,attrs:{"aria-hidden":"true"}},t.$listeners),[n("use",{attrs:{"xlink:href":t.iconName}})])},w=[],x=n("61f7"),y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(x["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},_=y,k=(n("64df"),Object(h["a"])(_,g,w,!1,null,"f9f7fefc",null)),M=k.exports;i["default"].component("svg-icon",M);var E=n("51ff"),z=function(t){return t.keys().map(t)};z(E);var C=n("c80c"),O=n("db72"),L=(n("96cf"),n("3b8d")),S=n("323e"),j=n.n(S),A=(n("a5d8"),n("5f87")),B=n("83d6"),H=n.n(B),T=H.a.title||"Vue Element Admin";function F(t){return t?"".concat(t," - ").concat(T):"".concat(T)}j.a.configure({showSpinner:!1});var V=["/login","/auth-redirect"];b["c"].beforeEach(function(){var t=Object(L["a"])(Object(C["a"])().mark((function t(e,n,a){var i,o,c,s,l;return Object(C["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(j.a.start(),document.title=F(e.meta.title),i=Object(A["a"])(),!i){t.next=35;break}if("/login"!==e.path){t.next=9;break}a({path:"/"}),j.a.done(),t.next=33;break;case 9:if(o=v["a"].getters.roles&&v["a"].getters.roles.length>0,!o){t.next=14;break}a(),t.next=33;break;case 14:return t.prev=14,t.next=17,v["a"].dispatch("user/getInfo");case 17:return c=t.sent,s=c.roles,t.next=21,v["a"].dispatch("permission/generateRoutes",s);case 21:l=t.sent,b["c"].addRoutes(l),a(Object(O["a"])(Object(O["a"])({},e),{},{replace:!0})),t.next=33;break;case 26:return t.prev=26,t.t0=t["catch"](14),t.next=30,v["a"].dispatch("user/resetToken");case 30:r["Message"].error(t.t0||"Has Error"),a("/login?redirect=".concat(e.path)),j.a.done();case 33:t.next=36;break;case 35:-1!==V.indexOf(e.path)?a():(a("/login?redirect=".concat(e.path)),j.a.done());case 36:case"end":return t.stop()}}),t,null,[[14,26]])})));return function(e,n,a){return t.apply(this,arguments)}}()),b["c"].afterEach((function(){j.a.done()}));n("6b54"),n("a481"),n("c5f6");var $=n("ed08");function D(t,e){return 1===t?t+e:t+e+"s"}function R(t){var e=Date.now()/1e3-Number(t);return e<3600?D(~~(e/60)," minute"):e<86400?D(~~(e/3600)," hour"):D(~~(e/86400)," day")}function P(t,e){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],a=0;a=n[a].value)return(t/n[a].value+.1).toFixed(e).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[a].symbol;return t.toString()}function I(t){return(+t||0).toString().replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function N(t){return t.charAt(0).toUpperCase()+t.slice(1)}var G=n("313e"),q=n("00e7"),U=n.n(q);i["default"].prototype.$echarts=G["default"],i["default"].prototype.$cookie=U.a,i["default"].use(s.a,{size:c.a.get("size")||"medium"}),Object.keys(a).forEach((function(t){i["default"].filter(t,a[t])})),i["default"].config.productionTip=!1,new i["default"]({el:"#app",router:b["c"],store:v["a"],render:function(t){return t(m)}})},"5e10":function(t,e,n){"use strict";n("3150")},"5f87":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return s}));var a=n("a78e"),i=n.n(a),o="Admin-Token";function c(){return i.a.get(o)}function r(t){return i.a.set(o,t)}function s(){return i.a.remove(o)}},"61f7":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("6b54");function a(t){return/^(https?:|mailto:|tel:)/.test(t)}},"64df":function(t,e,n){"use strict";n("78bf")},6820:function(t,e,n){"use strict";n("4093")},"6ba9":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-log3",use:"icon-log3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"6e71":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-vessel3",use:"icon-vessel3-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"78bf":function(t,e,n){},8326:function(t,e,n){},"83d6":function(t,e){t.exports={title:"Hippo4J Web",showSettings:!0,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},8811:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-item_logo4",use:"icon-item_logo4-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},"89f5":function(t,e,n){"use strict";n("29aa")},"8af8":function(t,e,n){"use strict";n("9c98")},"9bc4":function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-threadPool_logo2",use:"icon-threadPool_logo2-usage",viewBox:"0 0 1044 1024",content:''});c.a.add(r);e["default"]=r},"9c98":function(t,e,n){},a14a:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(r);e["default"]=r},a18c:function(t,e,n){"use strict";var a,i,o=n("2b0e"),c=n("8c4f"),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":t.fixedHeader}},[n("navbar")],1),t._v(" "),n("app-main")],1)],1)},s=[],l=n("db72"),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:t.key})],1)],1)},d=[],f={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},h=f,p=(n("5e10"),n("0d3d"),n("2877")),m=Object(p["a"])(h,u,d,!1,null,"5ad61798",null),v=m.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"navbar"},[a("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":t.sidebar.opened},on:{toggleClick:t.toggleSideBar}}),t._v(" "),a("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),t._v(" "),a("div",{staticClass:"right-menu"},["mobile"!==t.device?void 0:t._e(),t._v(" "),a("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:n("f561")}}),t._v(" "),a("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("router-link",{attrs:{to:"/"}},[a("el-dropdown-item",[t._v("Dashboard")])],1),t._v(" "),a("el-dropdown-item",{attrs:{divided:""}},[a("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("Log Out")])])],1)],1)],2)],1)},g=[],w=n("c80c"),x=(n("96cf"),n("3b8d")),y=n("2f62"),_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,(function(e,a){return n("el-breadcrumb-item",{key:e.path},["noRedirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])])})),1)],1)},k=[],M=(n("7f7f"),n("f559"),n("bd11")),E=n.n(M),z={data:function(){return{levelList:null}},watch:{$route:function(t){t.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter((function(t){return t.meta&&t.meta.title})),e=t[0];this.isDashboard(e)||(t=[{path:"/dashboard",meta:{title:"Dashboard"}}].concat(t)),this.levelList=t.filter((function(t){return t.meta&&t.meta.title&&!1!==t.meta.breadcrumb}))},isDashboard:function(t){var e=t&&t.name;return!!e&&e.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(t){var e=this.$route.params,n=E.a.compile(t);return n(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},C=z,O=(n("89f5"),Object(p["a"])(C,_,k,!1,null,"1919fc1a",null)),L=O.exports,S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{padding:"0 15px"},on:{click:t.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":t.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},j=[],A={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},B=A,H=(n("d49d"),Object(p["a"])(B,S,j,!1,null,"49e15297",null)),T=H.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errorLogs.length>0?n("div",[n("el-badge",{staticStyle:{"line-height":"25px","margin-top":"-5px"},attrs:{"is-dot":!0},nativeOn:{click:function(e){t.dialogTableVisible=!0}}},[n("el-button",{staticStyle:{padding:"8px 10px"},attrs:{size:"small",type:"danger"}},[n("svg-icon",{attrs:{"icon-class":"bug"}})],1)],1),t._v(" "),n("el-dialog",{attrs:{visible:t.dialogTableVisible,width:"80%","append-to-body":""},on:{"update:visible":function(e){t.dialogTableVisible=e}}},[n("div",{attrs:{slot:"title"},slot:"title"},[n("span",{staticStyle:{"padding-right":"10px"}},[t._v("Error Log")]),t._v(" "),n("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-delete"},on:{click:t.clearAll}},[t._v("Clear All")])],1),t._v(" "),n("el-table",{attrs:{data:t.errorLogs,border:""}},[n("el-table-column",{attrs:{label:"Message"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("div",[n("span",{staticClass:"message-title"},[t._v("Msg:")]),t._v(" "),n("el-tag",{attrs:{type:"danger"}},[t._v("\n "+t._s(a.err.message)+"\n ")])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"10px"}},[t._v("Info: ")]),t._v(" "),n("el-tag",{attrs:{type:"warning"}},[t._v("\n "+t._s(a.vm.$vnode.tag)+" error in "+t._s(a.info)+"\n ")])],1),t._v(" "),n("br"),t._v(" "),n("div",[n("span",{staticClass:"message-title",staticStyle:{"padding-right":"16px"}},[t._v("Url: ")]),t._v(" "),n("el-tag",{attrs:{type:"success"}},[t._v("\n "+t._s(a.url)+"\n ")])],1)]}}],null,!1,3621415002)}),t._v(" "),n("el-table-column",{attrs:{label:"Stack"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.err.stack)+"\n ")]}}],null,!1,1726869048)})],1)],1)],1):t._e()},V=[],$={name:"ErrorLog",data:function(){return{dialogTableVisible:!1}},computed:{errorLogs:function(){return this.$store.getters.errorLogs}},methods:{clearAll:function(){this.dialogTableVisible=!1,this.$store.dispatch("errorLog/clearErrorLog")}}},D=$,R=(n("b36c"),Object(p["a"])(D,F,V,!1,null,"be34583a",null)),P=R.exports,I={components:{Breadcrumb:L,Hamburger:T,ErrorLog:P},computed:Object(l["a"])({},Object(y["b"])(["sidebar","avatar","device"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var t=Object(x["a"])(Object(w["a"])().mark((function t(){return Object(w["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.$cookie.delete("userName"),t.next=3,this.$store.dispatch("user/logout");case 3:this.$router.push("/login?redirect=".concat(this.$route.fullPath));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},N=I,G=(n("07c6"),Object(p["a"])(N,b,g,!1,null,"6ab05616",null)),q=G.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"has-logo":t.showLogo}},[t.showLogo?n("logo",{attrs:{collapse:t.isCollapse}}):t._e(),t._v(" "),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":t.activeMenu,collapse:t.isCollapse,"background-color":t.variables.menuBg,"text-color":t.variables.menuText,"unique-opened":!1,"active-text-color":t.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},t._l(t.permission_routes,(function(t){return n("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})})),1)],1)],1)},J=[],K=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:t.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[t.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title))])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):t._e(),t._v(" "),n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title))])])],1)],1)},Q=[],W={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"hippo4j 1.4.3"}}},Z=W,Y=(n("8af8"),Object(p["a"])(Z,K,Q,!1,null,"741ab93c",null)),X=Y.exports,tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item.hidden?t._e():n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:t.resolvePath(t.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta&&t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,(function(e){return n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}})}))],2):[t.onlyOneChild.meta?n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta&&t.item.meta.icon,title:t.onlyOneChild.meta.title}})],1)],1):t._e()]],2)},et=[],nt=n("df7c"),at=n.n(nt),it=n("61f7"),ot={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},ct=ot,rt=Object(p["a"])(ct,a,i,!1,null,null,null),st=rt.exports,lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("component",t._b({},"component",t.linkProps(t.to),!1),[t._t("default")],2)},ut=[],dt={props:{to:{type:String,required:!0}},methods:{linkProps:function(t){return Object(it["a"])(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},ft=dt,ht=Object(p["a"])(ft,lt,ut,!1,null,null,null),pt=ht.exports,mt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var t=this,e=this.$refs.subMenu;if(e){var n=e.handleMouseleave;e.handleMouseleave=function(e){"mobile"!==t.device&&n(e)}}}}},vt={name:"SidebarItem",components:{Item:st,AppLink:pt},mixins:[mt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=e.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return Object(it["a"])(t)?t:Object(it["a"])(this.basePath)?this.basePath:at.a.resolve(this.basePath,t)}}},bt=vt,gt=Object(p["a"])(bt,tt,et,!1,null,null,null),wt=gt.exports,xt=n("cf1e"),yt=n.n(xt),_t={components:{SidebarItem:wt,Logo:X},computed:Object(l["a"])(Object(l["a"])({},Object(y["b"])(["permission_routes","sidebar"])),{},{activeMenu:function(){var t=this.$route,e=t.meta,n=t.path;return e.activeMenu?e.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return yt.a},isCollapse:function(){return!this.sidebar.opened}})},kt=_t,Mt=Object(p["a"])(kt,U,J,!1,null,null,null),Et=Mt.exports,zt=n("4360"),Ct=document,Ot=Ct.body,Lt=992,St={watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var t=this.$_isMobile();t&&(zt["a"].dispatch("app/toggleDevice","mobile"),zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var t=Ot.getBoundingClientRect();return t.width-1'});c.a.add(r);e["default"]=r},b20f:function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b36c:function(t,e,n){"use strict";n("187a")},b6d1:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-threadPool_logo1",use:"icon-threadPool_logo1-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},b775:function(t,e,n){"use strict";var a=n("bc3a"),i=n.n(a),o=n("5c96"),c=n("4360"),r=n("5f87"),s=n("a18c"),l=i.a.create({baseURL:"",timeout:2e4});l.interceptors.request.use((function(t){return c["a"].getters.token&&(t.headers["Authorization"]=Object(r["a"])()),t}),(function(t){return console.log(t),Promise.reject(t)})),l.interceptors.response.use((function(t){var e=t.data;if("A000004"!==e.code){if("20000"!==e.code&&"0"!==e.code&&"200"!==e.code)return Object(o["Message"])({message:e.message||"Error",type:"error",duration:5e3}),"50008"!==e.code&&"50012"!==e.code&&"50014"!==e.code||o["MessageBox"].confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then((function(){c["a"].dispatch("user/resetToken").then((function(){location.reload()}))})),Promise.reject(new Error(e.message||"Error"));var n=t.data,a=n.code;if("0"===a){var i=n.data;return i}return"200"===a?n:e}Object(r["b"])(),Object(s["d"])(),alert(e.message),document.location.href="index.html"}),(function(t){return console.log("err"+t),Object(o["Message"])({message:t.message,type:"error",duration:5e3}),Promise.reject(t)})),e["a"]=l},c653:function(t,e,n){var a={"./app.js":"d9cd","./errorLog.js":"4d49","./permission.js":"31c2","./settings.js":"0781","./user.js":"0f9a"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="c653"},cf1e:function(t,e,n){t.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d393:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-audit",use:"icon-audit-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},d49d:function(t,e,n){"use strict";n("8326")},d9cd:function(t,e,n){"use strict";n.r(e);var a=n("a78e"),i=n.n(a),o={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},c={TOGGLE_SIDEBAR:function(t){t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1,t.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(t,e){i.a.set("sidebarStatus",0),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e},SET_SIZE:function(t,e){t.size=e,i.a.set("size",e)}},r={toggleSideBar:function(t){var e=t.commit;e("TOGGLE_SIDEBAR")},closeSideBar:function(t,e){var n=t.commit,a=e.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(t,e){var n=t.commit;n("TOGGLE_DEVICE",e)},setSize:function(t,e){var n=t.commit;n("SET_SIZE",e)}};e["default"]={namespaced:!0,state:o,mutations:c,actions:r}},dbd7:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-lessee",use:"icon-lessee-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},ea93:function(t,e,n){"use strict";n.r(e);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),r=new i.a({id:"icon-dashboard2",use:"icon-dashboard2-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(r);e["default"]=r},ed08:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));n("3b2b"),n("4917"),n("4f7f"),n("5df3"),n("1c4c"),n("28a5"),n("ac6a"),n("456d"),n("a481"),n("6b54");var a=n("7618");function i(t,e){if(0===arguments.length)return null;var n,i=e||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(a["a"])(t)?n=t:("string"===typeof t&&/^[0-9]+$/.test(t)&&(t=parseInt(t)),"number"===typeof t&&10===t.toString().length&&(t*=1e3),n=new Date(t));var o={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},c=i.replace(/{(y|m|d|h|i|s|a)+}/g,(function(t,e){var n=o[e];return"a"===e?["日","一","二","三","四","五","六"][n]:(t.length>0&&n<10&&(n="0"+n),n||0)}));return c}function o(t,e){t=10===(""+t).length?1e3*parseInt(t):+t;var n=new Date(t),a=Date.now(),o=(a-n)/1e3;return o<30?"刚刚":o<3600?Math.ceil(o/60)+"分钟前":o<86400?Math.ceil(o/3600)+"小时前":o<172800?"1天前":e?i(t,e):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function c(t,e,n){var a,i,o,c,r,s=function s(){var l=+new Date-c;l0?a=setTimeout(s,e-l):(a=null,n||(r=t.apply(o,i),a||(o=i=null)))};return function(){for(var i=arguments.length,l=new Array(i),u=0;u'});c.a.add(r);e["default"]=r},f561:function(t,e,n){t.exports=n.p+"static/img/hippo4j.ecba1844.gif"}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-078a7535.61dbc5da.js b/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-078a7535.61dbc5da.js new file mode 100644 index 00000000..d5701286 --- /dev/null +++ b/hippo4j-server/hippo4j-console/src/main/resources/static/static/js/chunk-078a7535.61dbc5da.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-078a7535"],{3737:function(e,t,i){"use strict";i.d(t,"c",(function(){return a})),i.d(t,"d",(function(){return l})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return o}));var n=i("b775");function a(e){return Object(n["a"])({url:"/hippo4j/v1/cs/item/query/page",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/hippo4j/v1/cs/item/update",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/hippo4j/v1/cs/item/save",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/hippo4j/v1/cs/item/delete/"+e[0]+"/"+e[1],method:"delete"})}},"395c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-select",{staticClass:"filter-item",staticStyle:{width:"220px"},attrs:{placeholder:"租户(必填)",filterable:""},on:{change:function(t){return e.tenantSelectList()}},model:{value:e.listQuery.tenantId,callback:function(t){e.$set(e.listQuery,"tenantId",t)},expression:"listQuery.tenantId"}},e._l(e.tenantOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"220px"},attrs:{placeholder:"项目(必填)",filterable:""},on:{change:function(t){return e.itemSelectList()}},model:{value:e.listQuery.itemId,callback:function(t){e.$set(e.listQuery,"itemId",t)},expression:"listQuery.itemId"}},e._l(e.itemOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"220px"},attrs:{placeholder:"线程池标识(必填)",filterable:""},model:{value:e.listQuery.threadPoolKey,callback:function(t){e.$set(e.listQuery,"threadPoolKey",t)},expression:"listQuery.threadPoolKey"}},e._l(e.threadPoolKeyOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.fetchData}},[e._v("\n 搜索\n ")]),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-refresh"},on:{click:e.refreshData}},[e._v("\n 重置\n ")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{data:e.list,"element-loading-text":"Loading",border:"",fit:"","max-height":"714","highlight-current-row":""}},[i("el-table-column",{attrs:{label:"序号",width:"95"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.$index+1))]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"实例标识",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-link",{attrs:{type:"primary",underline:!1}},[e._v(e._s(t.row.identify))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"Active"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("statusFilter")(t.row.active)}},[e._v("\n "+e._s(t.row.active)+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"线程池标识"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.threadPoolKey)+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"核心线程"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-link",{attrs:{type:"success",underline:!1}},[e._v(e._s(t.row.coreSize))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"最大线程"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-link",{attrs:{type:"danger",underline:!1}},[e._v(e._s(t.row.maximumSize))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"操作",width:"180","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")])]}}])})],1),e._v(" "),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",attrs:{rules:e.rules,model:e.temp,"label-position":"left","label-width":"110px"}},[i("el-form-item",{attrs:{label:"核心线程",prop:"coreSize"}},[[i("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:e.temp.coreSize,callback:function(t){e.$set(e.temp,"coreSize",t)},expression:"temp.coreSize"}})]],2),e._v(" "),i("el-form-item",{attrs:{label:"最大线程",prop:"maximumSize"}},[[i("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:e.temp.maximumSize,callback:function(t){e.$set(e.temp,"maximumSize",t)},expression:"temp.maximumSize"}})]],2),e._v(" "),i("el-form-item",{attrs:{label:"全部修改",prop:"allUpdate"}},[i("el-switch",{model:{value:e.temp.allUpdate,callback:function(t){e.$set(e.temp,"allUpdate",t)},expression:"temp.allUpdate"}})],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.updateData()}}},[e._v(" 确认 ")])],1)],1),e._v(" "),i("el-dialog",{attrs:{visible:e.dialogPluginVisible,title:"Reading statistics"},on:{"update:visible":function(t){e.dialogPluginVisible=t}}},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.pluginData,border:"",fit:"","highlight-current-row":""}},[i("el-table-column",{attrs:{prop:"key",label:"Channel"}}),e._v(" "),i("el-table-column",{attrs:{prop:"pv",label:"Pv"}})],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogPvVisible=!1}}},[e._v("Confirm")])],1)],1)],1)},a=[],l=i("3737"),r=i("dd71"),o=i("4d85"),s=i("47ec"),u=i("6724"),d={name:"JobProject",directives:{waves:u["a"]},filters:{statusFilter:function(e){var t={DEV:"info",TEST:"success",UAT:"warning",PROD:"danger"};return t[e]}},data:function(){return{isRejectShow:!1,list:null,listLoading:!1,total:0,listQuery:{itemId:"",mark:"Hystrix",tenantId:"",threadPoolKey:""},pluginTypeOptions:["reader","writer"],dialogPluginVisible:!1,pluginData:[],dialogFormVisible:!1,runTimeTemp:{},typeOptions:[{key:"Dubbo",display_name:"Dubbo"},{key:"RocketMQ",display_name:"RocketMQ"},{key:"RocketMQSpringCloudStream",display_name:"RocketMQSpringCloudStream"},{key:"RabbitMQ",display_name:"RabbitMQ"},{key:"RabbitMQSpringCloudStream",display_name:"RabbitMQSpringCloudStream"}],tenantOptions:[],instanceDialogFormVisible:!1,threadPoolOptions:[],itemOptions:[],threadPoolKeyOptions:[],itemTempOptions:[],queueTypeOptions:[{key:1,display_name:"ArrayBlockingQueue"},{key:2,display_name:"LinkedBlockingQueue"},{key:3,display_name:"LinkedBlockingDeque"},{key:4,display_name:"SynchronousQueue"},{key:5,display_name:"LinkedTransferQueue"},{key:6,display_name:"PriorityBlockingQueue"},{key:9,display_name:"ResizableLinkedBlockingQueue (动态修改队列大小)"}],rejectedOptions:[{key:1,display_name:"CallerRunsPolicy"},{key:2,display_name:"AbortPolicy"},{key:3,display_name:"DiscardPolicy"},{key:4,display_name:"DiscardOldestPolicy"},{key:5,display_name:"RunsOldestTaskPolicy"},{key:6,display_name:"SyncPutQueuePolicy"},{key:99,display_name:"CustomRejectedPolicy(自定义 SPI 策略)"}],alarmTypes:[{key:1,display_name:"报警"},{key:0,display_name:"不报警"}],allowCoreThreadTimeOutTypes:[{key:1,display_name:"超时"},{key:0,display_name:"不超时"}],size:500,dialogStatus:"",textMap:{update:"Edit",create:"Create"},rules:{coreSize:[{required:!0,message:"this is required",trigger:"blur"}],maximumSize:[{required:!0,message:"this is required",trigger:"blur"}]},temp:{id:void 0,tenantId:"",itemId:"",rejectedType:null,allUpdate:"1",customRejectedType:null},visible:!0}},created:function(){this.initSelect()},methods:{onInput:function(){this.$forceUpdate()},fetchData:function(){var e=this;this.listQuery.mark?this.listQuery.tenantId?this.listQuery.itemId?this.listQuery.threadPoolKey?(this.listLoading=!0,s["a"](this.listQuery).then((function(t){null==t&&(e.listLoading=!1),e.list=t,e.listLoading=!1}))):this.$message.warning("线程池标识不允许为空"):this.$message.warning("项目不允许为空"):this.$message.warning("租户不允许为空"):this.$message.warning("线程池类型不允许为空")},initSelect:function(){var e=this;r["c"]({size:this.size}).then((function(t){for(var i=t.records,n=0;n
- + @@ -288,10 +288,10 @@ export default { this.temp = res; }); - monitorApi.lastTaskCountFun(this.listQuery).then((res) => { - this.rejectCount = res.rejectCount; - this.lastTaskCount = res.completedTaskCount; - }); + // monitorApi.lastTaskCountFun(this.listQuery).then((res) => { + // this.rejectCount = res.rejectCount; + // this.lastTaskCount = res.completedTaskCount; + // }); this.initChart(); },