app.158199bc.js 15 KB

12
  1. (function(n){function e(e){for(var a,c,r=e[0],i=e[1],d=e[2],p=0,s=[];p<r.length;p++)c=r[p],Object.prototype.hasOwnProperty.call(u,c)&&u[c]&&s.push(u[c][0]),u[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a]);f&&f(e);while(s.length)s.shift()();return o.push.apply(o,d||[]),t()}function t(){for(var n,e=0;e<o.length;e++){for(var t=o[e],a=!0,c=1;c<t.length;c++){var r=t[c];0!==u[r]&&(a=!1)}a&&(o.splice(e--,1),n=i(i.s=t[0]))}return n}var a={},c={app:0},u={app:0},o=[];function r(n){return i.p+"js/"+({}[n]||n)+"."+{"chunk-0573e67a":"001b8611","chunk-06907aa6":"8420110a","chunk-0c30ecd0":"4dce051d","chunk-0d10c6b6":"ecbb7997","chunk-11fd501a":"023eb565","chunk-1b7ac67e":"4423ee00","chunk-209da8fc":"6977ddd0","chunk-20d976c6":"b2fe56ff","chunk-21e0730a":"9dbab1a5","chunk-2fd0a8dc":"7ac2c1b4","chunk-2fdb5eed":"67172282","chunk-3048c4c6":"0ee6c784","chunk-30b93cbf":"bf164d9b","chunk-440ece21":"e8ad0ab8","chunk-53cbba8f":"f2e40289","chunk-677a0b8c":"4198b6ac","chunk-7081165e":"d61110e3","chunk-76704885":"1e5016f9","chunk-78405549":"68efdbe2","chunk-7916d209":"14b9bf48","chunk-856cbb86":"5bc4441b","chunk-ae8d9124":"6c6e1371","chunk-b9fc2d1c":"f852cf0b","chunk-c5a54b38":"3ae863f7","chunk-f1c0a4f0":"71a0a36b","chunk-f83de5c4":"77a1dcea"}[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-0573e67a":1,"chunk-06907aa6":1,"chunk-0c30ecd0":1,"chunk-0d10c6b6":1,"chunk-11fd501a":1,"chunk-1b7ac67e":1,"chunk-209da8fc":1,"chunk-20d976c6":1,"chunk-21e0730a":1,"chunk-2fd0a8dc":1,"chunk-2fdb5eed":1,"chunk-3048c4c6":1,"chunk-30b93cbf":1,"chunk-440ece21":1,"chunk-53cbba8f":1,"chunk-677a0b8c":1,"chunk-7081165e":1,"chunk-76704885":1,"chunk-78405549":1,"chunk-7916d209":1,"chunk-856cbb86":1,"chunk-ae8d9124":1,"chunk-b9fc2d1c":1,"chunk-c5a54b38":1,"chunk-f1c0a4f0":1,"chunk-f83de5c4":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-0573e67a":"e6e1f97a","chunk-06907aa6":"4ff78aad","chunk-0c30ecd0":"8f5ecbe7","chunk-0d10c6b6":"68d12fa2","chunk-11fd501a":"7fbd7853","chunk-1b7ac67e":"f1e4e0c3","chunk-209da8fc":"fe87b0ac","chunk-20d976c6":"d36474ba","chunk-21e0730a":"cbbe7e12","chunk-2fd0a8dc":"7b7c8b91","chunk-2fdb5eed":"b57f3e67","chunk-3048c4c6":"7b7c8b91","chunk-30b93cbf":"f1e4e0c3","chunk-440ece21":"fef8044f","chunk-53cbba8f":"66bf1fda","chunk-677a0b8c":"6be97faf","chunk-7081165e":"015d8ce4","chunk-76704885":"47c10437","chunk-78405549":"7b7c8b91","chunk-7916d209":"4dda7e88","chunk-856cbb86":"6be97faf","chunk-ae8d9124":"e6e1f97a","chunk-b9fc2d1c":"e6e1f97a","chunk-c5a54b38":"32300ed0","chunk-f1c0a4f0":"4ff78aad","chunk-f83de5c4":"91429ec0"}[n]+".css",u=i.p+a,o=document.getElementsByTagName("link"),r=0;r<o.length;r++){var d=o[r],p=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(p===a||p===u))return e()}var s=document.getElementsByTagName("style");for(r=0;r<s.length;r++){d=s[r],p=d.getAttribute("data-href");if(p===a||p===u)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var a=e&&e.target&&e.target.src||u,o=new Error("Loading CSS chunk "+n+" failed.\n("+a+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=a,delete c[n],f.parentNode.removeChild(f),t(o)},f.href=u;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){c[n]=0})));var a=u[n];if(0!==a)if(a)e.push(a[2]);else{var o=new Promise((function(e,t){a=u[n]=[e,t]}));e.push(a[2]=o);var d,p=document.createElement("script");p.charset="utf-8",p.timeout=120,i.nc&&p.setAttribute("nonce",i.nc),p.src=r(n);var s=new Error;d=function(e){p.onerror=p.onload=null,clearTimeout(f);var t=u[n];if(0!==t){if(t){var a=e&&("load"===e.type?"missing":e.type),c=e&&e.target&&e.target.src;s.message="Loading chunk "+n+" failed.\n("+a+": "+c+")",s.name="ChunkLoadError",s.type=a,s.request=c,t[1](s)}u[n]=void 0}};var f=setTimeout((function(){d({type:"timeout",target:p})}),12e4);p.onerror=p.onload=d,document.head.appendChild(p)}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 d=window["webpackJsonp"]=window["webpackJsonp"]||[],p=d.push.bind(d);d.push=e,d=d.slice();for(var s=0;s<d.length;s++)e(d[s]);var f=p;o.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("e44b"),t("6648"),t("5f54"),t("f0e6");var a=t("0261"),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)},u=[],o=t("4023"),r={},i=Object(o["a"])(r,c,u,!1,null,null,null),d=i.exports,p=t("1860");a["default"].use(p["a"]);var s=new p["a"]({routes:[{path:"/login",name:"login",component:function(){return t.e("chunk-209da8fc").then(t.bind(null,"a55b"))},show:0},{path:"/",name:"概览",icon:"el-icon-menu",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:1,children:[{path:"/",component:function(){return t.e("chunk-0c30ecd0").then(t.bind(null,"d504"))},name:"系统首页"}]},{path:"/",name:"项目管理",change:1,icon:"el-icon-document-copy",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/subject",component:function(){return t.e("chunk-f83de5c4").then(t.bind(null,"7b3c"))},name:"培训科目"}]},{path:"/",name:"报名信息",icon:"el-icon-document-checked",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/new/*",component:function(){return t.e("chunk-677a0b8c").then(t.bind(null,"9288"))},name:"新办"},{path:"/update/*",component:function(){return t.e("chunk-856cbb86").then(t.bind(null,"2070"))},name:"复审"},{path:"/change/*",component:function(){return t.e("chunk-53cbba8f").then(t.bind(null,"e4ff"))},name:"换证"},{path:"/sign/detail",hide:1,component:function(){return t.e("chunk-0d10c6b6").then(t.bind(null,"d42a"))},name:"修改"},{path:"/sign/edit",hide:1,component:function(){return t.e("chunk-7916d209").then(t.bind(null,"42b7"))},name:"修改"}]},{path:"/",name:"培训计划",icon:"el-icon-notebook-1",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/classes",component:function(){return t.e("chunk-7081165e").then(t.bind(null,"d29c"))},name:"班级管理"},{path:"/classes/add",hide:1,component:function(){return t.e("chunk-20d976c6").then(t.bind(null,"2501"))},name:"新增班级"}]},{path:"/",name:"在线培训",icon:"el-icon-eleme",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/papers",component:function(){return t.e("chunk-78405549").then(t.bind(null,"6475"))},name:"试卷管理"},{path:"/papers/detail",hide:1,component:function(){return t.e("chunk-76704885").then(t.bind(null,"bdcd"))},name:"试卷详情"},{path:"/videos",component:function(){return t.e("chunk-3048c4c6").then(t.bind(null,"8caf"))},name:"视频管理"},{path:"/videos/add",hide:1,component:function(){return t.e("chunk-1b7ac67e").then(t.bind(null,"4803"))},name:"新增视频"}]},{path:"/",name:"用户管理",icon:"el-icon-user",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/user",component:function(){return t.e("chunk-0573e67a").then(t.bind(null,"dab6"))},name:"用户列表"},{path:"/user/detail",hide:1,component:function(){return t.e("chunk-2fdb5eed").then(t.bind(null,"480c"))},name:"新增用户"}]},{path:"/content",name:"内容管理",icon:"el-icon-document",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/content",component:function(){return t.e("chunk-21e0730a").then(t.bind(null,"392a"))},name:"栏目管理"},{path:"/addContent",hide:1,component:function(){return t.e("chunk-11fd501a").then(t.bind(null,"e371"))},name:"新增栏目"},{path:"/article",component:function(){return t.e("chunk-ae8d9124").then(t.bind(null,"6993"))},name:"文章管理"},{path:"/addArticle",component:function(){return t.e("chunk-c5a54b38").then(t.bind(null,"631e"))},name:"新增文章",hide:1},{path:"/docs",component:function(){return t.e("chunk-2fd0a8dc").then(t.bind(null,"6519"))},name:"资料管理"},{path:"/docs/add",hide:1,component:function(){return t.e("chunk-30b93cbf").then(t.bind(null,"92b7"))},name:"新增资料"}]},{path:"/system",name:"系统管理",icon:"el-icon-setting",component:function(){return t.e("chunk-440ece21").then(t.bind(null,"bb51"))},show:1,isLeaf:0,children:[{path:"/system",component:function(){return t.e("chunk-b9fc2d1c").then(t.bind(null,"5f44"))},name:"账号管理"},{path:"/system/add",hide:1,component:function(){return t.e("chunk-06907aa6").then(t.bind(null,"a26d"))},name:"新增用户"},{path:"/system/addAccount",hide:1,component:function(){return t.e("chunk-f1c0a4f0").then(t.bind(null,"a6c7"))},name:"新增账户"}]}]}),f=t("ae8c");a["default"].use(f["a"]);var h=new f["a"].Store({state:{},mutations:{},actions:{}}),l=t("b705"),m=t.n(l),b=(t("3880"),t("02ac"),t("f753")),k=t.n(b),g="";k.a.interceptors.request.use((function(n){return n}),(function(n){return Promise.reject(n)})),k.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 v={login:function(n){return k.a.post("".concat(g,"/api/account/login"),n)},logout:function(n){return k.a.post("".concat(g,"/api/account/logout"),n)},getInfo:function(n){return k.a.get("".concat(g,"/api/account/info"))},uploadFile:function(n){return k.a.post("".concat(g,"/api/admin/uploadfile"),n)},getCode:function(n){return k.a.get("".concat(g,"/api/account/imgcode"))},getSubList:function(n){return k.a.get("".concat(g,"/api/admin/subject/list"),{params:n})},saveSub:function(n){return k.a.post("".concat(g,"/api/admin/subject"),n)},updateSub:function(n){return k.a.put("".concat(g,"/api/admin/subject"),n)},deleteSub:function(n){return k.a.delete("".concat(g,"/api/admin/subject"),{params:n})},getSignList:function(n){return k.a.get("".concat(g,"/api/admin/signup/list"),{params:n})},getSign:function(n){return k.a.get("".concat(g,"/api/admin/signup"),{params:n})},rotateImg:function(n){return k.a.post("".concat(g,"/api/admin/img/rotate"),n)},updateSign:function(n){return k.a.put("".concat(g,"/api/admin/signup"),n)},updateSignStu:function(n){return k.a.put("".concat(g,"/api/admin/signup/upstate"),n)},deleteSign:function(n){return k.a.delete("".concat(g,"/api/admin/signup"),{params:n})},downloadzip:function(n){return k.a.get("".concat(g,"/api/admin/signup/downloadzip"),{params:n,responseType:"blob"})},getClass:function(n){return k.a.get("".concat(g,"/api/admin/class/list"),{params:n})},downloadClassUser:function(n){return k.a.get("".concat(g,"/api/admin/class/downloadstu"),{params:n,responseType:"blob"})},getaClass:function(n){return k.a.get("".concat(g,"/api/admin/class"),{params:n})},saveClass:function(n){return k.a.post("".concat(g,"/api/admin/class"),n)},putClass:function(n){return k.a.put("".concat(g,"/api/admin/class"),n)},deleteClass:function(n){return k.a.delete("".concat(g,"/api/admin/class"),{params:n})},getUserList:function(n){return k.a.get("".concat(g,"/api/admin/user/list"),{params:n})},getUser:function(n){return k.a.get("".concat(g,"/api/admin/user"),{params:n})},getPaperList:function(n){return k.a.get("".concat(g,"/api/admin/paper/list"),{params:n})},deletePaper:function(n){return k.a.delete("".concat(g,"/api/admin/paper"),{params:n})},getPaper:function(n){return k.a.get("".concat(g,"/api/admin/paper"),{params:n})},uploadPaper:function(n){return k.a.post("".concat(g,"/api/admin/paper/upload"),n)},getPerList:function(n){return k.a.get("".concat(g,"/api/admin/permission/list"),{params:n})},getVideoList:function(n){return k.a.get("".concat(g,"/api/admin/video/list"),{params:n})},getVideo:function(n){return k.a.get("".concat(g,"/api/admin/video"),{params:n})},saveVideo:function(n){return k.a.post("".concat(g,"/api/admin/video"),n)},putVideo:function(n){return k.a.put("".concat(g,"/api/admin/video"),n)},deleteVideo:function(n){return k.a.delete("".concat(g,"/api/admin/video"),{params:n})},getDocsList:function(n){return k.a.get("".concat(g,"/api/admin/docs/list"),{params:n})},getDocs:function(n){return k.a.get("".concat(g,"/api/admin/docs"),{params:n})},saveDocs:function(n){return k.a.post("".concat(g,"/api/admin/docs"),n)},putDocs:function(n){return k.a.put("".concat(g,"/api/admin/docs"),n)},deleteDocs:function(n){return k.a.delete("".concat(g,"/api/admin/docs"),{params:n})},getContentList:function(n){return k.a.get("".concat(g,"/api/admin/category/list"),{params:n})},addContent:function(n){return k.a.post("".concat(g,"/api/admin/category"),n)},editContent:function(n){return k.a.put("".concat(g,"/api/admin/category"),n)},delContent:function(n){return k.a.delete("".concat(g,"/api/admin/category"),{params:n})},getContentById:function(n){return k.a.get("".concat(g,"/api/admin/category"),{params:n})},getArticleList:function(n){return k.a.get("".concat(g,"/api/admin/article/list"),{params:n})},getArticleById:function(n){return k.a.get("".concat(g,"/api/admin/article"),{params:n})},addArticle:function(n){return k.a.post("".concat(g,"/api/admin/article"),n)},editArticle:function(n){return k.a.put("".concat(g,"/api/admin/article"),n)},delArticle:function(n){return k.a.delete("".concat(g,"/api/admin/article"),{params:n})},getAccountList:function(n){return k.a.get("".concat(g,"/api/admin/account/list"),{params:n})},getAccountById:function(n){return k.a.get("".concat(g,"/api/admin/account"),{params:n})},addAccount:function(n){return k.a.post("".concat(g,"/api/admin/account"),n)},editAccount:function(n){return k.a.put("".concat(g,"/api/admin/account"),n)},delAccount:function(n){return k.a.delete("".concat(g,"/api/admin/account"),{params:n})}},y=t("4878"),w=t.n(y);a["default"].use(w.a,{ak:"1hqg34NFaCw9jcv0xG82cI7uINFaXGGM"}),a["default"].use(m.a),a["default"].prototype.$api=v,a["default"].config.productionTip=!1,new a["default"]({router:s,store:h,render:function(n){return n(d)}}).$mount("#app")}});
  2. //# sourceMappingURL=app.158199bc.js.map