Commit 218b5fb2 by crushh

update: dist

parent d7617e21
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>qiankun</title><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.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/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.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/components/limit.1.0.60.js"></script><script src="//web-1251519181.file.myqcloud.com/components/layout.1.0.58.js"></script><script src="//web-1251519181.file.myqcloud.com/components/sub-title.1.0.8.js"></script><link rel="stylesheet" href="//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index-dm-blue.css"><link href="css/app.bec5e02f.css" rel="preload" as="style"><link href="js/app.af459b1d.js" rel="preload" as="script"><link href="js/chunk-vendors.c0dfc3b3.js" rel="preload" as="script"><link href="css/app.bec5e02f.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but qiankun doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.c0dfc3b3.js"></script><script src="js/app.af459b1d.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>qiankun</title><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.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/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index.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/components/limit.1.0.60.js"></script><script src="//web-1251519181.file.myqcloud.com/components/layout.1.0.58.js"></script><script src="//web-1251519181.file.myqcloud.com/components/sub-title.1.0.8.js"></script><link rel="stylesheet" href="//web-1251519181.file.myqcloud.com/lib/element-ui/2.15.6/index-dm-blue.css"><link href="css/app.bec5e02f.css" rel="preload" as="style"><link href="js/app.4ca9ec9f.js" rel="preload" as="script"><link href="js/chunk-vendors.c0dfc3b3.js" rel="preload" as="script"><link href="css/app.bec5e02f.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but qiankun doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.c0dfc3b3.js"></script><script src="js/app.4ca9ec9f.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp_report([0],{"00cn":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("b7ct"),i=r.n(a),n=r("162o"),s={data:function(){return{chart:null}},props:{colorMap:{required:!0},chartData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null},height:{type:Number,default:350}},mounted:function(){var e=this;Object(n.setTimeout)(function(){e.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{chartData:function(){this.drawChart()}},methods:{drawChart:function(){var e=this;this.chart&&this.chart.destroy();var t=new i.a.Chart({container:this.id,forceFit:!0,height:this.height});t.source(this.chartData),t.scale({rate:{formatter:function(e){return e+"%"}}}),t.interval().position("yearMonth*rate").color("name",function(t){return e.colorMap[t]||"#598AFF"}).adjust([{type:"dodge",marginRatio:1/32}]),t.render()}}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var l=r("VU/8")(s,o,!1,function(e){r("wVv6")},"data-v-b6e17bac",null);t.default=l.exports},"0cwN":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Dd8w"),i=r.n(a),n=r("b7ct"),s=r.n(n),o={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null},height:{type:Number,default:null}},mounted:function(){var e=this;setTimeout(function(){e.drawChart()},100)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy();var e={container:this.id,width:this.width,height:400,forceFit:!0};this.height&&(e=i()({},e,{height:this.height})),this.chart=new s.a.Chart(e),this.chart.source(this.charData,{"销售额":{tickCount:5,formatter:function(e){return e+" "}}}),this.chart.area().position("keyword*销售额").color("name","#5392f0").shape("smooth"),this.chart.line().position("keyword*销售额").color("name","#5392f0").shape("smooth"),this.chart.guide().regionFilter({top:!0,start:["min",0],end:["max","min"],color:"#18a1cd"}),this.chart.guide().region({top:!1,start:[2e3,"max"],end:[2016,"min"]}),this.chart.render()}}},l={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var c=r("VU/8")(o,l,!1,function(e){r("wmaP")},"data-v-257acd9b",null);t.default=c.exports},"162o":function(e,t,r){(function(e){var a=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function n(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new n(i.call(setTimeout,a,arguments),clearTimeout)},t.setInterval=function(){return new n(i.call(setInterval,a,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},n.prototype.unref=n.prototype.ref=function(){},n.prototype.close=function(){this._clearFn.call(a,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,r("DuR2"))},"5zZl":function(e,t){},"5zde":function(e,t,r){r("zQR9"),r("qyJz"),e.exports=r("FeBl").Array.from},"75WE":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Dd8w"),i=r.n(a),n=r("b7ct"),s=r.n(n),o={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null},height:{type:Number,default:60},value:{type:String,default:"value"}},mounted:function(){var e=this;setTimeout(function(){e.drawChart()},20)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy();var e={container:this.id,width:this.width,padding:[0,40,0,40],forceFit:!0};this.height&&(e=i()({},e,{height:this.height}));var t=this.charData.slice(0);t=t.map(function(e){return e.country=e.country||"",e}),this.chart=new s.a.Chart(e),this.chart.source(t),this.chart.axis("keyword",!1),this.chart.axis(this.value,!1),this.chart.line().position("keyword*"+this.value).color("country").shape("smooth"),this.chart.area().position("keyword*"+this.value).color("country").shape("smooth"),this.chart.guide().region({top:!1,start:[2e3,"max"],end:[2016,"min"]}),this.chart.render()}}},l={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var c=r("VU/8")(o,l,!1,function(e){r("5zZl")},"data-v-37897143",null);t.default=c.exports},"8V46":function(e,t,r){"use strict";t.a=function(e){if(e)return a.Message.warning(e),!1;a.Message.warning("操作失败");return!1},t.c=function(e){e?a.Message.success(e):a.Message.success("操作成功")},t.b=function(e){if("cancel"==e)return a.Message.info(e||"取消"),!1;if(!e.hasOwnProperty("response"))return a.Message.error(e),!1;if(401==e.response.status)return a.Message.error("登录过期"),!1;if(500==e.response.status)return a.Message.error("服务器错误500"),!1};var a=r("l6IN");r.n(a)},AKaA:function(e,t,r){"use strict";var a=r("//Fk"),i=r.n(a),n=r("OMN4"),s=r.n(n),o=(window.location.origin,r("mw3O"));t.a=function(e,t){return function(e,t){return new i.a(function(r,a){s.a.post(e,t).then(function(e){r(e)}).catch(function(e){a(e)})})}(e+"?requestProject=report",t)},t.b=function(e,t){return function(e,t){return new i.a(function(r,a){s.a.post(e,o.stringify(t)).then(function(e){r(e)}).catch(function(e){a(e)})})}(e+"?requestProject=report",t)}},"Ap/L":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Dd8w"),i=r.n(a),n=r("2CGT"),s=r("EOvX"),o={name:"ranking-list",props:{type:String,dateTime:String},data:function(){return{dateTime:new Date,tableList:[],listParams:{time:"",currentPage:1,pageSize:10,orderBy:10},total:0,loading:!1}},watch:{dateTime:function(){this.refresh()}},filters:{fnumber:function(e){return e==1/0||isNaN(e)||!e?0:Math.floor(e)<e?e.toFixed(2):e}},methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.listParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getTableList()},sortMethod:function(e){var t=0;if(e.order)switch(e.prop){case"rate2":t="ascending"==e.order?7:8;break;case"newOpenWechatCnt1m":t="ascending"==e.order?9:10;break;case"newBondWechatCnt1m":t="ascending"==e.order?11:12;break;case"newPosMbrCnt1m":t="ascending"==e.order?13:14;break;case"nonmbrDealNumber":t="ascending"==e.order?15:16}this.listParams.orderBy=t,this.refresh()},setStore:function(e){this.$router.push({path:"/memberArea",query:{storeId:e.storeGroupId,storeGroupName:e.storeGroupName}})},getTableList:function(){var e=this;this.loading=!0;var t=i()({},this.listParams);t.rankType=this.type||"area",t.time=Object(s.a)(this.dateTime,"yyyy-MM"),Object(n.G)(t).then(function(t){e.loading=!1,e.tableList=t.result.result||[],e.total=t.result.totalCount||0}).catch(function(){e.loading=!1})}},mounted:function(){this.getTableList()}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[r("el-table",{staticClass:"r-p-table",staticStyle:{width:"100%"},attrs:{data:e.tableList},on:{"sort-change":e.sortMethod}},[r("el-table-column",{attrs:{align:"center",prop:"date",label:"排序",width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{"line-height":"1"}},[r("div",{staticClass:"rank-icon"},[r("span",{class:t.row.sort<4?"rank"+t.row.sort:""},[e._v(e._s(t.row.sort||"-"))])])])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"date",label:"area"==e.type?"区域":"门店","min-width":"200px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return["area"==e.type?[t.row.storeGroupId?r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.setStore(t.row)}}},[e._v(e._s(t.row.storeGroupName||"--"))]):r("span",[e._v(e._s(t.row.storeGroupName||"--"))])]:e._e(),e._v(" "),"store"==e.type?r("span",[e._v(e._s(t.row.storeName||"--"))]):e._e()]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"right",prop:"newOpenWechatCnt1m",label:"新增微信开卡会员数",sortable:"custom","min-width":"180px"}}),e._v(" "),r("el-table-column",{attrs:{align:"right",prop:"newBondWechatCnt1m",label:"POS转微信会员数",sortable:"custom","min-width":"180px"}}),e._v(" "),r("el-table-column",{attrs:{align:"right",prop:"newPosMbrCnt1m",label:"新增POS会员数",sortable:"custom","min-width":"180px"}}),e._v(" "),r("el-table-column",{attrs:{align:"right",prop:"rate2",label:"微信会员率",sortable:"custom","min-width":"180px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("fnumber")(100*t.row.wechatDealNumber/t.row.totalDealNumber))+"%\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"right",prop:"nonmbrDealNumber",label:"新增非会员订单数",sortable:"custom","min-width":"180px"}})],1),e._v(" "),r("div",{staticClass:"dm-page"},[r("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{"current-page":e.listParams.currentPage,"page-size":e.listParams.pageSize,layout:"total, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)},staticRenderFns:[]},c=r("VU/8")(o,l,!1,null,null,null);t.default=c.exports},"B+T8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Xxa5"),i=r.n(a),n=r("exGp"),s=r.n(n),o=r("woOf"),l=r.n(o),c=r("2CGT"),u=(r("162o"),{props:{placeholder:{type:String,default:"请选择门店分组"},model:{type:Object,default:function(){return{}}}},data:function(){return{popoverShow:!1,treeData:[],newModel:l()({},this.model)}},created:function(){this.storeGroupList()},methods:{storeGroupList:function(){var e=this;return s()(i.a.mark(function t(){var r,a,n;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=function e(t){t.map(function(t){t.label=t.storeGroupName,t.id=t.storeGroupId,t.children instanceof Array&&t.children.length>0&&e(t.children)})},t.next=3,Object(c._10)();case 3:r=t.sent,a=r.result,n(a),e.treeData=a,e.$store.commit("getAllGroupId",e.treeData[0].id),e.$nextTick(function(t){e.$refs.tree.setCurrentKey(e.newModel.id)});case 9:case"end":return t.stop()}},t,e)}))()},handleNodeClick:function(e,t,r){this.newModel=e},submit:function(){this.popoverShow=!1,this.$emit("commit-store",this.newModel)},close:function(){this.popoverShow=!1}}}),m={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"inline-block","vertical-algin":"middle"}},[r("el-popover",{staticClass:"store__popover",attrs:{placement:"bottom",width:"175",trigger:"click"},model:{value:e.popoverShow,callback:function(t){e.popoverShow=t},expression:"popoverShow"}},[r("el-input",{attrs:{slot:"reference","suffix-icon":"el-icon-arrow-down",value:e.newModel.label,placeholder:e.newModel.label?"":e.placeholder},slot:"reference"}),e._v(" "),r("el-tree",{ref:"tree",staticStyle:{height:"260px","overflow-y":"auto"},attrs:{"node-key":"id",data:e.treeData,"highlight-current":!0},on:{"node-click":e.handleNodeClick}}),e._v(" "),r("div",{staticClass:"store-btn-wrap"},[r("span",{staticClass:"cursor vertical-middle",staticStyle:{"font-size":"12px"},on:{click:e.close}},[e._v("取消")]),e._v(" "),r("el-button",{attrs:{size:"mini",type:"text"},on:{click:e.submit}},[e._v("确定")])],1)],1)],1)},staticRenderFns:[]};var h=r("VU/8")(u,m,!1,function(e){r("Y6Q1")},"data-v-2abf74c5",null);t.default=h.exports},Cdx3:function(e,t,r){var a=r("sB3e"),i=r("lktj");r("uqUo")("keys",function(){return function(e){return i(a(e))}})},DuR2:function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},EOvX:function(e,t,r){"use strict";t.a=function(e,t){var r={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length)));for(var a in r)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?r[a]:("00"+r[a]).substr((""+r[a]).length)));return t}},Gu7T:function(e,t,r){"use strict";t.__esModule=!0;var a,i=r("c/Tr"),n=(a=i)&&a.__esModule?a:{default:a};t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}},Lit6:function(e,t){},NTL1:function(e,t,r){"use strict";t.a={baseUrl:"http://gicdev.demogic.com",doLogin:"/api-auth/do-login",enterprise:"/api-auth/list-login-enterprise",clerkMenu:"/api-auth/login-clerk-menu",tagManageList:"/api-member/tag-manage-list",insertParentTag:"/api-member/insert-parent-tag",insertSonTag:"/api-member/insert-son-tag",deleteParentTag:"/api-member/delete-parent-tag",deleteSonTag:"/api-member/delete-son-tag",memberMissionList:"/api-member/member-mission-list",memberMissionUpdate:"/api-member/member-mission-update",memberMissionOpen:"/api-member/member-mission-open",achievementList:"/api-member/achievement-list",achievementUpdate:"/api-member/achievement-update",achievementOpen:"/api-member/achievement-open",findMemberGroups:"/api-member/find-member-groups-page",insertMemberGroup:"/api-member/insert-member-group",updateMemberGroup:"/api-member/update-member-group",ajaxMembers:"/api-member/ajax-members",ajaxDealMembers:"/api-member/query-members-page",deteleMemberGroup:"/api-member/detele-member-group",findMemberGroupInfo:"/api-member/find-member-group-info",findMemberFields:"/api-member/find-member-fields",updateFields:"/api-member/update-fields",memberCount:"/api-member/ecommerce-member-count",updateIntegrals:"/api-member/members-batch-update-integrals",storeCodeName:"/api-plug/query-store-by-code-name",gradeList:"/api-admin/grade-list",updateGrade:"/api-member/members-batch-update-grade",updateStore:"/api-member/members-batch-update-store",batchProcess:"/api-member/get-members-batch-process",membersSubStoreList:"/api-member/members-sub-store-list",singleInfo:"/api-member/load-member-single-info",memberCardsPage:"/api-member/member-cards-page",writeOff:"/api-member/member-card-write-off",cardDestroy:"/api-member/member-card-destroy",cardChannelType:"/api-member/card-channel-type",memberDetail:"/api-member/member-load-member-detail",baseDetail:"/api-member/member-load-base-detail",addressPage:"/api-member/member-load-receiving-address-page",extendInfo:"/api-member/member-load-extend-info",logPage:"/api-member/member-load-operate-log-page",memberGrade:"/api-member/member-load-update-member-grade",updateBaseDetail:"/api-member/member-load-update-base-detail",updateImgUrl:"/api-member/member-load-update-imgUrl",ajaxMembersInfo:"/api-member/ajax-members-info",memberOrderPage:"/api-member/member-order-page",orderDetail:"/api-member/member-order-detail",infoMall:"/api-member/ajax-members-info-mall",ajaxWechatMembers:"/api-member/ajaxMembers",talkLogPage:"/api-member/member-talk-log-page",clerkTags:"/api-member/member-load-find-clerk-tags",updateClerkTags:"/api-member/member-load-update-clerk-tags",codeList:"/api-member/get-naction-code-list",updateRemark:"/api-member/member-load-update-remark",integralDataPage:"/api-member/member-integral-data-page",integralOperateType:"/api-member/member-integral-operate-type",memberIntegralUpdate:"/api-member/member-integral-update",enterpriseInfo:"/api-member/enterprise-info",posInfo:"/api-member/member-load-member-pos-info",posBaseDetail:"/api-member/member-load-update-pos-base-detail"}},P4OD:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=0,i="webkit moz ms o".split(" "),n=void 0,s=void 0;if("undefined"==typeof window)n=function(){},s=function(){};else{n=window.requestAnimationFrame,s=window.cancelAnimationFrame;for(var o=void 0,l=0;l<i.length&&(!n||!s);l++)o=i[l],n=n||window[o+"RequestAnimationFrame"],s=s||window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"];n&&s||(n=function(e){var t=(new Date).getTime(),r=Math.max(0,16-(t-a)),i=window.setTimeout(function(){e(t+r)},r);return a=t+r,i},s=function(e){window.clearTimeout(e)})}var c={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:0},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return e>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,r,a){return r*(1-Math.pow(2,-10*e/a))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=n(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){s(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,n(this.count)},reset:function(){this.startTime=null,s(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e),this.timestamp=e;var t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t<this.localDuration?this.rAF=n(this.count):this.$emit("callback")},isNumber:function(e){return!isNaN(parseFloat(e))},formatNumber:function(e){"string"==typeof e&&(e=Number(e)),e=(e=isNaN(e)?0:e).toFixed(this.decimals);var t=(e+="").split("."),r=t[0],a=t.length>1?this.decimal+t[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(r);)r=r.replace(i,"$1"+this.separator+"$2");return this.prefix+r+a+this.suffix}},destroyed:function(){s(this.rAF)}},u={render:function(){var e=this.$createElement;return(this._self._c||e)("span",[this._v("\n "+this._s(this.displayValue)+"\n")])},staticRenderFns:[]},m=r("VU/8")(c,u,!1,null,null,null);t.default=m.exports},W2nU:function(e,t){var r,a,i=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===n||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:n}catch(e){r=n}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var l,c=[],u=!1,m=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):m=-1,c.length&&d())}function d(){if(!u){var e=o(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++m<t;)l&&l[m].run();m=-1,t=c.length}l=null,u=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||o(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},Y6Q1:function(e,t){},"c/Tr":function(e,t,r){e.exports={default:r("5zde"),__esModule:!0}},fBQ2:function(e,t,r){"use strict";var a=r("evD5"),i=r("X8DO");e.exports=function(e,t,r){t in e?a.f(e,t,i(0,r)):e[t]=r}},fZjL:function(e,t,r){e.exports={default:r("jFbC"),__esModule:!0}},iWud:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"fix-tips",props:{show:{type:Boolean,default:!1},active:String,isMemberArea:Boolean},data:function(){return{updateTips:{member:"此页面更新频率 1天/次"}}},methods:{changeShow:function(e){this.$emit("update:show",e)}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"fix-tips",class:{show:e.show}},[r("div",{staticClass:"content",class:{fadeInRight:e.show}},[r("p",{staticClass:"title"},[e._v("\n 数据指标说明\n "),r("i",{staticClass:"el-icon-close close",on:{click:function(t){return e.changeShow(!1)}}})]),e._v(" "),"member"==e.active?r("p",{staticStyle:{margin:"-15px 0 10px 38px","font-size":"12px"}},[e._v("\n "+e._s(e.updateTips.member)+"\n ")]):e._e(),e._v(" "),r("div",{staticStyle:{"overflow-y":"auto","padding-left":"20px","padding-right":"10px"}},["member"==e.active?r("ul",{staticClass:"context",staticStyle:{height:"60vh"}},[e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),e.isMemberArea?e._e():r("li",[r("p",[e._v("流失率")]),e._v(" "),r("p",[e._v("微信会员流失率:曾经有消费但最近360天以上无消费的微信会员占曾经有消费的微信会员占比。")]),e._v(" "),r("p",[e._v("POS会员流失率:曾经有消费但最近360天以上无消费的POS会员占曾经有消费的POS会员占比。")])])]):e._e(),e._v(" "),"company"==e.active?r("ul",{staticClass:"context",staticStyle:{height:"57vh"}},[e._m(3),e._v(" "),e._m(4),e._v(" "),e._m(5),e._v(" "),e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8),e._v(" "),e._m(9),e._v(" "),e._m(10)]):e._e()]),e._v(" "),"company"==e.active?r("a",{staticClass:"readMore",attrs:{target:"_blank",href:"https://www.yuque.com/exnmlu/hpbb1c/tm9y4k"}},[e._v("查看详细帮助文档 "),r("i",{staticClass:"el-icon-back",staticStyle:{transform:"scaleX(-1)","margin-left":"5px"}})]):e._e()]),e._v(" "),r("div",{staticClass:"mask",on:{click:function(t){return e.changeShow(!1)}}})])},staticRenderFns:[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",[r("p",[e._v("会员总数")]),e._v(" "),r("p",[e._v("按开卡门店统计。")]),e._v(" "),r("p",[e._v("会员总数:截至最新统计时间,已开卡的会员总数。")]),e._v(" "),r("p",[e._v("微信会员(总数):通过微信服务号或小程序开卡认证的会员,包括POS开卡转为微信会员的。")]),e._v(" "),r("p",[e._v("POS会员:直接在POS上开卡的会员。")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",[r("p",[e._v("新增会员")]),e._v(" "),r("p",[e._v("按开卡门店统计。")]),e._v(" "),r("p",[e._v("新增微信开卡会员:所选期间内微信开卡的会员总数。取数平台筛选条件:是否POS=否,是否微信=是,按开卡时间,选择门店状态=上线;")]),e._v(" "),r("p",[e._v("POS会员转微信:已开卡的POS会员通过微信服务号或小程序进行认证的会员。取数平台筛选条件:是否POS=是,是否微信=是,按认证时间,选择门店状态=上线;")]),e._v(" "),r("p",[e._v("新增微信会员:所选期间内新增的微信会员,=新增微信开卡总数 + POS会员转微信会员数。")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",[r("p",[e._v("会员率")]),e._v(" "),r("p",[e._v("按消费门店统计。")]),e._v(" "),r("p",[e._v("(整体)会员率:会员成交单数/总成交单数。")]),e._v(" "),r("p",[e._v("微信会员率:微信会员成交单数/总成交单数。")]),e._v(" "),r("p",[e._v("成交单数:即有效订单数。订单销售额(应收)>0的订单个数,退换货订单金额>0的也计入; 当天购买且退完的不计入。")]),e._v(" "),r("p",[e._v("新增非会员订单数:按有效订单计算。")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微好友数")]),this._v(" "),t("p",[this._v("截至昨天,关联了好办导购账号的企微员工所添加的微信好友数量。")]),this._v(" "),t("div",{staticClass:"warningText"},[t("p",[t("i",{staticClass:"el-icon-warning hightLight"})]),this._v(" "),t("p",{staticClass:"hightLight"},[this._v("由于统计方式不同,因此请勿直接将此处的数据与企业微信后台的“客户数”对比,两者无可比性。")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微好友人数")]),this._v(" "),t("p",[this._v("在“企微好友数”的基础上,同一门店下一个客户是多个导购的好友,会进行去重。")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微会员数")]),this._v(" "),t("p",[this._v("截至昨天,服务门店属于该门店的会员中,和任何一个关联了好办导购账号的企微员工是好友关系的人数。")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微会员占比")]),this._v(" "),t("p",[this._v("企微会员数/会员数(以该门店为服务门店的会员数)")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微好友开卡数")]),this._v(" "),t("p",[this._v("在所选时间段内开卡,且“关注渠道”为企微,开卡门店为该门店的会员数量")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微好友开卡占比")]),this._v(" "),t("p",[this._v("企微好友开卡数/新增会员数(在所选时间段内开卡的开卡门店为该门店的会员数量)")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微会员订单数")]),this._v(" "),t("p",[this._v("所选时间段内在该门店消费的订单,且订单会员与该门店中某导购(不局限于消费导购)为企微好友的会员成交的订单数。")]),this._v(" "),t("div",{staticClass:"warningText"},[t("p",[t("i",{staticClass:"el-icon-warning hightLight"})]),this._v(" "),t("p",{staticClass:"lowLight"},[this._v("数据当天固化,且补录的订单不会重跑数据。比如1号那天有2笔企微会员订单,即使3号的时候其中有个客户的企微好友关系解除了,\n 在3号去查询1号时候的企微会员订单时仍然是2笔;或者1号那天有2笔会员订单,即使3号的时候其中一个会员添加了消费门店中的某导购为好友,\n 该订单还是会员订单,而不会被计为企微会员订单。")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("li",[t("p",[this._v("企微会员订单率")]),this._v(" "),t("p",[this._v("所选时间段内企微会员订单数/总有效订单数")])])}]};var n=r("VU/8")(a,i,!1,function(e){r("Lit6")},"data-v-07e7efdf",null);t.default=n.exports},jFbC:function(e,t,r){r("Cdx3"),e.exports=r("FeBl").Object.keys},mypn:function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var a,i,n,s,o,l=1,c={},u=!1,m=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?a=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){p(e.data)},a=function(e){n.port2.postMessage(e)}):m&&"onreadystatechange"in m.createElement("script")?(i=m.documentElement,a=function(e){var t=m.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):a=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),a=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return c[l]=i,a(l),l++},h.clearImmediate=d}function d(e){delete c[e]}function p(e){if(u)setTimeout(p,0,e);else{var t=c[e];if(t){u=!0;try{!function(e){var t=e.callback,a=e.args;switch(a.length){case 0:t();break;case 1:t(a[0]);break;case 2:t(a[0],a[1]);break;case 3:t(a[0],a[1],a[2]);break;default:t.apply(r,a)}}(t)}finally{d(e),u=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,r("DuR2"),r("W2nU"))},oAV5:function(e,t,r){"use strict";t.a=function(e){var t=RegExp("[?&]"+e+"=([^&]*)").exec(window.location.href);return t&&decodeURIComponent(t[1].replace(/\+/g," "))},t.b=function(e){if("--"===e)return"--";if(!(e=""+e))return"--";return e.replace(/\B(?=(\d{3})+(?!\d))/g,",")},t.c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return e;var t=[],r=[];return e.forEach(function(e){e[s()(e)[0]].forEach(function(e){r.includes(e.name)||r.push(e.name)})}),e.forEach(function(e){var a=s()(e)[0],n=r.map(function(t){var r=e[a].filter(function(e){return e.name===t})[0];return r?(r.value=parseFloat(r.value),i()(r,{date:a})):{date:a,name:t,value:0}});t=t.concat(n)}),t};var a=r("woOf"),i=r.n(a),n=r("fZjL"),s=r.n(n)},qyJz:function(e,t,r){"use strict";var a=r("+ZMJ"),i=r("kM2E"),n=r("sB3e"),s=r("msXi"),o=r("Mhyx"),l=r("QRG4"),c=r("fBQ2"),u=r("3fs2");i(i.S+i.F*!r("dY0y")(function(e){Array.from(e)}),"Array",{from:function(e){var t,r,i,m,h=n(e),d="function"==typeof this?this:Array,p=arguments.length,f=p>1?arguments[1]:void 0,v=void 0!==f,b=0,g=u(h);if(v&&(f=a(f,p>2?arguments[2]:void 0,2)),void 0==g||d==Array&&o(g))for(r=new d(t=l(h.length));t>b;b++)c(r,b,v?f(h[b],b):h[b]);else for(m=g.call(h),r=new d;!(i=m.next()).done;b++)c(r,b,v?s(m,f,[i.value,b],!0):i.value);return r.length=b,r}})},uqUo:function(e,t,r){var a=r("kM2E"),i=r("FeBl"),n=r("S82l");e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],s={};s[e]=t(r),a(a.S+a.F*n(function(){r(1)}),"Object",s)}},wVv6:function(e,t){},wmaP:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(function(e){function t(t){for(var o,c,i=t[0],u=t[1],l=t[2],p=0,f=[];p<i.length;p++)c=i[p],Object.prototype.hasOwnProperty.call(r,c)&&r[c]&&f.push(r[c][0]),r[c]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);s&&s(t);while(f.length)f.shift()();return a.push.apply(a,l||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],o=!0,i=1;i<n.length;i++){var u=n[i];0!==r[u]&&(o=!1)}o&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var o={},r={app:0},a=[];function c(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=o,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)c.d(n,o,function(t){return e[t]}.bind(null,o));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=u;a.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"034f":function(e,t,n){"use strict";n("85ec")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var o=n("8bbf"),r=n.n(o),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("dm-layout",{attrs:{projectName:e.projectName,basePath:e.basePath,isQiankun:!0}},[n("div",{attrs:{id:"container"}})])],1)},c=[],i=(n("ac1f"),n("1276"),n("7db0"),n("d3b7"),n("b0c0"),n("caad"),n("2532"),[{name:"marketing",entry:"//gicdev.demogic.com/marketing",container:"#container",activeRule:"/marketing/"},{name:"report",entry:"//gicdev.demogic.com/report/#/memberSummary",container:"#container",activeRule:"/report/"}]),u=i,l={name:"App",provide:function(){return{reload:this.reload}},data:function(){return{current:"",microApps:u}},created:function(){console.log(window),console.log(window.location.href.split("#"))},computed:{projectName:function(){return this.$store.state.projectName},basePath:function(){var e=this.$store.state.projectName;return console.log(e),console.log(u.find((function(t){return t.name==e}))),u.find((function(t){return t.name==e})).activeRule}},methods:{goto:function(e){e.activeRule.includes("marketing")?history.pushState(null,e.activeRule,"http://localhost:8080/marketing/#/marketing-app-list"):e.activeRule.includes("report")?history.pushState(null,e.activeRule,"http://localhost:8080/report/#/memberSummary"):e.activeRule.includes("member")&&history.pushState(null,e.activeRule,"http://localhost:8080/member/#/allCustomers"),this.current=e.name}}},s=l,p=(n("034f"),n("2877")),f=Object(p["a"])(s,a,c,!1,null,null,null),m=f.exports,d=n("6389"),b=n.n(d),h=n("cebe"),g=n.n(h),v=n("5880"),y=n.n(v);r.a.use(y.a);var j=new y.a.Store({state:{projectName:"report"},mutations:{changeMicoApplication:function(e,t){console.log(t);var n=t.name;e.projectName=n}}}),w=j,O=n("34ac9"),x=n("548a"),S=n("07ec");console.log(w),Object(O["b"])(u,{beforeLoad:function(e){console.log("before load app.name====>>>>>",e.name),w.commit("changeMicoApplication",e)},beforeMount:[function(e){console.log("[LifeCycle] before mount %c%s","color: green;",e.name)}],afterMount:[function(e){console.log("[LifeCycle] after mount %c%s","color: green;",e.name)}],afterUnmount:[function(e){console.log("[LifeCycle] after unmount %c%s","color: green;",e.name)}]}),Object(x["a"])((function(e){return console.log(e)})),Object(S["a"])("/report/"),Object(O["c"])();n("d671");r.a.prototype.axios=g.a,r.a.prototype.axios.defaults.withCredentials=!0,r.a.use(b.a),r.a.config.productionTip=!1;var k="/",P=[],R=new b.a({base:k,routes:P});new r.a({router:R,store:w,render:function(e){return e(m)}}).$mount("#app")},5880:function(e,t){e.exports=Vuex},6389:function(e,t){e.exports=VueRouter},"85ec":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},cebe:function(e,t){e.exports=axios},d671:function(e,t,n){}});
//# sourceMappingURL=app.4ca9ec9f.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/App.vue?3d32","webpack:///./src/micro-app.js","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue","webpack:///./src/store.js","webpack:///./src/qiankun.js","webpack:///./src/main.js","webpack:///external \"Vuex\"","webpack:///external \"VueRouter\"","webpack:///external \"Vue\"","webpack:///external \"axios\""],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","projectName","basePath","staticRenderFns","microApps","entry","container","activeRule","provide","reload","current","created","console","computed","methods","goto","item","history","component","Vue","use","Vuex","store","Store","state","mutations","changeMicoApplication","obj","log","registerMicroApps","beforeLoad","app","commit","beforeMount","afterMount","afterUnmount","addGlobalUncaughtErrorHandler","event","setDefaultMountApp","start","axios","defaults","withCredentials","VueRouter","config","productionTip","microName","routes","router","base","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ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EAAS,IAAIL,IAAU,CAC3BM,KAAMH,EACNC,WAIF,IAAI5B,IAAI,CACN6B,SACA1B,QACA4B,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,MACdC,OAAO,S,mBCzBVzF,EAAOD,QAAU0D,M,mBCAjBzD,EAAOD,QAAUgF,W,8CCAjB/E,EAAOD,QAAUwD,K,mBCAjBvD,EAAOD,QAAU6E,O","file":"js/app.af459b1d.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\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 = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('dm-layout',{attrs:{\"projectName\":_vm.projectName,\"basePath\":_vm.basePath,\"isQiankun\":true}},[_c('div',{attrs:{\"id\":\"container\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n// const getActiveRule = (hash) => (location) => location.hash.startsWith(hash);\r\nconst microApps = [\r\n {\r\n name: 'marketing',\r\n entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/marketing' : '//localhost:8001/marketing/',\r\n container: '#container',\r\n activeRule: '/marketing/',\r\n },\r\n {\r\n name: 'report',\r\n entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/report' : '//localhost:8003/report/',\r\n container: '#container',\r\n activeRule: '/report/',\r\n },\r\n // {\r\n // name: 'member',\r\n // entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/member' : '//localhost:8002/member/',\r\n // container: '#container',\r\n // activeRule: '/member/',\r\n // },\r\n];\r\n\r\nexport default microApps;\r\n","<template>\n<div>\n <dm-layout :projectName=\"projectName\" :basePath=\"basePath\" :isQiankun=\"true\">\n <div id=\"container\"></div>\n </dm-layout>\n</div>\n</template>\n<script>\nimport microApps from './micro-app';\nexport default {\n name: 'App',\n provide () {\n // 刷新本页面\n return {\n reload: this.reload,\n };\n },\n data () {\n return {\n current:'',\n microApps,\n \n };\n },\n created(){\n console.log(window)\n console.log( window.location.href.split('#'))\n },\n computed:{\n projectName(){\n return this.$store.state.projectName\n },\n basePath(){\n let appName = this.$store.state.projectName\n console.log(appName)\n console.log(microApps.find(item=>item.name==appName))\n return microApps.find(item=>item.name==appName).activeRule\n }\n },\n methods: {\n goto (item) {\n if(item.activeRule.includes('marketing')){\n history.pushState(null, item.activeRule,`http://localhost:8080/marketing/#/marketing-app-list`)\n // window.location.href = '/marketing';\n \n }else if(item.activeRule.includes('report')){\n history.pushState(null, item.activeRule,`http://localhost:8080/report/#/memberSummary`)\n // window.location.href = '/report';\n }else if(item.activeRule.includes('member')){\n history.pushState(null, item.activeRule,`http://localhost:8080/member/#/allCustomers`)\n // window.location.href = '/member';\n }\n \n // window.location.href = `http://localhost:8080/marketing/#/marketing-app-list`;\n this.current = item.name\n },\n },\n};\n</script>\n<style>\n li{\n list-style: none;\n display: inline-block;\n padding: 0 20px;\n cursor: pointer;\n\n }\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2d86e1bf&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\n\r\nVue.use(Vuex)\r\n\r\nconst store = new Vuex.Store({\r\n state: {\r\n projectName: 'report',\r\n },\r\n mutations: {\r\n changeMicoApplication (state,obj) {\r\n console.log(obj)\r\n const {name } = obj;\r\n state.projectName = name;\r\n }\r\n }\r\n })\r\nexport default store;","import microApps from './micro-app';\r\nimport store from './store';\r\nimport { registerMicroApps, start, addGlobalUncaughtErrorHandler,setDefaultMountApp } from 'qiankun';\r\n\r\nconsole.log(store)\r\nregisterMicroApps(microApps, {\r\n beforeLoad: app => {\r\n console.log('before load app.name====>>>>>', app.name);\r\n store.commit('changeMicoApplication',app)\r\n },\r\n beforeMount: [\r\n app => {\r\n console.log('[LifeCycle] before mount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n afterMount: [\r\n app => {\r\n console.log('[LifeCycle] after mount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n afterUnmount: [\r\n app => {\r\n console.log('[LifeCycle] after unmount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n});\r\naddGlobalUncaughtErrorHandler((event) => console.log(event));\r\n\r\nsetDefaultMountApp('/report/')\r\nstart();\r\n","import Vue from 'vue'\nimport App from './App.vue'\nimport VueRouter from 'vue-router';\nimport axios from 'axios';\nimport store from './store'\nimport './qiankun.js';\nimport '@/assets/reset.scss'\n\nVue.prototype.axios = axios;\nVue.prototype.axios.defaults.withCredentials = true;\nVue.use(VueRouter);\nVue.config.productionTip = false\nconst microName = '/'\n \nconst routes = []\nconst router = new VueRouter({\n base: microName,\n routes,\n});\n\n\nnew Vue({\n router,\n store,\n render: h => h(App),\n}).$mount('#app')\n ","module.exports = Vuex;","module.exports = VueRouter;","module.exports = Vue;","module.exports = axios;"],"sourceRoot":""} {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/App.vue?3d32","webpack:///./src/micro-app.js","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue","webpack:///./src/store.js","webpack:///./src/qiankun.js","webpack:///./src/main.js","webpack:///external \"Vuex\"","webpack:///external \"VueRouter\"","webpack:///external \"Vue\"","webpack:///external \"axios\""],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","projectName","basePath","staticRenderFns","microApps","entry","container","activeRule","provide","reload","current","created","console","computed","methods","goto","item","history","component","Vue","use","Vuex","store","Store","state","mutations","changeMicoApplication","obj","log","registerMicroApps","beforeLoad","app","commit","beforeMount","afterMount","afterUnmount","addGlobalUncaughtErrorHandler","event","setDefaultMountApp","start","axios","defaults","withCredentials","VueRouter","config","productionTip","microName","routes","router","base","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR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Ia,EAAAe,E,uEChBfC,IAAIC,IAAIC,KAER,IAAMC,EAAQ,IAAID,IAAKE,MAAM,CACzBC,MAAO,CACLvB,YAAa,UAEfwB,UAAW,CACTC,sBADS,SACcF,EAAMG,GACzBf,QAAQgB,IAAID,GACd,IAAO1D,EAAS0D,EAAT1D,KACPuD,EAAMvB,YAAchC,MAIbqD,I,qCCbfV,QAAQgB,IAAIN,GACZO,eAAkBzB,EAAW,CAC3B0B,WAAY,SAAAC,GACVnB,QAAQgB,IAAI,gCAAiCG,EAAI9D,MACjDqD,EAAMU,OAAO,wBAAwBD,IAEvCE,YAAa,CACX,SAAAF,GACEnB,QAAQgB,IAAI,gCAAiC,gBAAiBG,EAAI9D,QAGtEiE,WAAY,CACV,SAAAH,GACEnB,QAAQgB,IAAI,+BAAgC,gBAAiBG,EAAI9D,QAGrEkE,aAAc,CACZ,SAAAJ,GACEnB,QAAQgB,IAAI,iCAAkC,gBAAiBG,EAAI9D,UAIzEmE,gBAA8B,SAACC,GAAD,OAAWzB,QAAQgB,IAAIS,MAErDC,eAAmB,YACnBC,iB,UCrBApB,IAAI5E,UAAUiG,MAAQA,IACtBrB,IAAI5E,UAAUiG,MAAMC,SAASC,iBAAkB,EAC/CvB,IAAIC,IAAIuB,KACRxB,IAAIyB,OAAOC,eAAgB,EAC3B,IAAMC,EAAY,IAEZC,EAAS,GACTC,EAAS,IAAIL,IAAU,CAC3BM,KAAMH,EACNC,WAIF,IAAI5B,IAAI,CACN6B,SACA1B,QACA4B,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,MACdC,OAAO,S,mBCzBVzF,EAAOD,QAAU0D,M,mBCAjBzD,EAAOD,QAAUgF,W,8CCAjB/E,EAAOD,QAAUwD,K,mBCAjBvD,EAAOD,QAAU6E,O","file":"js/app.4ca9ec9f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\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 = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('dm-layout',{attrs:{\"projectName\":_vm.projectName,\"basePath\":_vm.basePath,\"isQiankun\":true}},[_c('div',{attrs:{\"id\":\"container\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n// const getActiveRule = (hash) => (location) => location.hash.startsWith(hash);\r\nconst microApps = [\r\n {\r\n name: 'marketing',\r\n entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/marketing' : '//localhost:8001/marketing/',\r\n container: '#container',\r\n activeRule: '/marketing/',\r\n },\r\n {\r\n name: 'report',\r\n entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/report/#/memberSummary' : '//localhost:8003/report/',\r\n container: '#container',\r\n activeRule: '/report/',\r\n },\r\n // {\r\n // name: 'member',\r\n // entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/member' : '//localhost:8002/member/',\r\n // container: '#container',\r\n // activeRule: '/member/',\r\n // },\r\n];\r\n\r\nexport default microApps;\r\n","<template>\n<div>\n <dm-layout :projectName=\"projectName\" :basePath=\"basePath\" :isQiankun=\"true\">\n <div id=\"container\"></div>\n </dm-layout>\n</div>\n</template>\n<script>\nimport microApps from './micro-app';\nexport default {\n name: 'App',\n provide () {\n // 刷新本页面\n return {\n reload: this.reload,\n };\n },\n data () {\n return {\n current:'',\n microApps,\n \n };\n },\n created(){\n console.log(window)\n console.log( window.location.href.split('#'))\n },\n computed:{\n projectName(){\n return this.$store.state.projectName\n },\n basePath(){\n let appName = this.$store.state.projectName\n console.log(appName)\n console.log(microApps.find(item=>item.name==appName))\n return microApps.find(item=>item.name==appName).activeRule\n }\n },\n methods: {\n goto (item) {\n if(item.activeRule.includes('marketing')){\n history.pushState(null, item.activeRule,`http://localhost:8080/marketing/#/marketing-app-list`)\n // window.location.href = '/marketing';\n \n }else if(item.activeRule.includes('report')){\n history.pushState(null, item.activeRule,`http://localhost:8080/report/#/memberSummary`)\n // window.location.href = '/report';\n }else if(item.activeRule.includes('member')){\n history.pushState(null, item.activeRule,`http://localhost:8080/member/#/allCustomers`)\n // window.location.href = '/member';\n }\n \n // window.location.href = `http://localhost:8080/marketing/#/marketing-app-list`;\n this.current = item.name\n },\n },\n};\n</script>\n<style>\n li{\n list-style: none;\n display: inline-block;\n padding: 0 20px;\n cursor: pointer;\n\n }\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2d86e1bf&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vuex from 'vuex'\r\nimport Vue from 'vue'\r\n\r\nVue.use(Vuex)\r\n\r\nconst store = new Vuex.Store({\r\n state: {\r\n projectName: 'report',\r\n },\r\n mutations: {\r\n changeMicoApplication (state,obj) {\r\n console.log(obj)\r\n const {name } = obj;\r\n state.projectName = name;\r\n }\r\n }\r\n })\r\nexport default store;","import microApps from './micro-app';\r\nimport store from './store';\r\nimport { registerMicroApps, start, addGlobalUncaughtErrorHandler,setDefaultMountApp } from 'qiankun';\r\n\r\nconsole.log(store)\r\nregisterMicroApps(microApps, {\r\n beforeLoad: app => {\r\n console.log('before load app.name====>>>>>', app.name);\r\n store.commit('changeMicoApplication',app)\r\n },\r\n beforeMount: [\r\n app => {\r\n console.log('[LifeCycle] before mount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n afterMount: [\r\n app => {\r\n console.log('[LifeCycle] after mount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n afterUnmount: [\r\n app => {\r\n console.log('[LifeCycle] after unmount %c%s', 'color: green;', app.name);\r\n },\r\n ],\r\n});\r\naddGlobalUncaughtErrorHandler((event) => console.log(event));\r\n\r\nsetDefaultMountApp('/report/')\r\nstart();\r\n","import Vue from 'vue'\nimport App from './App.vue'\nimport VueRouter from 'vue-router';\nimport axios from 'axios';\nimport store from './store'\nimport './qiankun.js';\nimport '@/assets/reset.scss'\n\nVue.prototype.axios = axios;\nVue.prototype.axios.defaults.withCredentials = true;\nVue.use(VueRouter);\nVue.config.productionTip = false\nconst microName = '/'\n \nconst routes = []\nconst router = new VueRouter({\n base: microName,\n routes,\n});\n\n\nnew Vue({\n router,\n store,\n render: h => h(App),\n}).$mount('#app')\n ","module.exports = Vuex;","module.exports = VueRouter;","module.exports = Vue;","module.exports = axios;"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(function(e){function t(t){for(var o,c,i=t[0],u=t[1],l=t[2],p=0,f=[];p<i.length;p++)c=i[p],Object.prototype.hasOwnProperty.call(r,c)&&r[c]&&f.push(r[c][0]),r[c]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);s&&s(t);while(f.length)f.shift()();return a.push.apply(a,l||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],o=!0,i=1;i<n.length;i++){var u=n[i];0!==r[u]&&(o=!1)}o&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var o={},r={app:0},a=[];function c(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=o,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)c.d(n,o,function(t){return e[t]}.bind(null,o));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=u;a.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"034f":function(e,t,n){"use strict";n("85ec")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var o=n("8bbf"),r=n.n(o),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("dm-layout",{attrs:{projectName:e.projectName,basePath:e.basePath,isQiankun:!0}},[n("div",{attrs:{id:"container"}})])],1)},c=[],i=(n("ac1f"),n("1276"),n("7db0"),n("d3b7"),n("b0c0"),n("caad"),n("2532"),[{name:"marketing",entry:"//gicdev.demogic.com/marketing",container:"#container",activeRule:"/marketing/"},{name:"report",entry:"//gicdev.demogic.com/report",container:"#container",activeRule:"/report/"}]),u=i,l={name:"App",provide:function(){return{reload:this.reload}},data:function(){return{current:"",microApps:u}},created:function(){console.log(window),console.log(window.location.href.split("#"))},computed:{projectName:function(){return this.$store.state.projectName},basePath:function(){var e=this.$store.state.projectName;return console.log(e),console.log(u.find((function(t){return t.name==e}))),u.find((function(t){return t.name==e})).activeRule}},methods:{goto:function(e){e.activeRule.includes("marketing")?history.pushState(null,e.activeRule,"http://localhost:8080/marketing/#/marketing-app-list"):e.activeRule.includes("report")?history.pushState(null,e.activeRule,"http://localhost:8080/report/#/memberSummary"):e.activeRule.includes("member")&&history.pushState(null,e.activeRule,"http://localhost:8080/member/#/allCustomers"),this.current=e.name}}},s=l,p=(n("034f"),n("2877")),f=Object(p["a"])(s,a,c,!1,null,null,null),m=f.exports,d=n("6389"),b=n.n(d),h=n("cebe"),g=n.n(h),v=n("5880"),y=n.n(v);r.a.use(y.a);var j=new y.a.Store({state:{projectName:"report"},mutations:{changeMicoApplication:function(e,t){console.log(t);var n=t.name;e.projectName=n}}}),w=j,O=n("34ac9"),x=n("548a"),k=n("07ec");console.log(w),Object(O["b"])(u,{beforeLoad:function(e){console.log("before load app.name====>>>>>",e.name),w.commit("changeMicoApplication",e)},beforeMount:[function(e){console.log("[LifeCycle] before mount %c%s","color: green;",e.name)}],afterMount:[function(e){console.log("[LifeCycle] after mount %c%s","color: green;",e.name)}],afterUnmount:[function(e){console.log("[LifeCycle] after unmount %c%s","color: green;",e.name)}]}),Object(x["a"])((function(e){return console.log(e)})),Object(k["a"])("/report/"),Object(O["c"])();n("d671");r.a.prototype.axios=g.a,r.a.prototype.axios.defaults.withCredentials=!0,r.a.use(b.a),r.a.config.productionTip=!1;var P="/",R=[],S=new b.a({base:P,routes:R});new r.a({router:S,store:w,render:function(e){return e(m)}}).$mount("#app")},5880:function(e,t){e.exports=Vuex},6389:function(e,t){e.exports=VueRouter},"85ec":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},cebe:function(e,t){e.exports=axios},d671:function(e,t,n){}});
//# sourceMappingURL=app.af459b1d.js.map
\ No newline at end of file
...@@ -9,7 +9,7 @@ const microApps = [ ...@@ -9,7 +9,7 @@ const microApps = [
}, },
{ {
name: 'report', name: 'report',
entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/report' : '//localhost:8003/report/', entry: process.env.NODE_ENV === 'production' ? '//gicdev.demogic.com/report/#/memberSummary' : '//localhost:8003/report/',
container: '#container', container: '#container',
activeRule: '/report/', activeRule: '/report/',
}, },
......
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