Commit a9f0e79b by 无尘

feat: 增加公共库使用 CDN

parent 75821c86
...@@ -32,6 +32,11 @@ module.exports = { ...@@ -32,6 +32,11 @@ module.exports = {
? config.build.assetsPublicPath ? config.build.assetsPublicPath
: config.dev.assetsPublicPath : config.dev.assetsPublicPath
}, },
externals: {
'vue': 'Vue',
'vue-router': 'VueRouter',
'vuex': 'Vuex'
},
resolve: { resolve: {
extensions: ['.js', '.vue', '.json'], extensions: ['.js', '.vue', '.json'],
alias: { alias: {
......
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.1c8ffcdb74d8b258c3a9cb91f1d1afbe.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.a7f3160302740c14ee7f.js></script><script type=text/javascript src=./static/js/vendor.7bffa30b60868871b0ad.js></script><script type=text/javascript src=./static/js/app.3b2b69467d53996b5dc2.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.1c8ffcdb74d8b258c3a9cb91f1d1afbe.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.f5120413f93c065c9143.js></script><script type=text/javascript src=./static/js/vendor.34b23182008ddcb7a22f.js></script><script type=text/javascript src=./static/js/app.5e4416fcb7e95da51ebc.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([75],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),p=(n("j1ja"),n("hKoQ")),r=n.n(p),i=n("7+uW"),c={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 s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("/NA0")},null,null).exports,m=n("/ocq"),d=n("5tgt"),u=n.n(d);i.default.use(m.a);var l=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 v,h=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:u()("login","index")},{path:"/index",name:"index",component:u()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:u()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:u()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:u()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:u()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:u()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:u()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:u()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:u()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:u()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:u()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:u()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:u()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:u()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:u()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:u()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:u()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:u()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:u()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:u()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:u()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:u()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:u()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:u()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:u()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:u()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:u()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:u()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:u()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:u()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:u()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:u()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:u()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:u()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:u()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:u()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:u()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:u()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:u()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:u()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:u()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:u()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:u()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:u()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:u()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:u()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:u()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:u()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:u()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:u()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:u()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:u()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:u()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:u()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:u()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:u()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:u()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:u()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:u()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:u()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:u()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:l},{path:"/404",name:"error404",component:l},{path:"/500",name:"error500",component:l},{path:"*",redirect:"/404",hidden:!0}],f=new m.a({routes:h,scrollBehavior:function(){return{y:0}}}),A=n("zL8q"),y=n.n(A),g=n("Rf8U"),k=n.n(g),D=n("mtWM"),x=n.n(D),w=n("bOdI"),R=n.n(w),b=n("NYxO");i.default.use(b.a);var C=new b.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(v={},R()(v,"login",function(e,t){sessionStorage.token=t,e.token=t}),R()(v,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),R()(v,"title",function(e,t){e.title=t}),R()(v,"show",function(e,t){e.show=t}),v)}),T=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),I=n.n(T),E=n("tyqE"),S=n.n(E),q=n("pRVe"),P=n.n(q),j=n("SE7k"),L=n.n(j),F=n("XsK6"),O=n.n(F),N=n("QRL9"),G=n.n(N),K=n("2Pnh"),z=n.n(K),H=n("l9mu"),M=n.n(H),U={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;z()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,a=t.height,o=n/592.28*841.89,p=a,r=0,i=592.28/n*a,c=t.toDataURL("image/jpeg",1),s=new M.a("","pt","a4");if(p<o)s.addImage(c,"JPEG",0,0,595.28,i);else for(;p>0;)s.addImage(c,"JPEG",0,r,595.28,i),r-=841.89,(p-=o)>0&&s.addPage();s.save(e+".pdf")})}}};r.a.polyfill(),i.default.use(U),i.default.use(O.a),i.default.use(G.a),i.default.use(L.a),i.default.use(P.a),i.default.use(S.a),i.default.use(I.a),i.default.config.productionTip=!1,i.default.use(y.a,{size:"large"}),i.default.use(k.a,x.a),i.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var a=void 0,p=window.location.origin;a="-1"!=p.indexOf("localhost")?"http://www.gicdev.com":p,localStorage.getItem("userInfo")||x.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){A.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new i.default({el:"#app",router:f,store:C,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,19],"./contacts/addDepartment.vue":["HHRu",0,18],"./contacts/addEmployee.vue":["00Sv",48],"./contacts/addGroup.vue":["mPjx",0,51],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,54],"./contacts/employeeIo.vue":["Rwbg",0,55],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,72],"./contacts/recordInfo.vue":["67iC",0,13],"./contacts/recordIo.vue":["738z",0,22],"./contacts/recycle.vue":["HkK0",0,30],"./contacts/shareAddDepartment.vue":["q5Ri",0,17],"./contacts/shareCode.vue":["JsWW",0,61],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,32],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,10],"./contacts/storeIo.vue":["RHxA",0,59],"./contacts/unemployee.vue":["TGrv",0,14],"./enterpriseApp/appcenter.vue":["yuVF",0,27],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,62],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,46],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,56],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,37],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,38],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,57],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,45],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,71],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,60],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,44],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",69],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",65],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",63],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",64],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",36],"./enterpriseApp/index.vue":["da9f",53],"./enterpriseApp/mycustomer.vue":["cuIN",0,42],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,73],"./enterpriseApp/notice/index.vue":["av/3",0,70],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,25],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,33],"./enterpriseApp/quota/index.vue":["FB5x",0,68],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,11],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,20],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,34],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,49],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,21],"./enterpriseApp/trafficTask/index.vue":["e88N",0,43],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,47],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,41],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,66],"./errorPage/403.vue":["6XGN",28],"./errorPage/404.vue":["AejC",29],"./errorPage/500.vue":["FskK",24],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,31],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",58],"./reviewCenter/reviewed.vue":["CLYF",0,16],"./reviewCenter/unreview.vue":["xCEU",0,15],"./setting/addAdmin.vue":["rs/A",0,40],"./setting/addAdminRole.vue":["fZsz",0,50],"./setting/companyAddress.vue":["SKyE",0,67],"./setting/companyCertify.vue":["3zYh",0,12],"./setting/index.vue":["VlR1",35],"./setting/replaceAdmin.vue":["ys9I",0,39],"./setting/setChildAdmin.vue":["VqB7",0,52],"./setting/staffDetails.vue":["Zyzf",0,26],"./setting/storePermission.vue":["Xwfy",0,23]};function o(e){var t=a[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+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},Xcu2:function(e,t){},uKUT:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([75],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),p=(n("j1ja"),n("hKoQ")),r=n.n(p),i={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{}}},i,!1,function(e){n("/NA0")},null,null).exports,s=n("lRwf"),m=n.n(s),u=n("pRNm"),d=n.n(u),l=n("5tgt"),v=n.n(l);m.a.use(d.a);var h=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 f,A=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:v()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:v()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:v()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:v()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:v()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:v()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:v()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:v()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:v()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:v()("contacts","recycle")},{path:"/employee",name:"编辑员工",component:v()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:v()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:v()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:v()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:v()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:v()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:v()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:v()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",redirect:"appcenter",component:v()("enterpriseApp","index"),children:[{path:"/appcenter",name:"企业应用中心",component:v()("enterpriseApp","appcenter")},{path:"/mycustomer",name:"我的顾客",component:v()("enterpriseApp","mycustomer")},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("enterpriseApp/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("enterpriseApp/cloudDaily","dailyRecord")},{path:"/dailyDetail",name:"日报详情",component:v()("enterpriseApp/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("enterpriseApp/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("enterpriseApp/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("enterpriseApp/cloudDaily","customReport")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("enterpriseApp/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("enterpriseApp/trafficTask","taskRecord")},{path:"/taskDetail",name:"话务任务详情",component:v()("enterpriseApp/trafficTask","taskDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("enterpriseApp/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("enterpriseApp/badEvaluate","badEvaluateSet")}]},{path:"/noticeList",name:"企业公告",redirect:"/noticeList",component:v()("enterpriseApp/notice","index"),children:[{path:"/noticeList",name:"企业公告列表",component:v()("enterpriseApp/notice","noticeList")},{path:"/addNotice",name:"新建公告",component:v()("enterpriseApp/notice","addNotice")}]},{path:"/badEvaluate",name:"不良评价",redirect:"/badEvaluateRecord",component:v()("enterpriseApp/badEvaluate","index"),children:[{path:"/badEvaluateRecord",name:"不良评价记录",component:v()("enterpriseApp/badEvaluate","badEvaluateRecord")},{path:"/badEvaluateDetail",name:"不良评价详情",component:v()("enterpriseApp/badEvaluate","badEvaluateDetail")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("enterpriseApp/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("enterpriseApp/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("enterpriseApp/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("enterpriseApp/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("enterpriseApp/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("enterpriseApp/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("enterpriseApp/quota","monthTaskDetail"),meta:{keepAlive:!0}}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:v()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:v()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:v()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:v()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:v()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:v()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:v()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:v()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:v()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:v()("contacts","staffRecordsTemplate")},{path:"/systemReportSet",name:"系统报表设置",component:v()("enterpriseApp/cloudDaily","systemReportSet")},{path:"/template",name:"模板设置",component:v()("enterpriseApp/cloudDaily","template")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],y=new d.a({routes:A,scrollBehavior:function(){return{y:0}}}),g=n("zL8q"),k=n.n(g),D=n("Rf8U"),R=n.n(D),x=n("mtWM"),w=n.n(x),b=n("bOdI"),C=n.n(b),I=n("SJI6"),T=n.n(I);m.a.use(T.a);var E=new T.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(f={},C()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),C()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),C()(f,"title",function(e,t){e.title=t}),C()(f,"show",function(e,t){e.show=t}),f)}),S=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),q=n.n(S),V=n("tyqE"),P=n.n(V),j=n("pRVe"),L=n.n(j),F=n("SE7k"),N=n.n(F),O=n("XsK6"),G=n.n(O),K=n("QRL9"),z=n.n(K),H=n("2Pnh"),J=n.n(H),M=n("l9mu"),U=n.n(M),X={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,a=t.height,o=n/592.28*841.89,p=a,r=0,i=592.28/n*a,c=t.toDataURL("image/jpeg",1),s=new U.a("","pt","a4");if(p<o)s.addImage(c,"JPEG",0,0,595.28,i);else for(;p>0;)s.addImage(c,"JPEG",0,r,595.28,i),r-=841.89,(p-=o)>0&&s.addPage();s.save(e+".pdf")})}}};r.a.polyfill(),Vue.use(X),Vue.use(G.a),Vue.use(z.a),Vue.use(N.a),Vue.use(L.a),Vue.use(P.a),Vue.use(q.a),Vue.config.productionTip=!1,Vue.use(k.a,{size:"large"}),Vue.use(R.a,w.a),Vue.axios.defaults.withCredentials=!0,y.beforeEach(function(e,t,n){var a=void 0,p=window.location.origin;a="-1"!=p.indexOf("localhost")?"http://www.gicdev.com":p,localStorage.getItem("userInfo")||w.a.get(a+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode||localStorage.setItem("userInfo",o()(t.result))}).catch(function(e){g.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new Vue({el:"#app",router:y,store:E,components:{App:c},template:"<App/>"})},Opzk:function(e,t,n){var a={"./contacts/addClerk.vue":["27o1",0,19],"./contacts/addDepartment.vue":["HHRu",0,18],"./contacts/addEmployee.vue":["00Sv",48],"./contacts/addGroup.vue":["mPjx",0,51],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,54],"./contacts/employeeIo.vue":["Rwbg",0,55],"./contacts/employeeRecord.vue":["zGJY",0,7],"./contacts/fileSet.vue":["CSjr",0,8],"./contacts/index.vue":["41Rh",0,72],"./contacts/recordInfo.vue":["67iC",0,13],"./contacts/recordIo.vue":["738z",0,22],"./contacts/recycle.vue":["HkK0",0,30],"./contacts/shareAddDepartment.vue":["q5Ri",0,17],"./contacts/shareCode.vue":["JsWW",0,61],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,32],"./contacts/storeFrame.vue":["7SJI",0,5],"./contacts/storeInfo.vue":["h/6A",0,10],"./contacts/storeIo.vue":["RHxA",0,59],"./contacts/unemployee.vue":["TGrv",0,14],"./enterpriseApp/appcenter.vue":["yuVF",0,27],"./enterpriseApp/badEvaluate/badEvaluateDetail.vue":["4m/B",0,62],"./enterpriseApp/badEvaluate/badEvaluateRecord.vue":["r//C",0,46],"./enterpriseApp/badEvaluate/badEvaluateSet.vue":["XzAK",0,56],"./enterpriseApp/badEvaluate/index.vue":["W0k8",0,37],"./enterpriseApp/cloudDaily/customReport.vue":["DxdI",0,38],"./enterpriseApp/cloudDaily/dailyDetail.vue":["5nNU",0,57],"./enterpriseApp/cloudDaily/dailyRecord.vue":["Ujni",0,45],"./enterpriseApp/cloudDaily/index.vue":["Knd1",0,71],"./enterpriseApp/cloudDaily/systemReport.vue":["Y8F9",0,60],"./enterpriseApp/cloudDaily/systemReportSet.vue":["VE2c",0,6],"./enterpriseApp/cloudDaily/taskAssign.vue":["5x7s",0,44],"./enterpriseApp/cloudDaily/template.vue":["IA9l",0,4],"./enterpriseApp/cloudDaily/template/block.vue":["PAYw",69],"./enterpriseApp/cloudDaily/template/date-range.vue":["79Bk",65],"./enterpriseApp/cloudDaily/template/image.vue":["H8Kg",63],"./enterpriseApp/cloudDaily/template/input.vue":["s4D+",64],"./enterpriseApp/cloudDaily/template/select.vue":["t0b0",36],"./enterpriseApp/index.vue":["da9f",53],"./enterpriseApp/mycustomer.vue":["cuIN",0,42],"./enterpriseApp/notice/addNotice.vue":["G5PL",0,73],"./enterpriseApp/notice/index.vue":["av/3",0,70],"./enterpriseApp/notice/noticeList.vue":["OVYO",0,25],"./enterpriseApp/quota/companyDaySet.vue":["xk7v",0,33],"./enterpriseApp/quota/index.vue":["FB5x",0,68],"./enterpriseApp/quota/monthList.vue":["ZxDn",0,11],"./enterpriseApp/quota/monthTask.vue":["cK0D",0,20],"./enterpriseApp/quota/monthTaskDetail.vue":["jMbb",0,34],"./enterpriseApp/quota/salerMonthDetail.vue":["IKv2",0,49],"./enterpriseApp/quota/storeMonthTask.vue":["kF1j",0,21],"./enterpriseApp/trafficTask/index.vue":["e88N",0,43],"./enterpriseApp/trafficTask/taskDetail.vue":["A33E",0,47],"./enterpriseApp/trafficTask/taskRecord.vue":["iG3v",0,41],"./enterpriseApp/trafficTask/trafficTaskSet.vue":["4H54",0,66],"./errorPage/403.vue":["6XGN",28],"./errorPage/404.vue":["AejC",29],"./errorPage/500.vue":["FskK",24],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,31],"./login/index.vue":["T+/8",0,9],"./reviewCenter/index.vue":["+lem",58],"./reviewCenter/reviewed.vue":["CLYF",0,16],"./reviewCenter/unreview.vue":["xCEU",0,15],"./setting/addAdmin.vue":["rs/A",0,40],"./setting/addAdminRole.vue":["fZsz",0,50],"./setting/companyAddress.vue":["SKyE",0,67],"./setting/companyCertify.vue":["3zYh",0,12],"./setting/index.vue":["VlR1",35],"./setting/replaceAdmin.vue":["ys9I",0,39],"./setting/setChildAdmin.vue":["VqB7",0,52],"./setting/staffDetails.vue":["Zyzf",0,26],"./setting/storePermission.vue":["Xwfy",0,23]};function o(e){var t=a[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+"'."))}o.keys=function(){return Object.keys(a)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},d={77:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"3f341add977b18a3efb0",1:"0ebe3ead93207dc78a78",2:"95e65373870423c59dc7",3:"c2fd89730cdd6d5b8904",4:"c23ab1c011f8ddc3428b",5:"d41ea5dba7a329f04b96",6:"af5f6241c09b00cd7e44",7:"7e0164566e8e00575481",8:"bb8853a5a6239a7e1349",9:"7dc467d5cfcb4cfb033f",10:"0415008ce1e9a883ceb3",11:"0a7059ea2e15c5acf938",12:"bdee76fd84034bc2d498",13:"99eba27757bf881d6c39",14:"70a11e50ec358505e2b6",15:"982c7f877d4d88d1d93b",16:"8f8e20ce84faa7e6b5e6",17:"2c76434ec01b2b5ee02f",18:"899eb9ec9050797cc2b4",19:"27c00c26337d1b0a5f29",20:"516a97da045de8173b75",21:"1218f07273b4fca490fc",22:"d249aa89b62990eb828d",23:"413b19e4c879b068a62c",24:"9d547e5255fc6330d24b",25:"c613f7ea850a38ab5967",26:"24fa9334a68a4c15b211",27:"67aff6575da1034dde97",28:"6a37c0d8bd425ec79cb7",29:"0155355dd99fffcb77d7",30:"1d1070b9cf82765f3db6",31:"af46f102606343be3a92",32:"41a1620b882cbd77f621",33:"98c9f8f46aabb33952e1",34:"a870a2a95752c259fbcb",35:"32cae9a3f9ba6b187945",36:"706cf2b1fed575cc2e7b",37:"8016d3ac07df8acaf73d",38:"419c9b68a385c260821b",39:"5a144b590087731c3653",40:"27851a220bdc8cf9de25",41:"67fc41319ca25ea2ba89",42:"0daee346d67f816b99c3",43:"9d05f4d2f06b9c6bba0e",44:"8b267f44a7d0855db1b1",45:"0c086d4c604bfae8f1e2",46:"8627c20ac6fb5b6dd47c",47:"cee4bd255fc6984e203a",48:"6d564387f233c08c800d",49:"16d7cb7cd95756ebf1a0",50:"1c8da7c7e73224e1079e",51:"b171588c2b70fec4c029",52:"10599ff77c8e1dc5cb61",53:"8802335b18fef4b4450b",54:"d1b44ac8d91eb92bf746",55:"a733127e23169fda7551",56:"91eb07cc8e7e8a4439b9",57:"b7e06a6ee4048a51a73d",58:"31750092465add0acd92",59:"133b37877d1a48ad1fd1",60:"6ff0cd2c4afde9bd8afc",61:"5b6712c4261c8c8331b1",62:"7c94a16a9482fc4a5f52",63:"81c8a522301e88b8c3f2",64:"d03865cf6990d2be8d2d",65:"d4d5eb36aca1fcd683b6",66:"6b5fc386ec869d82a1dc",67:"2d8e5c7eef8491a3cdba",68:"ba49712f562eff6edbc3",69:"e65d327b559f8fae7f73",70:"f19cdcc96fb03261fca5",71:"87a6af69154348344f0b",72:"14bd495ccecac00655be",73:"b89ad92812ac506a22b8",76:"fd376da7cdbac115205f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},d={77:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"bca2307edf91a137443b",1:"0ebe3ead93207dc78a78",2:"95e65373870423c59dc7",3:"c2fd89730cdd6d5b8904",4:"c23ab1c011f8ddc3428b",5:"d41ea5dba7a329f04b96",6:"af5f6241c09b00cd7e44",7:"7e0164566e8e00575481",8:"bb8853a5a6239a7e1349",9:"7dc467d5cfcb4cfb033f",10:"0415008ce1e9a883ceb3",11:"0a7059ea2e15c5acf938",12:"bdee76fd84034bc2d498",13:"99eba27757bf881d6c39",14:"70a11e50ec358505e2b6",15:"982c7f877d4d88d1d93b",16:"8f8e20ce84faa7e6b5e6",17:"2c76434ec01b2b5ee02f",18:"899eb9ec9050797cc2b4",19:"27c00c26337d1b0a5f29",20:"516a97da045de8173b75",21:"1218f07273b4fca490fc",22:"d249aa89b62990eb828d",23:"413b19e4c879b068a62c",24:"9d547e5255fc6330d24b",25:"c613f7ea850a38ab5967",26:"24fa9334a68a4c15b211",27:"67aff6575da1034dde97",28:"6a37c0d8bd425ec79cb7",29:"0155355dd99fffcb77d7",30:"1d1070b9cf82765f3db6",31:"af46f102606343be3a92",32:"41a1620b882cbd77f621",33:"98c9f8f46aabb33952e1",34:"a870a2a95752c259fbcb",35:"32cae9a3f9ba6b187945",36:"706cf2b1fed575cc2e7b",37:"8016d3ac07df8acaf73d",38:"419c9b68a385c260821b",39:"5a144b590087731c3653",40:"27851a220bdc8cf9de25",41:"67fc41319ca25ea2ba89",42:"0daee346d67f816b99c3",43:"9d05f4d2f06b9c6bba0e",44:"8b267f44a7d0855db1b1",45:"0c086d4c604bfae8f1e2",46:"8627c20ac6fb5b6dd47c",47:"cee4bd255fc6984e203a",48:"6d564387f233c08c800d",49:"16d7cb7cd95756ebf1a0",50:"1c8da7c7e73224e1079e",51:"b171588c2b70fec4c029",52:"10599ff77c8e1dc5cb61",53:"8802335b18fef4b4450b",54:"d1b44ac8d91eb92bf746",55:"a733127e23169fda7551",56:"91eb07cc8e7e8a4439b9",57:"b7e06a6ee4048a51a73d",58:"31750092465add0acd92",59:"133b37877d1a48ad1fd1",60:"6ff0cd2c4afde9bd8afc",61:"5b6712c4261c8c8331b1",62:"7c94a16a9482fc4a5f52",63:"81c8a522301e88b8c3f2",64:"d03865cf6990d2be8d2d",65:"d4d5eb36aca1fcd683b6",66:"6b5fc386ec869d82a1dc",67:"2d8e5c7eef8491a3cdba",68:"ba49712f562eff6edbc3",69:"e65d327b559f8fae7f73",70:"f19cdcc96fb03261fca5",71:"87a6af69154348344f0b",72:"14bd495ccecac00655be",73:"b89ad92812ac506a22b8",76:"fd376da7cdbac115205f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ 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.
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
<body style="min-width: 1400px;"> <body style="min-width: 1400px;">
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<!-- 公共库引用 cdn -->
<script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js"></script> <script src="//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js"></script>
<!-- <script src="https://cdn.ravenjs.com/3.26.2/vue/raven.min.js" crossorigin="anonymous"></script> --> <!-- <script src="https://cdn.ravenjs.com/3.26.2/vue/raven.min.js" crossorigin="anonymous"></script> -->
<script> <script>
......
...@@ -31,10 +31,8 @@ ...@@ -31,10 +31,8 @@
"requset": "^1.0.5", "requset": "^1.0.5",
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
"tinymce": "^4.8.3", "tinymce": "^4.8.3",
"vue": "^2.5.2",
"vue-awesome-swiper": "^3.1.3", "vue-awesome-swiper": "^3.1.3",
"vue-clipboard2": "^0.2.0", "vue-clipboard2": "^0.2.0",
"vue-router": "^3.0.1",
"xlsx": "^0.13.5" "xlsx": "^0.13.5"
}, },
"devDependencies": { "devDependencies": {
...@@ -91,7 +89,6 @@ ...@@ -91,7 +89,6 @@
"vue-style-loader": "^3.0.1", "vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.5.2", "vue-template-compiler": "^2.5.2",
"vuedraggable": "^2.17.0", "vuedraggable": "^2.17.0",
"vuex": "^3.0.1",
"webpack": "^3.6.0", "webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0", "webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.9.1", "webpack-dev-server": "^2.9.1",
......
import 'babel-polyfill'; import 'babel-polyfill';
import promise from 'es6-promise'; import promise from 'es6-promise';
promise.polyfill(); promise.polyfill();
import Vue from 'vue'; // import Vue from 'vue';
import App from './App'; import App from './App';
import router from './router'; import router from './router';
import ElementUI, { Message } from 'element-ui'; import ElementUI, { Message } from 'element-ui';
......
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