{"version":3,"sources":["webpack:///./src/App.vue?a656","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/assets/js/axios.js","webpack:///./src/main.js"],"names":["selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","staticRenderFns","src_App","__webpack_require__","normalizeComponent","name","ssrContext","Vue","use","Router","routerPush","prototype","push","location","call","catch","error","router","routes","path","redirect","component","Promise","all","e","then","bind","meta","title","children","axios","Axios","create","interceptors","request","config","url","process","ElementUI","VueQuillEditor","$axios","defaults","timeout","$qs","qs","productionTip","el","components","App","template","beforeEach","to","from","next","key","localStorage","getItem","document","permission"],"mappings":"gVAGeA,kCADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,oBAE5GI,qBCEjB,IAuBeC,EAvBUC,EAAQ,OAcjCC,ECVAC,KAAA,ODYEb,GATF,EAXA,SAAAc,GACEH,EAAQ,QACRA,EAAQ,SAaV,KAEA,MAUgC,oBExBhCI,UAAIC,IAAIC,KAKR,IAAMC,EAAaD,IAAOE,UAAUC,KACpCH,IAAOE,UAAUC,KAAO,SAAcC,GACpC,OAAOH,EAAWI,KAAKnB,KAAMkB,GAAUE,MAAM,SAAAC,GAAA,OAASA,KAGzC,IAAAC,EAAA,IAAIR,KACjBS,SAEIC,KAAM,IACNC,SAAU,WAGVD,KAAM,UACNE,UAAW,kBAAMC,QAAAC,KAAApB,EAAAqB,EAAA,GAAArB,EAAAqB,EAAA,KAAAC,KAAAtB,EAAAuB,KAAA,eACjBC,MAAQC,MAAO,MACfC,WAEIV,KAAM,SACNE,UAAW,kBAAMC,QAAAC,KAAApB,EAAAqB,EAAA,GAAArB,EAAAqB,EAAA,MAAAC,KAAAtB,EAAAuB,KAAA,eACjBC,MAAQC,MAAO,QAGfT,KAAM,SACNE,UAAW,kBAAMlB,EAAA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95e3fd9d372ce.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-b6a041c8\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b6a041c8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-b6a041c8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=1!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b6a041c8\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from \"vue\";\nimport Router from \"vue-router\";\n\nVue.use(Router);\n\n/**\n * 重写路由的push方法\n */\nconst routerPush = Router.prototype.push;\nRouter.prototype.push = function push(location) {\n return routerPush.call(this, location).catch(error => error);\n};\n\nexport default new Router({\n routes: [\n {\n path: \"/\",\n redirect: \"/index\"\n },\n {\n path: \"/client\",\n component: () => import(\"../components/common/ClientHome.vue\"),\n meta: { title: \"学堂\" },\n children: [\n {\n path: \"/index\",\n component: () => import(\"../components/page/Index.vue\"),\n meta: { title: \"首页\" }\n },\n {\n path: \"/intro\",\n component: () => import(\"../components/page/Intro.vue\"),\n meta: { title: \"简介\" }\n },\n {\n path: \"/products\",\n component: () => import(\"../components/page/Products.vue\"),\n meta: { title: \"智慧公检法 智慧人大 公安民警教育训练\" }\n },\n {\n path: \"/productinfo\",\n component: () => import(\"../components/page/ProductInfo.vue\"),\n meta: { title: \"产品详情\" }\n },\n {\n path: \"/solutioninfo\",\n component: () => import(\"../components/page/SolutionInfo.vue\"),\n meta: { title: \"公检法云学院 人大云学院 民警实训系统\" }\n },\n {\n path: \"/cases\",\n component: () => import(\"../components/page/Cases.vue\"),\n meta: { title: \"公检法智慧教育 人大智慧教育 民警在职培训\" }\n },\n {\n path: \"/caseinfo\",\n component: () => import(\"../components/page/CaseInfo.vue\"),\n meta: { title: \"案例详情\" }\n },\n {\n path: \"/news\",\n component: () => import(\"../components/page/News.vue\"),\n meta: { title: \"智慧警务 智慧实训 数字警体馆 公安警务实训平台\" }\n },\n {\n path: \"/newsinfo\",\n component: () => import(\"../components/page/NewsInfo.vue\"),\n meta: { title: \"学堂动态详情\" }\n },\n {\n path: \"/companyinfo\",\n component: () => import(\"../components/page/CompanyInfo.vue\"),\n meta: { title: \"智慧慕课MOOC 智慧教育 智慧培训\" }\n },\n {\n path: \"/firmculture\",\n component: () => import(\"../components/page/FirmCulture.vue\"),\n meta: { title: \"企业文化\" }\n },\n {\n path: \"/other\",\n redirect: \"/talentrecruitment\",\n component: () => import(\"../components/other/Index.vue\"),\n children: [\n {\n path: \"/talentrecruitment\",\n component: () =>\n import(\"../components/other/TalentRecruitment.vue\"),\n meta: { title: \"人才招聘\" }\n },\n {\n path: \"/teambuilding\",\n component: () =>\n import(\"../components/other/TeamBuilding.vue\"),\n meta: { title: \"团队建设\" }\n },\n {\n path: \"/remuneration\",\n component: () =>\n import(\"../components/other/Remuneration.vue\"),\n meta: { title: \"团队建设\" }\n }\n ]\n }\n ]\n },\n {\n path: \"/manage\",\n component: () => import(\"../components/common/ManagementHome.vue\"),\n meta: { title: \"后台管理\" },\n redirect: \"/carouselmanage\",\n children: [\n {\n path: \"/carouselmanage\",\n component: () => import(\"../components/page/CarouselManage.vue\"),\n meta: { title: \"轮播管理\" }\n },\n {\n path: \"/newsmanage\",\n component: () => import(\"../components/page/NewsManage.vue\"),\n meta: { title: \"动态管理\" }\n },\n {\n path: \"/contactwaymanage\",\n component: () => import(\"../components/page/ContactWayManage.vue\"),\n meta: { title: \"联系方式\" }\n },\n {\n path: \"/bigsthrecordmanage\",\n component: () => import(\"../components/page/BigSthRecordManage.vue\"),\n meta: { title: \"大事记\" }\n },\n {\n path: \"/partnermanage\",\n component: () => import(\"../components/page/PartnerManage.vue\"),\n meta: { title: \"合作伙伴\" }\n },\n {\n path: \"/invitemanage\",\n component: () => import(\"../components/page/InviteManage.vue\"),\n meta: { title: \"招聘管理\" }\n }\n ]\n },\n {\n path: \"/login\",\n component: () => import(\"../components/common/Login.vue\"),\n meta: { title: \"登陆\" }\n }\n ]\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Axios from 'axios';\r\n\r\nvar root = process.env.API_ROOT;\r\nconst axios = Axios.create();\r\n// 请求拦截\r\naxios.interceptors.request.use((config) => {\r\n // 请求拦截之情重新拼装url\r\n config.url = root + config.url;\r\n // config.url = config.url;\r\n return config;\r\n})\r\n\r\nexport default axios;\n\n\n// WEBPACK FOOTER //\n// ./src/assets/js/axios.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from \"vue\";\nimport ElementUI from \"element-ui\";\nimport \"element-ui/lib/theme-chalk/index.css\";\nimport VueQuillEditor from \"vue-quill-editor\";\n// import 'quill/dist/quill.snow.css'\nimport \"quill/dist/quill.core.css\";\nimport \"quill/dist/quill.snow.css\";\nimport \"quill/dist/quill.bubble.css\";\nimport App from \"./App\";\nimport router from \"./router\";\n// import axios from 'axios';\nimport axios from \"./assets/js/axios\";\nimport qs from \"qs\";\nimport \"babel-polyfill\";\nimport './assets/icon/iconfont.css';\n\nVue.use(ElementUI);\nVue.use(VueQuillEditor);\n// Vue.use(VueImageExtendModule)\n\nVue.prototype.$axios = axios;\n// axios.defaults.baseURL = '/xuetang'\naxios.defaults.timeout = 10000;\nVue.prototype.$qs = qs;\n\nVue.config.productionTip = false;\n\n/* eslint-disable no-new */\nnew Vue({\n el: \"#app\",\n router,\n components: {\n App\n },\n template: \"\"\n});\n\n//使用钩子函数对路由进行权限跳转\nrouter.beforeEach((to, from, next) => {\n var key = localStorage.getItem(\"pro_name\");\n if(to.meta.title==\"智慧公检法 智慧人大 公安民警教育训练\")\n {\n document.title = `${to.meta.title}`;\n }\n else if(to.meta.title==\"首页\"){\n //document.title = `${to.meta.title}`;\n document.title = `深圳市学堂科技有限公司 公安智慧教育、智慧警务`;\n }\n else if(to.meta.title==\"公检法云学院 人大云学院 民警实训系统\"){\n document.title = `${to.meta.title}`;\n }\n else if(to.meta.title==\"公检法智慧教育 人大智慧教育 民警在职培训\"){\n document.title = `${to.meta.title}`;\n }\n else if(to.meta.title==\"智慧警务 智慧实训 数字警体馆 公安警务实训平台\"){\n document.title = `${to.meta.title}`;\n }\n else if(to.meta.title==\"智慧慕课MOOC 智慧教育 智慧培训\"){\n document.title = `${to.meta.title}`;\n }\n else\n {\n document.title = `${key} `;\n }\n const role = localStorage.getItem(\"user_name\");\n if (!role) {\n if (to.path !== \"/login\") {\n if (\n to.path !== \"/\" &&\n to.path !== \"/index\" &&\n to.path !== \"/intro\" &&\n to.path !== \"/products\" &&\n to.path !== \"/productinfo\" &&\n to.path !== \"/solutioninfo\" &&\n to.path !== \"/cases\" &&\n to.path !== \"/caseinfo\" &&\n to.path !== \"/news\" &&\n to.path !== \"/newsinfo\" &&\n to.path !== \"/companyinfo\" &&\n to.path !== \"/firmculture\" &&\n to.path !== \"/talentrecruitment\" &&\n to.path !== \"/teambuilding\" &&\n to.path !== \"/remuneration\"\n ) {\n next(\"/login\");\n } else {\n next();\n }\n } else {\n next();\n }\n } else if (to.meta.permission) {\n // 如果是管理员权限则可进入,这里只是简单的模拟管理员权限而已\n // role === 'admin' ? next() : next('/403');\n } else {\n next();\n }\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}