pages-index-index.a7984e13.js 124 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"02bb":function(t,a,e){"use strict";e.r(a);var i=e("3b8e"),n=e("ffbe");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("a136");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"4c862a14",null);a["default"]=d.exports},"042c":function(t,a,e){"use strict";e.r(a);var i=e("60a9"),n=e("3378");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("0c32");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"3e65c831",null);a["default"]=d.exports},"0642":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),e("v-uni-view",{staticClass:"indexNav"},[e("span",{staticClass:"selectReport",on:{click:function(a){a=t.$handleEvent(a),t.dateShow(a)}}},[t._v("日期")]),t._v(t._s(t.title)),e("span",{staticClass:"searchBtn",on:{click:function(a){a=t.$handleEvent(a),t.goList(a)}}},[t._v(t._s(t.i18n.store))])]),e("div",{staticClass:"minirefresh-wrap",style:{top:t.scrollTop+"px"},attrs:{id:"minirefresh"}},[e("div",{staticClass:"minirefresh-scroll"},[e("v-uni-view",{staticClass:"_blank"},[e("v-uni-text",{staticClass:"dateBox"},[t._v(t._s(t.dateText))])],1),"day"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v(t._s(t.i18n.openStore))]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallOpenedCount))]),e("div",{staticClass:"unit"},[t._v("座")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("当日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.dayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("昨日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.yesterdayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上周同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.dayLastweekInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.dayLastyearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("已开业面积")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallOpenedArea))]),e("div",{staticClass:"unit"},[t._v("平米")])])])]):t._e(),"week"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本周客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.innum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上周客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.lastWeekInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.lastYearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"month"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本月客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.innum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上月客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.lastMonthInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.lastYearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"year"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("年度客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.innum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("人均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日对工作日增长率")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.compareWorkDay))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.lastYearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.CustomerCounting,"bind-id":"CustomerCounting"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.Customeradd,"bind-id":"Customeradd"}}):t._e(),"day"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.costomer_ranking,"bind-id":"costomer_ranking"}}):t._e(),"day"==t.reportType?e("selectlinechart",{attrs:{"chart-data":t.selectChart,"bind-id":"trend7"},on:{handleFun:function(a){a=t.$handleEvent(a),t.checkTrend(a)}}}):t._e(),"week"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trifficRank,"bind-id":"trifficRank"}}):t._e(),"week"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.costomerTrend,"bind-id":"costomerTrend"}}):t._e(),"month"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trifficRank,"bind-id":"trifficRank"}}):t._e(),"month"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"year"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trifficRank,"bind-id":"trifficRank"}}):t._e(),"year"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleDayTrend,"bind-id":"trafficAndSaleDayTrend"}}):t._e()],1)]),e("awesome-picker",{ref:"picker",attrs:{data:t.dateData,textConfirm:t.picker.textConfirm,colorConfirm:t.picker.colorConfirm,textCancel:t.picker.textCancel,colorCancel:t.picker.colorCancel,anchor:t.currentDate},on:{confirm:function(a){a=t.$handleEvent(a),t.dateConfirm(a)}}},[e("div",{staticClass:"typeBox"},[e("span",{class:{activeDateType:"day"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("day")}}},[t._v("日")]),e("span",{class:{activeDateType:"week"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("week")}}},[t._v("周")]),e("span",{class:{activeDateType:"month"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("month")}}},[t._v("月")]),e("span",{class:{activeDateType:"year"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("year")}}},[t._v("年")])])])],1)},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"0bfc":function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".chart[data-v-a9413fdc]{height:%?750.4?%;width:%?706.52?%;margin:0 auto;background:#fff;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden}",""])},"0c32":function(t,a,e){"use strict";var i=e("8e6c"),n=e.n(i);n.a},"0cd2":function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".chart[data-v-815ed1b6]{width:%?706.52?%;height:%?438.4?%;margin:0 auto;background:#fff;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden}",""])},"0cf5":function(t,a,e){"use strict";e.r(a);var i=e("a8a0"),n=e("fcdc");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("8b70");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"57e4ed5f",null);a["default"]=d.exports},"0d45":function(t,a,e){"use strict";e.r(a);var i=e("5379"),n=e("69a9");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("11f5");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"0d7bc634",null);a["default"]=d.exports},"10af":function(t,a,e){"use strict";e.r(a);var i=e("5c2e"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"11f5":function(t,a,e){"use strict";var i=e("4ed07"),n=e.n(i);n.a},"15db":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"rankchart"},[e("div",{staticClass:"chart",attrs:{id:t.bindId}})])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"1f10":function(t,a,e){"use strict";e.r(a);var i=e("6a31"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"223c":function(t,a,e){var i=e("0cd2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("49edf110",i,!0,{sourceMap:!1,shadowMode:!1})},2366:function(t,a,e){var i=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".littleTit[data-v-4c862a14]{font-size:%?27.17?%;color:#9b9b9b}.num[data-v-4c862a14]{font-size:%?39.85?%;font-weight:600;color:#4a4a4a}.unit[data-v-4c862a14]{font-size:%?27.17?%;color:#9b9b9b}.minirefresh-scroll[data-v-4c862a14]{background:rgba(0,0,0,0);padding-top:%?172.1?%;position:relative}.dataBox[data-v-4c862a14]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:%?706.52?%;height:%?335.14?%;margin:0 auto;-webkit-box-shadow:0 0 7px 0 rgba(0,0,0,.14);box-shadow:0 0 7px 0 rgba(0,0,0,.14);border-radius:4px;background:#fff;margin-bottom:%?18.11?%}.flexBox[data-v-4c862a14]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:%?18.11?% 0}.boxs[data-v-4c862a14]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.boxs div[data-v-4c862a14]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;/*垂直居中*/-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center/*水平居中*/}.dateBox[data-v-4c862a14]{color:#fff;display:inline-block;font-size:%?27.17?%}.indexNav[data-v-4c862a14]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:relative;font-size:%?33?%;color:#fff}._blank[data-v-4c862a14]{height:%?380.43?%;background:url("+i(e("4c8c"))+") no-repeat;background-size:100% 100%;position:absolute;top:0;width:100%;z-index:-1;text-align:center}.selectReport[data-v-4c862a14]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;position:relative;left:%?21.73?%}.searchBtn[data-v-4c862a14]{float:right;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%}.minirefresh-wrap[data-v-4c862a14]{top:%?77.89?%}.searchIcon[data-v-4c862a14]{width:%?25.36?%;height:%?25.36?%;float:right;position:relative;right:%?77.89?%;top:%?27.17?%}",""])},"2bb1":function(t,a,e){"use strict";e.r(a);var i=e("cd0a"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},3058:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"piechart"},[e("div",{staticClass:"chart",attrs:{id:t.bindId}})])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},3378:function(t,a,e){"use strict";e.r(a);var i=e("c52f"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"3a95":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAmCAYAAAHbzwkFAAAABGdBTUEAALGPC/xhBQAABmZJREFUWAnVWGtsFFUUPmd2S7E0WEFR8BEeAo2a7rZg2S2SgD+MIokYqQnyQ2LUH2rEIDEaHzFEIwkiiREVCRJ8RGPjCxQSNREV9gEF2hoSKRoe2kRT0kIB+6Cd43fv7J2dmd1pS+GPm+zec777nXPPfZ0zs0S5j6RjrUZmJUiqSlygroULQCLrdYLZSsOSbM08SSXHaR3mP5iOom3AHzdYakTGSA5d6n0hKNDCt9PpRXzp+Nwc1YFk3+yZdL7vN6Xl3UBWgHc2Svd+FJklU7WKbFrrtTQkScU2wk2f1sM8SXPVBGPgayVbHfMBQUUOxiuwjtkgrqab/3TbnSRSKweqr8qD+dkdB3iDt0PJZjLGUwFBkcyEsP6xNgUQl8zCz4CWAz+MQM8ijihcjw70OZ6ifItFzCsVAeSMIUFeZ2Qs5ihXLiaYmKLFOhUGb9uoJFpR0C/ysiXZ2Ixgh++oBDvNcBpnEk62mCULUp3j5EUlE3uRbFntxQrkiHUvz2n6you7EUm66j0SesTbOaTMkYWcPLhT8XSoWJCVPifM57CJ3w7pSAZ2YOOvVTxntUU8+8RHOdk81etEslW3k82LMNhNxHI52oTbz/Qp5Hk4JVWbsIxXYqMWE40p47p0t1pkcyBdAwjA/yC23udk06sK15vB1nIie4HSCVdzvW+HNDr4jz4GGBC29/mYyhGi+9oHDqKAm8b6fFlA8R4ylTwkG787SMKmrEGemq9wycy5Ltgfquem3AXjZaGkXId7joJEGD9PYr/i4mxNwSIfc/WAEHrk4SQwNfvhgK1P9UUkh+pHUVdrO5LGWB/Lp/Bxrmue7IOguI704tndfwYJoXpyZpS5wU1h+aldiBPlPX243zuIc9dSsW+8IOL8x6eHKNiQB01XLiLxL2wZTTOEwVt7i+nPT80gKoHFWnD7rfsNFNpKfo2j0jhrIvWdz3PL6BqlcF1Tg2pUnaIeeylu/DyYTQJWCflqxfF+GFdjEQ3Idg1Grblc25TyEsJk95IzvY0U/Ljm5S7sSaVAbsCF/D7oQA7NL3eNNS92TNtJfURxURGqk46RtcJpaTtyTsGt5pt3ncVM89GylGt++rBOinhMmDOW7O7TNDoygWsOtuecDdno6JjbkE11FrA4ke1CmdxDvQOPDWkdJHBkiYFy289bKWLtEJkfWjGNgWoRzZ2q5cQBtz47jhKLN1O/PZ6yp+4IfaBRlvjohDeqpBGz6HaQwC/OEwqAGi15GVLoB5LbDUPDdZis63gOMHzT795+A3hbbAQOXs90qihv5so9Z7x9QXlQR0Gy0dWZotMd+6BXGizf8hrkq+fy+oVJhXd2OPZdHR+DViQYZSzPSipePxw3xTjDWiHJ1o4n6XsamXwJvtOLOSrAkIyQjhrxkPIORaMf8ez9ngRTwHaB0ID0qfyXP0cAt7nsixWQb6ik5KnBgisICKe1jPr6d2Ppqy92/HB73oBz9kSxfl9AsjcepwF7PxZ7ZGer2AhhGPNRSlwxg3lXYWlUNnhFmUT90jhoMGw9ihrivmGGjTUsXGQKpTt+DnLzK9Fjb0BYuhQESVpn3oIHo01IoTUIynnPK0q8IDCJqrPUa6ED0lmQ5R5vh09m2ooq8ZDCUDibUAhLqaR0GtLsW/i2XtSqDdgPeMdiXTAyHVuxEb4Oh8TtZPFcTjQd8RqNRJZUzY3E/S9gHPcJSPthPokJreNE8xqlW5Tp/AwzXgbwV99ATCtwEyaoYEQELxioHYF64uMHFDlyV6nsvfV6A3Pdgd8xznKKlk40mG5F3kAY21CvXlI6tkxy1Y2/yxNxLZMtb7p6Jo53c/sopVt7h1OC9T8C7W091N97AqX4J9cPBK7d9zeaEy5m8S8UifZg6/XxYZ13zvd/BMJuJEHnXQ0v3VzbfMg1usQCglSLMBq78hcem/C3D5Wb1zV/HkrFOrFiFVQ+dhxX7YZ86T+5wpyr+NYzeDxd6x1FL5MLMH+i5XNnNmPliv4B4nJHKnSdWpUzPUPJivVBN/6ALN6oCRFeTbatHoC+QE0bEzQaiY4JTsPB3U4Rcs4qW08Gs3RRvwjiQ8nEF5pOOKoEthN/bSww2HBbfdNSsddg+65+94Oh+s9A6WE+fGcojGRw/QhOPXgEoTpg6vkc+Unwgsm9kCfjkE5FH+Opvw33aRtyy4/G9n/b/gfn4oCjZLitMgAAAABJRU5ErkJggg=="},"3b8e":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),e("v-uni-view",{staticClass:"indexNav"},[e("span",{staticClass:"selectReport",on:{click:function(a){a=t.$handleEvent(a),t.dateShow(a)}}},[t._v("日期")]),t._v(t._s(t.title)),e("v-uni-image",{staticClass:"searchIcon",attrs:{src:"../../static/index/searchIcon.png",mode:""},on:{click:function(a){a=t.$handleEvent(a),t.goStoreList(a)}}}),e("span",{staticClass:"searchBtn",on:{click:function(a){a=t.$handleEvent(a),t.goList(a)}}},[t._v("门店")])],1),e("div",{staticClass:"minirefresh-wrap",style:{top:t.scrollTop+"px"},attrs:{id:"minirefresh"}},[e("div",{staticClass:"minirefresh-scroll"},[e("v-uni-view",{staticClass:"_blank"},[e("v-uni-text",{staticClass:"dateBox"},[t._v(t._s(t.dateText))])],1),"day"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("当日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流占比")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.trafficRatio))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流密度")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.midu))]),e("div",{staticClass:"unit"},[t._v("人次/平米")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("业态数")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.formatNum))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("区域数")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.storeNum))]),e("div",{staticClass:"unit"},[t._v("个")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("出入口个数")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.gateNum))]),e("div",{staticClass:"unit"},[t._v("个")])])])]):t._e(),"week"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本周客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流占比")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.trafficRatio))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流密度")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.midu))]),e("div",{staticClass:"unit"},[t._v("人次/平米")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"month"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本月客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流占比")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.trafficRatio))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流密度")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.midu))]),e("div",{staticClass:"unit"},[t._v("人次/平米")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"year"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("年度客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流占比")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.trafficRatio))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流密度")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.midu))]),e("div",{staticClass:"unit"},[t._v("人次/平米")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"day"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"day"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.hourTrafficTrend,"bind-id":"hourTrafficTrend"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.affumulativeTraffic,"bind-id":"affumulativeTraffic"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend15,"bind-id":"trafficAndSaleTrend15"}}):t._e(),"day"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trafficRank,"bind-id":"trafficRank"}}):t._e(),"day"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.gateTraffic,"bind-id":"gateTraffic"}}):t._e(),"week"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"week"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"week"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"week"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trafficRank,"bind-id":"trafficRank"}}):t._e(),"week"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.gateTraffic,"bind-id":"gateTraffic"}}):t._e(),"month"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"month"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"month"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"month"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trafficRank,"bind-id":"trafficRank"}}):t._e(),"month"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.gateTraffic,"bind-id":"gateTraffic"}}):t._e(),"year"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"year"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"year"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"year"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.trafficRank,"bind-id":"trafficRank"}}):t._e(),"year"==t.reportType?e("rankchart",{attrs:{"chart-data":t.chartDatas.gateTraffic,"bind-id":"gateTraffic"}}):t._e()],1)]),e("awesome-picker",{ref:"picker",attrs:{data:t.dateData,textConfirm:t.picker.textConfirm,colorConfirm:t.picker.colorConfirm,textCancel:t.picker.textCancel,colorCancel:t.picker.colorCancel,anchor:t.currentDate},on:{confirm:function(a){a=t.$handleEvent(a),t.dateConfirm(a)}}},[e("div",{staticClass:"typeBox"},[e("span",{class:{activeDateType:"day"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("day")}}},[t._v("日")]),e("span",{class:{activeDateType:"week"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("week")}}},[t._v("周")]),e("span",{class:{activeDateType:"month"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("month")}}},[t._v("月")]),e("span",{class:{activeDateType:"year"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("year")}}},[t._v("年")])])])],1)},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"436d":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),e("v-uni-view",{staticClass:"indexNav"},[e("span",{staticClass:"selectReport",on:{click:function(a){a=t.$handleEvent(a),t.dateShow(a)}}},[t._v("日期")]),t._v(t._s(t.title)),e("v-uni-image",{staticClass:"searchIcon",attrs:{src:"../../static/index/searchIcon.png",mode:""},on:{click:function(a){a=t.$handleEvent(a),t.goStoreList(a)}}}),e("span",{staticClass:"searchBtn",on:{click:function(a){a=t.$handleEvent(a),t.goList(a)}}},[t._v("门店")])],1),e("div",{staticClass:"minirefresh-wrap",style:{top:t.scrollTop+"px"},attrs:{id:"minirefresh"}},[e("div",{staticClass:"minirefresh-scroll"},[e("v-uni-view",{staticClass:"_blank"},[e("v-uni-text",{staticClass:"dateBox"},[t._v(t._s(t.dateText))])],1),"day"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("当日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("有效客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.effectiveTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("进店率")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.enteringRate))]),e("div",{staticClass:"unit"},[t._v("%")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("滞留时间")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.durationTime))]),e("div",{staticClass:"unit"},[t._v("分")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("客流密度")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.midu))]),e("div",{staticClass:"unit"},[t._v("人次/平米")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上周同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.comparedInnum))]),e("div",{staticClass:"unit"},[t._v("%")])])])]):t._e(),"week"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本周客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("进店率")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.enteringRate))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("滞留时间")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.durationTime))]),e("div",{staticClass:"unit"},[t._v("%")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"month"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本月客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("进店率")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.enteringRate))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("滞留时间")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.durationTime))]),e("div",{staticClass:"unit"},[t._v("分")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"year"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("年度客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.accumulativeTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("进店率")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.enteringRate))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("滞留时间")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.durationTime))]),e("div",{staticClass:"unit"},[t._v("分")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"day"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"day"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.hourTrafficTrend,"bind-id":"hourTrafficTrend"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.accumulativeTraffic,"bind-id":"accumulativeTraffic"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficTrend7,"bind-id":"trafficTrend7"}}):t._e(),"week"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"week"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"week"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficTrend,"bind-id":"trafficTrend"}}):t._e(),"month"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"month"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"month"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficTrend,"bind-id":"trafficTrend"}}):t._e(),"year"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_gender,"bind-id":"customerfeature_gender"}}):t._e(),"year"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"year"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficTrend,"bind-id":"trafficTrend"}}):t._e()],1)]),e("awesome-picker",{ref:"picker",attrs:{data:t.dateData,textConfirm:t.picker.textConfirm,colorConfirm:t.picker.colorConfirm,textCancel:t.picker.textCancel,colorCancel:t.picker.colorCancel,anchor:t.currentDate},on:{confirm:function(a){a=t.$handleEvent(a),t.dateConfirm(a)}}},[e("div",{staticClass:"typeBox"},[e("span",{class:{activeDateType:"day"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("day")}}},[t._v("日")]),e("span",{class:{activeDateType:"week"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("week")}}},[t._v("周")]),e("span",{class:{activeDateType:"month"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("month")}}},[t._v("月")]),e("span",{class:{activeDateType:"year"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("year")}}},[t._v("年")])])])],1)},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},4457:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{}},mounted:function(){},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawPie()},deep:!0}},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{drawPie:function(){var t={},a=document.getElementById(this.bindId);t=this.echarts.init(a),t.showLoading("default",{text:"",color:"#409eff"});var e=[],i=this.chartData;if(i.series){for(var n=0,r=i.series.length;n<r;n++)e=i.series[n].data;for(var s=[],d=0,o=e.length;d<o;d++)s.push({name:e[d].name,icon:"rect"});var c={title:{show:!0,text:this.chartData.title,left:uni.upx2px(18.11),top:uni.upx2px(10.86),textStyle:{fontWeight:"normal",fontSize:uni.upx2px(25.4),color:"#4A4A4A"}},legend:{orient:"horizontal",right:"center",itemWidth:uni.upx2px(19.92),itemHeight:uni.upx2px(19.92),bottom:uni.upx2px(18.11),left:"center",data:s},series:[{type:"pie",color:["#6e6fc1","#33bafe","#fec62b","#ff9c01","#38d4be","#79ce4c"],center:["50%","50%"],radius:["20%","60%"],label:{normal:{show:!0,position:"outside",formatter:"{b} {d}%"},emphasis:{show:!0}},labelLine:{normal:{show:!0}},data:e}]};setTimeout(function(){t.hideLoading()},500),t.setOption(c)}}}};a.default=i},"4a4b":function(t,a,e){var i=e("0bfc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("4ef0d2d6",i,!0,{sourceMap:!1,shadowMode:!1})},"4c8c":function(t,a,e){t.exports=e.p+"static/img/indexBg.19858b57.png"},"4ed07":function(t,a,e){var i=e("ae9d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("f4f8e88a",i,!0,{sourceMap:!1,shadowMode:!1})},5065:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=d(e("bab8")),n=d(e("a601")),r=d(e("042c")),s=d(e("e707"));function d(t){return t&&t.__esModule?t:{default:t}}var o={data:function(){return{currentDateType:"day",yearData:[],monthData:[],weekData:[],dayData:[],dateData:[],currentDate:[],currentMonth:[],currentWeek:[],currentYear:[],currentDay:[],date:"",dateText:"",reportType:"day",picker:{textTitle:"选择",textConfirm:"确定",textCancel:"取消",colorConfirm:"#ffffff",colorCancel:"#ffffff"},title:"",atoken:"",chartIds:"",orgIds:"",keyArr:["CustomerCounting","Customeradd","trend7","trend15","trend30","costomer_ranking"],chartDatas:{},selectChart:{},dateTypeArr:[{name:"日报",key:"day"},{name:"周报",key:"week"},{name:"月报",key:"month"},{name:"年报",key:"year"}],isShow:!1,headData:{mallOpenedCount:"-",dayInnum:"-",yesterdayInnum:"-",dayLastweekInnum:"-",dayLastyearInnum:"-",mallOpenedArea:"-"},weekHeadData:{innum:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",lastWeekInnum:"-",lastYearInnum:"-"},monthHeadData:{innum:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",lastMonthInnum:"-",lastYearInnum:"-"},yearHeadData:{innum:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",compareWorkDay:"-",lastYearInnum:"-"},navheight:0,scrollTop:uni.upx2px(77)}},components:{linechart:i.default,toast:r.default,rankchart:n.default,selectlinechart:s.default},created:function(){var t=this;this.getDateData(),uni.getStorage({key:"atoken",success:function(a){t.atoken=a.data}}),uni.getStorage({key:"orgName",success:function(a){t.title=a.data}}),uni.getStorage({key:"orgIds",success:function(a){t.orgIds=a.data}}),uni.getStorage({key:"statusBarH",success:function(a){console.log(a),a.data&&(t.navheight=a.data,t.scrollTop=a.data+uni.upx2px(77))}})},mounted:function(){this.getReportKey(),this.initFresh()},computed:{i18n:function(){return this.$t("index")}},methods:{checkTrend:function(t){"7"==t?this.selectChart=this.chartDatas.trend7:"15"==t?this.selectChart=this.chartDatas.trend15:"30"==t&&(this.selectChart=this.chartDatas.trend30)},handleDayConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=t[2].index+1;e=e>9?e:"0"+e,i=i>9?i:"0"+i,this.date=a+"-"+e+"-"+i,this.dateText=a+"-"+e+"-"+i,this.reportType="day",this.getReportKey()},handleWeekConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1;e=e>9?e:"0"+e;var i=new Date;i.setFullYear(a,e-1,1);var n=i.getDay();i.setFullYear(a,e,0);var r,s=i.getDate();r=7-n+1;var d="",o="";if(0==t[2].index){d=a+"-"+e+"-01";var c=r>9?r:"0"+r;o=a+"-"+e+"-"+c}else{var l=r+7*(t[2].index-1)+1;c=r+7*t[2].index;if(l>s){for(var u=t[2].index-1;u>=0;u--)if(l=r+7*(u-1),c=r+7*u,l<=s){c>s&&(c=s);break}}else l<=s&&c>s&&(c=s);l=l>9?l:"0"+l,c=c>9?c:"0"+c,d=a+"-"+e+"-"+l,o=a+"-"+e+"-"+c}this.reportType="week",this.date=d+","+o,this.dateText=d+"至"+o,this.reportType="week",this.getReportKey()},handleMonthConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=(new Date).getFullYear(),n=(new Date).getMonth()+1,r="",s="";if(a==i&&e==n){e=e>9?e:"0"+e,r=a+"-"+e+"-01";var d=(new Date).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}else{e=e>9?e:"0"+e,r=a+"-"+e+"-01";d=new Date(a,e,0).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}this.reportType="month",this.date=r+","+s,this.dateText=r+"至"+s,this.reportType="month",this.getReportKey()},handleYearConfirm:function(t){var a="",e="",i=1999+t[0].index;a=i+"-01-01",e=i+"-12-31",this.reportType="month",this.date=a+","+e,this.dateText=a+"至"+e,this.reportType="year",this.getReportKey()},getDateData:function(){var t=this;uni.getStorage({key:"dayData",success:function(a){a.data&&(t.dayData=JSON.parse(a.data))}}),uni.getStorage({key:"weekData",success:function(a){a.data&&(t.weekData=JSON.parse(a.data))}}),uni.getStorage({key:"monthData",success:function(a){a.data&&(t.monthData=JSON.parse(a.data))}}),uni.getStorage({key:"yearData",success:function(a){a.data&&(t.yearData=JSON.parse(a.data))}}),uni.getStorage({key:"currentDay",success:function(a){a.data&&(t.currentDay=JSON.parse(a.data))}}),uni.getStorage({key:"currentWeek",success:function(a){a.data&&(t.currentWeek=JSON.parse(a.data))}}),uni.getStorage({key:"currentMonth",success:function(a){a.data&&(t.currentMonth=JSON.parse(a.data))}}),uni.getStorage({key:"currentYear",success:function(a){a.data&&(t.currentYear=JSON.parse(a.data))}}),this.dateData=JSON.parse(JSON.stringify(this.dayData)),this.currentDate=this.currentDay;var a=new Date,e=a.getFullYear(),i=a.getMonth(),n=i+1>9?i+1:"0"+(i+1),r=a.getDate(),s=r>9?r:"0"+r;this.dateText=e+"-"+n+"-"+s,this.date=e+"-"+n+"-"+s},dateConfirm:function(t){"day"==this.currentDateType?this.handleDayConfirm(t):"week"==this.currentDateType?this.handleWeekConfirm(t):"month"==this.currentDateType?this.handleMonthConfirm(t):"year"==this.currentDateType&&this.handleYearConfirm(t)},dateClick:function(t){switch(this.currentDateType=t,t){case"day":this.dateData=this.dayData,console.log("currentDay",this.currentDay),this.currentDate=this.currentDay;break;case"week":this.dateData=this.weekData,this.currentDate=this.currentWeek;break;case"month":this.dateData=this.monthData,this.currentDate=this.currentMonth;break;case"year":this.dateData=this.yearData,this.currentDate=this.currentYear;break}},goList:function(){uni.navigateTo({url:"../list/mallList?accountId="+this.orgIds+"&atoken="+this.atoken+"&url=../index/index",animationType:"slide-in-right",animationDuration:200})},getReportKey:function(){var t=this,a="AccountDay";"day"==this.reportType?(a="AccountDay",this.keyArr=["CustomerCounting","Customeradd","trend7","trend15","trend30","costomer_ranking"]):"week"==this.reportType?(a="AccountWeek",this.keyArr=["costomerTrend","trifficRank","format_traffic_ranking","customerfeature_gender","customerfeature_age","CityTraffic"]):"month"==this.reportType?(a="AccountMonth",this.keyArr=["trafficAndSaleTrend","trifficRank","format_traffic_ranking","customerfeature_gender","customerfeature_age","CityTraffic"]):"year"==this.reportType&&(a="AccountYear",this.keyArr=["trifficRank","format_traffic_ranking","customerfeature_gender","customerfeature_age","trafficAndSaleDayTrend","CityTraffic"]),uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/reportCharts",data:{report:a,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(a){t.chartIds="",a.data.data.forEach(function(a){"-1"!=t.keyArr.indexOf(a.key)&&(t.chartIds+=a.id+",")}),t.chartIds=t.chartIds.substring(0,t.chartIds.length-1),t.getChartData()}})},getChartData:function(){var t=this,a={},e=window.url+"/report/day/account";if("day"==this.reportType)e=window.url+"/report/day/account",a={orgIds:this.orgIds,date:this.date,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3};else if("week"==this.reportType){var i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/week/account",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("month"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/month/account",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("year"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/year/account",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}uni.request({url:e,header:{Authorization:this.atoken},data:a,method:"GET",success:function(a){uni.hideLoading();var e=a.data.data;"day"==t.reportType?(t.headData.mallOpenedCount=e.head.mallOpenedCount?e.head.mallOpenedCount:"-",t.headData.dayInnum=e.head.dayInnum?e.head.dayInnum:"-",t.headData.yesterdayInnum=e.head.yesterdayInnum?e.head.yesterdayInnum:"-",t.headData.dayLastweekInnum=e.head.dayLastweekInnum?e.head.dayLastweekInnum:"-",t.headData.dayLastyearInnum=e.head.dayLastyearInnum?e.head.dayLastyearInnum:"-",t.headData.mallOpenedArea=e.head.mallOpenedArea?e.head.mallOpenedArea:"-",e.body.CustomerCounting.title=t.i18n.accountReal,e.body.Customeradd.title=t.i18n.accountAdd,e.body.costomer_ranking.title=t.i18n.accountRank,e.body.trend7.title=t.i18n.accountTrend,e.body.trend15.title=t.i18n.accountTrend,e.body.trend30.title=t.i18n.accountTrend,t.selectChart=e.body.trend7):"week"==t.reportType?(t.weekHeadData.innum=e.head.innum?e.head.innum:"-",t.weekHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.weekHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.weekHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.weekHeadData.lastWeekInnum=e.head.lastWeekInnum?e.head.lastWeekInnum:"-",t.weekHeadData.lastYearInnum=e.head.lastYearInnum?e.head.lastYearInnum:"-",e.body.trifficRank.title=t.i18n.accountRank,e.body.costomerTrend.title=t.i18n.accountTrend):"month"==t.reportType?(t.monthHeadData.innum=e.head.innum?e.head.innum:"-",t.monthHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.monthHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.monthHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.monthHeadData.lastMonthInnum=e.head.lastMonthInnum?e.head.lastMonthInnum:"-",t.monthHeadData.lastYearInnum=e.head.lastYearInnum?e.head.lastYearInnum:"-",e.body.trifficRank.title=t.i18n.accountRank,e.body.trafficAndSaleTrend.title=t.i18n.accountTrend):"year"==t.reportType&&(t.yearHeadData.innum=e.head.innum?e.head.innum:"-",t.yearHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.yearHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.yearHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.yearHeadData.compareWorkDay=e.head.compareWorkDay?e.head.compareWorkDay:"-",t.yearHeadData.lastYearInnum=e.head.lastYearInnum?e.head.lastYearInnum:"-",e.body.trifficRank.title=t.i18n.accountRank,e.body.trafficAndSaleDayTrend.title=t.i18n.accountTrend),t.chartDatas=e.body}})},initFresh:function(){var t=this,a=new MiniRefresh({container:"#minirefresh",down:{callback:function(){t.getChartData(),a.endDownLoading()}},up:{callback:function(){console.log("bb"),a.endUpLoading(!0)}},isScrollBar:!1})},dateShow:function(){this.$refs.picker.show()}}};a.default=o},5379:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"agechart"},[e("div",{staticClass:"chart",attrs:{id:t.bindId}},[e("div",{staticClass:"titles"},[t._v(t._s(t.chartData.title))]),e("div",{staticClass:"agesBox"},[e("div",{staticClass:"items"},[e("circles",{attrs:{radius:"8",progress:t.maleBarPer,num:t.maleNum,barColor:"#3BB8FF",backgroundColor:"#F3F3F3",textColor:"#3BB8FF",picSrc:t.pic1,isAnimation:!1}})],1),e("div",{staticClass:"items"},[e("circles",{attrs:{radius:"8",progress:t.femaleBarPer,num:t.femaleNum,barColor:"#FFC62E",textColor:"#FFC62E",picSrc:t.pic2,backgroundColor:"#F3F3F3",isAnimation:!1}})],1)]),e("div",{staticClass:"barBox"},[e("div",{staticClass:"bar"},[e("div",{staticClass:"maleBar",style:{width:t.malePer}}),e("div",{staticClass:"femaleBar",style:{width:t.femalePer}})]),e("span",{staticClass:"barText maleText"},[t._v("男 "+t._s(t.malePer))]),e("span",{staticClass:"barText femaleText"},[t._v("女 "+t._s(t.femalePer))])])])])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"542e":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticStyle:{"text-align":"center"}},[e("div",{staticStyle:{display:"inline-block",position:"relative"}},[e("svg",{staticStyle:{transform:"rotate(-90deg)"},attrs:{width:t.width,height:t.width,xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{r:(t.width-t.radius)/2,cy:t.width/2,cx:t.width/2,"stroke-width":t.radius,stroke:t.backgroundColor,fill:"none"}}),e("circle",{ref:"$bar",attrs:{r:(t.width-t.radius)/2,cy:t.width/2,cx:t.width/2,stroke:t.barColor,"stroke-width":t.radius,"stroke-linecap":t.isRound?"round":"square","stroke-dasharray":3.14*(t.width-t.radius),"stroke-dashoffset":t.isAnimation?3.14*(t.width-t.radius):3.14*(t.width-t.radius)*(100-t.progress)/100,fill:"none"}})]),e("div",{staticClass:"contentBox"},[e("div",[e("img",{attrs:{src:t.picSrc,alt:""}})]),e("div",{style:{color:t.textColor}},[t._v(t._s(t.num)+"人")])])])])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"55ea":function(t,a,e){"use strict";e.r(a);var i=e("542e"),n=e("f9b2");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("b06c");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"055ccc3f",null);a["default"]=d.exports},5644:function(t,a,e){"use strict";e.r(a);var i=e("803b"),n=e("2bb1");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"cb03fb54",null);a["default"]=d.exports},5697:function(t,a,e){"use strict";var i=e("b927"),n=e.n(i);n.a},"573d":function(t,a,e){var i=e("2366");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("26211e40",i,!0,{sourceMap:!1,shadowMode:!1})},"5b7b":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=s(e("6d14")),n=s(e("3a95")),r=s(e("55ea"));function s(t){return t&&t.__esModule?t:{default:t}}var d={data:function(){return{pic1:i.default,pic2:n.default,malePer:"0%",femalePer:"0%",maleBarPer:0,femaleBarPer:0,maleNum:0,femaleNum:0}},mounted:function(){},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawLine()},deep:!0}},components:{circles:r.default},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{drawLine:function(){this.maleNum=this.chartData.series[0].data[0].value,this.femaleNum=this.chartData.series[0].data[1].value;var t=this.maleNum+this.femaleNum;this.maleBarPer=parseInt(this.maleNum/t*100),this.femaleBarPer=100-this.maleBarPer,this.malePer=this.maleBarPer+"%",this.femalePer=this.femaleBarPer+"%"}}};a.default=d},"5c2e":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{}},mounted:function(){},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawRank()},deep:!0}},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{drawRank:function(){var t={},a=document.getElementById(this.bindId);t=this.echarts.init(a),t.showLoading("default",{text:"",color:"#409eff"});var e={title:{show:!0,text:this.chartData.title,left:uni.upx2px(18.11),top:uni.upx2px(10.86),textStyle:{fontWeight:"normal",fontSize:uni.upx2px(25.4),color:"#4A4A4A"}},tooltip:{show:!1},grid:{left:uni.upx2px(30.79),right:uni.upx2px(85.14),top:uni.upx2px(63.33),bottom:uni.upx2px(36.23)},yAxis:JSON.parse(JSON.stringify(this.chartData.yaxis)),xAxis:{axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},series:JSON.parse(JSON.stringify(this.chartData.series))};try{this.autoComplete(e.yAxis.data.length,e.yAxis.data,"string")}catch(u){}var i=[];try{e.yAxis.axisTick={},e.yAxis.axisTick.show=!1,e.yAxis.inverse=!0,e.yAxis.axisLine={show:!1},e.yAxis.splitLine={normal:{show:!1},emphasis:{show:!1}};var n="";uni.getSystemInfo({success:function(t){n=t.windowWidth-uni.upx2px(144.92)}});var r=uni.upx2px(10.86),s=0;e.yAxis.data.length>s&&(s=e.yAxis.data.length),e.yAxis.axisLabel={margin:40,interval:0,padding:[0,0,uni.upx2px(10.86),0],verticalAlign:"bottom",textStyle:{align:"left",color:"#666666"},formatter:function(t,a){var e="";return e=" {valueLabel|"+t+"}",e},rich:{firstLabel:{width:18,height:18,align:"center",color:"#fff",fontSize:12,backgroundColor:"#EB6100"},secondLabel:{width:18,height:18,align:"center",color:"#fff",fontSize:12,backgroundColor:"#FF9631"},thirdLabel:{width:18,height:18,align:"center",color:"#fff",fontSize:12,backgroundColor:"#FFC62E"},normalLabel:{width:18,height:18,fontSize:12,align:"center",color:"#666666"},valueLabel:{height:6,padding:[0,0,0,40],align:"left",color:"#666",fontSize:uni.upx2px(18.11)}}}}catch(u){}if(e.series){for(var d=0;d<e.series.length;d++)this.autoComplete(e.series[d].data.length,e.series[d].data),e.series[d].label={normal:{show:!0,position:[n,-2],fontSize:uni.upx2px(18.11),textStyle:{color:"#666666"}},emphasis:{show:!0,position:[n,-2],fontSize:uni.upx2px(18.11),textStyle:{color:"#666666"}}},e.series[d].itemStyle={normal:{barBorderRadius:18,color:"#3BB8FF"},emphasis:{barBorderRadius:18,color:"#0069FF"}},e.series[d].barWidth=r;var o=0,c=100;for(d=0;d<e.series[0].data.length;d++)"string"!==typeof e.series[0].data[d]||o?o<e.series[0].data[d]&&(o=e.series[0].data[d]):o=c;for(d=0;d<e.series[0].data.length;d++)i[d]=o;var l={type:"bar",z:0,itemStyle:{normal:{color:"#f5f5f5",barBorderRadius:18},emphasis:{color:"#f5f5f5",barBorderRadius:18}},label:{show:!1},barWidth:r,barGap:"-100%",barCategoryGap:"40%",data:i,animation:!1};e.series.push(l),e.xAxis.max="dataMax",setTimeout(function(){t.hideLoading()},500),t.setOption(e)}},autoComplete:function(t,a,e){if(t<10)for(var i=0;i<10;i++)a[i]||0==a[i]||(a[i]="");return a}}};a.default=i},"5d6e":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{is7Check:!0,is15Check:!1,is30Check:!1}},mounted:function(){console.log("chartData",this.chartData)},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawSelectLine()},deep:!0}},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{checkFun:function(t){switch(t){case"7":this.is7Check=!0,this.is15Check=!1,this.is30Check=!1,this.$emit("handleFun","7");break;case"15":this.is7Check=!1,this.is15Check=!0,this.is30Check=!1,this.$emit("handleFun","15");break;case"30":this.is7Check=!1,this.is15Check=!1,this.is30Check=!0,this.$emit("handleFun","30");break}},drawSelectLine:function(){var t=this,a=0,e={},i=document.getElementById(this.bindId);e=this.echarts.init(i),e.showLoading("default",{text:"",color:"#409eff"});var n={title:{show:!0,text:this.chartData.title,left:uni.upx2px(18.11),top:uni.upx2px(10.86),textStyle:{fontWeight:"normal",fontSize:uni.upx2px(25.4),color:"#4A4A4A"}},backgroundColor:"#fff",color:["#0069FF","#3BB8FF","#6784e3","#ff9631","#ffc62e","#7460ee","#eb6100"],tooltip:{renderMode:"richText"},grid:{left:uni.upx2px(76.08),right:uni.upx2px(28.98),top:uni.upx2px(123.18),bottom:uni.upx2px(9.05)+uni.upx2px(14.5)+12+uni.upx2px(14.5)+12},yAxis:{scale:!0,axisLabel:{textStyle:{color:"#9B9B9B",fontSize:uni.upx2px(14.5)},formatter:function(t){return t>a&&(a=t),t}},axisLine:{show:!1,lineStyle:{color:"#888"}},axisTick:{show:!1},splitLine:{lineStyle:{color:"#f3f3f3"}}},xAxis:{axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"#888"}},axisLabel:{textStyle:{color:"#9B9B9B",fontSize:uni.upx2px(14.5)}},splitLine:{show:!1}},legend:{orient:"horizontal",x:"center",textStyle:{fontSize:uni.upx2px(14.5),color:"rgba(74,74,74,1)"},itemWidth:uni.upx2px(12.7),itemHeight:uni.upx2px(12.7),itemGap:uni.upx2px(5.62),bottom:uni.upx2px(9.05),data:[],selected:{}},series:this.chartData.series};this.chartData.series.length>1&&this.chartData.series.forEach(function(a,e){var i={};n.legend.selected[a.name]=e<2,i.name=a.name,i.icon="emptyCircle",n.legend.data.push(i),a.areaStyle={color:new t.echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:n.color[e]},{offset:1,color:"#fff"}])},a.symbol="emptyCircle",a.symbolSize=uni.upx2px(12.7)}),n.xAxis.data=this.chartData.xaxis.data,setTimeout(function(){e.hideLoading()},500),e.setOption(n),n.grid.left=uni.upx2px(18.11)+15+String(a).length*uni.upx2px(9.05),e.setOption(n)}}};a.default=i},"60a9":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("div",{staticStyle:{position:"relative"}},[t._t("default"),e("div",{directives:[{name:"show",rawName:"v-show",value:t.toastShow,expression:"toastShow"}],staticClass:"toast"},[e("div",{staticClass:"toastContent"},[e("div",{staticClass:"arrow"}),t._l(t.typeArr,function(a){return e("span",{staticClass:"typeBox",on:{click:function(e){e=t.$handleEvent(e),t.itemClick(a.key)}}},[t._v(t._s(a.name))])})],2)])],2),t.toastShow?e("div",{staticClass:"dialog",on:{click:function(a){a=t.$handleEvent(a),t.$emit("update:toastShow",!1)}}}):t._e()])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"64df":function(t,a,e){"use strict";e.r(a);var i=e("dbfc"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"64e2":function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".toast[data-v-3e65c831]{position:absolute;top:36px;left:12px;z-index:1001;-webkit-box-shadow:0 %?3.62?% %?7.24?% 0 rgba(0,0,0,.5);box-shadow:0 %?3.62?% %?7.24?% 0 rgba(0,0,0,.5)}.toastContent[data-v-3e65c831]{position:relative;padding:0 %?10.86?%;background:#fff;border-radius:%?7.24?%}.dialog[data-v-3e65c831]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;background:rgba(0,0,0,.3)}.arrow[data-v-3e65c831]{border:%?9.06?% solid;width:0;height:0;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff rgba(0,0,0,0);position:absolute;top:%?-18.11?%;left:%?25.36?%}.typeBox[data-v-3e65c831]{padding:%?19.92?%;border-bottom:1px solid #dbdbdb;color:#000;font-size:%?25.37?%;display:block;line-height:normal}.typeBox[data-v-3e65c831]:last-child{border-bottom:none}.typeBox[data-v-3e65c831]:active{color:#c8c7cc}",""])},6938:function(t,a,e){var i=e("f9c4");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("040bfe9c",i,!0,{sourceMap:!1,shadowMode:!1})},"69a9":function(t,a,e){"use strict";e.r(a);var i=e("5b7b"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"6a31":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=o(e("bab8")),n=o(e("042c")),r=o(e("7dee")),s=o(e("a601")),d=o(e("0d45"));function o(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{currentDateType:"day",yearData:[],monthData:[],weekData:[],dayData:[],dateData:[],currentDate:[],currentMonth:[],currentWeek:[],currentYear:[],currentDay:[],date:"",dateText:"",reportType:"day",picker:{textTitle:"选择",textConfirm:"确定",textCancel:"取消",colorConfirm:"#ffffff",colorCancel:"#ffffff"},title:"",atoken:"",chartIds:"",orgIds:"",keyArr:["CustomerCounting","Customeradd","trend7","trend15","trend30","costomer_ranking"],chartDatas:{},dateTypeArr:[{name:"日报",key:"day"},{name:"周报",key:"week"},{name:"月报",key:"month"},{name:"年报",key:"year"}],isShow:!1,accountId:"",mallId:"",scrollTop:uni.upx2px(77),navheight:0,headData:{accumulativeTraffic:"-",effectiveTraffic:"-",enteringRate:"-",durationTime:"-",midu:"-",comparedInnum:"-"},weekHeadData:{accumulativeTraffic:"-",enteringRate:"-",durationTime:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"},monthHeadData:{accumulativeTraffic:"-",enteringRate:"-",durationTime:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"},yearHeadData:{accumulativeTraffic:"-",enteringRate:"-",durationTime:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"}}},computed:{i18n:function(){return this.$t("index")}},components:{linechart:i.default,toast:n.default,stackbarchart:r.default,rankchart:s.default,agechart:d.default},created:function(){var t=this;this.getDateList(),uni.getStorage({key:"atoken",success:function(a){t.atoken=a.data}}),uni.getStorage({key:"orgIds",success:function(a){t.orgIds=a.data}}),uni.getStorage({key:"orgName",success:function(a){t.title=a.data}}),uni.getStorage({key:"accountId",success:function(a){t.accountId=a.data}}),uni.getStorage({key:"mallId",success:function(a){t.mallId=a.data}}),uni.getStorage({key:"statusBarH",success:function(a){a.data&&(t.navheight=a.data,t.scrollTop=a.data+uni.upx2px(77))}})},mounted:function(){this.getReportKey(),this.initFresh()},methods:{handleDayConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=t[2].index+1;e=e>9?e:"0"+e,i=i>9?i:"0"+i,this.date=a+"-"+e+"-"+i,this.dateText=a+"-"+e+"-"+i,this.reportType="day",this.getReportKey()},handleWeekConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1;e=e>9?e:"0"+e;var i=new Date;i.setFullYear(a,e-1,1);var n=i.getDay();i.setFullYear(a,e,0);var r,s=i.getDate();r=7-n+1;var d="",o="";if(0==t[2].index){d=a+"-"+e+"-01";var c=r>9?r:"0"+r;o=a+"-"+e+"-"+c}else{var l=r+7*(t[2].index-1)+1;c=r+7*t[2].index;if(l>s){for(var u=t[2].index-1;u>=0;u--)if(l=r+7*(u-1),c=r+7*u,l<=s){c>s&&(c=s);break}}else l<=s&&c>s&&(c=s);l=l>9?l:"0"+l,c=c>9?c:"0"+c,d=a+"-"+e+"-"+l,o=a+"-"+e+"-"+c}this.reportType="week",this.date=d+","+o,this.dateText=d+"至"+o,this.reportType="week",this.getReportKey()},handleMonthConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=(new Date).getFullYear(),n=(new Date).getMonth()+1,r="",s="";if(a==i&&e==n){e=e>9?e:"0"+e,r=a+"-"+e+"-01";var d=(new Date).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}else{e=e>9?e:"0"+e,r=a+"-"+e+"-01";d=new Date(a,e,0).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}this.reportType="month",this.date=r+","+s,this.dateText=r+"至"+s,this.reportType="month",this.getReportKey()},handleYearConfirm:function(t){var a="",e="",i=1999+t[0].index;a=i+"-01-01",e=i+"-12-31",this.reportType="month",this.date=a+","+e,this.dateText=a+"至"+e,this.reportType="year",this.getReportKey()},getDateData:function(){var t=this;uni.getStorage({key:"dayData",success:function(a){a.data&&(t.dayData=JSON.parse(a.data))}}),uni.getStorage({key:"weekData",success:function(a){a.data&&(t.weekData=JSON.parse(a.data))}}),uni.getStorage({key:"monthData",success:function(a){a.data&&(t.monthData=JSON.parse(a.data))}}),uni.getStorage({key:"yearData",success:function(a){a.data&&(t.yearData=JSON.parse(a.data))}}),uni.getStorage({key:"currentDay",success:function(a){a.data&&(t.currentDay=JSON.parse(a.data))}}),uni.getStorage({key:"currentWeek",success:function(a){a.data&&(t.currentWeek=JSON.parse(a.data))}}),uni.getStorage({key:"currentMonth",success:function(a){a.data&&(t.currentMonth=JSON.parse(a.data))}}),uni.getStorage({key:"currentYear",success:function(a){a.data&&(t.currentYear=JSON.parse(a.data))}}),this.dateData=JSON.parse(JSON.stringify(this.dayData)),this.currentDate=this.currentDay;var a=new Date,e=a.getFullYear(),i=a.getMonth(),n=i+1>9?i+1:"0"+(i+1),r=a.getDate(),s=r>9?r:"0"+r;this.dateText=e+"-"+n+"-"+s,this.date=e+"-"+n+"-"+s},dateConfirm:function(t){"day"==this.currentDateType?this.handleDayConfirm(t):"week"==this.currentDateType?this.handleWeekConfirm(t):"month"==this.currentDateType?this.handleMonthConfirm(t):"year"==this.currentDateType&&this.handleYearConfirm(t)},dateClick:function(t){switch(this.currentDateType=t,t){case"day":this.dateData=this.dayData,this.currentDate=this.currentDay;break;case"week":this.dateData=this.weekData,this.currentDate=this.currentWeek;break;case"month":this.dateData=this.monthData,this.currentDate=this.currentMonth;break;case"year":this.dateData=this.yearData,this.currentDate=this.currentYear;break}},goList:function(){uni.navigateTo({url:"../list/mallList?accountId="+this.accountId+"&atoken="+this.atoken+"&url=../index/index"})},goStoreList:function(){uni.navigateTo({url:"../list/storeList?mallId="+this.mallId+"&atoken="+this.atoken+"&accountId="+this.accountId})},getReportKey:function(){var t=this,a="";"day"==this.reportType?(a="ZoneDay",this.keyArr=["accumulativeTraffic","customerfeature_age","customerfeature_gender","hourTrafficTrend","trafficTrend7"]):"week"==this.reportType?(a="ZoneWeek",this.keyArr=["customerfeature_age","customerfeature_gender","trafficTrend"]):"month"==this.reportType?(a="ZoneMonth",this.keyArr=["customerfeature_age","customerfeature_gender","trafficTrend"]):"year"==this.reportType&&(a="ZoneYear",this.keyArr=["customerfeature_age","customerfeature_gender","trafficTrend"]),uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/reportCharts",data:{report:a,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(a){t.chartIds="",a.data.data.forEach(function(a){"-1"!=t.keyArr.indexOf(a.key)&&(t.chartIds+=a.id+",")}),t.chartIds=t.chartIds.substring(0,t.chartIds.length-1),t.getChartData()}})},getChartData:function(){var t=this,a={},e=window.url+"/report/day/zone";if("day"==this.reportType)e=window.url+"/report/day/zone",a={orgIds:this.orgIds,date:this.date,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3};else if("week"==this.reportType){var i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/week/zone",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("month"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/month/zone",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("year"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/year/zone",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}uni.request({url:e,header:{Authorization:this.atoken},data:a,method:"GET",success:function(a){uni.hideLoading();var e=a.data.data;"day"==t.reportType?(t.headData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.headData.effectiveTraffic=e.head.effectiveTraffic?e.head.effectiveTraffic:"-",t.headData.enteringRate=e.head.enteringRate?e.head.enteringRate:"-",t.headData.durationTime=e.head.durationTime?(60*e.head.durationTime).toFixed(2):"-",t.headData.midu=e.head.midu?e.head.midu:"-",t.headData.comparedInnum=e.head.comparedInnum?e.head.comparedInnum:"-",e.body.hourTrafficTrend.title=t.i18n.areaReal,e.body.accumulativeTraffic.title=t.i18n.areaAdd,e.body.trafficTrend7.title=t.i18n.areaTrend):"week"==t.reportType?(t.weekHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.weekHeadData.enteringRate=e.head.enteringRate?e.head.enteringRate:"-",t.weekHeadData.durationTime=e.head.durationTime?(60*e.head.durationTime).toFixed(2):"-",t.weekHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.weekHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.weekHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",e.body.trafficTrend.title=t.i18n.areaTrend):"month"==t.reportType?(t.monthHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.monthHeadData.enteringRate=e.head.enteringRate?e.head.enteringRate:"-",t.monthHeadData.durationTime=e.head.durationTime?(60*e.head.durationTime).toFixed(2):"-",t.monthHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.monthHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.monthHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",e.body.trafficTrend.title=t.i18n.areaTrend):"year"==t.reportType&&(t.yearHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.yearHeadData.enteringRate=e.head.enteringRate?e.head.enteringRate:"-",t.yearHeadData.durationTime=e.head.durationTime?(60*e.head.durationTime).toFixed(2):"-",t.yearHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.yearHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.yearHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",e.body.trafficTrend.title=t.i18n.areaTrend),t.chartDatas=e.body}})},initFresh:function(){var t=this,a=new MiniRefresh({container:"#minirefresh",down:{callback:function(){t.getChartData(),a.endDownLoading()}},up:{callback:function(){console.log("bb"),a.endUpLoading(!0)}},isScrollBar:!1})},dateShow:function(t){this.$refs.picker.show()}}};a.default=c},"6d14":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAkCAYAAAGbGdhJAAAABGdBTUEAALGPC/xhBQAABYxJREFUWAnFV2tsVEUUPnO7220XMcGCZiuNWERjjMYYEoPdxbbQBxhJ8NE/JBIjNuFHQ4z+wv4ANT5iiMYIxmIa9Af8wEdSrXS3W6h9CJFKfABBocSkkaRaa7Fa2m13x+/M7lxm797tbWNjb7I7Z875zuPOnHNmLpHLI5hX0SGllvXXCyHCHXIUnGWaifE0bbooA40D0q+Ze6S0FA31g0yEo/IzLSSY+F1PhOmAmWk9LVYMQRfYNegmg3+dVIHy1Gkro6WQoiIqt5OkQ2rm8ucXdLdVIOhPlmlNeG2G+W16ToV0SelWnpDLXYyQ/eZuQpOXs7oshLv3AgW0t2ujGBbhmNwqU/SpqWXTgkatvEJGSbopZylt7QyhAAE/3aEF8N+aedWE4mHRhpkwVxbbN8M8jE/zuIAPTP4W6ZDPskl2qX5R+YKXC7WYvPTxGF1Cwt7upWDIm/DC7/I8vSNRrKpM0wbIk8TKTfbViWKujyuoj5CnRj6AoBjvyxmnHOEdcfKMecqgOfyTItIjQ6kJusICnb9cpC1rxbQJNulwXJZjdweZ5w/QCiWLxORuvFanCfSigT9b0SkbcnDI6tYcpgsDHWO/yVa7YzKYDnfKSkpR2FdIr3dXiZlHB2Rw7A9qLiA63F0nzjrxrnOU8kokmupTrgAH0y4r7nookBFOvOkp2gncDsx/3dInlzp0cqb261R3ydVT05mukgNTLWEIzbShv0accoqVkUhUNqUkveMUzjbX6cAY9TrInubZFNxkXJxPSom1hpH1MbkZdXOzG9CLNxynO5WRZIravcD55MkknVdG8gHmw7e3eD5KTqybkb/QJy47gTwHfwa/IafMNgLhP7xtluAzhsozSkNBi26FrLW0jAJoQP4ii+7VRsC/yrRPM2BtM9O9deItDPwzn2f0GR6vEVeRydPYUT+cqYgtWGthdE+d6OERFTqGMn+DafM5N0KJ2qhUqQCd51iG8bTCcK1A8TVTwYvO6GS1A6UDQ694KWs5In1b01kjyv8GruQspssEuFUciYsozYp0yQfyXQsYgRJZsz4qy/IaMAWo6kMPx+U6zYNiNV73fT13jnY/cQqwE0sCJSQ/XysmtAzGd6JlHOA57yra5y60z0kt/y+jayBVx+VdiQRd0IYB+gG/l7Ca63DePq/5ekRQf+MQbUeyd/gLqPf4BqGOJC2fy+gaSCQu70sl6RQSu3guRmbFCPpOSPoKge7CiftJTS017BECrTT7sQPhdEU1vZgtXvgZVm8IQe31I7juepG+sMLN9dSVNIiokgvvOtsiXrYMK/0BrhsfmRLB9TY+iKsa0UpT8L/Qgk7014lq9mWNX6ajixIEe5dUhZRQ566FpXqEeYv1wP9j7Ju7/E+LFQT7hf9feLSwLV8w4XwA+KbIR8v5elp6IwWRyO6fSKwo6Jqpz5WB35Ylgm6xgritFNDjptykgdvHc7EhLksmZ2jEITyI07ZR82pisvSapEYolaChcac95xN0prKWzrv1BK1njsiFD7ENT5k82Psefu5nnm8qSavA+Bqgh5gBemZpefZHMYLgc3IjVmVbb71oYxw/3eo/+w8OH8QqfwnsxVAtVRwVQrUEONwOWRB+nshocEp8zIcbjokRHwDf4jxtsyxqB2g1hNPH1oipLPMW7UN3PFmcor4svstkWQn9ODpCL8PezzoIG2bRfoS1VQrqx3FwBFUzxkHYck3w5w6ibsGF+jbNW8iRb7iwb2+5p22csq/y95QncB4ArHo9Psd2zEMlDeVAEP0BfcObt4GMQsbOMa9vHOTU7A+2awWK803sa1eohg7n7LuLOhKwKJmgJhyxIX8h7Z7LncUzEKcfDkxO0Cbw70FwfpyaAmMSyZxIWTRQUkydbWEx7tTzmv8Ll0ARVL3PoT4AAAAASUVORK5CYII="},"70b5":function(t,a,e){"use strict";var i=e("223c"),n=e.n(i);n.a},7476:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"piechart"},[e("div",{staticClass:"chart",attrs:{id:t.bindId}})])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"75bc":function(t,a,e){"use strict";var i=e("85d8"),n=e.n(i);n.a},"7dee":function(t,a,e){"use strict";e.r(a);var i=e("7476"),n=e("fb15");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("ff4e");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"afdbfa7c",null);a["default"]=d.exports},"803b":function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",["account"==t.type?e("accountindex"):"mall"==t.type?e("mallindex"):"floor"==t.type?e("floorindex"):"zone"==t.type?e("zoneindex"):t._e()],1)},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"80b7":function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".contentBox[data-v-055ccc3f]{position:absolute;top:%?61.59?%;left:0;right:0;bottom:0;margin:auto}.contentBox img[data-v-055ccc3f]{width:%?32.6?%}",""])},8285:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"linechart"},[e("div",{staticClass:"chart",attrs:{id:t.bindId}})])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},"831e":function(t,a,e){var i=e("d512");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("1d820732",i,!0,{sourceMap:!1,shadowMode:!1})},"85a8":function(t,a,e){"use strict";e.r(a);var i=e("4457"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"85d8":function(t,a,e){var i=e("fedc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("3ccb4eba",i,!0,{sourceMap:!1,shadowMode:!1})},"8b70":function(t,a,e){"use strict";var i=e("6938"),n=e.n(i);n.a},"8c8a":function(t,a,e){"use strict";var i;function n(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(i={data:function(){return{}},computed:{width:function(){return uni.upx2px(200)}},props:{num:[Number,String],picSrc:[String],textColor:[String],align:[String],radius:[Number,String],progress:[Number,String],barColor:String,backgroundColor:String,isAnimation:{type:Boolean,default:!0},isRound:{type:Boolean,default:!0},id:{type:[String,Number],default:1},duration:{type:[String,Number],default:1e3},delay:{type:[String,Number],default:200},timeFunction:{type:String,default:"cubic-bezier(0.99, 0.01, 0.22, 0.94)"}}},n(i,"data",function(){return{idStr:"circle_progress_keyframes_".concat(this.id)}}),n(i,"beforeDestroy",function(){}),n(i,"mounted",function(){}),i);a.default=r},"8e6c":function(t,a,e){var i=e("64e2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("31ee78d2",i,!0,{sourceMap:!1,shadowMode:!1})},"94e9":function(t,a,e){"use strict";e.r(a);var i=e("5d6e"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},"94f1":function(t,a,e){"use strict";var i=e("4a4b"),n=e.n(i);n.a},a136:function(t,a,e){"use strict";var i=e("573d"),n=e.n(i);n.a},a15d:function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".chart[data-v-afdbfa7c]{width:%?706.52?%;height:%?438.4?%;margin:0 auto;background:#fff;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden}",""])},a601:function(t,a,e){"use strict";e.r(a);var i=e("15db"),n=e("10af");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("94f1");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"a9413fdc",null);a["default"]=d.exports},a822:function(t,a,e){"use strict";var i=e("ad7b"),n=e.n(i);n.a},a8a0:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),e("v-uni-view",{staticClass:"indexNav"},[e("span",{staticClass:"selectReport",on:{click:function(a){a=t.$handleEvent(a),t.dateShow(a)}}},[t._v("日期")]),t._v(t._s(t.title)),e("v-uni-image",{staticClass:"searchIcon",attrs:{src:"../../static/index/searchIcon.png",mode:""},on:{click:function(a){a=t.$handleEvent(a),t.goFloorList(a)}}}),e("span",{staticClass:"searchBtn",on:{click:function(a){a=t.$handleEvent(a),t.goList(a)}}},[t._v(t._s(this.$t("index").store))])],1),e("div",{staticClass:"minirefresh-wrap",style:{top:t.scrollTop+"px"},attrs:{id:"minirefresh"}},[e("div",{staticClass:"minirefresh-scroll"},[e("v-uni-view",{staticClass:"_blank"},[e("v-uni-text",{staticClass:"dateBox"},[t._v(t._s(t.dateText))])],1),"day"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("当日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.dayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("有效客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.effectiveTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("昨日客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallYesterdayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上周同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallLastweekInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallLastyearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("门店面积")]),e("div",{staticClass:"num"},[t._v(t._s(t.headData.mallArea))]),e("div",{staticClass:"unit"},[t._v("平米")])])])]):t._e(),"week"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本周客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.dayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("有效客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.effectiveTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上周同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.weekHeadData.lastweekInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"month"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("本月客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.dayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("有效客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.effectiveTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("上月同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.monthHeadData.lastMonthInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"year"==t.reportType?e("div",{staticClass:"dataBox"},[e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("年度客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.dayInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("有效客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.effectiveTraffic))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("日均客流")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.averageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])]),e("span",{staticClass:"flexBox"},[e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("工作日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.workdayAverageInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("双休日平均客流量")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.weekendAverageInnum))]),e("div",{staticClass:"unit"},[t._v("%")])]),e("span",{staticClass:"boxs"},[e("div",{staticClass:"littleTit"},[t._v("去年同期")]),e("div",{staticClass:"num"},[t._v(t._s(t.yearHeadData.lastYearInnum))]),e("div",{staticClass:"unit"},[t._v("人次")])])])]):t._e(),"day"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_denger,"bind-id":"customerfeature_denger"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.customercounting,"bind-id":"customercounting"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.customeradd,"bind-id":"customeradd"}}):t._e(),"day"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trend15,"bind-id":"trend15"}}):t._e(),"day"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"week"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_denger,"bind-id":"customerfeature_denger"}}):t._e(),"week"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"week"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"month"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_denger,"bind-id":"customerfeature_denger"}}):t._e(),"month"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"month"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e(),"year"==t.reportType?e("agechart",{attrs:{"chart-data":t.chartDatas.customerfeature_denger,"bind-id":"customerfeature_denger"}}):t._e(),"year"==t.reportType?e("linechart",{attrs:{"chart-data":t.chartDatas.trafficAndSaleTrend,"bind-id":"trafficAndSaleTrend"}}):t._e(),"year"==t.reportType?e("stackbarchart",{attrs:{"chart-data":t.chartDatas.customerfeature_age,"bind-id":"customerfeature_age"}}):t._e()],1)]),e("awesome-picker",{ref:"picker",attrs:{data:t.dateData,textConfirm:t.picker.textConfirm,colorConfirm:t.picker.colorConfirm,textCancel:t.picker.textCancel,colorCancel:t.picker.colorCancel,anchor:t.currentDate},on:{confirm:function(a){a=t.$handleEvent(a),t.dateConfirm(a)}}},[e("div",{staticClass:"typeBox"},[e("span",{class:{activeDateType:"day"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("day")}}},[t._v("日")]),e("span",{class:{activeDateType:"week"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("week")}}},[t._v("周")]),e("span",{class:{activeDateType:"month"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("month")}}},[t._v("月")]),e("span",{class:{activeDateType:"year"==t.currentDateType},on:{click:function(a){a=t.$handleEvent(a),t.dateClick("year")}}},[t._v("年")])])])],1)},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},aa75:function(t,a,e){var i=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".littleTit[data-v-ab0d1874]{font-size:%?27.17?%;color:#666}.num[data-v-ab0d1874]{font-family:apples;font-size:%?43.47?%;font-weight:600;color:#4a4a4a}.unit[data-v-ab0d1874]{font-size:%?27.17?%;color:#666}.minirefresh-scroll[data-v-ab0d1874]{background:rgba(0,0,0,0);padding-top:%?172.1?%;position:relative}.dataBox[data-v-ab0d1874]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:%?706.52?%;height:%?335.14?%;margin:0 auto;-webkit-box-shadow:0 0 %?12.68?% 0 rgba(0,0,0,.14);box-shadow:0 0 %?12.68?% 0 rgba(0,0,0,.14);border-radius:4px;background:#fff;margin-bottom:%?18.2?%}.flexBox[data-v-ab0d1874]:first-of-type{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:%?36.23?% %?45.28?% %?23.55?% %?45.28?%}.flexBox[data-v-ab0d1874]:nth-of-type(2){display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:%?10.86?% %?45.28?% %?36.23?% %?45.28?%}.boxs[data-v-ab0d1874]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.boxs div[data-v-ab0d1874]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;/*垂直居中*/-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start/*水平居中*/}.boxs:nth-of-type(2) div[data-v-ab0d1874]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center/*水平居中*/}.boxs:nth-of-type(3) div[data-v-ab0d1874]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;/*水平居中*/}.dateBox[data-v-ab0d1874]{color:#fff;display:inline-block;font-size:%?27.17?%;position:relative;top:%?7.24?%}.indexNav[data-v-ab0d1874]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:relative;font-size:%?33?%;color:#fff}._blank[data-v-ab0d1874]{height:%?380.43?%;background:url("+i(e("4c8c"))+") no-repeat;background-size:100% 100%;position:absolute;top:0;width:100%;z-index:-1;text-align:center}.selectReport[data-v-ab0d1874]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;position:relative;left:%?21.73?%}.searchBtn[data-v-ab0d1874]{float:right;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;position:relative;right:%?21.73?%}.minirefresh-wrap[data-v-ab0d1874]{top:%?77.89?%}.searchIcon[data-v-ab0d1874]{width:%?25.36?%;height:%?25.36?%;float:right;position:relative;right:%?77.89?%;top:%?27.17?%}",""])},ad7b:function(t,a,e){var i=e("aa75");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("4500903a",i,!0,{sourceMap:!1,shadowMode:!1})},ae9d:function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,'.barBox[data-v-0d7bc634]{margin:0 auto;display:block;position:relative;width:%?487.31?%;top:%?50.72?%}.chart[data-v-0d7bc634]{width:%?706.52?%;height:%?449.27?%;background:#fff;margin:0 auto;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden;padding-top:%?12.68?%}.titles[data-v-0d7bc634]{padding-left:%?25.36?%;font-weight:"normal";font-size:%?25.36?%;color:"#4A4A4A"}.agesBox[data-v-0d7bc634]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:100%;padding:%?56.15?% %?54.34?% 0 %?54.34?%}.items[data-v-0d7bc634]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.bar[data-v-0d7bc634]{width:%?487.31?%;background:#f3f3f3;height:%?10.86?%;border-radius:%?5.43?%;overflow:hidden}.maleBar[data-v-0d7bc634]{float:left;background:#3bb8ff;height:100%;width:32%}.femaleBar[data-v-0d7bc634]{float:left;background:#ffc62e;height:100%;width:68%}.barText[data-v-0d7bc634]{position:absolute;top:%?18.11?%;font-size:%?18.11?%;color:#4a4a4a}.femaleText[data-v-0d7bc634]{color:#ffc62e;right:0}.maleText[data-v-0d7bc634]{color:#3bb8ff}',""])},b06c:function(t,a,e){"use strict";var i=e("dc25"),n=e.n(i);n.a},b422:function(t,a,e){"use strict";e.r(a);var i=e("3058"),n=e("85a8");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("5697");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"7f35d0fc",null);a["default"]=d.exports},b747:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=o(e("bab8")),n=o(e("042c")),r=o(e("7dee")),s=o(e("a601")),d=o(e("0d45"));function o(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{currentDateType:"day",yearData:[],monthData:[],weekData:[],dayData:[],dateData:[],currentDate:[],currentMonth:[],currentWeek:[],currentYear:[],currentDay:[],date:"",dateText:"",reportType:"day",picker:{textTitle:"选择",textConfirm:"确定",textCancel:"取消",colorConfirm:"#ffffff",colorCancel:"#ffffff"},title:"",atoken:"",chartIds:"",orgIds:"",keyArr:["CustomerCounting","Customeradd","trend7","trend15","trend30","costomer_ranking"],chartDatas:{},dateTypeArr:[{name:"日报",key:"day"},{name:"周报",key:"week"},{name:"月报",key:"month"},{name:"年报",key:"year"}],isShow:!1,accountId:"",mallId:"",scrollTop:uni.upx2px(77),navheight:0,headData:{accumulativeTraffic:"-",trafficRatio:"-",midu:"-",formatNum:"-",storeNum:"-",gateNum:"-"},weekHeadData:{accumulativeTraffic:"-",trafficRatio:"-",averageInnum:"-",midu:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"},monthHeadData:{accumulativeTraffic:"-",trafficRatio:"-",averageInnum:"-",midu:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"},yearHeadData:{accumulativeTraffic:"-",trafficRatio:"-",averageInnum:"-",midu:"-",workdayAverageInnum:"-",weekendAverageInnum:"-"}}},computed:{},components:{linechart:i.default,toast:n.default,stackbarchart:r.default,rankchart:s.default,agechart:d.default},created:function(){var t=this;this.getDateData(),uni.getStorage({key:"atoken",success:function(a){t.atoken=a.data}}),uni.getStorage({key:"orgIds",success:function(a){t.orgIds=a.data}}),uni.getStorage({key:"orgName",success:function(a){t.title=a.data}}),uni.getStorage({key:"accountId",success:function(a){t.accountId=a.data}}),uni.getStorage({key:"mallId",success:function(a){t.mallId=a.data}}),uni.getStorage({key:"statusBarH",success:function(a){a.data&&(t.navheight=a.data,t.scrollTop=a.data+uni.upx2px(77))}})},mounted:function(){this.getReportKey(),this.initFresh()},methods:{handleDayConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=t[2].index+1;e=e>9?e:"0"+e,i=i>9?i:"0"+i,this.date=a+"-"+e+"-"+i,this.dateText=a+"-"+e+"-"+i,this.reportType="day",this.getReportKey()},handleWeekConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1;e=e>9?e:"0"+e;var i=new Date;i.setFullYear(a,e-1,1);var n=i.getDay();i.setFullYear(a,e,0);var r,s=i.getDate();r=7-n+1;var d="",o="";if(0==t[2].index){d=a+"-"+e+"-01";var c=r>9?r:"0"+r;o=a+"-"+e+"-"+c}else{var l=r+7*(t[2].index-1)+1;c=r+7*t[2].index;if(l>s){for(var u=t[2].index-1;u>=0;u--)if(l=r+7*(u-1),c=r+7*u,l<=s){c>s&&(c=s);break}}else l<=s&&c>s&&(c=s);l=l>9?l:"0"+l,c=c>9?c:"0"+c,d=a+"-"+e+"-"+l,o=a+"-"+e+"-"+c}this.reportType="week",this.date=d+","+o,this.dateText=d+"至"+o,this.reportType="week",this.getReportKey()},handleMonthConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=(new Date).getFullYear(),n=(new Date).getMonth()+1,r="",s="";if(a==i&&e==n){e=e>9?e:"0"+e,r=a+"-"+e+"-01";var d=(new Date).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}else{e=e>9?e:"0"+e,r=a+"-"+e+"-01";d=new Date(a,e,0).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}this.reportType="month",this.date=r+","+s,this.dateText=r+"至"+s,this.reportType="month",this.getReportKey()},handleYearConfirm:function(t){var a="",e="",i=1999+t[0].index;a=i+"-01-01",e=i+"-12-31",this.reportType="month",this.date=a+","+e,this.dateText=a+"至"+e,this.reportType="year",this.getReportKey()},getDateData:function(){var t=this;uni.getStorage({key:"dayData",success:function(a){a.data&&(t.dayData=JSON.parse(a.data))}}),uni.getStorage({key:"weekData",success:function(a){a.data&&(t.weekData=JSON.parse(a.data))}}),uni.getStorage({key:"monthData",success:function(a){a.data&&(t.monthData=JSON.parse(a.data))}}),uni.getStorage({key:"yearData",success:function(a){a.data&&(t.yearData=JSON.parse(a.data))}}),uni.getStorage({key:"currentDay",success:function(a){a.data&&(t.currentDay=JSON.parse(a.data))}}),uni.getStorage({key:"currentWeek",success:function(a){a.data&&(t.currentWeek=JSON.parse(a.data))}}),uni.getStorage({key:"currentMonth",success:function(a){a.data&&(t.currentMonth=JSON.parse(a.data))}}),uni.getStorage({key:"currentYear",success:function(a){a.data&&(t.currentYear=JSON.parse(a.data))}}),this.dateData=JSON.parse(JSON.stringify(this.dayData)),this.currentDate=this.currentDay;var a=new Date,e=a.getFullYear(),i=a.getMonth(),n=i+1>9?i+1:"0"+(i+1),r=a.getDate(),s=r>9?r:"0"+r;this.dateText=e+"-"+n+"-"+s,this.date=e+"-"+n+"-"+s},dateConfirm:function(t){"day"==this.currentDateType?this.handleDayConfirm(t):"week"==this.currentDateType?this.handleWeekConfirm(t):"month"==this.currentDateType?this.handleMonthConfirm(t):"year"==this.currentDateType&&this.handleYearConfirm(t)},dateClick:function(t){switch(this.currentDateType=t,t){case"day":this.dateData=this.dayData,console.log("currentDay",this.currentDay),this.currentDate=this.currentDay;break;case"week":this.dateData=this.weekData,this.currentDate=this.currentWeek;break;case"month":this.dateData=this.monthData,this.currentDate=this.currentMonth;break;case"year":this.dateData=this.yearData,this.currentDate=this.currentYear;break}},goList:function(){uni.navigateTo({url:"../list/mallList?accountId="+this.accountId+"&atoken="+this.atoken+"&url=../index/index"})},goStoreList:function(){uni.navigateTo({url:"../list/floorList?mallId="+this.mallId+"&atoken="+this.atoken+"&accountId="+this.accountId})},getReportKey:function(){var t=this,a="";"day"==this.reportType?(a="FloorDay",this.keyArr=["affumulativeTraffic","customerfeature_age","customerfeature_gender","gateTraffic","hourTrafficTrend","trafficAndSaleTrend15","trafficRank"]):"week"==this.reportType?(a="FloorWeek",this.keyArr=["customerfeature_age","customerfeature_gender","gateTraffic","trafficAndSaleTrend","trafficRank"]):"month"==this.reportType?(a="FloorMonth",this.keyArr=["customerfeature_age","customerfeature_gender","gateTraffic","trafficAndSaleTrend","trafficRank"]):"year"==this.reportType&&(a="FloorYear",this.keyArr=["customerfeature_age","customerfeature_gender","gateTraffic","trafficAndSaleTrend","trafficRank"]),uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/reportCharts",data:{report:a,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(a){t.chartIds="",a.data.data.forEach(function(a){"-1"!=t.keyArr.indexOf(a.key)&&(t.chartIds+=a.id+",")}),t.chartIds=t.chartIds.substring(0,t.chartIds.length-1),t.getChartData()}})},getChartData:function(){var t=this,a={},e=window.url+"/report/day/floor";if("day"==this.reportType)e=window.url+"/report/day/floor",a={orgIds:this.orgIds,date:this.date,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3};else if("week"==this.reportType){var i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/week/floor",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("month"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/month/floor",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("year"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/year/floor",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}uni.request({url:e,header:{Authorization:this.atoken},data:a,method:"GET",success:function(a){uni.hideLoading();var e=a.data.data;t.chartDatas=e.body,"day"==t.reportType?(t.headData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.headData.trafficRatio=e.head.trafficRatio?e.head.trafficRatio:"-",t.headData.midu=e.head.midu?e.head.midu:"-",t.headData.formatNum=e.head.formatNum?e.head.formatNum:"-",t.headData.storeNum=e.head.storeNum?e.head.storeNum:"-",t.headData.gateNum=e.head.gateNum?e.head.gateNum:"-"):"week"==t.reportType?(t.weekHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.weekHeadData.trafficRatio=e.head.trafficRatio?e.head.trafficRatio:"-",t.weekHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.weekHeadData.midu=e.head.midu?e.head.midu:"-",t.weekHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.weekHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-"):"month"==t.reportType?(t.monthHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.monthHeadData.trafficRatio=e.head.trafficRatio?e.head.trafficRatio:"-",t.monthHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.monthHeadData.midu=e.head.midu?e.head.midu:"-",t.monthHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.monthHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-"):"year"==t.reportType&&(t.yearHeadData.accumulativeTraffic=e.head.accumulativeTraffic?e.head.accumulativeTraffic:"-",t.yearHeadData.trafficRatio=e.head.trafficRatio?e.head.trafficRatio:"-",t.yearHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.yearHeadData.midu=e.head.midu?e.head.midu:"-",t.yearHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.yearHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-")}})},initFresh:function(){var t=this,a=new MiniRefresh({container:"#minirefresh",down:{callback:function(){t.getChartData(),a.endDownLoading()}},up:{callback:function(){console.log("bb"),a.endUpLoading(!0)}},isScrollBar:!1})},dateShow:function(t){this.$refs.picker.show()}}};a.default=c},b838:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"slinechart"},[e("div",{staticClass:"selectBox"},[e("div",{staticClass:"sItem",class:{checkedItem:t.is7Check},on:{click:function(a){a=t.$handleEvent(a),t.checkFun("7")}}},[t._v("近7天")]),e("div",{staticClass:"sItem",class:{checkedItem:t.is15Check},on:{click:function(a){a=t.$handleEvent(a),t.checkFun("15")}}},[t._v("近15天")]),e("div",{staticClass:"sItem",class:{checkedItem:t.is30Check},on:{click:function(a){a=t.$handleEvent(a),t.checkFun("30")}}},[t._v("近30天")])]),e("div",{staticClass:"chart",attrs:{id:t.bindId}})])},n=[];e.d(a,"a",function(){return i}),e.d(a,"b",function(){return n})},b927:function(t,a,e){var i=e("f718");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("1ef4519a",i,!0,{sourceMap:!1,shadowMode:!1})},bab8:function(t,a,e){"use strict";e.r(a);var i=e("8285"),n=e("64df");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("70b5");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"815ed1b6",null);a["default"]=d.exports},c11d:function(t,a,e){"use strict";e.r(a);var i=e("436d"),n=e("1f10");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("dd94");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"6abaa4ec",null);a["default"]=d.exports},c20f:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=o(e("bab8")),n=o(e("042c")),r=o(e("b422")),s=o(e("7dee")),d=o(e("0d45"));function o(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{currentDateType:"day",yearData:[],monthData:[],weekData:[],dayData:[],dateData:[],currentDate:[],currentMonth:[],currentWeek:[],currentYear:[],currentDay:[],date:"",dateText:"",reportType:"day",picker:{textTitle:"选择",textConfirm:"确定",textCancel:"取消",colorConfirm:"#ffffff",colorCancel:"#ffffff"},title:"",atoken:"",chartIds:"",orgIds:"",keyArr:["CustomerCounting","Customeradd","trend7","trend15","trend30","costomer_ranking"],chartDatas:{},dateTypeArr:[{name:"日报",key:"day"},{name:"周报",key:"week"},{name:"月报",key:"month"},{name:"年报",key:"year"}],isShow:!1,accountId:"",scrollTop:uni.upx2px(77),navheight:0,headData:{dayInnum:"-",effectiveTraffic:"-",mallYesterdayInnum:"-",mallLastweekInnum:"-",mallLastyearInnum:"-",mallArea:"-"},weekHeadData:{dayInnum:"-",effectiveTraffic:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",lastweekInnum:"-"},monthHeadData:{dayInnum:"-",effectiveTraffic:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",lastMonthInnum:"-"},yearHeadData:{dayInnum:"-",effectiveTraffic:"-",averageInnum:"-",workdayAverageInnum:"-",weekendAverageInnum:"-",lastYearInnum:"-"}}},computed:{i18n:function(){return this.$t("index")}},components:{linechart:i.default,toast:n.default,piechart:r.default,stackbarchart:s.default,agechart:d.default},created:function(){var t=this;this.getDateData(),uni.getStorage({key:"atoken",success:function(a){t.atoken=a.data}}),uni.getStorage({key:"orgIds",success:function(a){t.orgIds=a.data}}),uni.getStorage({key:"orgName",success:function(a){t.title=a.data}}),uni.getStorage({key:"accountId",success:function(a){t.accountId=a.data}}),uni.setStorage({key:"mallId",data:this.orgIds}),uni.getStorage({key:"statusBarH",success:function(a){a.data&&(t.navheight=a.data,t.scrollTop=a.data+uni.upx2px(77))}})},mounted:function(){this.getReportKey(),this.initFresh()},methods:{handleDayConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=t[2].index+1;e=e>9?e:"0"+e,i=i>9?i:"0"+i,this.date=a+"-"+e+"-"+i,this.dateText=a+"-"+e+"-"+i,this.reportType="day",this.getReportKey()},handleWeekConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1;e=e>9?e:"0"+e;var i=new Date;i.setFullYear(a,e-1,1);var n=i.getDay();i.setFullYear(a,e,0);var r,s=i.getDate();r=7-n+1;var d="",o="";if(0==t[2].index){d=a+"-"+e+"-01";var c=r>9?r:"0"+r;o=a+"-"+e+"-"+c}else{var l=r+7*(t[2].index-1)+1;c=r+7*t[2].index;if(l>s){for(var u=t[2].index-1;u>=0;u--)if(l=r+7*(u-1),c=r+7*u,l<=s){c>s&&(c=s);break}}else l<=s&&c>s&&(c=s);l=l>9?l:"0"+l,c=c>9?c:"0"+c,d=a+"-"+e+"-"+l,o=a+"-"+e+"-"+c}this.reportType="week",this.date=d+","+o,this.dateText=d+"至"+o,this.reportType="week",this.getReportKey()},handleMonthConfirm:function(t){var a=1999+t[0].index,e=t[1].index+1,i=(new Date).getFullYear(),n=(new Date).getMonth()+1,r="",s="";if(a==i&&e==n){e=e>9?e:"0"+e,r=a+"-"+e+"-01";var d=(new Date).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}else{e=e>9?e:"0"+e,r=a+"-"+e+"-01";d=new Date(a,e,0).getDate();d=d>9?d:"0"+d,s=a+"-"+e+"-"+d}this.reportType="month",this.date=r+","+s,this.dateText=r+"至"+s,this.reportType="month",this.getReportKey()},handleYearConfirm:function(t){var a="",e="",i=1999+t[0].index;a=i+"-01-01",e=i+"-12-31",this.reportType="month",this.date=a+","+e,this.dateText=a+"至"+e,this.reportType="year",this.getReportKey()},getDateData:function(){var t=this;uni.getStorage({key:"dayData",success:function(a){a.data&&(t.dayData=JSON.parse(a.data))}}),uni.getStorage({key:"weekData",success:function(a){a.data&&(t.weekData=JSON.parse(a.data))}}),uni.getStorage({key:"monthData",success:function(a){a.data&&(t.monthData=JSON.parse(a.data))}}),uni.getStorage({key:"yearData",success:function(a){a.data&&(t.yearData=JSON.parse(a.data))}}),uni.getStorage({key:"currentDay",success:function(a){a.data&&(t.currentDay=JSON.parse(a.data))}}),uni.getStorage({key:"currentWeek",success:function(a){a.data&&(t.currentWeek=JSON.parse(a.data))}}),uni.getStorage({key:"currentMonth",success:function(a){a.data&&(t.currentMonth=JSON.parse(a.data))}}),uni.getStorage({key:"currentYear",success:function(a){a.data&&(t.currentYear=JSON.parse(a.data))}}),this.dateData=JSON.parse(JSON.stringify(this.dayData)),this.currentDate=this.currentDay;var a=new Date,e=a.getFullYear(),i=a.getMonth(),n=i+1>9?i+1:"0"+(i+1),r=a.getDate(),s=r>9?r:"0"+r;this.dateText=e+"-"+n+"-"+s,this.date=e+"-"+n+"-"+s},dateConfirm:function(t){"day"==this.currentDateType?this.handleDayConfirm(t):"week"==this.currentDateType?this.handleWeekConfirm(t):"month"==this.currentDateType?this.handleMonthConfirm(t):"year"==this.currentDateType&&this.handleYearConfirm(t)},dateClick:function(t){switch(this.currentDateType=t,t){case"day":this.dateData=this.dayData,console.log("currentDay",this.currentDay),this.currentDate=this.currentDay;break;case"week":this.dateData=this.weekData,this.currentDate=this.currentWeek;break;case"month":this.dateData=this.monthData,this.currentDate=this.currentMonth;break;case"year":this.dateData=this.yearData,this.currentDate=this.currentYear;break}},goList:function(){uni.navigateTo({url:"../list/mallList?accountId="+this.accountId+"&atoken="+this.atoken+"&url=../index/index"})},goFloorList:function(){uni.navigateTo({url:"../list/floorList?mallId="+this.orgIds+"&atoken="+this.atoken+"&accountId="+this.accountId})},getReportKey:function(){var t=this,a="";"day"==this.reportType?(a="MallDay",this.keyArr=["costomer_ranking","customeradd","customercounting","customerfeature_age","customerfeature_denger","floor_triffic","gate_triffic","trend15","triffic_ranking"]):"week"==this.reportType?(a="MallWeek",this.keyArr=["costomer_ranking","customerfeature_age","customerfeature_denger","floor_triffic","gate_triffic","trafficAndSaleTrend","triffic_ranking"]):"month"==this.reportType?(a="MallMonth",this.keyArr=["costomer_ranking","customerfeature_age","customerfeature_denger","floor_triffic","gate_triffic","trafficAndSaleTrend","triffic_ranking"]):"year"==this.reportType&&(a="MallYear",this.keyArr=["costomer_ranking","customerfeature_age","customerfeature_denger","floor_triffic","gate_triffic","trafficAndSaleTrend","triffic_ranking"]),uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/reportCharts",data:{report:a,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(a){t.chartIds="",a.data.data.forEach(function(a){"-1"!=t.keyArr.indexOf(a.key)&&(t.chartIds+=a.id+",")}),t.chartIds=t.chartIds.substring(0,t.chartIds.length-1),t.getChartData()}})},getChartData:function(){var t=this,a={},e=window.url+"/report/day/mall";if("day"==this.reportType)e=window.url+"/report/day/mall",a={orgIds:this.orgIds,date:this.date,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3};else if("week"==this.reportType){var i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/week/mall",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("month"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/month/mall",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}else if("year"==this.reportType){i=this.date.split(",")[0],n=this.date.split(",")[1];e=window.url+"/report/year/mall",a={orgIds:this.orgIds,startDate:i,endDate:n,chartIds:this.chartIds,_t:Date.parse(new Date)/1e3}}uni.request({url:e,header:{Authorization:this.atoken},data:a,method:"GET",success:function(a){uni.hideLoading();var e=a.data.data;"day"==t.reportType?(t.headData.dayInnum=e.head.dayInnum?e.head.dayInnum:"-",t.headData.effectiveTraffic=e.head.effectiveTraffic?e.head.effectiveTraffic:"-",t.headData.mallYesterdayInnum=e.head.mallYesterdayInnum?e.head.mallYesterdayInnum:"-",t.headData.mallLastweekInnum=e.head.mallLastweekInnum?e.head.mallLastweekInnum:"-",t.headData.mallLastyearInnum=e.head.mallLastyearInnum?e.head.mallLastyearInnum:"-",t.headData.mallArea=e.head.mallArea?e.head.mallArea:"-",e.body.customercounting.title=t.i18n.storeReal,e.body.customeradd.title=t.i18n.storeAdd,e.body.trend15.title=t.i18n.storeTrend):"week"==t.reportType?(t.weekHeadData.dayInnum=e.head.dayInnum?e.head.dayInnum:"-",t.weekHeadData.effectiveTraffic=e.head.effectiveTraffic?e.head.effectiveTraffic:"-",t.weekHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.weekHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.weekHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.weekHeadData.lastweekInnum=e.head.lastweekInnum?e.head.lastweekInnum:"-",e.body.trafficAndSaleTrend.title=t.i18n.storeTrend):"month"==t.reportType?(t.monthHeadData.dayInnum=e.head.dayInnum?e.head.dayInnum:"-",t.monthHeadData.effectiveTraffic=e.head.effectiveTraffic?e.head.effectiveTraffic:"-",t.monthHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.monthHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.monthHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.monthHeadData.lastMonthInnum=e.head.lastMonthInnum?e.head.lastMonthInnum:"-",e.body.trafficAndSaleTrend.title=t.i18n.storeTrend):"year"==t.reportType&&(t.yearHeadData.dayInnum=e.head.dayInnum?e.head.dayInnum:"-",t.yearHeadData.effectiveTraffic=e.head.effectiveTraffic?e.head.effectiveTraffic:"-",t.yearHeadData.averageInnum=e.head.averageInnum?e.head.averageInnum:"-",t.yearHeadData.workdayAverageInnum=e.head.workdayAverageInnum?e.head.workdayAverageInnum:"-",t.yearHeadData.weekendAverageInnum=e.head.weekendAverageInnum?e.head.weekendAverageInnum:"-",t.yearHeadData.lastYearInnum=e.head.lastYearInnum?e.head.lastYearInnum:"-",e.body.trafficAndSaleTrend.title=t.i18n.storeTrend),t.chartDatas=e.body}})},initFresh:function(){var t=this,a=new MiniRefresh({container:"#minirefresh",down:{callback:function(){t.getChartData(),a.endDownLoading()}},up:{callback:function(){console.log("bb"),a.endUpLoading(!0)}},isScrollBar:!1})},dateShow:function(t){this.$refs.picker.show()}}};a.default=c},c31e:function(t,a,e){"use strict";e.r(a);var i=e("0642"),n=e("ee3c");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("a822");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"ab0d1874",null);a["default"]=d.exports},c52f:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{}},props:{toastShow:{type:Boolean,default:!1},typeArr:{type:Array,default:function(){return[{name:"**",key:""}]}}},watch:{toastShow:function(t,a){}},methods:{itemClick:function(t){this.$emit("update:toastShow",!1),this.$emit("handleChange",t)}}};a.default=i},c75d:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{}},mounted:function(){console.log("chartData",this.chartData)},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawStackBar()},deep:!0}},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{drawStackBar:function(){var t=0,a={},e=document.getElementById(this.bindId);a=this.echarts.init(e),a.showLoading("default",{text:"",color:"#409eff"});var i={title:{show:!0,text:this.chartData.title,left:uni.upx2px(18.11),top:uni.upx2px(10.86),textStyle:{fontWeight:"normal",fontSize:uni.upx2px(25.4),color:"#4A4A4A"}},tooltip:{renderMode:"richText"},color:["#3BB8FF","#FFC62E","#87D14B","#FFC62E","#FF9631"],grid:{left:uni.upx2px(76.08),right:uni.upx2px(28.98),top:uni.upx2px(83.33),bottom:uni.upx2px(94.2)},legend:{orient:"horizontal",x:"center",textStyle:{fontSize:uni.upx2px(14.5),color:"rgba(74,74,74,1)"},itemWidth:uni.upx2px(12.7),itemHeight:uni.upx2px(12.7),itemGap:uni.upx2px(3.62),bottom:uni.upx2px(9.05),data:[],selected:{}},yAxis:{type:"value",splitLine:{lineStyle:{color:"#EBEBEB"}},axisLine:{show:!1,lineStyle:{color:"#888"}},axisTick:{show:!1},axisLabel:{color:"#9B9B9B",fontSize:uni.upx2px(14.5),formatter:function(a){return a>t&&(t=a),a}}},xAxis:{splitLine:{show:!1},axisLine:{show:!1,lineStyle:{color:"#888"}},axisTick:{show:!1},axisLabel:{color:"#9B9B9B",fontSize:uni.upx2px(14.5)},data:[]},series:this.chartData.series};if(i.series){var n={},r=[],s=[],d=[];try{if(r=this.chartData.xaxis.data.map(function(t){return{name:t,data:[]}}),i.series.length>0)for(var o,c=0;c<i.series.length;c++){o=0,i.xAxis.data.push(i.series[c].name);for(var l=0;l<i.series[c].data.length;l++){for(var u in n[this.chartData.xaxis.data[l]]=i.series[c].data[l],i.series[c].data[l],o+=i.series[c].data[l],n)r[l].name==u&&r[l].data.push(n[u]);n={}}d.push(o)}for(var f=0;f<r.length;f++)r[f].itemStyle={show:!1},r[f].type="bar",r[f].stack="gender",i.legend.data.push(r[f].name);r.forEach(function(t){t.data.forEach(function(t,a){s[a]?s[a]+=t:s[a]=t})}),i.series=r,i.series.length||(i.graphic={type:"text",left:"center",top:"middle",z:100,style:{fill:"#333",text:"无数据",font:uni.upx2px(14.5)}},setTimeout(function(){a.hideLoading(),a.setOption(i)},500))}catch(h){}setTimeout(function(){a.hideLoading()},500),a.setOption(i),i.grid.left=uni.upx2px(18.11)+15+String(t).length*uni.upx2px(9.05),a.setOption(i)}}}};a.default=i},cd0a:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=d(e("c31e")),n=d(e("0cf5")),r=d(e("02bb")),s=d(e("c11d"));function d(t){return t&&t.__esModule?t:{default:t}}var o={data:function(){return{type:""}},onLoad:function(){var t=this;uni.getStorage({key:"type",success:function(a){t.type=a.data}})},components:{accountindex:i.default,mallindex:n.default,floorindex:r.default,zoneindex:s.default}};a.default=o},d512:function(t,a,e){var i=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".littleTit[data-v-6abaa4ec]{font-size:%?27.17?%;color:#9b9b9b}.num[data-v-6abaa4ec]{font-size:%?39.85?%;font-weight:600;color:#4a4a4a}.unit[data-v-6abaa4ec]{font-size:%?27.17?%;color:#9b9b9b}.minirefresh-scroll[data-v-6abaa4ec]{background:rgba(0,0,0,0);padding-top:%?172.1?%;position:relative}.dataBox[data-v-6abaa4ec]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:%?706.52?%;height:%?335.14?%;margin:0 auto;-webkit-box-shadow:0 0 7px 0 rgba(0,0,0,.14);box-shadow:0 0 7px 0 rgba(0,0,0,.14);border-radius:4px;background:#fff;margin-bottom:%?18.11?%}.flexBox[data-v-6abaa4ec]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:%?18.11?% 0}.boxs[data-v-6abaa4ec]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.boxs div[data-v-6abaa4ec]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;/*垂直居中*/-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center/*水平居中*/}.dateBox[data-v-6abaa4ec]{color:#fff;display:inline-block;font-size:%?27.17?%}.indexNav[data-v-6abaa4ec]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:relative;font-size:%?33?%;color:#fff}._blank[data-v-6abaa4ec]{height:%?380.43?%;background:url("+i(e("4c8c"))+") no-repeat;background-size:100% 100%;position:absolute;top:0;width:100%;z-index:-1;text-align:center}.selectReport[data-v-6abaa4ec]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%;position:relative;left:%?21.73?%}.searchBtn[data-v-6abaa4ec]{float:right;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%}.minirefresh-wrap[data-v-6abaa4ec]{top:%?77.89?%}.searchIcon[data-v-6abaa4ec]{width:%?25.36?%;height:%?25.36?%;float:right;position:relative;right:%?77.89?%;top:%?27.17?%}",""])},dbfc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{yMax:0}},mounted:function(){console.log("chartData",this.chartData)},watch:{bindId:function(t,a){},chartData:{handler:function(t,a){this.drawLine()},deep:!0}},props:{bindId:{type:String,default:""},chartData:{type:Object,default:function(){return{}}}},methods:{initChartInstance:function(t){var a=null,e=document.getElementById(t);return a=this.echarts.getInstanceByDom(e)||this.echarts.init(e),console.log(a.geOption()),a},drawLine:function(){var t=this,a=0,e={},i=document.getElementById(this.bindId);e=this.echarts.init(i),e.showLoading("default",{text:"",color:"#409eff"});var n={title:{show:!0,text:this.chartData.title,left:uni.upx2px(18.11),top:uni.upx2px(10.86),textStyle:{fontWeight:"normal",fontSize:uni.upx2px(25.4),color:"#4A4A4A"}},backgroundColor:"#fff",color:["#0069FF","#3BB8FF","#6784e3","#ff9631","#ffc62e","#7460ee","#eb6100"],tooltip:{renderMode:"richText"},grid:{left:uni.upx2px(76.08),right:uni.upx2px(28.98),top:uni.upx2px(83.33),bottom:uni.upx2px(9.05)+uni.upx2px(14.5)+12+uni.upx2px(14.5)+12},yAxis:{scale:!0,axisLabel:{textStyle:{color:"#9B9B9B",fontSize:uni.upx2px(14.5)},formatter:function(t){return t>a&&(a=t),t}},axisLine:{show:!1,lineStyle:{color:"#888"}},axisTick:{show:!1},splitLine:{lineStyle:{color:"#f3f3f3"}}},xAxis:{axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"#888"}},axisLabel:{textStyle:{color:"#9B9B9B",fontSize:uni.upx2px(14.5)}},splitLine:{show:!1}},legend:{orient:"horizontal",x:"center",textStyle:{fontSize:uni.upx2px(14.5),color:"rgba(74,74,74,1)"},itemWidth:uni.upx2px(12.7),itemHeight:uni.upx2px(12.7),itemGap:uni.upx2px(5.62),bottom:uni.upx2px(9.05),data:[],selected:{}},series:this.chartData.series};this.chartData.series.length>1&&this.chartData.series.forEach(function(a,e){var i={};n.legend.selected[a.name]=e<2,i.name=a.name,i.icon="emptyCircle",n.legend.data.push(i),a.areaStyle={color:new t.echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:n.color[e]},{offset:1,color:"#fff"}])},a.symbol="emptyCircle",a.symbolSize=uni.upx2px(12.7)}),n.xAxis.data=this.chartData.xaxis.data,setTimeout(function(){e.hideLoading()},500),e.setOption(n),console.log("option",JSON.stringify(n)),n.grid.left=uni.upx2px(18.11)+15+String(a).length*uni.upx2px(9.05),e.setOption(n)}}};a.default=i},dc25:function(t,a,e){var i=e("80b7");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("259bfd4a",i,!0,{sourceMap:!1,shadowMode:!1})},dd94:function(t,a,e){"use strict";var i=e("831e"),n=e.n(i);n.a},df4f:function(t,a,e){var i=e("a15d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("6af6e798",i,!0,{sourceMap:!1,shadowMode:!1})},e707:function(t,a,e){"use strict";e.r(a);var i=e("b838"),n=e("94e9");for(var r in n)"default"!==r&&function(t){e.d(a,t,function(){return n[t]})}(r);e("75bc");var s=e("2877"),d=Object(s["a"])(n["default"],i["a"],i["b"],!1,null,"0fb0d370",null);a["default"]=d.exports},ee3c:function(t,a,e){"use strict";e.r(a);var i=e("5065"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},f718:function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".chart[data-v-7f35d0fc]{width:%?706.52?%;height:%?438.4?%;margin:0 auto;background:#fff;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden}",""])},f9b2:function(t,a,e){"use strict";e.r(a);var i=e("8c8a"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},f9c4:function(t,a,e){var i=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".littleTit[data-v-57e4ed5f]{font-size:%?27.17?%;color:#9b9b9b}.num[data-v-57e4ed5f]{font-size:%?39.85?%;font-weight:600;color:#4a4a4a}.unit[data-v-57e4ed5f]{font-size:%?27.17?%;color:#9b9b9b}.minirefresh-scroll[data-v-57e4ed5f]{background:rgba(0,0,0,0);padding-top:%?172.1?%;position:relative}.dataBox[data-v-57e4ed5f]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:%?706.52?%;height:%?335.14?%;margin:0 auto;-webkit-box-shadow:0 0 7px 0 rgba(0,0,0,.14);box-shadow:0 0 7px 0 rgba(0,0,0,.14);border-radius:4px;background:#fff;margin-bottom:%?18.11?%}.flexBox[data-v-57e4ed5f]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:%?18.11?% 0}.boxs[data-v-57e4ed5f]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.boxs div[data-v-57e4ed5f]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;/*垂直居中*/-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center/*水平居中*/}.dateBox[data-v-57e4ed5f]{color:#fff;display:inline-block;font-size:%?27.17?%}.indexNav[data-v-57e4ed5f]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:relative;font-size:%?33?%;color:#fff}._blank[data-v-57e4ed5f]{height:%?380.43?%;background:url("+i(e("4c8c"))+") no-repeat;background-size:100% 100%;position:absolute;top:0;width:100%;z-index:-1;text-align:center}.selectReport[data-v-57e4ed5f]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;position:relative;left:%?21.73?%}.searchBtn[data-v-57e4ed5f]{float:right;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%}.minirefresh-wrap[data-v-57e4ed5f]{top:%?77.89?%}.searchIcon[data-v-57e4ed5f]{width:%?25.36?%;height:%?25.36?%;float:right;position:relative;right:%?77.89?%;top:%?27.17?%}",""])},fb15:function(t,a,e){"use strict";e.r(a);var i=e("c75d"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},fcdc:function(t,a,e){"use strict";e.r(a);var i=e("c20f"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a},fedc:function(t,a,e){a=t.exports=e("2350")(!1),a.push([t.i,".slinechart[data-v-0fb0d370]{position:relative}.chart[data-v-0fb0d370]{width:%?706.52?%;height:%?487.31?%;margin:0 auto;background:#fff;margin-bottom:%?18.2?%;border-radius:%?7.24?%;overflow:hidden}.selectBox[data-v-0fb0d370]{width:%?646.73?%;border:1px solid #f3f3f3;height:%?32.6?%;font-size:%?18.11?%;line-height:%?32.6?%;position:absolute;top:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;z-index:999;top:%?63.4?%;left:0;margin:auto;right:0}.sItem[data-v-0fb0d370]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;background:#fafafa;text-align:center;cursor:pointer;border-right:1px solid #f3f3f3}.sItem[data-v-0fb0d370]:last-of-type{border:none}.checkedItem[data-v-0fb0d370]{background:#fff}",""])},ff4e:function(t,a,e){"use strict";var i=e("df4f"),n=e.n(i);n.a},ffbe:function(t,a,e){"use strict";e.r(a);var i=e("b747"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,function(){return i[t]})}(r);a["default"]=n.a}}]);