sys-1.3.10.js 15 KB

1
  1. (function(e){function n(n){for(var r,o,c=n[0],i=n[1],u=n[2],m=0,l=[];m<c.length;m++)o=c[m],s[o]&&l.push(s[o][0]),s[o]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);p&&p(n);while(l.length)l.shift()();return a.push.apply(a,u||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],r=!0,o=1;o<t.length;o++){var c=t[o];0!==s[c]&&(r=!1)}r&&(a.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},o={sys:0},s={sys:0},a=[];function c(e){return i.p+"common-assets/js/chunk/"+e+"-1.3.10.js"}function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"async-commons":1,serviceCmdbChangeMessageList:1,serviceTopology:1,sysGrayPolicyDecisionRefForm:1,"system-monitor":1,personal:1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="common-assets/css/chunk/"+e+"-1.3.10.css",s=i.p+r,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var u=a[c],m=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(m===r||m===s))return n()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){u=l[c],m=u.getAttribute("data-href");if(m===r||m===s)return n()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=n,p.onerror=function(n){var r=n&&n.target&&n.target.src||s,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=r,delete o[e],p.parentNode.removeChild(p),t(a)},p.href=s;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){o[e]=0})));var r=s[e];if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,t){r=s[e]=[n,t]}));n.push(r[2]=a);var u,m=document.createElement("script");m.charset="utf-8",m.timeout=120,i.nc&&m.setAttribute("nonce",i.nc),m.src=c(e),u=function(n){m.onerror=m.onload=null,clearTimeout(l);var t=s[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+r+": "+o+")");a.type=r,a.request=o,t[1](a)}s[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:m})}),12e4);m.onerror=m.onload=u,document.head.appendChild(m)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="/scm-app/",i.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp_direwolf"]=window["webpackJsonp_direwolf"]||[],m=u.push.bind(u);u.push=n,u=u.slice();for(var l=0;l<u.length;l++)n(u[l]);var p=m;a.push([10,"chunk-vendors","chunk-common"]),t()})({10:function(e,n,t){e.exports=t("4b3c")},"4b3c":function(e,n,t){"use strict";t.r(n);t("14c6"),t("08c1"),t("4842"),t("d9fc"),t("db4d");var r=t("8bbf"),o=t.n(r),s=t("5f72"),a=t("f61f"),c=t("088b"),i=(t("34c4"),t("75fc")),u=function(e){return[{path:"".concat(e,"/personal"),name:"personal",meta:{title:"个人中心",permission:"isAuthenticated"},component:function(){return t.e("personal").then(t.bind(null,"f2d9"))}},{path:"".concat(e,"/change-password"),name:"forceChangePassword",meta:{title:"修改密码",permission:"isAuthenticated"},component:function(){return t.e("personal").then(t.bind(null,"51b8"))}}]},m=t("fb3e"),l=t("c1d9"),p=t("8a0f"),f=t("6a7e"),d=t("b996"),y="/sys",h=[].concat(Object(i["a"])(u(y)),Object(i["a"])(Object(m["a"])(y)),Object(i["a"])(Object(l["a"])(y)),Object(i["a"])(Object(f["a"])(y)),Object(i["a"])(Object(p["a"])(y)),Object(i["a"])(Object(d["a"])(y)),[{path:"".concat(y,"/common/tri-dimension"),name:"triDimensionDialog",meta:{title:"选择窗口",permission:"isAuthenticated"},component:function(){return Promise.all([t.e("async-commons"),t.e("triDimensionDialog")]).then(t.bind(null,"a112"))}},{path:"".concat(y,"/common/user-select-dialog"),name:"userSelectDialog",meta:{title:"用户选择窗口",permission:"isAuthenticated"},component:function(){return Promise.all([t.e("async-commons"),t.e("userSelectDialog")]).then(t.bind(null,"1345"))}},{path:"".concat(y,"/common/org-select-dialog"),name:"orgSelectDialog",meta:{title:"用户选择窗口",permission:"isAuthenticated"},component:function(){return Promise.all([t.e("async-commons"),t.e("userSelectDialog")]).then(t.bind(null,"d015"))}},{path:"".concat(y,"/common/role-select-dialog"),name:"roleSelectDialog",meta:{title:"用户选择窗口",permission:"isAuthenticated"},component:function(){return Promise.all([t.e("async-commons"),t.e("userSelectDialog")]).then(t.bind(null,"e27f"))}}]),b=c["a"].router.createRouter(h),g=b,v=t("5880"),C=t.n(v),P=t("b054"),w=t.n(P),M=(t("96cf"),t("3b8d")),S={menuMap:[],menuTree:[]},D={getUserMenu:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(n,t){var r,o,s,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n.commit,o=t.parentPath,e.next=4,c["a"].resource.getUserMenu(o);case 4:s=e.sent,a=s.menuTree,i=s.menuMap,r("setMenuTree",a),r("setMenuMap",i);case 9:case"end":return e.stop()}}),e)})));function n(n,t){return e.apply(this,arguments)}return n}()},L={setMenuTree:function(e,n){e.menuTree=n},setMenuMap:function(e,n){e.menuMap=n}},j={state:S,actions:D,mutations:L},O=t("cebc"),F=t("4131"),x={currentUserInfo:{}},A={getUserInfo:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(n){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.commit,t=n.dispatch,e.next=3,F["a"].user.getUserInfo();case 3:r=e.sent,r&&"success"===r.type?t("setUserInfo",r.data):c["a"].router.logoutAfterDelay("获取当前用户信息失败,请重试或联系管理员");case 5:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}(),setUserInfo:function(e,n){var t=e.commit,r=a["a"].roleKey,o=a["a"].permissionKey,s=n.user,i=n.roles,u=n.permissions;c["a"].user.saveUserToSession(s),sessionStorage.setItem(r,i.join(",")),sessionStorage.setItem(o,u.join(",")),t("setCurrentUserInfo",{user:s,roles:i,permissions:u})},saveUser:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(n,t){var r,o,s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n.commit,o=n.state,e.next=3,F["a"].user.saveUser(t);case 3:s=e.sent,"success"===s.type?(a=Object(O["a"])({},o.currentUserInfo.user,t),r("setCurrentUserInfo",Object(O["a"])({},o.currentUserInfo,{user:a})),c["a"].direwolfCommonTips("success","保存用户信息成功"),c["a"].user.saveUserToSession(a)):c["a"].direwolfCommonTips("error","保存用户信息失败");case 5:case"end":return e.stop()}}),e)})));function n(n,t){return e.apply(this,arguments)}return n}(),changePassword:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(n,t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.commit,n.state,e.next=3,F["a"].user.changePassword(t);case 3:r=e.sent,"success"===r.type?c["a"].router.logoutAfterDelay("修改用户密码成功,请重新登录"):c["a"].direwolfCommonTips("error","修改用户密码失败");case 5:case"end":return e.stop()}}),e)})));function n(n,t){return e.apply(this,arguments)}return n}()},T={setCurrentUserInfo:function(e,n){e.currentUserInfo=n}},R={state:x,actions:A,mutations:T},I={userRoles:[]},U={},G={getUserRoles:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(n){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.commit,e.next=3,F["a"].role.getUserRoles();case 3:r=e.sent,"success"===r.type&&t("setUserRoles",r.data);case 5:case"end":return e.stop()}}),e)})));function n(n){return e.apply(this,arguments)}return n}()},k={setUserRoles:function(e,n){e.userRoles=n}},E={state:I,getters:U,actions:G,mutations:k},_={},B={getDictByCodes:function(e,n){e.commit;return F["a"].paramClass.getDictByCodes(n)}},N={},H={state:_,actions:B,mutations:N};o.a.use(C.a);var $=!1,V=new C.a.Store({modules:{resourceStore:j,userStore:R,roleStore:E,paramClassStore:H},strict:$,plugins:$?[w()()]:[]}),J=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"sysApp"}},[t("router-view")],1)},K=[],q={name:"sysApp"},Q=q,z=t("2877"),W=Object(z["a"])(Q,J,K,!1,null,null,null),X=W.exports;o.a.use(s),o.a.prototype.$$config=a["a"],o.a.prototype.$$utils=c["a"],new o.a({el:"#app",router:g,store:V,render:function(e){return e(X)}})},"4fb3":function(e,n){e.exports=VueGridLayout},5880:function(e,n){e.exports=Vuex},"5f72":function(e,n){e.exports=ELEMENT},6678:function(e,n){e.exports=VueECharts},"6a7e":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o}));var r="sys:redis:",o="/sys";n["a"]=function(e){return[{path:"".concat(e,"/redisList"),name:"redisList",meta:{title:"redis列表管理"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceList")]).then(t.bind(null,"06a9"))}},{path:"".concat(e,"/redisForm"),name:"redisForm",meta:{title:"redis表单查看"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceList")]).then(t.bind(null,"b30f"))}},{path:"".concat(e,"/redisInfoForm"),name:"redisInfoForm",meta:{title:"redis表单查看"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceList")]).then(t.bind(null,"4d63"))}}]}},"796d":function(e,n){e.exports=Qs},"8a0f":function(e,n,t){"use strict";t.d(n,"c",(function(){return r})),t.d(n,"b",(function(){return o}));var r="/sys",o="alert:sAlertMessage:";n["a"]=function(e){return[{path:"".concat(e,"/sAlertMessageList"),name:"sAlertMessageList",meta:{title:"告警消息管理",permission:"".concat(o,"list")},component:function(){return Promise.all([t.e("async-commons"),t.e("sAlertMessageList")]).then(t.bind(null,"00da"))}},{path:"".concat(e,"/sAlertMessageForm"),name:"sAlertMessageForm",meta:{title:"告警消息明细",permission:"".concat(o,"add,").concat(o,"view,").concat(o,"edit")},component:function(){return Promise.all([t.e("async-commons"),t.e("sAlertMessageForm")]).then(t.bind(null,"a0ba"))}},{path:"".concat(e,"/sAlertMessageHandle"),name:"sAlertMessageHandle",meta:{title:"告警消息处理"},component:function(){return Promise.all([t.e("async-commons"),t.e("sAlertMessageForm")]).then(t.bind(null,"fe36"))}},{path:"".concat(e,"/sysCmdbInfoList"),name:"sysCmdbInfoList",meta:{title:"cmdb信息管理"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysCmdbInfoList")]).then(t.bind(null,"7e4b"))}},{path:"".concat(e,"/sysCmdbInfoForm"),name:"sysCmdbInfoForm",meta:{title:"cmdb信息明细"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysCmdbInfoForm")]).then(t.bind(null,"5e00"))}}]}},"8bbf":function(e,n){e.exports=Vue},b0c2:function(e,n){e.exports=ClipboardJS},b996:function(e,n,t){"use strict";t.d(n,"c",(function(){return r})),t.d(n,"b",(function(){return o}));var r="/sys",o="alert:serviceCmdbChangeMessage:";n["a"]=function(e){return[{path:"".concat(e,"/serviceCmdbChangeMessageList"),name:"serviceCmdbChangeMessageList",meta:{title:"CMDB变更消息管理",permission:"".concat(o,"list")},component:function(){return Promise.all([t.e("async-commons"),t.e("serviceCmdbChangeMessageList")]).then(t.bind(null,"042e0"))}},{path:"".concat(e,"/serviceCmdbChangeMessageForm"),name:"serviceCmdbChangeMessageForm",meta:{title:"CMDB变更消息明细",permission:"".concat(o,"add,").concat(o,"view,").concat(o,"edit")},component:function(){return Promise.all([t.e("async-commons"),t.e("serviceCmdbChangeMessageForm")]).then(t.bind(null,"a678"))}},{path:"".concat(e,"/serviceCmdbChangeMessageHandle"),name:"serviceCmdbChangeMessageHandle",component:function(){return Promise.all([t.e("async-commons"),t.e("serviceCmdbChangeMessageForm")]).then(t.bind(null,"d899"))}}]}},c1d9:function(e,n,t){"use strict";t.d(n,"c",(function(){return r})),t.d(n,"b",(function(){return o}));var r="/sys",o="sys:sysServiceDependence:";n["a"]=function(e){return[{path:"".concat(e,"/sysServiceListList"),name:"sysServiceListList",meta:{title:"服务列表管理",permission:"".concat(o,"list")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceList")]).then(t.bind(null,"891a"))}},{path:"".concat(e,"/sysServiceListForm"),name:"sysServiceListForm",meta:{title:"服务列表明细",permission:"".concat(o,"add,").concat(o,"view,").concat(o,"edit")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceForm")]).then(t.bind(null,"774e9"))}},{path:"".concat(e,"/displayGraph"),name:"displayGraph",meta:{title:"服务列表明细"},component:function(){return Promise.all([t.e("async-commons"),t.e("sysServiceDependenceForm")]).then(t.bind(null,"fba6"))}},{path:"".concat(e,"/serviceTopology"),name:"serviceTopology",meta:{title:"服务拓扑"},component:function(){return Promise.all([t.e("async-commons"),t.e("serviceTopology")]).then(t.bind(null,"6863"))}},{path:"".concat(e,"/ServiceTopoOverview"),name:"ServiceTopoOverview",meta:{title:"服务拓扑监控"},component:function(){return Promise.all([t.e("async-commons"),t.e("serviceTopology")]).then(t.bind(null,"f066"))}},{path:"".concat(e,"/system-monitor"),name:"systemMonitor",meta:{title:"系统监控"},component:function(){return Promise.all([t.e("async-commons"),t.e("system-monitor")]).then(t.bind(null,"d470"))}},{path:"".concat(e,"/system-score-config"),name:"systemMScoreConfig",meta:{title:"系统评分配置"},component:function(){return Promise.all([t.e("async-commons"),t.e("system-monitor")]).then(t.bind(null,"11f8"))}},{path:"".concat(e,"/serviceScoreConfigForm"),name:"serviceScoreConfigForm",meta:{title:"系统评分配置"},component:function(){return Promise.all([t.e("async-commons"),t.e("system-monitor")]).then(t.bind(null,"e733"))}}]}},cebe:function(e,n){e.exports=axios},fb3e:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o}));var r="sys:sysGrayPolicyDecisionRef:",o="/sys";n["a"]=function(e){return[{path:"".concat(e,"/sysGrayDecisionList"),name:"sysGrayDecisionList",meta:{title:"灰度版本管理",permission:"".concat(r,"list")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysGrayPolicyDecisionRefList")]).then(t.bind(null,"3aef"))}},{path:"".concat(e,"/sysGrayDecisionForm"),name:"sysGrayDecisionForm",meta:{title:"灰度版本明细",permission:"".concat(r,"add,").concat(r,"view,").concat(r,"edit")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysGrayPolicyDecisionRefForm")]).then(t.bind(null,"6f6d"))}},{path:"".concat(e,"/sysGrayPolicyList"),name:"sysGrayPolicyList",meta:{title:"灰度策略管理",permission:"".concat(r,"list")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysGrayPolicyDecisionRefList")]).then(t.bind(null,"8808"))}},{path:"".concat(e,"/sysGrayPolicyForm"),name:"sysGrayPolicyForm",meta:{title:"灰度策略明细",permission:"".concat(r,"add,").concat(r,"view,").concat(r,"edit")},component:function(){return Promise.all([t.e("async-commons"),t.e("sysGrayPolicyDecisionRefForm")]).then(t.bind(null,"5d9a"))}}]}}});