Commit af1efc72 by caoyanzhi

update: dist

parent 55290293
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-4766b7e0.ddcc7c12.css rel=prefetch><link href=css/chunk-512af800.73a18d33.css rel=prefetch><link href=css/chunk-6bc29ff2.d0755970.css rel=prefetch><link href=css/chunk-8a27d230.ecc6720c.css rel=prefetch><link href=css/chunk-bf0a851c.1f329e00.css rel=prefetch><link href=js/chunk-22af8244.b0effe99.js rel=prefetch><link href=js/chunk-4566970e.fbc1b281.js rel=prefetch><link href=js/chunk-4766b7e0.97b40e09.js rel=prefetch><link href=js/chunk-512af800.ff6cb81b.js rel=prefetch><link href=js/chunk-6bc29ff2.d184cc18.js rel=prefetch><link href=js/chunk-8a27d230.17c7ff39.js rel=prefetch><link href=js/chunk-bf0a851c.12a4e99c.js rel=prefetch><link href=js/chunk-e6ff36f6.7debb225.js rel=prefetch><link href=css/app.df6179da.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.5c68f1ff.js rel=preload as=script><link href=js/chunk-vendors.bac5d4d0.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.df6179da.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.bac5d4d0.js></script><script src=js/app.5c68f1ff.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-4766b7e0.ddcc7c12.css rel=prefetch><link href=css/chunk-512af800.73a18d33.css rel=prefetch><link href=css/chunk-6bc29ff2.d0755970.css rel=prefetch><link href=css/chunk-8a27d230.ecc6720c.css rel=prefetch><link href=css/chunk-bf0a851c.1f329e00.css rel=prefetch><link href=js/chunk-22af8244.b0effe99.js rel=prefetch><link href=js/chunk-4566970e.fbc1b281.js rel=prefetch><link href=js/chunk-4766b7e0.97b40e09.js rel=prefetch><link href=js/chunk-512af800.ff6cb81b.js rel=prefetch><link href=js/chunk-6bc29ff2.d184cc18.js rel=prefetch><link href=js/chunk-8a27d230.17c7ff39.js rel=prefetch><link href=js/chunk-bf0a851c.c3cb7fb7.js rel=prefetch><link href=js/chunk-e6ff36f6.7debb225.js rel=prefetch><link href=css/app.df6179da.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.b8be0441.js rel=preload as=script><link href=js/chunk-vendors.bac5d4d0.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.df6179da.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.bac5d4d0.js></script><script src=js/app.b8be0441.js></script></body></html>
\ No newline at end of file
(function(e){function t(t){for(var a,r,i=t[0],u=t[1],s=t[2],l=0,f=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&f.push(o[r][0]),o[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);d&&d(t);while(f.length)f.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==o[i]&&(a=!1)}a&&(c.splice(t--,1),e=u(u.s=n[0]))}return e}var a={},r={app:0},o={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-22af8244":"b0effe99","chunk-4566970e":"fbc1b281","chunk-4766b7e0":"97b40e09","chunk-512af800":"ff6cb81b","chunk-6bc29ff2":"d184cc18","chunk-8a27d230":"17c7ff39","chunk-bf0a851c":"12a4e99c","chunk-e6ff36f6":"7debb225"}[e]+".js"}function u(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-4566970e":1,"chunk-4766b7e0":1,"chunk-512af800":1,"chunk-6bc29ff2":1,"chunk-8a27d230":1,"chunk-bf0a851c":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-22af8244":"31d6cfe0","chunk-4566970e":"f9174fd0","chunk-4766b7e0":"ddcc7c12","chunk-512af800":"73a18d33","chunk-6bc29ff2":"d0755970","chunk-8a27d230":"ecc6720c","chunk-bf0a851c":"1f329e00","chunk-e6ff36f6":"31d6cfe0"}[e]+".css",o=u.p+a,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=c[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){s=f[i],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete r[e],d.parentNode.removeChild(d),n(c)},d.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(d)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var c=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var f=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,n[1](f)}o[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=a,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)u.d(n,a,function(t){return e[t]}.bind(null,a));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var f=0;f<s.length;f++)t(s[f]);var d=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){n("db4d"),e.exports=n("56d7")},"013a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAADrFJREFUeAHtXV1vHUcZfvf4xI4bJ7HTpOkHaW3RpFJRkQMtAhXICddUTS65ivML2iK4QFxEueICoSbiB8QRt0ikwAVSi+IKIVAFwkRCkaBtnNRtPtrUTurETmKf5Xlmd7brc2b3zM7uHH/kjHw8uzsz78w8z7zzvbOBrHMztxg2aqGMS02eCWCHgQwL721MINMIM48w09KUy03aSzI9MhLM2wRfCz/BWkSaFefcXDjc1y+NsE8OwU/DGvgsgVnPSYzIVLAi767cl6n1RNCaE6JI2CpHUHpfRWk+koWhz+fQoHPQwrdWluTcWpOzZoSoqkjkGICe8Am2g+zJpsjZkcFgyiFs6SBdJ+T2YjiBEvmat+qoNCSxgKj9Ob1jMJisSqSNnK4RoogQOYFEjdokbB35mQFIJ7tFjHdCWDX1gYiQjfQGNgBqagXE+K7KvBHCxrq2Vd4EBxMbmAdT0iebS/KGr8bfCyG374RH0HU9g3Zi2JSjDf8skHl0mY/v2BacqzovtSoFUituLYVvhjX53aYlg4ChoDGPzCvzXCWGlWkI2orRWqCIGK8ygeteFnpjzVCOom2ZqSKtlRAytxCO1+pyflNrRR7aqMKay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c8rDkh6UQrcvClhvhg+gZUIhlkpv2Vvo72L0/xNTK+ubTWJKTzs64ISSdMX6uj0EkMDhmGBo2jNA9bEwXgEYZvh03zgAS+B+67l6TT7Wr/H4Bn8lwSxb9EAAAAAElFTkSuQmCC"},"365c":function(e,t,n){"use strict";var a=n("71f6"),r={getUserInfo:"/loginuser",getLoginOut:"/logout"};r=Object(a["a"])(r,"/gic-authcenter"),t["a"]=r},"4f94":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d"),n("db4d"),n("0fae"),n("4f94"),n("d31c");var a=n("8bbf"),r=n.n(a),o=n("8c4f"),c=n("cebe"),i=n.n(c),u=n("5c96"),s=n.n(u),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},f=[],d={name:"App"},h=d,g=n("2877"),p=Object(g["a"])(h,l,f,!1,null,null,null),m=p.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout"},[n("yw-header",{on:{updateAsideMenu:e.updateAsideMenu}}),n("aside-menu",{attrs:{menu:e.menu}}),n("div",{staticClass:"main"},[e.breadList.length?n("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadList,(function(t){return n("el-breadcrumb-item",{key:t,attrs:{to:{path:t.path}}},[e._v(e._s(t.name))])})),1):e._e(),n("keep-alive",[e.$route.meta.keepAlive?n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}}):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}})],1)],1)},v=[],k=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header"},[a("a",{staticClass:"logo",attrs:{href:e.origin+"/operation-platform/#/index"}},[a("img",{attrs:{src:n("013a"),alt:""}}),a("span",[e._v("好办运维平台")])]),a("yw-user-info",{attrs:{"user-data":e.userInfo}})],1)},y=[];function w(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}var M=w(),S=n("365c"),x=S["a"].getUserInfo,C={name:"YwHeader",data:function(){return{origin:M,userInfo:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;x().then((function(t){var n=t.result||{};e.userInfo=Object.assign({},n),e.$emit("updateAsideMenu",n.menuTree||[])}))}}},T=C,E=(n("6092"),Object(g["a"])(T,k,y,!1,null,"973ad7fa",null)),A=E.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aside-menu"},[n("ul",{staticClass:"aside-menu__wrapper"},[e._l(e.tabData,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-14",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"item.collapsFlag"}],key:t.id+"-sub",staticClass:"child-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-40",{"active-tab":t.uri==e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"childitem.collapsFlag"}],key:t.id+"-sub",staticClass:"third-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-60",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")]):e._e()]}))],2)]}))],2)]}))],2)])},I=[],Q={name:"AsideMenu",props:{menu:Array},data:function(){return{activeTab:"",tabData:[]}},methods:{selectTab:function(e){Array.isArray(e.nodeChildren)&&e.nodeChildren.length>0?e.collapsFlag=!e.collapsFlag:this.$router.push({path:e.uri})}},watch:{"$route.path":{immediate:!0,handler:function(e){this.activeTab=e}},menu:{immediate:!0,handler:function(e){var t=this,n=e.filter((function(e){return"haoban_operation"===e.code}))[0]||{};function a(e){return e=e.slice(),e.map((function(e){return t.$set(e,"collapsFlag",!0),e.nodeChildren&&e.nodeChildren.length>0&&(e.nodeChildren=a(e.nodeChildren)),e}))}this.tabData=a(n.nodeChildren||[])}}}},j=Q,H=(n("77ce"),Object(g["a"])(j,O,I,!1,null,"ef5d1a82",null)),Y=H.exports,F={name:"Layout",components:{ywHeader:A,asideMenu:Y},data:function(){return{menu:[],breadList:[]}},methods:{updateAsideMenu:function(e){this.menu=e||[]},updateBread:function(e){this.breadList=e||[]}},watch:{"$route.path":function(){this.breadList=[]}}},K=F,W=(n("b7dd"),Object(g["a"])(K,b,v,!1,null,"0ae88e85",null)),R=W.exports,J=[{path:"/",component:R,redirect:"/enterprise-list",children:[{path:"/enterprise-list",meta:{title:"企业管理"},component:function(){return n.e("chunk-8a27d230").then(n.bind(null,"6cf8"))}},{path:"/enterprise-detail",meta:{title:"企业详情"},component:function(){return n.e("chunk-512af800").then(n.bind(null,"d1a4"))}},{path:"/menu-config",meta:{title:"菜单配置"},component:function(){return n.e("chunk-4766b7e0").then(n.bind(null,"d8f8"))}},{path:"/permission-list",meta:{title:"权限项列表"},component:function(){return n.e("chunk-e6ff36f6").then(n.bind(null,"a664"))}},{path:"/operation-list",meta:{title:"操作项列表"},component:function(){return n.e("chunk-bf0a851c").then(n.bind(null,"0ce1"))}},{path:"/dictionary-list",meta:{title:"字典管理"},component:function(){return n.e("chunk-4566970e").then(n.bind(null,"31b3"))}},{path:"/create-dictionary",meta:{title:"新建、编辑字典"},component:function(){return n.e("chunk-22af8244").then(n.bind(null,"3a0f"))}}]},{path:"/403",meta:{title:"无权访问"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"/404",meta:{title:"error404"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"/500",meta:{title:"error500"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"*",redirect:"/404",hidden:!0}],z=new o["a"]({routes:J}),D=z,N=(n("c5f6"),n("3b2b"),n("a481"),n("6b54"),function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}}),U=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a," ").concat(o,":").concat(c,":").concat(i)}},P=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),".").concat(r,".").concat(a," ").concat(o,":").concat(c,":").concat(i)}},V=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(a)}},q=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a)}},L=function(e){if(e){var t=new Date(e),n=t.getHours()<10?"0"+t.getHours():t.getHours(),a=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),r=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(n,":").concat(a,":").concat(r)}},G=function(e){if(e){var t=new Date,n=new Date(Number(e)).getTime()-t.getTime();if(n<0)return"";var a=Math.floor(n/864e5),r=n%864e5,o=Math.floor(r/36e5),c=r%36e5,i=Math.floor(c/6e4);return"".concat(a,"天").concat(o,"小时").concat(i,"分")}},Z=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},B=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},X=function(e){if(!e)return"00:00:00";var t=e/1e3,n=Math.floor(t/60/60/24),a=24*n+Math.floor(t/60/60)%24<10?"0"+(24*n+Math.floor(t/60/60)%24):24*n+Math.floor(t/60/60)%24,r=Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60,o=Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60;return"".concat(a,":").concat(r,":").concat(o)},_={dateFormat:N,formatTimeStamp:U,timeStampToYm:V,timeStampToYmd:q,timeStampToHms:L,formatTimeYmdHms:P,formatPhoneNum:Z,formatName:B,timeStampSpace:G,formatTime:X};r.a.use(o["a"]),r.a.use(s.a),i.a.defaults.withCredentials=!0,r.a.prototype.axios=i.a,r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(_).forEach((function(e){r.a.filter(e,_[e])})),new r.a({router:D,render:function(e){return e(m)}}).$mount("#app")},6092:function(e,t,n){"use strict";var a=n("9033"),r=n.n(a);r.a},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));n("ac6a"),n("456d");var a=n("cebe"),r=n.n(a),o=n("4328"),c=n.n(o),i=n("5c96"),u=!0,s=u?window.location.origin:"https://four.gicdev.com";r.a.defaults.baseURL=s;var l=function(e,t){t=Object.assign({},t),e=Object.assign({},e);var n={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(n=Object.assign(n,e),n.useFormData&&(t=c.a.stringify(t)),n.method.toLowerCase()){case"get":n.params=t;break;case"post":n.data=t;break;default:n.data=t;break}return new Promise((function(e,t){r()(n).then((function(a){var r=a.data;if(!n.useIntercept||"0000"===r.code)return e(r);r.message&&Object(i["Message"])({message:r.message,type:"warning",duration:3e3}),t(r)})).catch((function(e){var n=e.response||{},a=n.data,r=n.status;if(401===r){var o=u?"../operation-platform/":"https://four.gicdev.com/operation-platform/";window.location.href=o}a&&a.message&&Object(i["Message"])({message:a.message,type:"warning"}),t(e)}))}))};function f(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e){return l(a,e)}})),e}},"77ce":function(e,t,n){"use strict";var a=n("838a"),r=n.n(a);r.a},"838a":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},9033:function(e,t,n){},b7dd:function(e,t,n){"use strict";var a=n("e4e3"),r=n.n(a);r.a},cebe:function(e,t){e.exports=axios},d31c:function(e,t,n){},e4e3:function(e,t,n){}});
\ No newline at end of file
(function(e){function t(t){for(var a,r,i=t[0],u=t[1],s=t[2],l=0,f=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&f.push(o[r][0]),o[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);d&&d(t);while(f.length)f.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==o[i]&&(a=!1)}a&&(c.splice(t--,1),e=u(u.s=n[0]))}return e}var a={},r={app:0},o={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-22af8244":"b0effe99","chunk-4566970e":"fbc1b281","chunk-4766b7e0":"97b40e09","chunk-512af800":"ff6cb81b","chunk-6bc29ff2":"d184cc18","chunk-8a27d230":"17c7ff39","chunk-bf0a851c":"c3cb7fb7","chunk-e6ff36f6":"7debb225"}[e]+".js"}function u(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-4566970e":1,"chunk-4766b7e0":1,"chunk-512af800":1,"chunk-6bc29ff2":1,"chunk-8a27d230":1,"chunk-bf0a851c":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-22af8244":"31d6cfe0","chunk-4566970e":"f9174fd0","chunk-4766b7e0":"ddcc7c12","chunk-512af800":"73a18d33","chunk-6bc29ff2":"d0755970","chunk-8a27d230":"ecc6720c","chunk-bf0a851c":"1f329e00","chunk-e6ff36f6":"31d6cfe0"}[e]+".css",o=u.p+a,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=c[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){s=f[i],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete r[e],d.parentNode.removeChild(d),n(c)},d.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(d)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var c=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var f=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",f.name="ChunkLoadError",f.type=a,f.request=r,n[1](f)}o[e]=void 0}};var d=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=a,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)u.d(n,a,function(t){return e[t]}.bind(null,a));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var f=0;f<s.length;f++)t(s[f]);var d=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){n("db4d"),e.exports=n("56d7")},"013a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAADrFJREFUeAHt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Bk/eoW5zjZlyaDkUoRQAElB72va9HHizVJl7R8V+eHhaLWReW4z7NpW9HHi0oQwcexJYJxyEF19fkc9GTxudEKexhFM33tRhHam4aCPn+8eCmYy/RRwqIQQxqfGKXMYp0RfdHudz/II4VT5gTH6Wn+Gx/jxPKyOx/lhOoQjcNtBn01OKyOEkcUJewMTku9ixe4M2pBhUyJe+YHI158zuWyQZ6iiOFFoMzdVNEeYZKjeMKGTf5QxVF+clIxa99g+MLrhyaBWjPkgg0ygY+DX/OSXYQMj5hOIpcGYvv8t/F7i1cYyAGqKK315i0tV5Mg7ITqRP/1VOIHG78Shl2T0EEg593bUxnBTAtsa/UvusUmBSsU1dO1GO3FvueauxEy3Vr+8z5GbjgcyZ37xYznJ3qTOi0+7a4ToTPztQjjx/AF57a23ZTwNoALBEqQEsJT/NlkAnf4Sv7yO/ef5TfmfxpeeT//6590hQuPTdUJ0xL/5Q9jAdp1jUIOJNuBYglOAKpAIJgK3akIKwNUEuPiP4p0EEWdP/SyY0mntpr1mhOhM8mRtfj8Db6C+ip0fR/Tzbtp8P4OvBHAXepVdWJc8rDkh6UQrcvClhvhg+gZUIhlkpv2Vvo72L0/xNTK+ubTWJKTzs64ISSdMX6uj0EkMDhmGBo2jNA9bEwXgEYZvh03zgAS+B+67l6TT7Wr/H4Bn8lwSxb9EAAAAAElFTkSuQmCC"},"365c":function(e,t,n){"use strict";var a=n("71f6"),r={getUserInfo:"/loginuser",getLoginOut:"/logout"};r=Object(a["a"])(r,"/gic-authcenter"),t["a"]=r},"4f94":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d"),n("db4d"),n("0fae"),n("4f94"),n("d31c");var a=n("8bbf"),r=n.n(a),o=n("8c4f"),c=n("cebe"),i=n.n(c),u=n("5c96"),s=n.n(u),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},f=[],d={name:"App"},h=d,g=n("2877"),p=Object(g["a"])(h,l,f,!1,null,null,null),m=p.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout"},[n("yw-header",{on:{updateAsideMenu:e.updateAsideMenu}}),n("aside-menu",{attrs:{menu:e.menu}}),n("div",{staticClass:"main"},[e.breadList.length?n("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadList,(function(t){return n("el-breadcrumb-item",{key:t,attrs:{to:{path:t.path}}},[e._v(e._s(t.name))])})),1):e._e(),n("keep-alive",[e.$route.meta.keepAlive?n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}}):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}})],1)],1)},v=[],k=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header"},[a("a",{staticClass:"logo",attrs:{href:e.origin+"/operation-platform/#/index"}},[a("img",{attrs:{src:n("013a"),alt:""}}),a("span",[e._v("好办运维平台")])]),a("yw-user-info",{attrs:{"user-data":e.userInfo}})],1)},y=[];function w(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}var M=w(),S=n("365c"),x=S["a"].getUserInfo,C={name:"YwHeader",data:function(){return{origin:M,userInfo:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;x().then((function(t){var n=t.result||{};e.userInfo=Object.assign({},n),e.$emit("updateAsideMenu",n.menuTree||[])}))}}},T=C,E=(n("6092"),Object(g["a"])(T,k,y,!1,null,"973ad7fa",null)),A=E.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aside-menu"},[n("ul",{staticClass:"aside-menu__wrapper"},[e._l(e.tabData,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-14",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"item.collapsFlag"}],key:t.id+"-sub",staticClass:"child-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-40",{"active-tab":t.uri==e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"childitem.collapsFlag"}],key:t.id+"-sub",staticClass:"third-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-60",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")]):e._e()]}))],2)]}))],2)]}))],2)])},I=[],Q={name:"AsideMenu",props:{menu:Array},data:function(){return{activeTab:"",tabData:[]}},methods:{selectTab:function(e){Array.isArray(e.nodeChildren)&&e.nodeChildren.length>0?e.collapsFlag=!e.collapsFlag:this.$router.push({path:e.uri})}},watch:{"$route.path":{immediate:!0,handler:function(e){this.activeTab=e}},menu:{immediate:!0,handler:function(e){var t=this,n=e.filter((function(e){return"haoban_operation"===e.code}))[0]||{};function a(e){return e=e.slice(),e.map((function(e){return t.$set(e,"collapsFlag",!0),e.nodeChildren&&e.nodeChildren.length>0&&(e.nodeChildren=a(e.nodeChildren)),e}))}this.tabData=a(n.nodeChildren||[])}}}},j=Q,H=(n("77ce"),Object(g["a"])(j,O,I,!1,null,"ef5d1a82",null)),Y=H.exports,F={name:"Layout",components:{ywHeader:A,asideMenu:Y},data:function(){return{menu:[],breadList:[]}},methods:{updateAsideMenu:function(e){this.menu=e||[]},updateBread:function(e){this.breadList=e||[]}},watch:{"$route.path":function(){this.breadList=[]}}},K=F,W=(n("b7dd"),Object(g["a"])(K,b,v,!1,null,"0ae88e85",null)),R=W.exports,J=[{path:"/",component:R,redirect:"/enterprise-list",children:[{path:"/enterprise-list",meta:{title:"企业管理"},component:function(){return n.e("chunk-8a27d230").then(n.bind(null,"6cf8"))}},{path:"/enterprise-detail",meta:{title:"企业详情"},component:function(){return n.e("chunk-512af800").then(n.bind(null,"d1a4"))}},{path:"/menu-config",meta:{title:"菜单配置"},component:function(){return n.e("chunk-4766b7e0").then(n.bind(null,"d8f8"))}},{path:"/permission-list",meta:{title:"权限项列表"},component:function(){return n.e("chunk-e6ff36f6").then(n.bind(null,"a664"))}},{path:"/operation-list",meta:{title:"操作项列表"},component:function(){return n.e("chunk-bf0a851c").then(n.bind(null,"0ce1"))}},{path:"/dictionary-list",meta:{title:"字典管理"},component:function(){return n.e("chunk-4566970e").then(n.bind(null,"31b3"))}},{path:"/create-dictionary",meta:{title:"新建、编辑字典"},component:function(){return n.e("chunk-22af8244").then(n.bind(null,"3a0f"))}}]},{path:"/403",meta:{title:"无权访问"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"/404",meta:{title:"error404"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"/500",meta:{title:"error500"},component:function(){return n.e("chunk-6bc29ff2").then(n.bind(null,"4cf1"))}},{path:"*",redirect:"/404",hidden:!0}],z=new o["a"]({routes:J}),D=z,N=(n("c5f6"),n("3b2b"),n("a481"),n("6b54"),function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}}),U=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a," ").concat(o,":").concat(c,":").concat(i)}},P=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),".").concat(r,".").concat(a," ").concat(o,":").concat(c,":").concat(i)}},V=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(a)}},q=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a)}},L=function(e){if(e){var t=new Date(e),n=t.getHours()<10?"0"+t.getHours():t.getHours(),a=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),r=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(n,":").concat(a,":").concat(r)}},G=function(e){if(e){var t=new Date,n=new Date(Number(e)).getTime()-t.getTime();if(n<0)return"";var a=Math.floor(n/864e5),r=n%864e5,o=Math.floor(r/36e5),c=r%36e5,i=Math.floor(c/6e4);return"".concat(a,"天").concat(o,"小时").concat(i,"分")}},Z=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},B=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},X=function(e){if(!e)return"00:00:00";var t=e/1e3,n=Math.floor(t/60/60/24),a=24*n+Math.floor(t/60/60)%24<10?"0"+(24*n+Math.floor(t/60/60)%24):24*n+Math.floor(t/60/60)%24,r=Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60,o=Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60;return"".concat(a,":").concat(r,":").concat(o)},_={dateFormat:N,formatTimeStamp:U,timeStampToYm:V,timeStampToYmd:q,timeStampToHms:L,formatTimeYmdHms:P,formatPhoneNum:Z,formatName:B,timeStampSpace:G,formatTime:X};r.a.use(o["a"]),r.a.use(s.a),i.a.defaults.withCredentials=!0,r.a.prototype.axios=i.a,r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(_).forEach((function(e){r.a.filter(e,_[e])})),new r.a({router:D,render:function(e){return e(m)}}).$mount("#app")},6092:function(e,t,n){"use strict";var a=n("9033"),r=n.n(a);r.a},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));n("ac6a"),n("456d");var a=n("cebe"),r=n.n(a),o=n("4328"),c=n.n(o),i=n("5c96"),u=!0,s=u?window.location.origin:"https://four.gicdev.com";r.a.defaults.baseURL=s;var l=function(e,t){t=Object.assign({},t),e=Object.assign({},e);var n={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(n=Object.assign(n,e),n.useFormData&&(t=c.a.stringify(t)),n.method.toLowerCase()){case"get":n.params=t;break;case"post":n.data=t;break;default:n.data=t;break}return new Promise((function(e,t){r()(n).then((function(a){var r=a.data;if(!n.useIntercept||"0000"===r.code)return e(r);r.message&&Object(i["Message"])({message:r.message,type:"warning",duration:3e3}),t(r)})).catch((function(e){var n=e.response||{},a=n.data,r=n.status;if(401===r){var o=u?"../operation-platform/":"https://four.gicdev.com/operation-platform/";window.location.href=o}a&&a.message&&Object(i["Message"])({message:a.message,type:"warning"}),t(e)}))}))};function f(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e){return l(a,e)}})),e}},"77ce":function(e,t,n){"use strict";var a=n("838a"),r=n.n(a);r.a},"838a":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},9033:function(e,t,n){},b7dd:function(e,t,n){"use strict";var a=n("e4e3"),r=n.n(a);r.a},cebe:function(e,t){e.exports=axios},d31c:function(e,t,n){},e4e3:function(e,t,n){}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bf0a851c"],{"0c63":function(e,t,a){},"0ce1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"好办后台",name:"first",lazy:""}},[a("operation-table",{attrs:{"app-type":"1"}})],1),a("el-tab-pane",{attrs:{label:"应用后台",name:"second",lazy:""}},[a("operation-table",{attrs:{"app-type":"2"}})],1),a("el-tab-pane",{attrs:{label:"好办小程序",name:"third",lazy:""}},[a("operation-table",{attrs:{"app-type":"3"}})],1),a("el-tab-pane",{attrs:{label:"好办小程序应用",name:"fourth",lazy:""}},[a("operation-table",{attrs:{"app-type":"4"}})],1)],1)},i=[],o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{padding:"20px"}},[a("el-input",{staticStyle:{width:"340px"},attrs:{placeholder:"请输入名称/代码","prefix-icon":"el-icon-search",clearable:""},on:{change:e.onSearch},model:{value:e.search,callback:function(t){e.search="string"===typeof t?t.trim():t},expression:"search"}}),a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:function(t){e.editOperation.show=!0}}},[e._v("新建操作项")]),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.operationList}},[a("el-table-column",{attrs:{label:"操作项名称",prop:"operationItemName",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"操作项code",prop:"operationItemCode",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"页面code",prop:"menuCode",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:1==e.appType?"好办版本":"应用版本",prop:"version",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.onEdit(n)}}},[e._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.onDel(n)}}},[e._v("删除")])]}}])})],1),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{layout:"total,sizes,prev,pager,next",background:"",total:e.pager.total,"page-sizes":e.pager.pageSizes,"page-size":e.pager.pageSize,"current-page":e.pager.currentPage},on:{"size-change":e.onSizeChage,"current-change":e.onCurrentChange}}):e._e(),a("el-dialog",{attrs:{visible:e.editOperation.show,title:e.editOperation.operationItemId?"编辑操作项":"新建操作项",width:"590px"},on:{"update:visible":function(t){return e.$set(e.editOperation,"show",t)},closed:e.onEditOperationClose}},[a("el-form",{ref:"editOperation",attrs:{model:e.editOperation,rules:e.editOperationRule,"label-width":"110px"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("el-form-item",{attrs:{label:"节点",prop:"menuId"}},[a("el-cascader",{staticStyle:{width:"440px"},attrs:{options:e.menuList,props:{checkStrictly:!0,label:"menuName",value:"menuId"},clearable:""},on:{change:e.onMenuChange},model:{value:e.editOperation.menuId,callback:function(t){e.$set(e.editOperation,"menuId",t)},expression:"editOperation.menuId"}})],1),a("el-form-item",{attrs:{label:"节点code"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{value:e.editOperation.menuCode,disabled:""}})],1),1==e.appType?a("el-form-item",{attrs:{label:"好办版本",prop:"version"}},[a("el-select",{staticStyle:{width:"440px"},model:{value:e.editOperation.version,callback:function(t){e.$set(e.editOperation,"version",t)},expression:"editOperation.version"}},e._l(e.haobanVersionList,(function(e){return a("el-option",{key:e.versionCode,attrs:{value:e.versionCode,label:e.versionName}})})),1)],1):a("el-form-item",{attrs:{label:"应用版本",prop:"version"}},[a("el-select",{staticStyle:{width:"440px"},model:{value:e.editOperation.version,callback:function(t){e.$set(e.editOperation,"version",t)},expression:"editOperation.version"}},e._l(e.appVersionList,(function(e){return a("el-option",{key:e.versionCode,attrs:{value:e.versionCode,label:e.versionName}})})),1)],1),a("el-form-item",{attrs:{label:"操作项名称",prop:"operationItemName"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"20","show-word-limit":""},model:{value:e.editOperation.operationItemName,callback:function(t){e.$set(e.editOperation,"operationItemName","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemName"}})],1),a("el-form-item",{attrs:{label:"操作项code",prop:"operationItemCode"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"40","show-word-limit":""},model:{value:e.editOperation.operationItemCode,callback:function(t){e.$set(e.editOperation,"operationItemCode","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemCode"}})],1),a("el-form-item",{attrs:{label:"请求URL"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"200","show-word-limit":""},model:{value:e.editOperation.operationItemUrl,callback:function(t){e.$set(e.editOperation,"operationItemUrl","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemUrl"}})],1),e.editOperation.operationItemId?e._e():a("el-form-item",{attrs:{label:"生成权限项"}},[a("el-switch",{attrs:{value:1==e.editOperation.authItemFlag},on:{change:function(t){e.editOperation.authItemFlag=1==e.editOperation.authItemFlag?0:1}}})],1),a("el-form-item",{attrs:{label:"权限适用"}},[a("el-radio-group",{model:{value:e.editOperation.roleRange,callback:function(t){e.$set(e.editOperation,"roleRange",t)},expression:"editOperation.roleRange"}},[a("el-radio",{attrs:{label:"1"}},[e._v("管理员权限集")]),a("el-radio",{attrs:{label:"2"}},[e._v("管理员和门店适用")]),a("el-radio",{attrs:{label:"3"}},[e._v("门店适用")])],1)],1)],1),a("template",{slot:"footer"},[a("el-button",{on:{click:function(t){e.editOperation.show=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary",loading:e.editOperation.loading},on:{click:e.onEditOperationSave}},[e._v(e._s(e.editOperation.operationItemId?"保存":"新建"))])],1)],2)],1)},r=[],l=(a("386d"),a("c5f6"),a("d157")),p=a("0feb"),s=p["a"].getOperationItemList,u=p["a"].addOperationItem,d=p["a"].editOperationItem,c=p["a"].delOperationItem,m=p["a"].getMenuList,h=p["a"].haobanVersionList,g=p["a"].appVersionList,f={name:"OperationTable",props:{appType:[String,Number]},data:function(){return{menuList:[],flatMenuList:[],haobanVersionList:[],appVersionList:[],search:"",pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1},operationList:[],editOperation:{show:!1,loading:!1,operationItemId:"",menuId:[],menuCode:"",operationItemName:"",operationItemCode:"",operationItemUrl:"",authItemFlag:"",roleRange:"1",version:""},editOperationRule:{menuId:[{required:!0,message:"请选择节点",trigger:"change"}],version:[{required:!0,message:"请选择版本",trigger:"change"}],operationItemName:[{required:!0,message:"操作项名称不能为空",trigger:"blur"}],operationItemCode:[{required:!0,message:"操作项code不能为空",trigger:"blur"}]}}},created:function(){this.initData()},methods:{initData:function(){var e=this;this.getOperationList(),m({appType:this.appType}).then((function(t){e.flatMenuList=t.result||[],e.menuList=e.flatDataToTree(t.result||[])})),h().then((function(t){e.haobanVersionList=t.result||[]})),g().then((function(t){e.appVersionList=t.result||[]}))},getOperationList:function(){var e=this,t=this.pager,a=t.currentPage,n=t.pageSize,i={search:this.search,pageNum:a,pageSize:n,appType:this.appType};s(i).then((function(t){var a=t.result||{},n=a.totalCount,i=a.result;e.pager.total=n||0,e.operationList=i||[]}))},onSearch:function(){this.pager.currentPage=1,this.getOperationList()},onSizeChage:function(e){this.pager.pageSize=e,this.onSearch()},onCurrentChange:function(e){this.pager.currentPage=e,this.getOperationList()},onEdit:function(e){var t=e.operationItemId,a=e.menuId,n=e.menuCode,i=e.operationItemName,o=e.operationItemCode,r=e.operationItemUrl,l=e.authItemFlag,p=e.roleRange,s=e.version;function u(e,t){var a=[t];return e.some((function(n){return n.menuId==t&&n.parentId>0&&(a=u(e,n.parentId).concat(a)),n.menuId==t})),a}Object.assign(this.editOperation,{show:!0,operationItemId:t,menuId:u(this.flatMenuList,a),menuCode:n,operationItemName:i,operationItemCode:o,operationItemUrl:r,authItemFlag:l,roleRange:p?String(p):"1",version:s})},onEditOperationClose:function(){Object.assign(this.editOperation,{operationItemId:"",menuId:"",menuCode:"",operationItemName:"",operationItemCode:"",operationItemUrl:"",authItemFlag:"",roleRange:"1",version:"",appType:""}),this.$nextTick(this.$refs.editOperation.clearValidate)},onMenuChange:function(e){var t=this,a=e[e.length-1];this.flatMenuList.some((function(e){return e.menuId==a&&(t.editOperation.menuCode=e.code),e.menuId==a}))},onEditOperationSave:function(){var e=this;this.$refs.editOperation.validate((function(t){if(t){var a=e.editOperation,n=a.operationItemId,i=a.menuId,o=a.menuCode,r=a.operationItemName,p=a.operationItemCode,s=a.operationItemUrl,c=a.authItemFlag,m=a.roleRange,h=a.version,g={menuId:Array.isArray(i)&&i.length>0?i[i.length-1]:"",menuCode:o,operationItemName:Object(l["a"])(r),operationItemCode:Object(l["a"])(p),operationItemUrl:Object(l["a"])(s),authItemFlag:c,roleRange:m,version:h};e.editOperation.loading=!0,n?(g.operationItemId=n,d(g).then(f.bind(e,"保存成功!")).finally((function(){return e.editOperation.loading=!1}))):(g.appType=e.appType,u(g).then(f.bind(e,"新建成功!")).finally((function(){return e.editOperation.loading=!1})))}function f(e){this.$message.success(e),this.editOperation.show=!1,this.getOperationList()}}))},onDel:function(e){var t=this,a=e.operationItemId,n=e.operationItemName;this.$confirm("确定删除【 ".concat(n," 】吗?"),"提示",{type:"warning"}).then((function(){c({operationItemId:a}).then((function(e){t.$message.success("删除成功!"),t.pager.currentPage>1&&1==t.operationList.length&&t.pager.currentPage--,t.getOperationList()}))}))},flatDataToTree:function(e){return e.filter((function(t){var a=e.filter((function(e){return e.parentId==t.menuId}));return a.length>0&&(t.children=a),0==t.parentId}))}}},I=f,b=a("2877"),v=Object(b["a"])(I,o,r,!1,null,null,null),O=v.exports,y={name:"OperationList",components:{operationTable:O},data:function(){return{activeName:"first"}},created:function(){var e=this.$route.query.type,t=["","first","second","third","fourth"];this.activeName=t[e>0&&e<5?e:1]}},C=y,x=(a("23e0"),Object(b["a"])(C,n,i,!1,null,"6156de28",null));t["default"]=x.exports},"0feb":function(e,t,a){"use strict";var n=a("71f6"),i={getMenuList:"/gic-menu-list",addMenu:"/menu-add",editMenu:"/menu-edit",delMenu:"/menu-del",addAuthItem:"/add-auth-item",editAuthItem:"/edit-auth-item",delAuthItem:"/del-auth-item",getAuthItemList:"/auth-item-list",getOperationItemList:"/operation-item-list",addOperationItem:"/add-operation-item",editOperationItem:"/edit-operation-item",delOperationItem:"/del-operation-item",haobanVersionList:"/haoban-version-list",appVersionList:"/app-version-list"};t["a"]=Object(n["a"])(i,"/hb-manage-operation-web")},"23e0":function(e,t,a){"use strict";var n=a("0c63"),i=a.n(n);i.a},d157:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function n(e){return e=e.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bf0a851c"],{"0c63":function(e,t,a){},"0ce1":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"好办后台",name:"first",lazy:""}},[a("operation-table",{attrs:{"app-type":"1"}})],1),a("el-tab-pane",{attrs:{label:"应用后台",name:"second",lazy:""}},[a("operation-table",{attrs:{"app-type":"2"}})],1),a("el-tab-pane",{attrs:{label:"好办小程序",name:"third",lazy:""}},[a("operation-table",{attrs:{"app-type":"3"}})],1),a("el-tab-pane",{attrs:{label:"好办小程序应用",name:"fourth",lazy:""}},[a("operation-table",{attrs:{"app-type":"4"}})],1)],1)},i=[],o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{padding:"20px"}},[a("el-input",{staticStyle:{width:"340px"},attrs:{placeholder:"请输入名称/代码","prefix-icon":"el-icon-search",clearable:""},on:{change:e.onSearch},model:{value:e.search,callback:function(t){e.search="string"===typeof t?t.trim():t},expression:"search"}}),a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:function(t){e.editOperation.show=!0}}},[e._v("新建操作项")]),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.operationList}},[a("el-table-column",{attrs:{label:"操作项名称",prop:"operationItemName",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"操作项code",prop:"operationItemCode",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"页面code",prop:"menuCode",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:1==e.appType?"好办版本":"应用版本",prop:"version",formatter:function(e,t,a){return a||"--"}}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.onEdit(n)}}},[e._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.onDel(n)}}},[e._v("删除")])]}}])})],1),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{layout:"total,sizes,prev,pager,next",background:"",total:e.pager.total,"page-sizes":e.pager.pageSizes,"page-size":e.pager.pageSize,"current-page":e.pager.currentPage},on:{"size-change":e.onSizeChage,"current-change":e.onCurrentChange}}):e._e(),a("el-dialog",{attrs:{visible:e.editOperation.show,title:e.editOperation.operationItemId?"编辑操作项":"新建操作项",width:"590px"},on:{"update:visible":function(t){return e.$set(e.editOperation,"show",t)},closed:e.onEditOperationClose}},[a("el-form",{ref:"editOperation",attrs:{model:e.editOperation,rules:e.editOperationRule,"label-width":"110px"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("el-form-item",{attrs:{label:"节点",prop:"menuId"}},[a("el-cascader",{staticStyle:{width:"440px"},attrs:{options:e.menuList,props:{checkStrictly:!0,label:"menuName",value:"menuId"},clearable:""},on:{change:e.onMenuChange},model:{value:e.editOperation.menuId,callback:function(t){e.$set(e.editOperation,"menuId",t)},expression:"editOperation.menuId"}})],1),a("el-form-item",{attrs:{label:"节点code"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{value:e.editOperation.menuCode,disabled:""}})],1),1==e.appType?a("el-form-item",{attrs:{label:"好办版本",prop:"version"}},[a("el-select",{staticStyle:{width:"440px"},model:{value:e.editOperation.version,callback:function(t){e.$set(e.editOperation,"version",t)},expression:"editOperation.version"}},e._l(e.haobanVersionList,(function(e){return a("el-option",{key:e.versionCode,attrs:{value:e.versionCode,label:e.versionName}})})),1)],1):a("el-form-item",{attrs:{label:"应用版本",prop:"version"}},[a("el-select",{staticStyle:{width:"440px"},model:{value:e.editOperation.version,callback:function(t){e.$set(e.editOperation,"version",t)},expression:"editOperation.version"}},e._l(e.appVersionList,(function(e){return a("el-option",{key:e.versionCode,attrs:{value:e.versionCode,label:e.versionName}})})),1)],1),a("el-form-item",{attrs:{label:"操作项名称",prop:"operationItemName"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"40","show-word-limit":""},model:{value:e.editOperation.operationItemName,callback:function(t){e.$set(e.editOperation,"operationItemName","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemName"}})],1),a("el-form-item",{attrs:{label:"操作项code",prop:"operationItemCode"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"40","show-word-limit":""},model:{value:e.editOperation.operationItemCode,callback:function(t){e.$set(e.editOperation,"operationItemCode","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemCode"}})],1),a("el-form-item",{attrs:{label:"请求URL"}},[a("el-input",{staticStyle:{width:"440px"},attrs:{type:"text",maxlength:"200","show-word-limit":""},model:{value:e.editOperation.operationItemUrl,callback:function(t){e.$set(e.editOperation,"operationItemUrl","string"===typeof t?t.trim():t)},expression:"editOperation.operationItemUrl"}})],1),e.editOperation.operationItemId?e._e():a("el-form-item",{attrs:{label:"生成权限项"}},[a("el-switch",{attrs:{value:1==e.editOperation.authItemFlag},on:{change:function(t){e.editOperation.authItemFlag=1==e.editOperation.authItemFlag?0:1}}})],1),a("el-form-item",{attrs:{label:"权限适用"}},[a("el-radio-group",{model:{value:e.editOperation.roleRange,callback:function(t){e.$set(e.editOperation,"roleRange",t)},expression:"editOperation.roleRange"}},[a("el-radio",{attrs:{label:"1"}},[e._v("管理员权限集")]),a("el-radio",{attrs:{label:"2"}},[e._v("管理员和门店适用")]),a("el-radio",{attrs:{label:"3"}},[e._v("门店适用")])],1)],1)],1),a("template",{slot:"footer"},[a("el-button",{on:{click:function(t){e.editOperation.show=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary",loading:e.editOperation.loading},on:{click:e.onEditOperationSave}},[e._v(e._s(e.editOperation.operationItemId?"保存":"新建"))])],1)],2)],1)},r=[],l=(a("386d"),a("c5f6"),a("d157")),p=a("0feb"),s=p["a"].getOperationItemList,u=p["a"].addOperationItem,d=p["a"].editOperationItem,c=p["a"].delOperationItem,m=p["a"].getMenuList,h=p["a"].haobanVersionList,g=p["a"].appVersionList,f={name:"OperationTable",props:{appType:[String,Number]},data:function(){return{menuList:[],flatMenuList:[],haobanVersionList:[],appVersionList:[],search:"",pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1},operationList:[],editOperation:{show:!1,loading:!1,operationItemId:"",menuId:[],menuCode:"",operationItemName:"",operationItemCode:"",operationItemUrl:"",authItemFlag:"",roleRange:"1",version:""},editOperationRule:{menuId:[{required:!0,message:"请选择节点",trigger:"change"}],version:[{required:!0,message:"请选择版本",trigger:"change"}],operationItemName:[{required:!0,message:"操作项名称不能为空",trigger:"blur"}],operationItemCode:[{required:!0,message:"操作项code不能为空",trigger:"blur"}]}}},created:function(){this.initData()},methods:{initData:function(){var e=this;this.getOperationList(),m({appType:this.appType}).then((function(t){e.flatMenuList=t.result||[],e.menuList=e.flatDataToTree(t.result||[])})),h().then((function(t){e.haobanVersionList=t.result||[]})),g().then((function(t){e.appVersionList=t.result||[]}))},getOperationList:function(){var e=this,t=this.pager,a=t.currentPage,n=t.pageSize,i={search:this.search,pageNum:a,pageSize:n,appType:this.appType};s(i).then((function(t){var a=t.result||{},n=a.totalCount,i=a.result;e.pager.total=n||0,e.operationList=i||[]}))},onSearch:function(){this.pager.currentPage=1,this.getOperationList()},onSizeChage:function(e){this.pager.pageSize=e,this.onSearch()},onCurrentChange:function(e){this.pager.currentPage=e,this.getOperationList()},onEdit:function(e){var t=e.operationItemId,a=e.menuId,n=e.menuCode,i=e.operationItemName,o=e.operationItemCode,r=e.operationItemUrl,l=e.authItemFlag,p=e.roleRange,s=e.version;function u(e,t){var a=[t];return e.some((function(n){return n.menuId==t&&n.parentId>0&&(a=u(e,n.parentId).concat(a)),n.menuId==t})),a}Object.assign(this.editOperation,{show:!0,operationItemId:t,menuId:u(this.flatMenuList,a),menuCode:n,operationItemName:i,operationItemCode:o,operationItemUrl:r,authItemFlag:l,roleRange:p?String(p):"1",version:s})},onEditOperationClose:function(){Object.assign(this.editOperation,{operationItemId:"",menuId:"",menuCode:"",operationItemName:"",operationItemCode:"",operationItemUrl:"",authItemFlag:"",roleRange:"1",version:"",appType:""}),this.$nextTick(this.$refs.editOperation.clearValidate)},onMenuChange:function(e){var t=this,a=e[e.length-1];this.flatMenuList.some((function(e){return e.menuId==a&&(t.editOperation.menuCode=e.code),e.menuId==a}))},onEditOperationSave:function(){var e=this;this.$refs.editOperation.validate((function(t){if(t){var a=e.editOperation,n=a.operationItemId,i=a.menuId,o=a.menuCode,r=a.operationItemName,p=a.operationItemCode,s=a.operationItemUrl,c=a.authItemFlag,m=a.roleRange,h=a.version,g={menuId:Array.isArray(i)&&i.length>0?i[i.length-1]:"",menuCode:o,operationItemName:Object(l["a"])(r),operationItemCode:Object(l["a"])(p),operationItemUrl:Object(l["a"])(s),authItemFlag:c,roleRange:m,version:h};e.editOperation.loading=!0,n?(g.operationItemId=n,d(g).then(f.bind(e,"保存成功!")).finally((function(){return e.editOperation.loading=!1}))):(g.appType=e.appType,u(g).then(f.bind(e,"新建成功!")).finally((function(){return e.editOperation.loading=!1})))}function f(e){this.$message.success(e),this.editOperation.show=!1,this.getOperationList()}}))},onDel:function(e){var t=this,a=e.operationItemId,n=e.operationItemName;this.$confirm("确定删除【 ".concat(n," 】吗?"),"提示",{type:"warning"}).then((function(){c({operationItemId:a}).then((function(e){t.$message.success("删除成功!"),t.pager.currentPage>1&&1==t.operationList.length&&t.pager.currentPage--,t.getOperationList()}))}))},flatDataToTree:function(e){return e.filter((function(t){var a=e.filter((function(e){return e.parentId==t.menuId}));return a.length>0&&(t.children=a),0==t.parentId}))}}},I=f,b=a("2877"),v=Object(b["a"])(I,o,r,!1,null,null,null),O=v.exports,y={name:"OperationList",components:{operationTable:O},data:function(){return{activeName:"first"}},created:function(){var e=this.$route.query.type,t=["","first","second","third","fourth"];this.activeName=t[e>0&&e<5?e:1]}},C=y,x=(a("23e0"),Object(b["a"])(C,n,i,!1,null,"6156de28",null));t["default"]=x.exports},"0feb":function(e,t,a){"use strict";var n=a("71f6"),i={getMenuList:"/gic-menu-list",addMenu:"/menu-add",editMenu:"/menu-edit",delMenu:"/menu-del",addAuthItem:"/add-auth-item",editAuthItem:"/edit-auth-item",delAuthItem:"/del-auth-item",getAuthItemList:"/auth-item-list",getOperationItemList:"/operation-item-list",addOperationItem:"/add-operation-item",editOperationItem:"/edit-operation-item",delOperationItem:"/del-operation-item",haobanVersionList:"/haoban-version-list",appVersionList:"/app-version-list"};t["a"]=Object(n["a"])(i,"/hb-manage-operation-web")},"23e0":function(e,t,a){"use strict";var n=a("0c63"),i=a.n(n);i.a},d157:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("c5f6"),a("a481"),a("28a5"),a("6b54");function n(e){return e=e.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]|[\uD800-\uDBFF]|[\uDC00-\uDFFF]|[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g,""),unescape(escape(e).replace(/\%uD.{3}/g,""))}}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment