12 |
- (function(n){function e(e){for(var a,c,u=e[0],i=e[1],s=e[2],l=0,d=[];l<u.length;l++)c=u[l],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&d.push(o[c][0]),o[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a]);h&&h(e);while(d.length)d.shift()();return r.push.apply(r,s||[]),t()}function t(){for(var n,e=0;e<r.length;e++){for(var t=r[e],a=!0,c=1;c<t.length;c++){var u=t[c];0!==o[u]&&(a=!1)}a&&(r.splice(e--,1),n=i(i.s=t[0]))}return n}var a={},c={app:0},o={app:0},r=[];function u(n){return i.p+"js/"+({}[n]||n)+"."+{"chunk-03b9d101":"7aa10911","chunk-0f4c0854":"617631cf","chunk-2d0c53c6":"4acc03d1","chunk-2d212f29":"5683ad3c","chunk-36bc26c5":"66e6e634","chunk-3c3b8f3c":"26a52d45","chunk-427d2515":"29125335","chunk-5efa3254":"2cb54c93","chunk-66699a5e":"b459061a","chunk-690981ae":"3e7073d6","chunk-6ad5e9ad":"d8fffd11","chunk-7824ac93":"27104f79","chunk-c14b8c90":"babc8701"}[n]+".js"}function i(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(n){var e=[],t={"chunk-03b9d101":1,"chunk-0f4c0854":1,"chunk-36bc26c5":1,"chunk-3c3b8f3c":1,"chunk-427d2515":1,"chunk-5efa3254":1,"chunk-66699a5e":1,"chunk-690981ae":1,"chunk-6ad5e9ad":1,"chunk-7824ac93":1,"chunk-c14b8c90":1};c[n]?e.push(c[n]):0!==c[n]&&t[n]&&e.push(c[n]=new Promise((function(e,t){for(var a="css/"+({}[n]||n)+"."+{"chunk-03b9d101":"928f4c18","chunk-0f4c0854":"c9e714fe","chunk-2d0c53c6":"31d6cfe0","chunk-2d212f29":"31d6cfe0","chunk-36bc26c5":"408a754e","chunk-3c3b8f3c":"1043c743","chunk-427d2515":"7b41d4d6","chunk-5efa3254":"04de889e","chunk-66699a5e":"c9e714fe","chunk-690981ae":"7b41d4d6","chunk-6ad5e9ad":"7c489dc8","chunk-7824ac93":"7b41d4d6","chunk-c14b8c90":"3592c4af"}[n]+".css",o=i.p+a,r=document.getElementsByTagName("link"),u=0;u<r.length;u++){var s=r[u],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return e()}var d=document.getElementsByTagName("style");for(u=0;u<d.length;u++){s=d[u],l=s.getAttribute("data-href");if(l===a||l===o)return e()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=e,h.onerror=function(e){var a=e&&e.target&&e.target.src||o,r=new Error("Loading CSS chunk "+n+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete c[n],h.parentNode.removeChild(h),t(r)},h.href=o;var f=document.getElementsByTagName("head")[0];f.appendChild(h)})).then((function(){c[n]=0})));var a=o[n];if(0!==a)if(a)e.push(a[2]);else{var r=new Promise((function(e,t){a=o[n]=[e,t]}));e.push(a[2]=r);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=u(n);var d=new Error;s=function(e){l.onerror=l.onload=null,clearTimeout(h);var t=o[n];if(0!==t){if(t){var a=e&&("load"===e.type?"missing":e.type),c=e&&e.target&&e.target.src;d.message="Loading chunk "+n+" failed.\n("+a+": "+c+")",d.name="ChunkLoadError",d.type=a,d.request=c,t[1](d)}o[n]=void 0}};var h=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(e)},i.m=n,i.c=a,i.d=function(n,e,t){i.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},i.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,e){if(1&e&&(n=i(n)),8&e)return n;if(4&e&&"object"===typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var a in n)i.d(t,a,function(e){return n[e]}.bind(null,a));return t},i.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return i.d(e,"a",e),e},i.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},i.p="/",i.oe=function(n){throw console.error(n),n};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var d=0;d<s.length;d++)e(s[d]);var h=l;r.push([0,"chunk-vendors"]),t()})({0:function(n,e,t){n.exports=t("56d7")},"56d7":function(n,e,t){"use strict";t.r(e);t("25ba"),t("5f1c"),t("6ba0"),t("b47f");var a=t("a593"),c=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},o=[],r={},u=r,i=t("5d22"),s=Object(i["a"])(u,c,o,!1,null,null,null),l=s.exports,d=t("a81e");a["default"].use(d["a"]);var h=new d["a"]({routes:[{path:"/",name:"login",component:function(){return t.e("chunk-3c3b8f3c").then(t.bind(null,"a55b"))},show:0},{path:"/index/index",name:"首页",icon:"el-icon-s-home",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:1,isLeaf:1,children:[{path:"/index/index",component:function(){return t.e("chunk-c14b8c90").then(t.bind(null,"d504"))},name:"首页"}]},{path:"/message/message",name:"消息管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/message/message",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"消息管理"}]},{path:"/journal/journal",name:"中科院全刊",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/journal/journal",component:function(){return t.e("chunk-66699a5e").then(t.bind(null,"5d5f"))},name:"中科院全刊"}]},{path:"/journal/organizer",name:"主办单位",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/journal/organizer",component:function(){return t.e("chunk-2d0c53c6").then(t.bind(null,"3ddc"))},name:"主办单位"}]},{path:"/journal/subject",name:"学科",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/journal/subject",component:function(){return t.e("chunk-2d212f29").then(t.bind(null,"ab1c"))},name:"学科"}]},{path:"/learning/activity",name:"活动管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/learning/activity",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"活动管理"}]},{path:"/article/article",name:"文章管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/article/article",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"文章管理"}]},{path:"/conference/conference",name:"会议管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/conference/conference",component:function(){return t.e("chunk-690981ae").then(t.bind(null,"34bf"))},name:"会议管理"},{path:"/conference/conference/add",component:function(){return t.e("chunk-6ad5e9ad").then(t.bind(null,"1d7f"))},name:"新增会议"}]},{path:"/conference/signup",name:"报名管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/conference/signup",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"报名管理"}]},{path:"/conference/checker",name:"核销员管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/conference/checker",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"核销员管理"}]},{path:"/conference/hotel",name:"酒店管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/conference/hotel",component:function(){return t.e("chunk-0f4c0854").then(t.bind(null,"0944"))},name:"酒店管理"}]},{path:"/message/template",name:"问卷模板",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/message/template",component:function(){return t.e("chunk-427d2515").then(t.bind(null,"7685"))},name:"问卷模板"},{path:"/message/template/add",component:function(){return t.e("chunk-36bc26c5").then(t.bind(null,"c032"))},name:"新增表单"}]},{path:"/system/account",name:"账号管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/system/account",component:function(){return t.e("chunk-5efa3254").then(t.bind(null,"18c2"))},name:"消息管理"}]},{path:"/system/role",name:"角色管理",icon:"el-icon-chat-dot-square",component:function(){return t.e("chunk-03b9d101").then(t.bind(null,"bb51"))},show:0,isLeaf:1,children:[{path:"/system/role",component:function(){return t.e("chunk-7824ac93").then(t.bind(null,"10e1"))},name:"角色管理"}]}]}),f=t("cf6b"),p=t("f753"),m=t.n(p);a["default"].use(f["a"]);var b={state:{inDate:""},mutations:{setInDate:function(n,e){n.inDate=e}},getters:{}},g=new f["a"].Store(b),k=t("e1fd"),v=t.n(k),w=(t("f56d"),t("02ac"),"");m.a.interceptors.request.use((function(n){var e=localStorage.getItem("token");return e?n.headers.Authorization="".concat(e):window.location.hash="/login",n}),(function(n){return Promise.reject(n)})),m.a.interceptors.response.use((function(n){if(null==n.data&&"json"===n.config.responseType&&null!=n.request.responseText)try{n.data=JSON.parse(n.request.responseText)}catch(e){}return 401==n.data.code&&(window.location.hash="/login"),305==n.data.code&&(window.location.hash="/"),n}),(function(n){return 403==n.request.status&&(window.location.hash="/login"),Promise.reject(n)}));var y={login:function(n){return m.a.post("".concat(w,"/api/account/login"),n)},logout:function(n){return m.a.post("".concat(w,"/api/account/logout"),n)},getAccountInfo:function(n){return m.a.get("".concat(w,"/api/account/info"))},getCode:function(n){return m.a.get("".concat(w,"/api/account/imgcode"))},getUserList:function(n){return m.a.get("".concat(w,"/api/admin/user/list"),{params:n})},getAllSysUserList:function(n){return m.a.get("".concat(w,"/api/admin/user/all"),{params:n})},getUserJournals:function(){return m.a.get("".concat(w,"/api/admin/user/journals"))},getUserRoles:function(){return m.a.get("".concat(w,"/api/admin/user/roles"))},addUser:function(n){return m.a.post("".concat(w,"/api/admin/user"),n)},editUser:function(n){return m.a.put("".concat(w,"/api/admin/user"),n)},delUser:function(n){return m.a.delete("".concat(w,"/api/admin/user"),{params:n})},getUserPermissions:function(){return m.a.get("".concat(w,"/api/admin/user/permissions"))},addTemplate:function(n){return m.a.post("".concat(w,"/api/admin/message/template"),n)},editTemplate:function(n){return m.a.put("".concat(w,"/api/admin/message/template"),n)},delTemplate:function(n){return m.a.delete("".concat(w,"/api/admin/message/template"),{params:n})},getTemplate:function(n){return m.a.get("".concat(w,"/api/admin/message/template"),{params:n})},getTemplateList:function(n){return m.a.get("".concat(w,"/api/admin/message/template/list"),{params:n})},getAllTemplateList:function(n){return m.a.get("".concat(w,"/api/admin/message/template/all"),{params:n})},addRole:function(n){return m.a.post("".concat(w,"/api/admin/role"),n)},editRole:function(n){return m.a.put("".concat(w,"/api/admin/role"),n)},delRole:function(n){return m.a.delete("".concat(w,"/api/admin/role"),{params:n})},getRoleList:function(n){return m.a.get("".concat(w,"/api/admin/role/list"),{params:n})},getRoleInfo:function(n){return m.a.get("".concat(w,"/api/admin/role"),{params:n})},addMessage:function(n){return m.a.post("".concat(w,"/api/admin/message"),n)},editMessage:function(n){return m.a.put("".concat(w,"/api/admin/message"),n)},getMessageList:function(n){return m.a.get("".concat(w,"/api/admin/message/list"),{params:n})},getMessageInfo:function(n){return m.a.get("".concat(w,"/api/admin/message"),{params:n})},delMessageInfo:function(n){return m.a.delete("".concat(w,"/api/admin/message"),{params:n})}};t("8d33");a["default"].use(v.a),a["default"].prototype.$api=y,a["default"].config.productionTip=!1,new a["default"]({router:h,store:g,render:function(n){return n(l)}}).$mount("#app")}});
- //# sourceMappingURL=app.6450dd23.js.map
|