3 lines
84 KiB
JavaScript
3 lines
84 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4642b82d"],{"0c9f":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"l",(function(){return l})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return p})),r.d(t,"i",(function(){return m})),r.d(t,"k",(function(){return h})),r.d(t,"j",(function(){return f}));var n=r("b775");function o(e){return Object(n["a"])({url:"/admin/statistics/product/data",method:"GET",params:e})}function a(e){return Object(n["a"])({url:"/admin/statistics/product/ranking",method:"GET",params:e})}function i(e){return Object(n["a"])({url:"/admin/statistics/product/trend",method:"GET",params:e})}function s(){return Object(n["a"])({url:"/admin/statistics/trade/data",method:"GET"})}function c(e){return Object(n["a"])({url:"/admin/statistics/trade/overview",method:"GET",params:e})}function u(e){return Object(n["a"])({url:"/admin/statistics/trade/trend",method:"GET",params:e})}function l(){return Object(n["a"])({url:"/admin/statistics/user/total/data",method:"GET"})}function d(){return Object(n["a"])({url:"/admin/statistics/user/area",method:"GET"})}function p(){return Object(n["a"])({url:"/admin/statistics/user/channel",method:"GET"})}function m(e){return Object(n["a"])({url:"/admin/statistics/user/overview",method:"GET",params:e})}function h(){return Object(n["a"])({url:"/admin/statistics/user/sex",method:"GET"})}function f(e){return Object(n["a"])({url:"/admin/statistics/user/overview/list",method:"GET",params:e})}},"1b16":function(e,t,r){},"2e83":function(e,t,r){"use strict";function n(e,t){t&&(e+=1462);var r=Date.parse(e);return(r-new Date(Date.UTC(1899,11,30)))/864e5}function o(e,t){for(var r={},o={s:{c:1e7,r:1e7},e:{c:0,r:0}},a=0;a!=e.length;++a)for(var i=0;i!=e[a].length;++i){o.s.r>a&&(o.s.r=a),o.s.c>i&&(o.s.c=i),o.e.r<a&&(o.e.r=a),o.e.c<i&&(o.e.c=i);var s={v:e[a][i]};if(null!=s.v){var c=XLSX.utils.encode_cell({c:i,r:a});"number"===typeof s.v?s.t="n":"boolean"===typeof s.v?s.t="b":s.v instanceof Date?(s.t="n",s.z=XLSX.SSF._table[14],s.v=n(s.v)):s.t="s",r[c]=s}}return o.s.c<1e7&&(r["!ref"]=XLSX.utils.encode_range(o)),r}function a(){if(!(this instanceof a))return new a;this.SheetNames=[],this.Sheets={}}function i(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function s(e,t,r){var n=t;n.unshift(e);var s="SheetJS",c=new a,u=o(n);c.SheetNames.push(s),c.Sheets[s]=u;var l=XLSX.write(c,{bookType:"xlsx",bookSST:!1,type:"binary"}),d=r||"列表";saveAs(new Blob([i(l)],{type:"application/octet-stream"}),d+".xlsx")}function c(e,t,r,n){var o=u(t,n);s(e,o,r)}function u(e,t){return t.map((function(t){return e.map((function(e){return t[e]}))}))}r("0fd4"),r("60e7"),r("1447"),r.d(t,"a",(function(){return c}))},3139:function(e,t,r){var n,o,a;(function(i,s){o=[t,r("313e")],n=s,a="function"===typeof n?n.apply(t,o):n,void 0===a||(e.exports=a)})(0,(function(e,t){var r=function(e){"undefined"!==typeof console&&console&&console.error&&console.error(e)};t?t.registerMap?t.registerMap("china",{type:"FeatureCollection",features:[{id:"710000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚänÜƤɊĂǀĆĴĤNJŨxĚĮǂƺòƌâÔ®ĮXŦţƸZûÐƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ¿@ăƑ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥Ij@¢"],["@@
¡@V^RqBbAnTXeRz¤L«³I"],["@@ÆEEkWqë @"],["@@fced"]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},properties:{cp:[121.509062,25.044332],name:"台湾",childNum:6}},{id:"130000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@o~Z]ªrºc_ħ²G¼s`jΟnüsÂłNX_M`ǽÓnUK
Ĝēs¤©yrý§uģcJe"],["@@U`Ts¿mÂ"],["@@oºƋÄdeVDJj£J|ÅdzÂFt~KŨ¸IÆv|¢r}èonb
|
|||
|
/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
|
|||
|
(function(e){"use strict";if(e.URL=e.URL||e.webkitURL,e.Blob&&e.URL)try{return void new Blob}catch(r){}var t=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||function(e){var t=function(e){return Object.prototype.toString.call(e).match(/^\[object\s(.*)\]$/)[1]},r=function(){this.data=[]},n=function(e,t,r){this.data=e,this.size=e.length,this.type=t,this.encoding=r},o=r.prototype,a=n.prototype,i=e.FileReaderSync,s=function(e){this.code=this[this.name=e]},c="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),u=c.length,l=e.URL||e.webkitURL||e,d=l.createObjectURL,p=l.revokeObjectURL,m=l,h=e.btoa,f=e.atob,y=e.ArrayBuffer,g=e.Uint8Array;n.fake=a.fake=!0;while(u--)s.prototype[c[u]]=u+1;return l.createObjectURL||(m=e.URL={}),m.createObjectURL=function(e){var t,r=e.type;return null===r&&(r="application/octet-stream"),e instanceof n?(t="data:"+r,"base64"===e.encoding?t+";base64,"+e.data:"URI"===e.encoding?t+","+decodeURIComponent(e.data):h?t+";base64,"+h(e.data):t+","+encodeURIComponent(e.data)):d?d.call(l,e):void 0},m.revokeObjectURL=function(e){"data:"!==e.substring(0,5)&&p&&p.call(l,e)},o.append=function(e){var r=this.data;if(g&&(e instanceof y||e instanceof g)){for(var o="",a=new g(e),c=0,u=a.length;c<u;c++)o+=String.fromCharCode(a[c]);r.push(o)}else if("Blob"===t(e)||"File"===t(e)){if(!i)throw new s("NOT_READABLE_ERR");var l=new i;r.push(l.readAsBinaryString(e))}else e instanceof n?"base64"===e.encoding&&f?r.push(f(e.data)):"URI"===e.encoding?r.push(decodeURIComponent(e.data)):"raw"===e.encoding&&r.push(e.data):("string"!==typeof e&&(e+=""),r.push(unescape(encodeURIComponent(e))))},o.getBlob=function(e){return arguments.length||(e=null),new n(this.data.join(""),e,"raw")},o.toString=function(){return"[object BlobBuilder]"},a.slice=function(e,t,r){var o=arguments.length;return o<3&&(r=null),new n(this.data.slice(e,o>1?t:this.data.length),r,this.encoding)},a.toString=function(){return"[object Blob]"},a.close=function(){this.size=this.data.length=0},r}(e);e.Blob=function(e,r){var n=r&&r.type||"",o=new t;if(e)for(var a=0,i=e.length;a<i;a++)o.append(e[a]);return o.getBlob(n)}})("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content||this)},"75c0":function(e,t,r){},7855:function(e,t,r){"use strict";r("c80d")},"8d20":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"divBox",staticStyle:{"padding-bottom":"0"}},[e.checkPermi(["admin:statistics:user:total:data"])?r("cards-data",{attrs:{cardLists:e.list}}):e._e()],1),e._v(" "),r("div",{staticClass:"divBox",staticStyle:{"padding-top":"0"}},[r("user-info",{key:"1"})],1),e._v(" "),r("div",{staticClass:"divBox",staticStyle:{"padding-top":"0"}},[r("user-region",{key:"3",ref:"userRegions",attrs:{formInline:e.formInline}})],1)])},o=[],a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-row",{attrs:{gutter:20}},[e.checkPermi(["admin:statistics:user:overview"])?r("el-col",{attrs:{xs:24,sm:24,md:24,lg:18}},[r("el-card",{staticClass:"box-card card_show"},[r("div",{staticClass:"flex flex-wrap justify-between align-center mb30"},[r("div",{staticClass:"header_title"},[e._v("用户概览")]),e._v(" "),r("div",[r("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(t){return e.selectChange(e.dateLimit)}},model:{value:e.dateLimit,callback:function(t){e.dateLimit=t},expression:"dateLimit"}},e._l(e.fromList.fromTxt,(function(t,n){return r("el-radio-button",{key:n,attrs:{label:t.val}},[e._v(e._s(t.text))])})),1),e._v(" "),r("el-date-picker",{staticStyle:{width:"220px",height:"34px","margin-right":"20px"},attrs:{size:"small",type:"daterange",placement:"bottom-end","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",format:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",align:"right"},on:{change:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expressio
|