Commit 66ba9b7a by liuchenxi

update: build

parent 795e3846
......@@ -3,4 +3,4 @@
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.1571ff8d7942183db34e.js></script><script type=text/javascript src=./static/js/vendor.ecce21da6a46da8c2fc4.js></script><script type=text/javascript src=./static/js/app.06718fff30549aaa11f7.js></script></body></html>
\ No newline at end of file
})()</script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.1571ff8d7942183db34e.js></script><script type=text/javascript src=./static/js/vendor.ecce21da6a46da8c2fc4.js></script><script type=text/javascript src=./static/js/app.72cf9ccf0b4cfffb52ef.js></script></body></html>
\ No newline at end of file
webpackJsonp([41],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return r}),a.d(t,"c",function(){return m});var n="login",o="logout",r="title",m="show"},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Vna/")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},DcO3:function(e,t){},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("//Fk"),o=a.n(n),r=a("hKoQ"),m=a.n(r),i=a("Dd8w"),u=a.n(i),l=a("SJI6"),c=a.n(l),p={name:"App",data:function(){return{}},computed:u()({},Object(l.mapState)(["uniqueId"])),created:function(){this.baseUrl=window.location.origin.indexOf("localhost")>-1?"http://gicdev.demogic.com":window.location.origin,this._getUserInfo(),this.changeTab()},methods:{laout:function(){this.axios.get(this.baseUrl+"/api-auth/do-logout?requestProject=gic-member-tag-web")},_getUserInfo:function(){var e=this;this.axios.get(this.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId,n=t.data.result&&t.data.result.superAdmin;e.$store.commit("changeSuperAdmin",n),""===e.uniqueId&&e.$store.commit("changeUniqueId",a)}})},changeTab:function(){var e=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&e.axios.get(e.baseUrl+"/api-auth/get-login-user-info?requestProject=gic-member-tag-web").then(function(t){if(0==t.data.errorCode){var a=t.data.result&&t.data.result.userId;e.uniqueId!==a&&(e.$store.commit("changeUniqueId",a),e.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}}},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 g,d=a("VU/8")(p,s,!1,function(e){a("DcO3")},null,null).exports,f=a("pRNm"),b=a.n(f),v=a("5tgt"),h=a.n(v),T=function(e){a.e(1).then(a.bind(null,"EE2z")).then(function(t){e(t)})},G=[{path:"/",name:"index",redirect:"member-tag",component:h()("layout","layout"),children:[{path:"/member-tag",name:"会员标签",component:h()("platformTag","member-tag"),meta:{title:"会员标签",keepAlive:!0,componentName:"member-tag",fromPath:["/manualTagValueEdit"]}},{path:"/platformTagList",component:h()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:h()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:h()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:h()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagValueEdit",component:h()("manualTag","manual-tag-value-edit"),name:"标签值设置",meta:{title:"会员标签-标签值设置"}},{path:"/manualTagValueEditInfo",component:h()("manualTag","manual-tag-value-edit-info"),name:"标签值设置",meta:{title:"会员标签-会员标签详情"}},{path:"/syncTagHistory",component:h()("manualTag","syncTagHistory"),name:"同步标签",meta:{title:"会员标签-同步标签"}},{path:"/manualTagDetail",component:h()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagDetail",component:h()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:h()("memberGroup","index"),children:[{path:"/memberGroupList",component:h()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组",keepAlive:!0,componentName:"memberGroupList",fromPath:["/memberGroupEdit","/memberLevelDetail","/memberGroupDetail"]}},{path:"/memberGroupDetail",component:h()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberLevelDetail",component:h()("memberGroup","memberLevelDetail"),name:"分层详情",meta:{title:"会员标签-分层详情"}},{path:"/memberGroupAdd",component:h()("memberGroup","memberGroupEdit"),name:"新建分组",meta:{title:"会员标签-新建分组"}},{path:"/memberGroupEdit",component:h()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}},{path:"/memberGroupLog",component:h()("memberGroup","member-group-log"),name:"分组操作日志",meta:{title:"分组操作日志"}}]}]},{path:"/403",name:"无权访问",component:T},{path:"/404",name:"error404",component:T},{path:"/500",name:"error500",component:T},{path:"*",redirect:"/404",hidden:!0}],w=new b.a({routes:G,base:"/member-tag/",scrollBehavior:function(){return{y:0}}}),y=a("l6IN"),x=a("Rf8U"),L=a.n(x),k=a("OMN4"),D=a.n(k),E=a("bOdI"),N=a.n(E),P=a("lRwf"),I=a.n(P),q=a("5reh");I.a.use(c.a);var j=new c.a.Store({state:{user:{},token:null,title:"",show:!1,tagRealName:"",uniqueId:"",isSuperAdmin:0,delTrashNum:0},mutations:(g={},N()(g,q.a,function(e,t){sessionStorage.token=t,e.token=t}),N()(g,q.b,function(e){sessionStorage.removeItem("token"),e.token=null}),N()(g,q.d,function(e,t){e.title=t}),N()(g,q.c,function(e,t){e.show=t}),N()(g,"modiftTagName",function(e,t){e.tagRealName=t}),N()(g,"changeUniqueId",function(e,t){e.uniqueId=t||""}),N()(g,"changeSuperAdmin",function(e,t){e.isSuperAdmin=t}),N()(g,"changeDelTrashNum",function(e,t){e.delTrashNum=t}),g)}),C=(a("Xcu2"),a("4qCZ"),a("uKUT"),a("GqmT")),U=a.n(C);m.a.polyfill(),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,I.a.use(U.a),I.a.config.devtools=!0,I.a.use(L.a,D.a),I.a.axios.defaults.withCredentials=!0,I.a.prototype.$toTaskCenter=function(e){this.$confirm("任务发起成功,请去【企业管理】-【任务中心】查看处理结果和执行进度","任务发起成功",{confirmButtonText:"去任务中心",cancelButtonText:"取消",closeOnClickModal:!1,customClass:"import-link-confirm-content",type:"warning"}).then(function(){window.open("http://gicdev.demogic.com/gic-web/#/taskDetail/"+e)}).catch(function(){return!0})},I.a.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),I.a.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:y.Message.error("服务器500")}return o.a.reject(e.response.data)}),window.getLimit(w,"member-tag").then(function(){new I.a({el:"#app",router:w,store:j,components:{App:d},template:"<App/>"})})},OMN4:function(e,t){e.exports=axios},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,a){var n={"./errorPage/401.vue":["4KSJ",12],"./errorPage/403.vue":["aM+6",10],"./errorPage/404.vue":["PRsh",8],"./errorPage/500.vue":["/HCr",9],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",36],"./layout/layout.vue":["FNcP",39],"./linktools/linktools.vue":["Lc2x",0,27],"./linktools/linktoolsold.vue":["/8lq",0,23],"./linktools/linktoolspage.vue":["HLON",0,33],"./login/login.vue":["6Qob",0,22],"./manualTag/delete-tag-dialog.vue":["r9pr",0],"./manualTag/import-member-dialog.vue":["vRdD",31],"./manualTag/manual-tag-value-edit-info.vue":["y1vL",0,4],"./manualTag/manual-tag-value-edit.vue":["umZJ",0,6],"./manualTag/manualTagDetail.vue":["Tl/4",0,20],"./manualTag/manualTagEdit.vue":["308P",0,19],"./manualTag/manualTagLib.vue":["q490",0,29],"./manualTag/manualTagList.vue":["f0o3",0,18],"./manualTag/syncTagHistory.vue":["Gl7f",0,15],"./manualTag/tag-value-item.vue":["roJz",0],"./memberGroup/card-item.vue":["5kmy",0],"./memberGroup/edit-tag.vue":["jkVl",0],"./memberGroup/group-list.vue":["SJ7l",0,34],"./memberGroup/index.vue":["Gy5W",21],"./memberGroup/member-group-log.vue":["8jHj",0,11],"./memberGroup/memberGroupDetail.vue":["+/ey",0,3],"./memberGroup/memberGroupEdit.vue":["q0vu",0,7],"./memberGroup/memberGroupList.vue":["oVck",0,5],"./memberGroup/memberLevelDetail.vue":["Y4Pr",0,14],"./memberGroup/pyramid-group-table.vue":["/CFs",0,32],"./memberGroup/recommend-table.vue":["9ZvA",38],"./memberGroup/tags-group-list.vue":["vcge",0],"./memberGroup/tags-group.vue":["wx1P",0],"./platformTag/add-tag.vue":["tKpj",37],"./platformTag/member-tag.vue":["bytj",0,2],"./platformTag/myTag/myTagDetail.vue":["cm2p",0,26],"./platformTag/myTag/myTagLib.vue":["EHeP",0,25],"./platformTag/myTag/myTagList.vue":["C8bH",0,24],"./platformTag/platformTagDetail.vue":["KN59",0,13],"./platformTag/platformTagLib.vue":["puJc",0,28],"./platformTag/platformTagList.vue":["G/on",0,16],"./platformTag/second-tag.vue":["CUHN",0],"./platformTag/tag-container-active.vue":["0c8U",0,30],"./platformTag/tag-container-system.vue":["SQwf",0,35],"./platformTag/tag-container.vue":["Gndl",0],"./platformTag/tag-type.vue":["iHP3",0,17]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},l6IN:function(e,t){e.exports=ELEMENT},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
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