chunk-2fd5d6d8.ee77f018.js 8.5 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2fd5d6d8"],{"0353":function(t,e,n){"use strict";var i=n("6bf8"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,c="lastIndex",s=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[c]||0!==e[c]}(),u=void 0!==/()??/.exec("")[1],l=s||u;l&&(a=function(t){var e,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",i.call(f))),s&&(e=f[c]),a=r.call(f,t),s&&a&&(f[c]=f.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),t.exports=a},1663:function(t,e,n){var i=n("212e"),r=n("3ab0");t.exports=function(t){return function(e,n){var o,a,c=String(r(e)),s=i(n),u=c.length;return s<0||s>=u?t?"":void 0:(o=c.charCodeAt(s),o<55296||o>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):o:t?c.slice(s,s+2):a-56320+(o-55296<<10)+65536)}}},"1bc78":function(t,e,n){for(var i=n("25ba"),r=n("93ca"),o=n("84e8"),a=n("0b34"),c=n("065d"),s=n("953d"),u=n("839a"),l=u("iterator"),f=u("toStringTag"),p=s.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=r(h),v=0;v<d.length;v++){var g,m=d[v],x=h[m],w=a[m],b=w&&w.prototype;if(b&&(b[l]||c(b,l,p),b[f]||c(b,f,m),s[m]=p,x))for(g in i)b[g]||o(b,g,i[g],!0)}},"21bb":function(t,e,n){"use strict";n("68aa")},"43ec":function(t,e,n){"use strict";var i=n("1663")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"68aa":function(t,e,n){},"6bf8":function(t,e,n){"use strict";var i=n("a86f");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"804d":function(t,e,n){var i=n("9cff"),r=n("cea2"),o=n("839a")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},bb51:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-container",[i("el-header",[i("div",{staticClass:"header"},[i("img",{staticClass:"logo",attrs:{src:n("cf05"),alt:""}}),i("div",{staticClass:"siteTitle"},[t._v("中科院期刊微信公众号集中管理平台")])]),i("div",{staticClass:"nav"},[t._l(t.inDate,(function(e,n){return i("router-link",{key:n,class:e.act?"active":"",attrs:{to:e.to},nativeOn:{click:function(e){return t.active(n)}}},[t._v("\n\t\t\t\t"+t._s(e.name)+"\n\t\t\t")])})),i("div",{staticClass:"setting"},[i("i",{staticClass:"el-icon-message-solid"}),i("el-dropdown",[i("span",{staticClass:"el-dropdown-link"},[t._v("\n\t\t\t\t\t\t"+t._s(t.info.name)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",[t._v("修改密码")])],1)],1),i("span",{staticClass:"logout",on:{click:t.logout}},[t._v("退出登陆")])],1)],2)]),i("el-container",{staticClass:"main"},[i("el-aside",{staticClass:"left-aside",attrs:{width:"210px"}},[i("el-menu",{staticClass:"left-menue",attrs:{"background-color":"#ffffff","text-color":"#666666","unique-opened":!1,"default-active":"/"+t.$route.path.split("/")[1]+"/"+t.$route.path.split("/")[2],router:"","active-text-color":"#3895FE"}},[t._l(t.$router.options.routes,(function(e,n){return[e.show&&e.isLeaf?i("el-menu-item",{key:n,attrs:{index:e.path}},[i("i",{class:e.icon}),i("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.name))])]):t._e()]}))],2)],1),i("el-container",[i("el-main",[i("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isShow?i("router-view",{attrs:{info:t.info,community:t.community}}):t._e()],1)],1)],1)],1)],1)},r=[],o=(n("1bc78"),n("fc02"),{name:"home",watch:{$route:function(t,e){var n=t.path.split("/")[1];this.$router.options.routes.forEach((function(t,e){-1==t.path.indexOf(n)?t.show=0:t.show=1}))}},data:function(){return{inDate:"",checkedCompany:"",menuList:[],path:"",info:{},community_list:[],community:{},menu:[],now:(new Date).toLocaleDateString()+" "+(new Date).toLocaleTimeString(),isShow:!0}},methods:{getDate:function(){this.now=(new Date).toLocaleDateString()+" "+(new Date).toLocaleTimeString()},logout:function(){var t=this;this.$api.logout().then((function(e){t.$router.push({path:"/"})}))},getData:function(){var t=this;this.$api.getAccountInfo().then((function(e){e.code||(t.info=e.data.data)}))},active:function(t){var e=this;e.inDate.forEach((function(e,n,i){if(t!=n)return e.act=!1;e.act=!0}))},initNav:function(){var t=[{act:!1,to:"/message/message",name:"信息管理"}],e=this.$route.path.split("/")[1];this.$router.options.routes.forEach((function(t,n){-1==t.path.indexOf(e)?t.show=0:t.show=1})),t.forEach((function(t){if(e==t.to.split("/")[1])return t.act=!0;t.act=!1})),this.inDate=t}},created:function(){this.initNav(),this.getData()}}),a=o,c=(n("21bb"),n("5d22")),s=Object(c["a"])(a,i,r,!1,null,null,null);e["default"]=s.exports},bf73:function(t,e,n){"use strict";var i=n("0353");n("e99b")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},c46f:function(t,e,n){"use strict";n("bf73");var i=n("84e8"),r=n("065d"),o=n("0926"),a=n("3ab0"),c=n("839a"),s=n("0353"),u=c("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),h=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=h?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[p](""),!e})):void 0;if(!h||!d||"replace"===t&&!l||"split"===t&&!f){var v=/./[p],g=n(a,p,""[t],(function(t,e,n,i,r){return e.exec===s?h&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),m=g[0],x=g[1];i(String.prototype,t,m),r(RegExp.prototype,p,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}}},cf05:function(t,e,n){t.exports=n.p+"img/logo.56ae0f9e.png"},f417:function(t,e,n){"use strict";var i=n("d445"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},fc02:function(t,e,n){"use strict";var i=n("804d"),r=n("a86f"),o=n("1b0b"),a=n("43ec"),c=n("201c"),s=n("f417"),u=n("0353"),l=n("0926"),f=Math.min,p=[].push,h="split",d="length",v="lastIndex",g=4294967295,m=!l((function(){RegExp(g,"y")}));n("c46f")("split",2,(function(t,e,n,l){var x;return x="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[d]||2!="ab"[h](/(?:ab)*/)[d]||4!="."[h](/(.?)(.?)/)[d]||"."[h](/()()/)[d]>1||""[h](/.?/)[d]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);var o,a,c,s=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?g:e>>>0,m=new RegExp(t.source,l+"g");while(o=u.call(m,r)){if(a=m[v],a>f&&(s.push(r.slice(f,o.index)),o[d]>1&&o.index<r[d]&&p.apply(s,o.slice(1)),c=o[0][d],f=a,s[d]>=h))break;m[v]===o.index&&m[v]++}return f===r[d]?!c&&m.test("")||s.push(""):s.push(r.slice(f)),s[d]>h?s.slice(0,h):s}:"0"[h](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,i){var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r,i):x.call(String(r),n,i)},function(t,e){var i=l(x,t,this,e,x!==n);if(i.done)return i.value;var u=r(t),p=String(this),h=o(u,RegExp),d=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(m?"y":"g"),w=new h(m?u:"^(?:"+u.source+")",v),b=void 0===e?g:e>>>0;if(0===b)return[];if(0===p.length)return null===s(w,p)?[p]:[];var L=0,S=0,y=[];while(S<p.length){w.lastIndex=m?S:0;var C,E=s(w,m?p:p.slice(S));if(null===E||(C=f(c(w.lastIndex+(m?0:S)),p.length))===L)S=a(p,S,d);else{if(y.push(p.slice(L,S)),y.length===b)return y;for(var T=1;T<=E.length-1;T++)if(y.push(E[T]),y.length===b)return y;S=L=C}}return y.push(p.slice(L)),y}]}))}}]);
  2. //# sourceMappingURL=chunk-2fd5d6d8.ee77f018.js.map