Commit e76b0c68 by 无尘

add: 增加跳转

parent 73e4bb2a
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.4e174a5ec21a1ec4fb97767ff39418ce.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.44e9b70ba68b534e2ed4.js></script><script type=text/javascript src=./static/js/vendor.43e78de80b046eb17d82.js></script><script type=text/javascript src=./static/js/app.bb834a566e568f70bcfe.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.9c364ca29cd526c47e547c157e146fee.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.86063dd4701036f8aacf.js></script><script type=text/javascript src=./static/js/vendor.a068acdcf4ca2f6a35aa.js></script><script type=text/javascript src=./static/js/app.0cdd3a090ef59227f193.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([41],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("7+uW"),a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var r=n("VU/8")({name:"App",data:function(){return{}}},a,!1,function(e){n("6jtR")},null,null).exports,c=n("/ocq"),i=n("5tgt"),s=n.n(i);o.default.use(c.a);var m=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var d,p=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:s()("login","index")},{path:"/index",name:"index",component:s()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:s()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:s()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:s()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:s()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:s()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:s()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:s()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:s()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:s()("contacts","storeInfo")},{path:"/employee",name:"在职员工",component:s()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:s()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:s()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:s()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:s()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:s()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:s()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:s()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:s()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:s()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:s()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:s()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:s()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:s()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:s()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:s()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:s()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:s()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:s()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:s()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:s()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:s()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:m},{path:"/404",name:"error404",component:m},{path:"/500",name:"error500",component:m},{path:"*",redirect:"/404",hidden:!0}],u=new c.a({routes:p,scrollBehavior:function(){return{y:0}}}),l=n("zL8q"),f=n.n(l),h=n("Rf8U"),v=n.n(h),g=n("mtWM"),y=n.n(g),w=n("bOdI"),C=n.n(w),A=n("NYxO");o.default.use(A.a);var x=new A.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(d={},C()(d,"login",function(e,t){sessionStorage.token=t,e.token=t}),C()(d,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),C()(d,"title",function(e,t){e.title=t}),C()(d,"show",function(e,t){e.show=t}),d)}),I=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),R=n.n(I),k=n("tyqE"),P=n.n(k),S=n("pRVe"),j=n.n(S),T=n("SE7k"),D=n.n(T),F=n("XsK6"),O=n.n(F),z=n("QRL9"),E=n.n(z),G=n("2Pnh"),b=n.n(G),q=n("l9mu"),J=n.n(q),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;b()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,i=592.28/n*o,s=t.toDataURL("image/jpeg",1),m=new J.a("","pt","a4");if(r<a)m.addImage(s,"JPEG",0,0,595.28,i);else for(;r>0;)m.addImage(s,"JPEG",0,c,595.28,i),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};o.default.use(X),o.default.use(O.a),o.default.use(E.a),o.default.use(D.a),o.default.use(j.a),o.default.use(P.a),o.default.use(R.a),o.default.config.productionTip=!1,o.default.use(f.a,{size:"large"}),o.default.use(v.a,y.a),o.default.axios.defaults.withCredentials=!0,u.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new o.default({el:"#app",router:u,store:x,components:{App:r},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,16],"./contacts/addDepartment.vue":["HHRu",0,14],"./contacts/addEmployee.vue":["00Sv",38],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,29],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,7],"./contacts/index.vue":["41Rh",0,25],"./contacts/recordInfo.vue":["67iC",0,24],"./contacts/recordIo.vue":["738z",0,15],"./contacts/shareAddDepartment.vue":["q5Ri",0,13],"./contacts/shareCode.vue":["JsWW",0,27],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,6],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,31],"./contacts/storeIo.vue":["RHxA",0,30],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",26],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,21],"./login/index.vue":["T+/8",0,8],"./reviewCenter/index.vue":["+lem",36],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,39],"./setting/addAdminRole.vue":["fZsz",0,18],"./setting/companyAddress.vue":["SKyE",0,34],"./setting/companyCertify.vue":["3zYh",0,9],"./setting/index.vue":["VlR1",37],"./setting/replaceAdmin.vue":["ys9I",0,35],"./setting/setChildAdmin.vue":["VqB7",0,28],"./setting/staffDetails.vue":["Zyzf",0,22],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.0cdd3a090ef59227f193.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,kICCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,I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,IAASC,KAEjB1E,UAAI0E,MAAMC,SAASC,iBAAkB,EAKrCxD,EAAOyD,WAAW,SAACC,EAAIC,EAAMC,GACZ,KAAXF,EAAGhE,KACLkE,GAAOlE,KAAM,WAEbkE,MAKJ,IAAIhF,WACFiF,GAAI,OACJ7D,SACAX,QACAyE,YAAcC,OACdC,SAAU,iCCrDZ,IAAAC,GACAC,2BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,8BACA,OACA,IAEAC,2BACA,OACA,EACA,IAEAC,sCACA,OACA,EACA,GAEAC,2BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,GAEAC,0BACA,OACA,EACA,GAEAC,wBACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,IAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,GAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA1C,EAAAyC,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA7C,IAAAvG,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAiJ,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAhD,IAEAwC,EAAArI,GAAA,OACAf,EAAAC,QAAAmJ","file":"static/js/app.0cdd3a090ef59227f193.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],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-d8072086\",\"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-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./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-d8072086\\\",\\\"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 = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport _import from './_import.js'\nVue.use(Router);\n\n// const error403 = (r) => {\n// import('views/errorPage/403.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error404 = (r) => {\n// import('views/errorPage/404.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error500 = (r) => {\n// import('views/errorPage/500.vue').then((module) => {\n// r(module)\n// })\n// };\nconst errorPage = (r) => {\n import('views/errorPage/index.vue').then((module) => {\n r(module)\n })\n};\n// 页面刷新时,重新赋值token\nif (window.sessionStorage.getItem('token')) {\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\n}\nexport const constantRouterMap = [\n {\n path: '/',\n name: '/',\n redirect: 'login',\n },\n {\n path: '/login',\n name: '登录',\n component: _import('login','index')\n },\n {\n path: '/index',\n name: 'index',\n component: _import('index','index'),\n },\n {\n path: '/contacts',\n name: '通讯录',\n redirect: 'administrativeFrame',\n component: _import('contacts','index'),\n children: [\n // 通讯录\n {\n path: '/administrativeFrame',\n name: '行政架构',\n component: _import('contacts','administrativeFrame')\n },\n {\n path: \"/employeeIo\",\n name: \"批量导入/导出\",\n component: _import('contacts','employeeIo')\n },\n {\n path: '/addDepartment',\n name: '添加部门',\n component: _import('contacts','addDepartment')\n },\n {\n path: '/addClerk',\n name: '添加店员',\n component: _import('contacts','addClerk')\n },\n {\n path: '/storeFrame',\n name: '门店架构',\n component: _import('contacts','storeFrame')\n },\n {\n path: '/addGroup',\n name: '添加子分组',\n component: _import('contacts','addGroup')\n },\n {\n path: '/storeIo',\n name: '门店导入/导出',\n component: _import('contacts','storeIo')\n },\n {\n path: '/storeInfo',\n name: '编辑门店',\n component: _import('contacts','storeInfo')\n },\n {\n path: '/employee',\n name: '在职员工',\n component: _import('contacts','employee')\n },\n {\n path: '/unemployee',\n name: '离职员工',\n component: _import('contacts','unemployee')\n },\n {\n path: '/fileSet',\n name: '档案设置',\n component: _import('contacts','fileSet')\n },\n {\n path: '/recordInfo',\n name: '编辑员工信息',\n component: _import('contacts','recordInfo')\n },\n {\n path: '/recordIo',\n name: '导入导出员工档案',\n component: _import('contacts','recordIo')\n },\n {\n path: '/shareContact',\n name: '共享通讯录',\n component: _import('contacts','shareContact')\n },\n {\n path: \"/shareCode\",\n name: '共享通讯录二维码',\n component: _import('contacts','shareCode')\n },\n {\n path: \"/employeeRecord\",\n name: '在职员工',\n component: _import('contacts','employeeRecord')\n }\n ]\n },\n {\n // 企业应用\n path: '/enterpriseApp',\n name: '企业应用',\n component: _import('enterpriseApp','index'),\n },\n {\n // 审核中心\n path: '/reviewCenter',\n name: '审核中心',\n redirect: 'unreview',\n component: _import('reviewCenter','index'),\n children: [\n {\n path: '/reviewed',\n name: '已审核',\n component: _import('reviewCenter','reviewed')\n },\n {\n path: '/unreview',\n name: '未审核',\n component: _import('reviewCenter','unreview')\n },\n ]\n },\n {\n // 设置模块\n path: '/setCenter',\n name: '设置',\n redirect: 'companyAddress',\n component: _import('setting','index'),\n children: [\n {\n path: '/companyAddress',\n name: '企业地址',\n component: _import('setting','companyAddress')\n },\n {\n path: '/companyCertify',\n name: '企业认证',\n component: _import('setting','companyCertify')\n },\n {\n path: '/staffDetails',\n name: '员工详情字段',\n component: _import('setting','staffDetails')\n },\n {\n path: '/storePermission',\n name: '门店权限设置',\n component: _import('setting','storePermission')\n },\n {\n path: '/replaceAdmin',\n name: '更换超级管理员',\n component: _import('setting','replaceAdmin')\n },\n {\n path: '/setChildAdmin',\n name: '设置子管理员',\n component: _import('setting','setChildAdmin')\n },\n {\n path: '/addAdmin',\n name: '添加管理员',\n component: _import('setting','addAdmin')\n },\n {\n path: '/addAdminRole',\n name: '添加管理员角色',\n component: _import('setting','addAdminRole')\n }\n ]\n },\n {\n path: '/staffRecordsTemplate',\n name: '员工档案设置',\n component: _import('contacts','staffRecordsTemplate')\n },\n {\n path: '/403',\n name: '无权访问',\n component: errorPage\n },\n {\n path: '/404',\n name: 'error404',\n component: errorPage\n },\n {\n path: '/500',\n name: 'error500',\n component: errorPage\n },\n { path: '*', redirect: '/404', hidden: true },\n];\nexport default new Router({\n // mode:'history',\n routes: constantRouterMap,\n scrollBehavior: () => ({ y: 0 }),\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\nimport * as types from './types'\r\n\r\nVue.use(Vuex);\r\nexport default new Vuex.Store({\r\n state: {\r\n user: {},\r\n token: null,\r\n title: '',\r\n show: false\r\n },\r\n mutations: {\r\n [types.LOGIN]: (state, data) => {\r\n sessionStorage.token = data;\r\n state.token = data;\r\n },\r\n [types.LOGOUT]: (state) => {\r\n sessionStorage.removeItem('token');\r\n state.token = null\r\n },\r\n [types.TITLE]: (state, data) => {\r\n state.title = data;\r\n },\r\n [types.SHOW]: (state,data) => {\r\n state.show = data;\r\n }\r\n }\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t38\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t7\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t25\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t24\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t13\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t30\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t26\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t21\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t8\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t36\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t10\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t11\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t39\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t18\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t9\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t37\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t35\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t28\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t22\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 41"],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([41],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6jtR":function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("//Fk"),a=n.n(o),r=n("7+uW"),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var c=n("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){n("6jtR")},null,null).exports,i=n("/ocq"),d=n("5tgt"),p=n.n(d);r.default.use(i.a);var m=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/login",name:"登录",component:p()("login","index")},{path:"/index",name:"index",component:p()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:p()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:p()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:p()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:p()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:p()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:p()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:p()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:p()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:p()("contacts","storeInfo")},{path:"/employee",name:"在职员工",component:p()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:p()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:p()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:p()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:p()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:p()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:p()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:p()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:p()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:p()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:p()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:p()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:p()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:p()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:p()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:p()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:p()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:p()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:p()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:p()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:p()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:p()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:m},{path:"/404",name:"error404",component:m},{path:"/500",name:"error500",component:m},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),y=n.n(g),w=n("mtWM"),C=n.n(w),A=n("bOdI"),x=n.n(A),I=n("NYxO");r.default.use(I.a);var R=new I.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(u={},x()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),x()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),x()(u,"title",function(e,t){e.title=t}),x()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),j=n("tyqE"),S=n.n(j),F=n("pRVe"),T=n.n(F),D=n("SE7k"),O=n.n(D),q=n("XsK6"),z=n.n(q),E=n("QRL9"),G=n.n(E),b=n("2Pnh"),J=n.n(b),X=n("l9mu"),U=n.n(X),L={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;J()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,s=0,c=592.28/n*o,i=t.toDataURL("image/jpeg",1),d=new U.a("","pt","a4");if(r<a)d.addImage(i,"JPEG",0,0,595.28,c);else for(;r>0;)d.addImage(i,"JPEG",0,s,595.28,c),s-=841.89,(r-=a)>0&&d.addPage();d.save(e+".pdf")})}}};r.default.use(L),r.default.use(z.a),r.default.use(G.a),r.default.use(O.a),r.default.use(T.a),r.default.use(S.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(y.a,C.a),r.default.axios.defaults.withCredentials=!0,r.default.axios.interceptors.request.use(function(e){return e},function(e){return console.log("requesterr"+e),a.a.reject(e)}),r.default.axios.interceptors.response.use(function(e){return console.log("main:",e),200==e.status&&1==e.data.errorCode&&console.log("main:",e),e},function(e){if(console.log(e),e.response)switch(e.response.status){case 401:case 500:h.Message.error("服务器500")}return a.a.reject(e.response.data)}),f.beforeEach(function(e,t,n){"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:c},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,16],"./contacts/addDepartment.vue":["HHRu",0,14],"./contacts/addEmployee.vue":["00Sv",38],"./contacts/addGroup.vue":["mPjx",0,32],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,33],"./contacts/employeeIo.vue":["Rwbg",0,29],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,7],"./contacts/index.vue":["41Rh",0,25],"./contacts/recordInfo.vue":["67iC",0,24],"./contacts/recordIo.vue":["738z",0,15],"./contacts/shareAddDepartment.vue":["q5Ri",0,13],"./contacts/shareCode.vue":["JsWW",0,27],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,6],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,31],"./contacts/storeIo.vue":["RHxA",0,30],"./contacts/unemployee.vue":["TGrv",0,12],"./enterpriseApp/index.vue":["da9f",26],"./errorPage/403.vue":["6XGN",19],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,21],"./login/index.vue":["T+/8",0,8],"./reviewCenter/index.vue":["+lem",36],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,11],"./setting/addAdmin.vue":["rs/A",0,39],"./setting/addAdminRole.vue":["fZsz",0,18],"./setting/companyAddress.vue":["SKyE",0,34],"./setting/companyCertify.vue":["3zYh",0,9],"./setting/index.vue":["VlR1",37],"./setting/replaceAdmin.vue":["ys9I",0,35],"./setting/setChildAdmin.vue":["VqB7",0,28],"./setting/staffDetails.vue":["Zyzf",0,22],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.bb834a566e568f70bcfe.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?1aa4","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","component","_import","redirect","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","interceptors","request","err","console","log","promise_default","a","reject","response","status","errorCode","error","Message","beforeEach","to","from","next","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,uJCCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,EAAY,SAACtB,GACjBC,EAAAsB,EAAA,GAAArB,KAAAD,EAAAuB,KAAA,cAAoCtB,KAAK,SAACN,GACxCI,EAAEJ,MAIF6B,OAAOC,eAAeC,QAAQ,UAChCC,MAAMC,OAAOC,MAAMC,MAAON,OAAOC,eAAeC,QAAQ,UAEnD,MAAMK,IAETC,KAAM,SACNrB,KAAM,KACNsB,UAAWC,IAAQ,QAAQ,WAG3BF,KAAM,SACNrB,KAAM,QACNsB,UAAWC,IAAQ,QAAQ,WAG3BF,KAAM,YACNrB,KAAM,MACNwB,SAAU,sBACVF,UAAWC,IAAQ,WAAW,SAC9BE,WAGIJ,KAAM,uBACNrB,KAAM,OACNsB,UAAWC,IAAQ,WAAW,yBAG9BF,KAAM,cACNrB,KAAM,UACNsB,UAAWC,IAAQ,WAAW,gBAG9BF,KAAM,iBACNrB,KAAM,OACNsB,UAAWC,IAAQ,WAAW,mBAG9BF,KAAM,YACNrB,KAAM,OACNsB,UAAWC,IAAQ,WAAW,cAG9BF,K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cC,OACdC,SAAU,iCC5FZ,IAAAC,GACAC,2BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,8BACA,OACA,IAEAC,2BACA,OACA,EACA,IAEAC,sCACA,OACA,EACA,GAEAC,2BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,GAEAC,0BACA,OACA,EACA,GAEAC,wBACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,IAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,GAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA1C,EAAAyC,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA7C,IAAApH,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAA8J,EAAA,MAFAC,QAAAzD,OAAA,IAAA4D,MAAA,uBAAAL,EAAA,OAKAD,EAAAO,KAAA,WACA,OAAAC,OAAAD,KAAA/C,IAEAwC,EAAAlJ,GAAA,OACAf,EAAAC,QAAAgK","file":"static/js/app.bb834a566e568f70bcfe.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\r\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\r\n r(module)\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],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-d8072086\",\"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-d8072086\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./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-d8072086\\\",\\\"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 = ","<template>\r\n <div id=\"app\">\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view></router-view>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'App',\r\n data() {\r\n return {\r\n\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport _import from './_import.js'\r\nVue.use(Router);\r\n\r\n// const error403 = (r) => {\r\n// import('views/errorPage/403.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error404 = (r) => {\r\n// import('views/errorPage/404.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\n// const error500 = (r) => {\r\n// import('views/errorPage/500.vue').then((module) => {\r\n// r(module)\r\n// })\r\n// };\r\nconst errorPage = (r) => {\r\n import('views/errorPage/index.vue').then((module) => {\r\n r(module)\r\n })\r\n};\r\n// 页面刷新时,重新赋值token\r\nif (window.sessionStorage.getItem('token')) {\r\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\r\n}\r\nexport const constantRouterMap = [\r\n {\r\n path: '/login',\r\n name: '登录',\r\n component: _import('login','index')\r\n },\r\n {\r\n path: '/index',\r\n name: 'index',\r\n component: _import('index','index'),\r\n },\r\n {\r\n path: '/contacts',\r\n name: '通讯录',\r\n redirect: 'administrativeFrame',\r\n component: _import('contacts','index'),\r\n children: [\r\n // 通讯录\r\n {\r\n path: '/administrativeFrame',\r\n name: '行政架构',\r\n component: _import('contacts','administrativeFrame')\r\n },\r\n {\r\n path: \"/employeeIo\",\r\n name: \"批量导入/导出\",\r\n component: _import('contacts','employeeIo')\r\n },\r\n {\r\n path: '/addDepartment',\r\n name: '添加部门',\r\n component: _import('contacts','addDepartment')\r\n },\r\n {\r\n path: '/addClerk',\r\n name: '添加店员',\r\n component: _import('contacts','addClerk')\r\n },\r\n {\r\n path: '/storeFrame',\r\n name: '门店架构',\r\n component: _import('contacts','storeFrame')\r\n },\r\n {\r\n path: '/addGroup',\r\n name: '添加子分组',\r\n component: _import('contacts','addGroup')\r\n },\r\n {\r\n path: '/storeIo',\r\n name: '门店导入/导出',\r\n component: _import('contacts','storeIo')\r\n },\r\n {\r\n path: '/storeInfo',\r\n name: '编辑门店',\r\n component: _import('contacts','storeInfo')\r\n },\r\n {\r\n path: '/employee',\r\n name: '在职员工',\r\n component: _import('contacts','employee')\r\n },\r\n {\r\n path: '/unemployee',\r\n name: '离职员工',\r\n component: _import('contacts','unemployee')\r\n },\r\n {\r\n path: '/fileSet',\r\n name: '档案设置',\r\n component: _import('contacts','fileSet')\r\n },\r\n {\r\n path: '/recordInfo',\r\n name: '编辑员工信息',\r\n component: _import('contacts','recordInfo')\r\n },\r\n {\r\n path: '/recordIo',\r\n name: '导入导出员工档案',\r\n component: _import('contacts','recordIo')\r\n },\r\n {\r\n path: '/shareContact',\r\n name: '共享通讯录',\r\n component: _import('contacts','shareContact')\r\n },\r\n {\r\n path: \"/shareCode\",\r\n name: '共享通讯录二维码',\r\n component: _import('contacts','shareCode')\r\n },\r\n {\r\n path: \"/employeeRecord\",\r\n name: '在职员工',\r\n component: _import('contacts','employeeRecord')\r\n }\r\n ]\r\n },\r\n {\r\n // 企业应用\r\n path: '/enterpriseApp',\r\n name: '企业应用',\r\n component: _import('enterpriseApp','index'),\r\n },\r\n {\r\n // 审核中心\r\n path: '/reviewCenter',\r\n name: '审核中心',\r\n redirect: 'unreview',\r\n component: _import('reviewCenter','index'),\r\n children: [\r\n {\r\n path: '/reviewed',\r\n name: '已审核',\r\n component: _import('reviewCenter','reviewed')\r\n },\r\n {\r\n path: '/unreview',\r\n name: '未审核',\r\n component: _import('reviewCenter','unreview')\r\n },\r\n ]\r\n },\r\n {\r\n // 设置模块\r\n path: '/setCenter',\r\n name: '设置',\r\n redirect: 'companyAddress',\r\n component: _import('setting','index'),\r\n children: [\r\n {\r\n path: '/companyAddress',\r\n name: '企业地址',\r\n component: _import('setting','companyAddress')\r\n },\r\n {\r\n path: '/companyCertify',\r\n name: '企业认证',\r\n component: _import('setting','companyCertify')\r\n },\r\n {\r\n path: '/staffDetails',\r\n name: '员工详情字段',\r\n component: _import('setting','staffDetails')\r\n },\r\n {\r\n path: '/storePermission',\r\n name: '门店权限设置',\r\n component: _import('setting','storePermission')\r\n },\r\n {\r\n path: '/replaceAdmin',\r\n name: '更换超级管理员',\r\n component: _import('setting','replaceAdmin')\r\n },\r\n {\r\n path: '/setChildAdmin',\r\n name: '设置子管理员',\r\n component: _import('setting','setChildAdmin')\r\n },\r\n {\r\n path: '/addAdmin',\r\n name: '添加管理员',\r\n component: _import('setting','addAdmin')\r\n },\r\n {\r\n path: '/addAdminRole',\r\n name: '添加管理员角色',\r\n component: _import('setting','addAdminRole')\r\n }\r\n ]\r\n },\r\n {\r\n path: '/staffRecordsTemplate',\r\n name: '员工档案设置',\r\n component: _import('contacts','staffRecordsTemplate')\r\n },\r\n {\r\n path: '/403',\r\n name: '无权访问',\r\n component: errorPage\r\n },\r\n {\r\n path: '/404',\r\n name: 'error404',\r\n component: errorPage\r\n },\r\n {\r\n path: '/500',\r\n name: 'error500',\r\n component: errorPage\r\n },\r\n { path: '*', redirect: '/404', hidden: true },\r\n];\r\nexport default new Router({\r\n // mode:'history',\r\n routes: constantRouterMap,\r\n scrollBehavior: () => ({ y: 0 }),\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\nimport * as types from './types'\r\n\r\nVue.use(Vuex);\r\nexport default new Vuex.Store({\r\n state: {\r\n user: {},\r\n token: null,\r\n title: '',\r\n show: false\r\n },\r\n mutations: {\r\n [types.LOGIN]: (state, data) => {\r\n sessionStorage.token = data;\r\n state.token = data;\r\n },\r\n [types.LOGOUT]: (state) => {\r\n sessionStorage.removeItem('token');\r\n state.token = null\r\n },\r\n [types.TITLE]: (state, data) => {\r\n state.title = data;\r\n },\r\n [types.SHOW]: (state,data) => {\r\n state.show = data;\r\n }\r\n }\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\r\n\r\nexport const LOGOUT = 'logout';\r\n\r\nexport const TITLE = 'title';\r\n\r\nexport const SHOW = 'show';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\r\nimport html2Canvas from 'html2canvas'\r\nimport JsPDF from 'jspdf'\r\nexport default{\r\n install (Vue, options) {\r\n Vue.prototype.getPdf = function () {\r\n var title = this.htmlTitle\r\n html2Canvas(document.querySelector('#pdfDom'), {\r\n allowTaint: true,\r\n foreignObjectRendering: true\r\n }).then(function (canvas) {\r\n let contentWidth = canvas.width\r\n let contentHeight = canvas.height\r\n let pageHeight = contentWidth / 592.28 * 841.89\r\n let leftHeight = contentHeight\r\n let position = 0\r\n let imgWidth = 595.28\r\n let imgHeight = 592.28 / contentWidth * contentHeight\r\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\r\n let PDF = new JsPDF('', 'pt', 'a4')\r\n if (leftHeight < pageHeight) {\r\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\r\n } else {\r\n while (leftHeight > 0) {\r\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\r\n leftHeight -= pageHeight\r\n position -= 841.89\r\n if (leftHeight > 0) {\r\n PDF.addPage()\r\n }\r\n }\r\n }\r\n PDF.save(title + '.pdf')\r\n }\r\n )\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\r\nimport App from './App'\r\nimport router from './router'\r\nimport ElementUI ,{ Message } from 'element-ui'\r\nimport VueAxios from 'vue-axios'\r\nimport axios from 'axios'\r\nimport store from './store/store'\r\nimport * as types from './store/types'\r\nimport '../static/css/index.less'\r\n// import 'element-ui/lib/theme-chalk/index.css'\r\nimport '../static/font/iconfont.css'\r\nimport '../theme/index.css'\r\n\r\nimport vueOfficeHeader from '@gic-test/vue-office-header'\r\nimport vueOfficeAside from '@gic-test/vue-office-aside'\r\nimport vueOfficeArea from '@gic-test/vue-office-area'\r\n// 新增公共 footer插件\r\nimport vueGicFooter from '@gic-test/vue-gic-footer'\r\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\r\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\r\nimport htmlToPdf from '@/components/utils/htmlToPdf'\r\n\r\nVue.use(htmlToPdf)\r\nVue.use(vueGicImgPreview)\r\nVue.use(vueOfficeUploadImage)\r\nVue.use(vueGicFooter)\r\nVue.use(vueOfficeArea)\r\nVue.use(vueOfficeAside)\r\nVue.use(vueOfficeHeader)\r\n\r\nVue.config.productionTip = false;\r\nVue.use(ElementUI,{size: 'large'});\r\nVue.use(VueAxios,axios);\r\n\r\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\r\nVue.axios.interceptors.request.use(\r\n config => {\r\n return config;\r\n },\r\n err => {\r\n console.log('requesterr' + err);\r\n return Promise.reject(err);\r\n });\r\nVue.axios.interceptors.response.use(\r\n response => {\r\n console.log(\"main:\",response);\r\n if(response.status == 200 && response.data.errorCode == 1) {\r\n // router.replace({\r\n // path: 'login',\r\n // query: {redirect: router.currentRoute.fullPath}\r\n // })\r\n console.log(\"main:\",response);\r\n }\r\n return response;\r\n },\r\n error => {\r\n console.log(error);\r\n if (error.response) {\r\n switch (error.response.status) {\r\n case 401:\r\n // 401 清除token信息并跳转到登录页面\r\n // store.commit(types.LOGOUT);\r\n // router.replace({\r\n // path: 'login',\r\n // query: {redirect: router.currentRoute.fullPath}\r\n // });\r\n // window.location.href = window.location.origin + '/gic-web/#/';\r\n case 500:\r\n Message.error('服务器500')\r\n }\r\n }\r\n return Promise.reject(error.response.data)\r\n });\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n\r\n // if (window.location.pathname.slice(-1) !== '/') {\r\n // window.location = window.location.pathname + '/';\r\n // }\r\n if (to.path == '/') {\r\n next({ path: '/login' })\r\n } else {\r\n next()\r\n }\r\n})\r\n\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n el: '#app',\r\n router,\r\n store,\r\n components: { App },\r\n template: '<App/>'\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t38\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t33\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t29\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t7\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t25\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t24\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t13\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t30\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t12\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t26\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t19\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t23\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t20\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t21\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t8\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t36\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t10\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t11\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t39\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t18\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t9\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t37\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t35\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t28\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t22\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 41"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,d){for(var b,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(b in r)Object.prototype.hasOwnProperty.call(r,b)&&(e[b]=r[b]);for(c&&c(a,r,d);u.length;)u.shift()();if(d)for(i=0;i<d.length;i++)o=n(n.s=d[i]);return o};var a={},f={43:0};function n(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,n),f.l=!0,f.exports}n.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=f[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],d=document.createElement("script");d.type="text/javascript",d.charset="utf-8",d.async=!0,d.timeout=12e4,n.nc&&d.setAttribute("nonce",n.nc),d.src=n.p+"static/js/"+e+"."+{0:"33f8b78e9b060b498119",1:"26fc7c6e9b4ccca95f46",2:"fb678d9d21cb986ef9ab",3:"6b50e8651aec22b535c5",4:"80a5e0ef6dc1db3a9bf0",5:"46b2c21ec6e966d2a463",6:"1b30a58b020c2624552b",7:"280d76325c768b369d5c",8:"8eb8ad8e264409c8c5f4",9:"926da949c22346f61e60",10:"bc242ed255f709afd2d9",11:"d455f788b437ae336127",12:"79da425f48d203477382",13:"ebd6dd7ee23e5703e425",14:"5ff2c6e238558d0c5365",15:"ec5ab10bc625d2f85dcb",16:"18b9cdbb5f17195148ba",17:"a71c9565ed508ac1e6ba",18:"883dde6f28edff95cea1",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"dba19fcfa513d8b82481",22:"1e34bcb0dd0d10584a8a",23:"9f05cfc644dbcf58019a",24:"b98a91d1de34198e500f",25:"53a766441521ebc33e5b",26:"3d02babfbfcf434aa4c5",27:"51cc41904df7fcc441d9",28:"32b8173398aa07ccd7bf",29:"8fee6946152e54bf8dea",30:"1e28c7c3d3e35cbeb349",31:"1e6abe2f496b1fe57748",32:"701d91316c4ba3891aec",33:"f0b23dd69cd8df4d2405",34:"4b949992aa6a3b031bd0",35:"2064475c3e345ac9527e",36:"47989bb45eaa0c21aa73",37:"06aa0a58f4376faa58f9",38:"af05b5b6cc28a922ade4",39:"49fa68a28383c75d8ac7",42:"86aa31ff7beb8e130fd1"}[e]+".js";var b=setTimeout(t,12e4);function t(){d.onerror=d.onload=null,clearTimeout(b);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return d.onerror=d.onload=t,r.appendChild(d),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.44e9b70ba68b534e2ed4.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,b,o,i=0,u=[];i<a.length;i++)b=a[i],f[b]&&u.push(f[b][0]),f[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var a={},f={43:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"7b4bdcd8d8af81179033",1:"26fc7c6e9b4ccca95f46",2:"fb678d9d21cb986ef9ab",3:"6b50e8651aec22b535c5",4:"80a5e0ef6dc1db3a9bf0",5:"46b2c21ec6e966d2a463",6:"1b30a58b020c2624552b",7:"280d76325c768b369d5c",8:"b4143e68e2539f1c6397",9:"926da949c22346f61e60",10:"bc242ed255f709afd2d9",11:"d455f788b437ae336127",12:"79da425f48d203477382",13:"ebd6dd7ee23e5703e425",14:"5ff2c6e238558d0c5365",15:"ec5ab10bc625d2f85dcb",16:"18b9cdbb5f17195148ba",17:"a71c9565ed508ac1e6ba",18:"883dde6f28edff95cea1",19:"39879d07beb4c6b71c52",20:"48c7dac836dc8f07b246",21:"dba19fcfa513d8b82481",22:"1e34bcb0dd0d10584a8a",23:"9f05cfc644dbcf58019a",24:"b98a91d1de34198e500f",25:"53a766441521ebc33e5b",26:"3d02babfbfcf434aa4c5",27:"51cc41904df7fcc441d9",28:"32b8173398aa07ccd7bf",29:"8fee6946152e54bf8dea",30:"1e28c7c3d3e35cbeb349",31:"1e6abe2f496b1fe57748",32:"701d91316c4ba3891aec",33:"f0b23dd69cd8df4d2405",34:"4b949992aa6a3b031bd0",35:"2064475c3e345ac9527e",36:"47989bb45eaa0c21aa73",37:"06aa0a58f4376faa58f9",38:"af05b5b6cc28a922ade4",39:"49fa68a28383c75d8ac7",42:"86aa31ff7beb8e130fd1"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.86063dd4701036f8aacf.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap cedbe55b5aa48d99c2fa"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","43","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","42","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA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8D,YAAA3D,GAEAL,GAIAX,EAAA4E,EAAA9E,EAGAE,EAAA6E,EAAA3E,EAGAF,EAAA8E,EAAA,SAAA1E,EAAA2E,EAAAC,GACAhF,EAAAiF,EAAA7E,EAAA2E,IACArF,OAAAwF,eAAA9E,EAAA2E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAhF,EAAAsF,EAAA,SAAAjF,GACA,IAAA2E,EAAA3E,KAAAkF,WACA,WAA2B,OAAAlF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA8E,EAAAE,EAAA,IAAAA,GACAA,GAIAhF,EAAAiF,EAAA,SAAAO,EAAAC,GAAsD,OAAA/F,OAAAC,UAAAC,eAAAC,KAAA2F,EAAAC,IAGtDzF,EAAAyB,EAAA,KAGAzB,EAAA0F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.44e9b70ba68b534e2ed4.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t43: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"33f8b78e9b060b498119\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"fb678d9d21cb986ef9ab\",\"3\":\"6b50e8651aec22b535c5\",\"4\":\"80a5e0ef6dc1db3a9bf0\",\"5\":\"46b2c21ec6e966d2a463\",\"6\":\"1b30a58b020c2624552b\",\"7\":\"280d76325c768b369d5c\",\"8\":\"8eb8ad8e264409c8c5f4\",\"9\":\"926da949c22346f61e60\",\"10\":\"bc242ed255f709afd2d9\",\"11\":\"d455f788b437ae336127\",\"12\":\"79da425f48d203477382\",\"13\":\"ebd6dd7ee23e5703e425\",\"14\":\"5ff2c6e238558d0c5365\",\"15\":\"ec5ab10bc625d2f85dcb\",\"16\":\"18b9cdbb5f17195148ba\",\"17\":\"a71c9565ed508ac1e6ba\",\"18\":\"883dde6f28edff95cea1\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"dba19fcfa513d8b82481\",\"22\":\"1e34bcb0dd0d10584a8a\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"b98a91d1de34198e500f\",\"25\":\"53a766441521ebc33e5b\",\"26\":\"3d02babfbfcf434aa4c5\",\"27\":\"51cc41904df7fcc441d9\",\"28\":\"32b8173398aa07ccd7bf\",\"29\":\"8fee6946152e54bf8dea\",\"30\":\"1e28c7c3d3e35cbeb349\",\"31\":\"1e6abe2f496b1fe57748\",\"32\":\"701d91316c4ba3891aec\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"4b949992aa6a3b031bd0\",\"35\":\"2064475c3e345ac9527e\",\"36\":\"47989bb45eaa0c21aa73\",\"37\":\"06aa0a58f4376faa58f9\",\"38\":\"af05b5b6cc28a922ade4\",\"39\":\"49fa68a28383c75d8ac7\",\"42\":\"86aa31ff7beb8e130fd1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap cedbe55b5aa48d99c2fa"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 60769e14b79e2746f4b0"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","43","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","42","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,GAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAA,SAAApB,GACA,IAAAqB,EAAAhB,EAAAL,GACA,OAAAqB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE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E,EAGAE,EAAA6E,EAAA3E,EAGAF,EAAA8E,EAAA,SAAA1E,EAAA2E,EAAAC,GACAhF,EAAAiF,EAAA7E,EAAA2E,IACArF,OAAAwF,eAAA9E,EAAA2E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAhF,EAAAsF,EAAA,SAAAjF,GACA,IAAA2E,EAAA3E,KAAAkF,WACA,WAA2B,OAAAlF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA8E,EAAAE,EAAA,IAAAA,GACAA,GAIAhF,EAAAiF,EAAA,SAAAO,EAAAC,GAAsD,OAAA/F,OAAAC,UAAAC,eAAAC,KAAA2F,EAAAC,IAGtDzF,EAAAyB,EAAA,KAGAzB,EAAA0F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.86063dd4701036f8aacf.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t43: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"7b4bdcd8d8af81179033\",\"1\":\"26fc7c6e9b4ccca95f46\",\"2\":\"fb678d9d21cb986ef9ab\",\"3\":\"6b50e8651aec22b535c5\",\"4\":\"80a5e0ef6dc1db3a9bf0\",\"5\":\"46b2c21ec6e966d2a463\",\"6\":\"1b30a58b020c2624552b\",\"7\":\"280d76325c768b369d5c\",\"8\":\"b4143e68e2539f1c6397\",\"9\":\"926da949c22346f61e60\",\"10\":\"bc242ed255f709afd2d9\",\"11\":\"d455f788b437ae336127\",\"12\":\"79da425f48d203477382\",\"13\":\"ebd6dd7ee23e5703e425\",\"14\":\"5ff2c6e238558d0c5365\",\"15\":\"ec5ab10bc625d2f85dcb\",\"16\":\"18b9cdbb5f17195148ba\",\"17\":\"a71c9565ed508ac1e6ba\",\"18\":\"883dde6f28edff95cea1\",\"19\":\"39879d07beb4c6b71c52\",\"20\":\"48c7dac836dc8f07b246\",\"21\":\"dba19fcfa513d8b82481\",\"22\":\"1e34bcb0dd0d10584a8a\",\"23\":\"9f05cfc644dbcf58019a\",\"24\":\"b98a91d1de34198e500f\",\"25\":\"53a766441521ebc33e5b\",\"26\":\"3d02babfbfcf434aa4c5\",\"27\":\"51cc41904df7fcc441d9\",\"28\":\"32b8173398aa07ccd7bf\",\"29\":\"8fee6946152e54bf8dea\",\"30\":\"1e28c7c3d3e35cbeb349\",\"31\":\"1e6abe2f496b1fe57748\",\"32\":\"701d91316c4ba3891aec\",\"33\":\"f0b23dd69cd8df4d2405\",\"34\":\"4b949992aa6a3b031bd0\",\"35\":\"2064475c3e345ac9527e\",\"36\":\"47989bb45eaa0c21aa73\",\"37\":\"06aa0a58f4376faa58f9\",\"38\":\"af05b5b6cc28a922ade4\",\"39\":\"49fa68a28383c75d8ac7\",\"42\":\"86aa31ff7beb8e130fd1\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 60769e14b79e2746f4b0"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
"name": "gicfront",
"version": "1.0.0",
"description": "A Vue.js project",
"author": "hexiaoxia",
"author": "haoban",
"private": true,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
......
......@@ -4,15 +4,12 @@ import qs from 'qs';
import {Message} from 'element-ui'
Vue.axios.defaults.timeout = 15000;
var local = window.location.origin;
let local = window.location.origin;
if (local.indexOf('localhost')!= -1) {
local = 'http://www.gicdev.com';
}
console.log(local)
Vue.axios.interceptors.request.use(config=> {
console.log(local)
return config;
}, err=> {
Message.error({message: '请求超时!'});
......@@ -20,37 +17,27 @@ Vue.axios.interceptors.request.use(config=> {
})
Vue.axios.interceptors.response.use(data=> {
console.log("response data:",data)
if (data.status && data.status == 200 && data.data.status == 'error') {
Message.error({message: data.data.msg});
return;
}
console.log(data)
// if (data.status && data.status == 200 && data.data.errorCode != 1) {
// Message.error({message: data.data.message});
// return;
// }
return data;
}, err=> {
console.log("response err:",err);
Message.error({message: err.response.message});
if (err.response.status == 504||err.response.status == 404) {
// window.location.href= local + "/gic-web/#/"
// window.location.href= local + "/haoban-web/#/login"
// Message.error({message: '服务异常⊙﹏⊙∥'});
} else if (err.response.status == 403) {
// window.location.href= local + "/gic-web/#/"
// window.location.href= local + "/haoban-web/#/login"
// Message.error({message: '权限不足,请联系管理员!'});
}else {
// window.location.href= local + "/gic-web/#/"
// window.location.href= local + "/haoban-web/#/login"
// Message.error({message: '未知错误!'});
}
return Promise.resolve(err);
})
// var localhost = window.location.protocol +'//'+ window.location.host
// console.log(localhost)
// let base = local + '/gicweb/cloudweb/';
const timeout = 15000;
let token = '';//sessionStorage.getItem('user');
/*
*
* 统一 get 请求方法
......@@ -59,7 +46,6 @@ let token = '';//sessionStorage.getItem('user');
* @header: 带 token
*
*/
export const getRequest = (url, params) => {
params.requestProject = "haoban-manage-web";
return Vue.axios({
......@@ -71,44 +57,20 @@ export const getRequest = (url, params) => {
});
}
/*
/**
*
* 统一 post 请求方法
* url: 请求的 url
* @params: 请求带的参数
* @header: 带 token
* @header:
*
*/
export const postRequest = (url, params) => {
params.requestProject = "haoban-manage-web";
return Vue.axios({
method: 'post',
url: `${local}${url}`,
data: qs.stringify(params),
// params: params,
// paramsSerializer: function(params) {
// return QS.stringify(params, {arrayFormat: 'brackets'})
// },
// transformRequest: [function (data) {
// // Do whatever you want to transform the data
// console.log(data)
// data = JSON.stringify(data)
// return data;
// }],
// transformRequest: [
// function (data) { // 解决传递数组变成对象的问题
// Object.keys(data).forEach((key) => {
// if ((typeof data[key]) === 'object') {
// data[key] = JSON.stringify(data[key]) // 这里必须使用内置JSON对象转换
// }
// })
// data = qs.stringify(data) // 这里必须使用qs库进行转换
// return data
// }
// ],
headers: {'content-type': 'application/x-www-form-urlencoded'} //multipart/form-data{"token": token}
});
}
......@@ -120,41 +82,18 @@ export const postJsonRequest = (url, params) => {
url: `${local}${url}`,
data: "{}",
params: params,
// paramsSerializer: function(params) {
// return QS.stringify(params, {arrayFormat: 'brackets'})
// },
// transformRequest: [function (data) {
// // Do whatever you want to transform the data
// console.log(data)
// data = JSON.stringify(data)
// return data;
// }],
// transformRequest: [
// function (data) { // 解决传递数组变成对象的问题
// Object.keys(data).forEach((key) => {
// if ((typeof data[key]) === 'object') {
// data[key] = JSON.stringify(data[key]) // 这里必须使用内置JSON对象转换
// }
// })
// data = qs.stringify(data) // 这里必须使用qs库进行转换
// return data
// }
// ],
// withCredentials: true,
// credentials: 'same-origin',
headers: {'Content-Type': 'application/json;charset=UTF-8'} //multipart/form-data{"token": token}
});
}
/*
/**
* method: 'post'
* 'Content-Type': 'application/json;charset=UTF-8'
* @data: params
* @requestProject: 'haoban-manage-web'
*
*/
export const postJson = (url, params) => {
// params.requestProject = "haoban-manage-web";
return Vue.axios({
......@@ -168,7 +107,7 @@ export const postJson = (url, params) => {
});
}
/*
/**
* method: 'post'
* data: params
*
......@@ -179,27 +118,6 @@ export const postForm = (url, params) => {
method: 'post',
url: `${local}${url}`,
data: params,
// params: params,
// paramsSerializer: function(params) {
// return QS.stringify(params, {arrayFormat: 'brackets'})
// },
// transformRequest: [function (data) {
// // Do whatever you want to transform the data
// console.log(data)
// data = JSON.stringify(data)
// return data;
// }],
// transformRequest: [
// function (data) { // 解决传递数组变成对象的问题
// Object.keys(data).forEach((key) => {
// if ((typeof data[key]) === 'object') {
// data[key] = JSON.stringify(data[key]) // 这里必须使用内置JSON对象转换
// }
// })
// data = qs.stringify(data) // 这里必须使用qs库进行转换
// return data
// }
// ],
headers: {} //'content-type': 'application/x-www-form-urlencoded'multipart/form-data{"token": token}
});
}
......
......@@ -3,18 +3,19 @@
import { Message } from 'element-ui';
// 后台返回异常提示
export default {
errorMsg: function(response) {
var local = window.location.origin;
let local = window.location.origin;
if (local.indexOf('localhost')) {
local = 'http://gicdev.demogic.com';
local = 'http://www.gicdev.com';
}
if (response.errorCode != 1) {
if (response.errorCode == 4) {
window.location.href = local + "/haoban-web/#/login";
return false;
}
console.log(response)
if (response.errorCode != 0) {
if (response.errorCode == 401) {
// window.location.href = local + "/gic-web/#/";
if (response.errorCode == 10) {
window.location.href = local + "/haoban-web/#/index";
return false;
}
Message.error({
......
......@@ -33,50 +33,11 @@ Vue.use(ElementUI,{size: 'large'});
Vue.use(VueAxios,axios);
Vue.axios.defaults.withCredentials = true ;// 跨域cookie访问
Vue.axios.interceptors.request.use(
config => {
return config;
},
err => {
console.log('requesterr' + err);
return Promise.reject(err);
});
Vue.axios.interceptors.response.use(
response => {
console.log("main:",response);
if(response.status == 200 && response.data.errorCode == 1) {
// router.replace({
// path: 'login',
// query: {redirect: router.currentRoute.fullPath}
// })
console.log("main:",response);
}
return response;
},
error => {
console.log(error);
if (error.response) {
switch (error.response.status) {
case 401:
// 401 清除token信息并跳转到登录页面
// store.commit(types.LOGOUT);
// router.replace({
// path: 'login',
// query: {redirect: router.currentRoute.fullPath}
// });
// window.location.href = window.location.origin + '/gic-web/#/';
case 500:
Message.error('服务器500')
}
}
return Promise.reject(error.response.data)
});
/*
* 路由守护
*/
router.beforeEach((to, from, next) => {
// if (window.location.pathname.slice(-1) !== '/') {
// window.location = window.location.pathname + '/';
// }
if (to.path == '/') {
next({ path: '/login' })
} else {
......
......@@ -29,6 +29,11 @@ if (window.sessionStorage.getItem('token')) {
}
export const constantRouterMap = [
{
path: '/',
name: '/',
redirect: 'login',
},
{
path: '/login',
name: '登录',
component: _import('login','index')
......
......@@ -26,12 +26,6 @@
<div class="login-wrap-inner__block" v-if="canSelectFlag">
<div class="login-wrap-inner__head">选择已有企业</div>
<div class="login-wrap-inner__selectBody">
<!-- <el-carousel :autoplay="false" arrow="always" height="100px">
<el-carousel-item v-for="item in enterpriseList" :key="item.id">
<img :src="item.src" alt="src" />
<p>{{item.name}}</p>
</el-carousel-item>
</el-carousel> -->
<div class="login-wrap-inner__swiper">
<!-- swiper -->
<swiper :options="swiperOption">
......@@ -87,26 +81,11 @@ export default {
ajaxTime: null,
// 企业列表
enterpriseList:[
// {
// enterpriseId : '1231',
// logoUrl: require("../../assets/logo.png"),
// enterpriseName: '达摩网络'
// },
// {
// enterpriseId : '1232',
// logoUrl: require("../../assets/logo.png"),
// enterpriseName: '达摩网络2'
// },
// {
// enterpriseId : '1233',
// logoUrl: require("../../assets/logo.png"),
// enterpriseName: '达摩网络'
// },
// {
// enterpriseId : '1234',
// logoUrl: require("../../assets/logo.png"),
// enterpriseName: '达摩网络2'
// }
/*{
enterpriseId : '1231',
logoUrl: require("../../assets/logo.png"),
enterpriseName: '达摩网络'
},*/
],
// swiper
swiperOption: {
......@@ -133,13 +112,11 @@ export default {
*/
toRouterView(val) {
const that = this;
// 模拟检查数据
// //有两个参数
//{
// name:,
// path:
//}
console.log(val);
// 模拟检查数据,有两个参数
/*{
name:,
path:
}*/
that.$router.push({
path: val.path
})
......@@ -223,19 +200,15 @@ export default {
}
postRequest('/haoban-manage-web/login',para)
.then((res) => {
console.log( res.data)
var resData = res.data
let resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
localStorage.setItem('userInfo',JSON.stringify(resData.result));
that.$router.push('/index')
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
......@@ -253,10 +226,8 @@ export default {
}
postRequest('/haoban-manage-web/login-check',para)
.then((res) => {
console.log( res.data)
var resData = res.data
let resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
if (!!resData.result && !!resData.result.enterpriseList && !!resData.result.enterpriseList.length) {
that.enterpriseList = resData.result.enterpriseList;
that.userId = resData.result.userId;
......@@ -266,7 +237,6 @@ export default {
that.qrcodeCase.clear(); // 先清除原有的
clearInterval(that.ajaxTime);
}
return;
}
if (resData.errorCode == 30002) {
......@@ -277,7 +247,6 @@ export default {
clearInterval(that.ajaxTime);
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
......@@ -287,7 +256,6 @@ export default {
checkScan() {
const that = this
clearInterval(that.ajaxTime);
that.ajaxTime = null;
that.ajaxTime = setInterval(function() {
......@@ -302,36 +270,26 @@ export default {
const that = this;
postRequest('/haoban-manage-web/login-qrcode',{})
.then((res) => {
console.log( res.data)
var resData = res.data
if (resData.errorCode == 1) {
// showMsg.showmsg('保存成功','success')
that.qrcodeNum = resData.result;
that.qrcode(that.qrcodeNum)
that.checkScan()
return;
}
errMsg.errorMsg(resData)
})
.catch(function (error) {
console.log(error);
that.$message.error({
duration: 1000,
message: error.message
})
});
},
},
mounted() {
const that = this
that.getQrcode()
/**
*生成二维码
*/
// that.qrcode(55555566767)
},
components: {
swiper,
......
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