Commit f097a41e by 周志凯

merge

2 parents 2a996c1b 9acca6af
Showing 62 changed files with 1958 additions and 122 deletions
<template> <template>
<view class="slinechart"> <view class="slinechart">
<div class="selectBox"> <div class="selectBox">
<div class="sItem" :class="{ checkedItem: is7Check}" @click="checkFun('7')">近7天</div> <div class="sItem" :class="{ checkedItem: is7Check}" @tap="checkFun('7')">近7天</div>
<div class="sItem" :class="{ checkedItem: is15Check}" @click="checkFun('15')">近15天</div> <div class="sItem" :class="{ checkedItem: is15Check}" @tap="checkFun('15')">近15天</div>
<div class="sItem" :class="{ checkedItem: is30Check}" @click="checkFun('30')">近30天</div> <div class="sItem" :class="{ checkedItem: is30Check}" @tap="checkFun('30')">近30天</div>
</div> </div>
<div :id='bindId' class="chart"></div> <div :id='bindId' class="chart"></div>
</view> </view>
......
...@@ -75,6 +75,36 @@ ...@@ -75,6 +75,36 @@
"navigationBarTitleText": "基础统计周" "navigationBarTitleText": "基础统计周"
} }
},{ },{
"path": "pages/analysis/staticReport/staticMonthReport",
"style": {
"navigationBarTitleText": "基础统计月"
}
},{
"path": "pages/analysis/staticReport/staticYearReport",
"style": {
"navigationBarTitleText": "基础统计年"
}
},{
"path": "pages/analysis/inoutReport/inoutDayReport",
"style": {
"navigationBarTitleText": "进出客流对比"
}
},{
"path": "pages/analysis/rankReport/rankDayReport",
"style": {
"navigationBarTitleText": "排行榜统计"
}
},{
"path": "pages/analysis/rankReport/rankWeekReport",
"style": {
"navigationBarTitleText": "排行榜统计"
}
},{
"path": "pages/analysis/staticReport/staticWeekReport",
"style": {
"navigationBarTitleText": "基础统计周"
}
},{
"path": "pages/analysis/condition", "path": "pages/analysis/condition",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
......
...@@ -2,74 +2,74 @@ ...@@ -2,74 +2,74 @@
<div style="position: relative;"> <div style="position: relative;">
<headerComp :leftImgSrc="leftImg" @leftClick="backFun" :rightText="rightText" @rightClick="save"></headerComp> <headerComp :leftImgSrc="leftImg" @leftClick="backFun" :rightText="rightText" @rightClick="save"></headerComp>
<div class="headFlex" :style="{top:navheight+'px'}"> <div class="headFlex" :style="{top:navheight+'px'}">
<div class="headItems" :class="{'activeItem':activeType=='mall'}" @click="itemClick('mall')">{{i18n.store}}</div> <div class="headItems" :class="{'activeItem':activeType=='mall'}" @tap="itemClick('mall')">{{i18n.store}}</div>
<div class="headItems" :class="{'activeItem':activeType=='gate'}" @click="itemClick('gate')">出入口</div> <div class="headItems" :class="{'activeItem':activeType=='gate'}" @tap="itemClick('gate')">出入口</div>
<div class="headItems" :class="{'activeItem':activeType=='floor'}" @click="itemClick('floor')">楼层</div> <div class="headItems" v-show="pageType=='mall'" :class="{'activeItem':activeType=='floor'}" @tap="itemClick('floor')">楼层</div>
<div class="headItems" :class="{'activeItem':activeType=='area'}" @click="itemClick('area')">店铺</div> <div class="headItems" v-show="pageType=='mall'" :class="{'activeItem':activeType=='area'}" @tap="itemClick('area')">店铺</div>
</div> </div>
<div class="handleContent" v-show="activeType=='mall'"> <div class="handleContent" v-show="activeType=='mall'">
<div class="conditionItem" @click="goStoreList"> <div class="conditionItem" @tap="goStoreList">
<span class="cTitle">{{i18n.store}}</span> <span class="cTitle">{{i18n.store}}</span>
<span class="selectItem">{{accountText}}</span> <span class="selectItem">{{accountText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="dateShow"> <div class="conditionItem" @tap="dateShow">
<span class="cTitle">日期</span> <span class="cTitle">日期</span>
<span class="selectItem">{{dateText}}</span> <span class="selectItem">{{dateText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
</div> </div>
<div class="handleContent" v-show="activeType=='gate'"> <div class="handleContent" v-show="activeType=='gate'">
<div class="conditionItem" @click="goOneStoreList"> <div class="conditionItem" @tap="goOneStoreList">
<span class="cTitle">{{i18n.store}}</span> <span class="cTitle">{{i18n.store}}</span>
<span class="selectItem">{{oneAccountText}}</span> <span class="selectItem">{{oneAccountText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="goMoreGateList"> <div class="conditionItem" @tap="goMoreGateList">
<span class="cTitle">出入口</span> <span class="cTitle">出入口</span>
<span class="selectItem">{{gateText}}</span> <span class="selectItem">{{gateText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="dateShow"> <div class="conditionItem" @tap="dateShow">
<span class="cTitle">日期</span> <span class="cTitle">日期</span>
<span class="selectItem">{{dateText}}</span> <span class="selectItem">{{dateText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
</div> </div>
<div class="handleContent" v-show="activeType=='floor'"> <div class="handleContent" v-show="activeType=='floor'">
<div class="conditionItem" @click="goOneStoreList"> <div class="conditionItem" @tap="goOneStoreList">
<span class="cTitle">{{i18n.store}}</span> <span class="cTitle">{{i18n.store}}</span>
<span class="selectItem">{{oneAccountText}}</span> <span class="selectItem">{{oneAccountText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="goMoreFloorList"> <div class="conditionItem" @tap="goMoreFloorList">
<span class="cTitle">楼层</span> <span class="cTitle">楼层</span>
<span class="selectItem">{{floorText}}</span> <span class="selectItem">{{floorText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="dateShow"> <div class="conditionItem" @tap="dateShow">
<span class="cTitle">日期</span> <span class="cTitle">日期</span>
<span class="selectItem">{{dateText}}</span> <span class="selectItem">{{dateText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
</div> </div>
<div class="handleContent" v-show="activeType=='area'"> <div class="handleContent" v-show="activeType=='area'">
<div class="conditionItem" @click="goOneStoreList"> <div class="conditionItem" @tap="goOneStoreList">
<span class="cTitle">{{i18n.store}}</span> <span class="cTitle">{{i18n.store}}</span>
<span class="selectItem">{{oneAccountText}}</span> <span class="selectItem">{{oneAccountText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="goOneFloorList"> <div class="conditionItem" @tap="goOneFloorList">
<span class="cTitle">楼层</span> <span class="cTitle">楼层</span>
<span class="selectItem">{{oneFloorText}}</span> <span class="selectItem">{{oneFloorText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="goMoreStoreList"> <div class="conditionItem" @tap="goMoreStoreList">
<span class="cTitle">店铺</span> <span class="cTitle">店铺</span>
<span class="selectItem">{{storeText}}</span> <span class="selectItem">{{storeText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</div> </div>
<div class="conditionItem" @click="dateShow"> <div class="conditionItem" @tap="dateShow">
<span class="cTitle">日期</span> <span class="cTitle">日期</span>
<span class="selectItem">{{dateText}}</span> <span class="selectItem">{{dateText}}</span>
<image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image> <image class="rArrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
...@@ -85,10 +85,10 @@ ...@@ -85,10 +85,10 @@
:anchor="currentDate" :anchor="currentDate"
@confirm="dateConfirm"> @confirm="dateConfirm">
<div class="typeBox"> <div class="typeBox">
<span :class="{'activeDateType':currentDateType=='day'}" @click="dateClick('day')">日</span> <span :class="{'activeDateType':currentDateType=='day'}" @tap="dateClick('day')">日</span>
<span :class="{'activeDateType':currentDateType=='week'}" @click="dateClick('week')">周</span> <span v-show="allShow=='true'" :class="{'activeDateType':currentDateType=='week'}" @tap="dateClick('week')">周</span>
<span :class="{'activeDateType':currentDateType=='month'}" @click="dateClick('month')">月</span> <span v-show="allShow=='true'" :class="{'activeDateType':currentDateType=='month'}" @tap="dateClick('month')">月</span>
<span :class="{'activeDateType':currentDateType=='year'}" @click="dateClick('year')">年</span> <span v-show="allShow=='true'" :class="{'activeDateType':currentDateType=='year'}" @tap="dateClick('year')">年</span>
</div> </div>
</awesome-picker> </awesome-picker>
</div> </div>
...@@ -101,6 +101,8 @@ ...@@ -101,6 +101,8 @@
export default{ export default{
data(){ data(){
return{ return{
pageType:'mall',
allShow:true,
leftImg:leftImg, leftImg:leftImg,
rightText:'保存', rightText:'保存',
navheight:0, navheight:0,
...@@ -135,13 +137,27 @@ ...@@ -135,13 +137,27 @@
floorText:'', floorText:'',
storeText:'', storeText:'',
id:'', id:'',
atoken:'' atoken:'',
backUrl:''
} }
}, },
onLoad: function (option) { onLoad: function (option) {
if(option.type){ if(option.type){
this.activeType=option.type; this.activeType=option.type;
} }
this.pageType=window.pageType;
uni.getStorage({
key:'backUrl',
success: (res) => {
this.backUrl=res.data;
}
})
uni.getStorage({
key:'allShow',
success: (res) => {
this.allShow=res.data;
}
})
uni.getStorage({ uni.getStorage({
key:'currentDateType', key:'currentDateType',
success: (res) => { success: (res) => {
...@@ -358,16 +374,37 @@ ...@@ -358,16 +374,37 @@
key:'currentDateType', key:'currentDateType',
data:this.currentDateType data:this.currentDateType
}) })
if(this.currentDateType2=='day'){ var urls=''
uni.navigateTo({ switch (this.backUrl)
url:"staticReport/staticDayReport?types="+this.activeType, {
}) case 1:{
}else if(this.currentDateType2=='week'){ if(this.currentDateType2=='day'){
uni.navigateTo({ urls='staticReport/staticDayReport'
url:"staticReport/staticWeekReport?types="+this.activeType, }else if(this.currentDateType2=='week'){
}) urls='staticReport/staticWeekReport'
}else if(this.currentDateType2=='month'){
urls='staticReport/staticMonthReport'
}else if(this.currentDateType2=='year'){
urls='staticReport/staticYearReport'
}
}
break;
case 2:{
urls='inoutReport/inoutDayReport'
}
break;
case 3:{
if(this.currentDateType2=='day'){
urls='rankReport/rankDayReport'
}else if(this.currentDateType2=='week'){
urls='rankReport/rankWeekReport'
}
}
break;
} }
uni.navigateTo({
url:urls+"?types="+this.activeType,
})
}, },
goStoreList(){ goStoreList(){
uni.navigateTo({ uni.navigateTo({
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<headerComp :title="titleStr"></headerComp> <headerComp :title="titleStr"></headerComp>
<div class="listBox"> <div class="listBox">
<view class="itemBox" v-for="item in listData" @click="goReport(item.src)"> <view class="itemBox" v-for="item in listData" @tap="goReport(item.src)">
<img class="icons" :src="item.iconSrc"/> <img class="icons" :src="item.iconSrc"/>
<span class="texts">{{item.text}}</span> <span class="texts">{{item.text}}</span>
<img class="arrows" :src="item.rArrow" alt=""/> <img class="arrows" :src="item.rArrow" alt=""/>
...@@ -42,51 +42,57 @@ ...@@ -42,51 +42,57 @@
},{ },{
text:"进出客流对比", text:"进出客流对比",
iconSrc:inout, iconSrc:inout,
rArrow:arrow rArrow:arrow,
src:'inoutReport/inoutDayReport'
},{ },{
text:"排行榜统计", text:"排行榜统计",
iconSrc:rank, iconSrc:rank,
rArrow:arrow rArrow:arrow,
},{ src:'rankReport/rankDayReport'
text:"同环比分析", }
iconSrc:yoy, // ,{
rArrow:arrow // text:"同环比分析",
},{ // iconSrc:yoy,
text:"主力店铺同环比", // rArrow:arrow
iconSrc:mainStore, // },{
rArrow:arrow // text:"主力店铺同环比",
},{ // iconSrc:mainStore,
text:"时段客流分布", // rArrow:arrow
iconSrc:timeFlow, // },{
rArrow:arrow // text:"时段客流分布",
},{ // iconSrc:timeFlow,
text:"周中周末对比分析", // rArrow:arrow
iconSrc:week, // },{
rArrow:arrow // text:"周中周末对比分析",
},{ // iconSrc:week,
text:"天气分析", // rArrow:arrow
iconSrc:weather, // },{
rArrow:arrow // text:"天气分析",
},{ // iconSrc:weather,
text:"节假日活动对比", // rArrow:arrow
iconSrc:active, // },{
rArrow:arrow // text:"节假日活动对比",
},{ // iconSrc:active,
text:"同节日对象对比", // rArrow:arrow
iconSrc:identical, // },{
rArrow:arrow // text:"同节日对象对比",
},{ // iconSrc:identical,
text:"进店率统计", // rArrow:arrow
iconSrc:storeRate, // },{
rArrow:arrow // text:"进店率统计",
},{ // iconSrc:storeRate,
text:"时间对比分析", // rArrow:arrow
iconSrc:timePair, // },{
rArrow:arrow // text:"时间对比分析",
}] // iconSrc:timePair,
// rArrow:arrow
// }
]
} }
}, },
onLoad: function (option) {}, onLoad: function (option) {
this.initDate();
},
computed: { computed: {
i18n() { i18n() {
return this.$t("index") return this.$t("index")
...@@ -103,6 +109,23 @@ ...@@ -103,6 +109,23 @@
animationDuration: 200 animationDuration: 200
}) })
}, },
initDate(){
uni.setStorage({
key:'currentDateType',
data:'day'
})
var dates=new Date()
var y=dates.getFullYear();
var m=dates.getMonth()+1;
m=m<10?'0'+m:m;
var d=dates.getDate();
d=d<10?'0'+d:d;
var initDate=y+'-'+m+'-'+d;
uni.setStorage({
key:'selectDate',
data:initDate
})
}
}, },
} }
</script> </script>
......
<template>
<div>
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div>
<div class="selectBox">
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div>
</div>
<v-table v-if="columns.length>0"
is-horizontal-resize
style="width:100%"
:columns="columns"
:table-data="tableData"
row-hover-color="#eee"
:title-rows="titleRows"
row-click-color="#edf7ff"
:height='500'
></v-table>
</div>
</template>
<script>
import headerComp from '../../../components/header'
import backArrow from '../../../static/header/backArrow.png'
import other from '../../../static/header/other.png'
import tables from '../../../components/table'
export default{
data(){
return{
titleStr:'进出客流对比',
leftImg:backArrow,
rightImg:other,
atoken:'',
keyArr:[],
chartIds:'',
reportType:'mall',
accountId:[],
orgIds:'',
date:'',
isHour:true,
isMin:false,
chartDatas:{},
chartData:{},
tableData:[],
columns:[],
gateId:[],
floorId:[],
storeId:[],
titleRows:[]
}
},
onLoad: function (option) {
if(option.types){
this.reportType=option.types;
}
uni.getStorage({
key:'atoken',
success:(res)=>{
this.atoken=res.data;
}
})
uni.getStorage({
key:'accountList',
success:(res)=>{
if(res.data){
var list=JSON.parse(res.data);
list.forEach((item,index)=>{
if(index==0){
this.accountId.push(item.id)
}
})
}
}
})
uni.getStorage({
key:'selectAccountIdArr',
success:(res)=> {
this.accountId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectGateIdArr',
success:(res)=> {
this.gateId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectFloorIdArr',
success:(res)=> {
this.floorId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectStoreIdArr',
success:(res)=> {
this.storeId=JSON.parse(res.data);
},
complete: (res) => {
}
})
const date = new Date();
var year = date.getFullYear();
var monthIndex = date.getMonth();
var month = monthIndex+1 > 9 ? monthIndex+1 : '0' + (monthIndex+1);
const d = date.getDate();
var day= d > 9 ? d : '0' + d;
this.date=year+'-'+month+'-'+day;
uni.getStorage({
key:'selectDate',
success:(res)=> {
this.date=res.data
},
complete: (res) => {
}
})
this.getReportKey();
},
computed: {
i18n() {
return this.$t("index")
}
},
components:{
headerComp,tables
},
methods: {
checkFun(val){
switch (val)
{
case 'hour':{
this.isHour=true;
this.isMin=false;
this.getChartData()
// this.$emit('handleFun','15');
}
break;
case 'min':{
this.isHour=false;
this.isMin=true;
this.getChartData()
// this.$emit('handleFun','30');
}
break;
}
},
backFun(){
uni.reLaunch({
url:"../index",
})
},
conditionFun(){
uni.setStorage({
key:'backUrl',
data:2
})
uni.setStorage({
key:'allShow',
data:'false'
})
uni.navigateTo({
url:'../condition'
})
},
getReportKey(){
var report='trafficInAndOut';
this.keyArr=['trafficInAndOutTable'];
uni.showLoading({
title: '加载中'
});
uni.request({
url:window.url+'/reportCharts',
data:{
report:report,
_t:Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
this.chartIds='';
res.data.data.forEach(item=>{
if(this.keyArr.indexOf(item.key)!='-1'){
this.chartIds+=item.id+','
}
})
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData();
}
})
},
setTabelData(){
this.columns=[];
this.tableData=[];
var oneArr=[];
var twoArr=[];
this.titleRows=[];
this.chartDatas.xaxis.data.forEach((item,index)=>{
if(index==0){
oneArr.push({fields:[item],title:item,titleAlign:'center',rowspan:2})
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true,isFrozen: true})
}else{
var headArr=eval(item);
oneArr.push({fields:[headArr[0]+headArr[1],headArr[0]+headArr[2]],title:headArr[0],titleAlign:'center',colspan:2});
twoArr.push( {fields: [headArr[0]+headArr[1]], title:headArr[1], width: 20, titleAlign: 'center'})
twoArr.push( {fields: [headArr[0]+headArr[2]], title:headArr[2], width: 20, titleAlign: 'center'})
this.columns.push( {field: headArr[0]+headArr[1], title:headArr[1], width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
this.columns.push( {field: headArr[0]+headArr[2], title:headArr[2], width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
}
})
this.titleRows.push(oneArr)
this.titleRows.push(twoArr)
console.log(JSON.stringify(this.titleRows))
this.chartDatas.series.forEach((item,index)=>{
var obj={}
item.data.forEach((item,index)=>{
if(index==0){
obj[this.chartDatas.xaxis.data[index]]=item;
}else{
if(index%2==1){
var headItem=eval(this.chartDatas.xaxis.data[ Math.ceil(index/2)]);
obj[headItem[0]+headItem[1]]=item;
}else{
var headItem=eval(this.chartDatas.xaxis.data[ Math.ceil(index/2)]);
obj[headItem[0]+headItem[2]]=item;
}
}
})
this.tableData.push(obj)
})
},
getChartData(){
this.orgIds=''
var data={}
var url=window.url+'/report/trafficInAndOut/mall';
if(this.reportType=='mall'){
this.accountId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/trafficInAndOut/mall';
data={
orgIds:this.orgIds,
date:this.date,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='gate'){
this.gateId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/trafficInAndOut/gate';
data={
orgIds:this.orgIds,
date:this.date,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='floor'){
this.floorId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/trafficInAndOut/floor';
data={
orgIds:this.orgIds,
date:this.date,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='area'){
this.storeId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/trafficInAndOut/zone';
data={
orgIds:this.orgIds,
date:this.date,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}
if(this.isHour){
data.option='TAB_HOUR'
}else{
data.option='TAB_MINUTE'
}
uni.request({
url:url,
header: {
'Authorization': this.atoken //自定义请求头信息
},
data:data,
method:'GET',
success:(res) =>{
uni.hideLoading()
var datas=res.data.data;
this.chartData=datas.body;
this.chartDatas=datas.body.trafficInAndOutTable;
this.setTabelData()
}
})
}
},
}
</script>
<style>
.selectBox{
width: 646.73upx;
height: 61.59upx;
font-size: 18.11upx;
line-height: 61.59upx;
display: flex;
flex-direction: row;
margin: 0 auto;
margin-bottom: 18.11upx;
}
.sItem{
flex: 1;
background:#FFFFFF;
text-align: center;
cursor: pointer;
border-right:1px solid #DBDBDB ;
}
.sItem:last-of-type{
border-right:none
}
.checkedItem{
background: #0069FF;
color: #FFFFFF;
border: #0069FF;
}
</style>
<template>
<div>
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div>
<!-- <div class="selectBox">
<div class="sItem" :class="{ checkedItem: isDay}" @click="checkFun('day')">天汇总</div>
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div>
</div> -->
<v-table v-if="columns.length>0"
is-horizontal-resize
style="width:100%"
:columns="columns"
:table-data="tableData"
row-hover-color="#eee"
row-click-color="#edf7ff"
:height='500'
></v-table>
</div>
</template>
<script>
import headerComp from '../../../components/header'
import backArrow from '../../../static/header/backArrow.png'
import other from '../../../static/header/other.png'
import tables from '../../../components/table'
export default{
data(){
return{
titleStr:'排行榜统计',
leftImg:backArrow,
rightImg:other,
atoken:'',
keyArr:[],
chartIds:'',
reportType:'mall',
accountId:[],
orgIds:'',
date:'',
isDay:true,
isHour:false,
isMin:false,
chartDatas:{},
chartData:{},
tableData:[],
columns:[],
gateId:[],
floorId:[],
storeId:[]
}
},
onLoad: function (option) {
if(option.types){
this.reportType=option.types;
}
uni.getStorage({
key:'atoken',
success:(res)=>{
this.atoken=res.data;
}
})
uni.getStorage({
key:'accountList',
success:(res)=>{
if(res.data){
var list=JSON.parse(res.data);
list.forEach((item,index)=>{
if(index==0){
this.accountId.push(item.id)
}
})
}
}
})
uni.getStorage({
key:'selectAccountIdArr',
success:(res)=> {
this.accountId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectGateIdArr',
success:(res)=> {
this.gateId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectFloorIdArr',
success:(res)=> {
this.floorId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectStoreIdArr',
success:(res)=> {
this.storeId=JSON.parse(res.data);
},
complete: (res) => {
}
})
const date = new Date();
var year = date.getFullYear();
var monthIndex = date.getMonth();
var month = monthIndex+1 > 9 ? monthIndex+1 : '0' + (monthIndex+1);
const d = date.getDate();
var day= d > 9 ? d : '0' + d;
this.date=year+'-'+month+'-'+day;
uni.getStorage({
key:'selectDate',
success:(res)=> {
this.date=res.data
},
complete: (res) => {
}
})
this.getReportKey();
},
computed: {
i18n() {
return this.$t("index")
}
},
components:{
headerComp,tables
},
methods: {
checkFun(val){
switch (val)
{
case 'day':{
this.isDay=true;
this.isHour=false;
this.isMin=false;
this.chartDatas=this.chartData.kpiData;
this.setTabelData()
// this.$emit('handleFun','7');
}
break;
case 'hour':{
this.isDay=false;
this.isHour=true;
this.isMin=false;
this.chartDatas=this.chartData.trafficHour;
this.setTabelData()
// this.$emit('handleFun','15');
}
break;
case 'min':{
this.isDay=false;
this.isHour=false;
this.isMin=true;
this.chartDatas=this.chartData.traffic10Min;
this.setTabelData()
// this.$emit('handleFun','30');
}
break;
}
},
backFun(){
uni.reLaunch({
url:"../index",
})
},
conditionFun(){
uni.setStorage({
key:'backUrl',
data:3
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({
url:'../condition'
})
},
getReportKey(){
var report='ranking';
this.keyArr=['rankingList'];
uni.showLoading({
title: '加载中'
});
uni.request({
url:window.url+'/reportCharts',
data:{
report:report,
_t:Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
this.chartIds='';
res.data.data.forEach(item=>{
if(this.keyArr.indexOf(item.key)!='-1'){
this.chartIds+=item.id+','
}
})
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData();
}
})
},
setTabelData(){
this.columns=[];
this.tableData=[];
this.columns.push({field: '名称', title:'名称', width: 20, titleAlign: 'center',columnAlign:'center',isResize:true,isFrozen: true})
this.chartDatas.xaxis.data.forEach((item,index)=>{
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
})
this.chartDatas.series.forEach((item,index)=>{
var obj={}
item.data.forEach((item,index)=>{
obj[this.chartDatas.xaxis.data[index]]=item;
})
obj['名称']=item.name;
this.tableData.push(obj)
})
},
getChartData(){
this.orgIds=''
var data={}
var url=window.url+'/report/ranking/mall';
if(this.reportType=='mall'){
this.accountId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date;
var endDate=this.date;
url=window.url+'/report/ranking/mall';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='gate'){
this.gateId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date;
var endDate=this.date;
url=window.url+'/report/ranking/gate';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='floor'){
this.floorId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/ranking/floor';
var startDate=this.date;
var endDate=this.date;
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='area'){
this.storeId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/ranking/zone';
var startDate=this.date;
var endDate=this.date;
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}
uni.request({
url:url,
header: {
'Authorization': this.atoken //自定义请求头信息
},
data:data,
method:'GET',
success:(res) =>{
uni.hideLoading()
var datas=res.data.data;
this.chartData=datas.body;
this.chartDatas=datas.body.rankingList;
this.setTabelData()
}
})
}
},
}
</script>
<style>
.selectBox{
width: 646.73upx;
height: 61.59upx;
font-size: 18.11upx;
line-height: 61.59upx;
display: flex;
flex-direction: row;
margin: 0 auto;
margin-bottom: 18.11upx;
}
.sItem{
flex: 1;
background:#FFFFFF;
text-align: center;
cursor: pointer;
border-right:1px solid #DBDBDB ;
}
.sItem:last-of-type{
border-right:none
}
.checkedItem{
background: #0069FF;
color: #FFFFFF;
border: #0069FF;
}
</style>
<template>
<div>
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div>
<!-- <div class="selectBox">
<div class="sItem" :class="{ checkedItem: isDay}" @click="checkFun('day')">天汇总</div>
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div>
</div> -->
<v-table v-if="columns.length>0"
is-horizontal-resize
style="width:100%"
:columns="columns"
:table-data="tableData"
row-hover-color="#eee"
row-click-color="#edf7ff"
:height='500'
></v-table>
</div>
</template>
<script>
import headerComp from '../../../components/header'
import backArrow from '../../../static/header/backArrow.png'
import other from '../../../static/header/other.png'
import tables from '../../../components/table'
export default{
data(){
return{
titleStr:'排行榜统计',
leftImg:backArrow,
rightImg:other,
atoken:'',
keyArr:[],
chartIds:'',
reportType:'mall',
accountId:[],
orgIds:'',
date:'',
isDay:true,
isHour:false,
isMin:false,
chartDatas:{},
chartData:{},
tableData:[],
columns:[],
gateId:[],
floorId:[],
storeId:[]
}
},
onLoad: function (option) {
if(option.types){
this.reportType=option.types;
}
uni.getStorage({
key:'atoken',
success:(res)=>{
this.atoken=res.data;
}
})
uni.getStorage({
key:'accountList',
success:(res)=>{
if(res.data){
var list=JSON.parse(res.data);
list.forEach((item,index)=>{
if(index==0){
this.accountId.push(item.id)
}
})
}
}
})
uni.getStorage({
key:'selectAccountIdArr',
success:(res)=> {
this.accountId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectGateIdArr',
success:(res)=> {
this.gateId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectFloorIdArr',
success:(res)=> {
this.floorId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectStoreIdArr',
success:(res)=> {
this.storeId=JSON.parse(res.data);
},
complete: (res) => {
}
})
const date = new Date();
var year = date.getFullYear();
var monthIndex = date.getMonth();
var month = monthIndex+1 > 9 ? monthIndex+1 : '0' + (monthIndex+1);
const d = date.getDate();
var day= d > 9 ? d : '0' + d;
this.date=year+'-'+month+'-'+day;
uni.getStorage({
key:'selectDate',
success:(res)=> {
this.date=res.data
},
complete: (res) => {
}
})
this.getReportKey();
},
computed: {
i18n() {
return this.$t("index")
}
},
components:{
headerComp,tables
},
methods: {
checkFun(val){
switch (val)
{
case 'day':{
this.isDay=true;
this.isHour=false;
this.isMin=false;
this.chartDatas=this.chartData.kpiData;
this.setTabelData()
// this.$emit('handleFun','7');
}
break;
case 'hour':{
this.isDay=false;
this.isHour=true;
this.isMin=false;
this.chartDatas=this.chartData.trafficHour;
this.setTabelData()
// this.$emit('handleFun','15');
}
break;
case 'min':{
this.isDay=false;
this.isHour=false;
this.isMin=true;
this.chartDatas=this.chartData.traffic10Min;
this.setTabelData()
// this.$emit('handleFun','30');
}
break;
}
},
backFun(){
uni.reLaunch({
url:"../index",
})
},
conditionFun(){
uni.setStorage({
key:'backUrl',
data:3
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({
url:'../condition'
})
},
getReportKey(){
var report='ranking';
this.keyArr=['rankingList'];
uni.showLoading({
title: '加载中'
});
uni.request({
url:window.url+'/reportCharts',
data:{
report:report,
_t:Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
this.chartIds='';
res.data.data.forEach(item=>{
if(this.keyArr.indexOf(item.key)!='-1'){
this.chartIds+=item.id+','
}
})
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData();
}
})
},
setTabelData(){
this.columns=[];
this.tableData=[];
this.chartDatas.xaxis.data.forEach((item,index)=>{
if(index==0){
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true,isFrozen: true})
}else{
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
}
})
this.chartDatas.series.forEach((item,index)=>{
var obj={}
item.data.forEach((item,index)=>{
obj[this.chartDatas.xaxis.data[index]]=item;
})
this.tableData.push(obj)
})
},
getChartData(){
this.orgIds=''
var data={}
var url=window.url+'/report/ranking/mall';
if(this.reportType=='mall'){
this.accountId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/ranking/mall';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='gate'){
this.gateId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/ranking/gate';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='floor'){
this.floorId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/ranking/floor';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='area'){
this.storeId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/ranking/zone';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
kpiTypes:'TRAFFIC',
_t:Date.parse(new Date())/1000
}
}
uni.request({
url:url,
header: {
'Authorization': this.atoken //自定义请求头信息
},
data:data,
method:'GET',
success:(res) =>{
uni.hideLoading()
var datas=res.data.data;
this.chartData=datas.body;
this.chartDatas=datas.body.rankingList;
this.setTabelData()
}
})
}
},
}
</script>
<style>
.selectBox{
width: 646.73upx;
height: 61.59upx;
font-size: 18.11upx;
line-height: 61.59upx;
display: flex;
flex-direction: row;
margin: 0 auto;
margin-bottom: 18.11upx;
}
.sItem{
flex: 1;
background:#FFFFFF;
text-align: center;
cursor: pointer;
border-right:1px solid #DBDBDB ;
}
.sItem:last-of-type{
border-right:none
}
.checkedItem{
background: #0069FF;
color: #FFFFFF;
border: #0069FF;
}
</style>
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp> <headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div> <div style="height: 18.11upx;"></div>
<div class="selectBox"> <div class="selectBox">
<div class="sItem" :class="{ checkedItem: isDay}" @click="checkFun('day')">天汇总</div> <div class="sItem" :class="{ checkedItem: isDay}" @tap="checkFun('day')">天汇总</div>
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div> <div class="sItem" :class="{ checkedItem: isHour}" @tap="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div> <div class="sItem" :class="{ checkedItem: isMin}" @tap="checkFun('min')">分钟级</div>
</div> </div>
<v-table v-if="columns.length>0" <v-table v-if="columns.length>0"
is-horizontal-resize is-horizontal-resize
...@@ -165,10 +165,18 @@ ...@@ -165,10 +165,18 @@
}, },
backFun(){ backFun(){
uni.reLaunch({ uni.reLaunch({
url:"index", url:"../index",
}) })
}, },
conditionFun(){ conditionFun(){
uni.setStorage({
key:'backUrl',
data:1
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({ uni.navigateTo({
url:'../condition' url:'../condition'
}) })
...@@ -198,7 +206,7 @@ ...@@ -198,7 +206,7 @@
} }
}) })
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1); this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData('day'); this.getChartData();
} }
}) })
}, },
...@@ -212,7 +220,6 @@ ...@@ -212,7 +220,6 @@
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true}) this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
} }
}) })
console.log(JSON.stringify(this.columns))
this.chartDatas.series.forEach((item,index)=>{ this.chartDatas.series.forEach((item,index)=>{
var obj={} var obj={}
item.data.forEach((item,index)=>{ item.data.forEach((item,index)=>{
...@@ -221,7 +228,8 @@ ...@@ -221,7 +228,8 @@
this.tableData.push(obj) this.tableData.push(obj)
}) })
}, },
getChartData(type){ getChartData(){
this.orgIds=''
var data={} var data={}
var url=window.url+'/report/basics/day/mall'; var url=window.url+'/report/basics/day/mall';
if(this.reportType=='mall'){ if(this.reportType=='mall'){
......
<template>
<div>
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div>
<!-- <div class="selectBox">
<div class="sItem" :class="{ checkedItem: isDay}" @click="checkFun('day')">天汇总</div>
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div>
</div> -->
<v-table v-if="columns.length>0"
is-horizontal-resize
style="width:100%"
:columns="columns"
:table-data="tableData"
row-hover-color="#eee"
row-click-color="#edf7ff"
:height='500'
></v-table>
</div>
</template>
<script>
import headerComp from '../../../components/header'
import backArrow from '../../../static/header/backArrow.png'
import other from '../../../static/header/other.png'
import tables from '../../../components/table'
export default{
data(){
return{
titleStr:'基础统计',
leftImg:backArrow,
rightImg:other,
atoken:'',
keyArr:[],
chartIds:'',
reportType:'mall',
accountId:[],
orgIds:'',
date:'',
isDay:true,
isHour:false,
isMin:false,
chartDatas:{},
chartData:{},
tableData:[],
columns:[],
gateId:[],
floorId:[],
storeId:[]
}
},
onLoad: function (option) {
if(option.types){
this.reportType=option.types;
}
uni.getStorage({
key:'atoken',
success:(res)=>{
this.atoken=res.data;
}
})
uni.getStorage({
key:'accountList',
success:(res)=>{
if(res.data){
var list=JSON.parse(res.data);
list.forEach((item,index)=>{
if(index==0){
this.accountId.push(item.id)
}
})
}
}
})
uni.getStorage({
key:'selectAccountIdArr',
success:(res)=> {
this.accountId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectGateIdArr',
success:(res)=> {
this.gateId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectFloorIdArr',
success:(res)=> {
this.floorId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectStoreIdArr',
success:(res)=> {
this.storeId=JSON.parse(res.data);
},
complete: (res) => {
}
})
const date = new Date();
var year = date.getFullYear();
var monthIndex = date.getMonth();
var month = monthIndex+1 > 9 ? monthIndex+1 : '0' + (monthIndex+1);
const d = date.getDate();
var day= d > 9 ? d : '0' + d;
this.date=year+'-'+month+'-'+day;
uni.getStorage({
key:'selectDate',
success:(res)=> {
this.date=res.data
},
complete: (res) => {
}
})
this.getReportKey();
},
computed: {
i18n() {
return this.$t("index")
}
},
components:{
headerComp,tables
},
methods: {
checkFun(val){
switch (val)
{
case 'day':{
this.isDay=true;
this.isHour=false;
this.isMin=false;
this.chartDatas=this.chartData.kpiData;
this.setTabelData()
// this.$emit('handleFun','7');
}
break;
case 'hour':{
this.isDay=false;
this.isHour=true;
this.isMin=false;
this.chartDatas=this.chartData.trafficHour;
this.setTabelData()
// this.$emit('handleFun','15');
}
break;
case 'min':{
this.isDay=false;
this.isHour=false;
this.isMin=true;
this.chartDatas=this.chartData.traffic10Min;
this.setTabelData()
// this.$emit('handleFun','30');
}
break;
}
},
backFun(){
uni.reLaunch({
url:"../index",
})
},
conditionFun(){
uni.setStorage({
key:'backUrl',
data:1
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({
url:'../condition'
})
},
getReportKey(){
var report='BasicReport';
this.keyArr=['kpiData','detailData'];
uni.showLoading({
title: '加载中'
});
uni.request({
url:window.url+'/reportCharts',
data:{
report:report,
_t:Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
this.chartIds='';
res.data.data.forEach(item=>{
if(this.keyArr.indexOf(item.key)!='-1'){
this.chartIds+=item.id+','
}
})
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData();
}
})
},
setTabelData(){
this.columns=[];
this.tableData=[];
this.chartDatas.xaxis.data.forEach((item,index)=>{
if(index==0){
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true,isFrozen: true})
}else{
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
}
})
console.log(JSON.stringify(this.columns))
this.chartDatas.series.forEach((item,index)=>{
var obj={}
item.data.forEach((item,index)=>{
obj[this.chartDatas.xaxis.data[index]]=item;
})
this.tableData.push(obj)
})
},
getChartData(){
this.orgIds=''
var data={}
var url=window.url+'/report/basics/mall';
if(this.reportType=='mall'){
this.accountId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/basics/mall';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='gate'){
this.gateId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/basics/gate';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='floor'){
this.floorId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/basics/floor';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='area'){
this.storeId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/basics/zone';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}
uni.request({
url:url,
header: {
'Authorization': this.atoken //自定义请求头信息
},
data:data,
method:'GET',
success:(res) =>{
uni.hideLoading()
var datas=res.data.data;
this.chartData=datas.body;
this.chartDatas=datas.body.detailData;
this.setTabelData()
}
})
}
},
}
</script>
<style>
.selectBox{
width: 646.73upx;
height: 61.59upx;
font-size: 18.11upx;
line-height: 61.59upx;
display: flex;
flex-direction: row;
margin: 0 auto;
margin-bottom: 18.11upx;
}
.sItem{
flex: 1;
background:#FFFFFF;
text-align: center;
cursor: pointer;
border-right:1px solid #DBDBDB ;
}
.sItem:last-of-type{
border-right:none
}
.checkedItem{
background: #0069FF;
color: #FFFFFF;
border: #0069FF;
}
</style>
...@@ -165,10 +165,18 @@ ...@@ -165,10 +165,18 @@
}, },
backFun(){ backFun(){
uni.reLaunch({ uni.reLaunch({
url:"index", url:"../index",
}) })
}, },
conditionFun(){ conditionFun(){
uni.setStorage({
key:'backUrl',
data:1
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({ uni.navigateTo({
url:'../condition' url:'../condition'
}) })
...@@ -222,6 +230,7 @@ ...@@ -222,6 +230,7 @@
}) })
}, },
getChartData(){ getChartData(){
this.orgIds=''
var data={} var data={}
var url=window.url+'/report/basics/mall'; var url=window.url+'/report/basics/mall';
if(this.reportType=='mall'){ if(this.reportType=='mall'){
......
<template>
<div>
<headerComp :leftImgSrc="leftImg" :title="titleStr" :rightImgSrc="rightImg" @leftClick="backFun" @rightClick="conditionFun"></headerComp>
<div style="height: 18.11upx;"></div>
<!-- <div class="selectBox">
<div class="sItem" :class="{ checkedItem: isDay}" @click="checkFun('day')">天汇总</div>
<div class="sItem" :class="{ checkedItem: isHour}" @click="checkFun('hour')">小时级</div>
<div class="sItem" :class="{ checkedItem: isMin}" @click="checkFun('min')">分钟级</div>
</div> -->
<v-table v-if="columns.length>0"
is-horizontal-resize
style="width:100%"
:columns="columns"
:table-data="tableData"
row-hover-color="#eee"
row-click-color="#edf7ff"
:height='500'
></v-table>
</div>
</template>
<script>
import headerComp from '../../../components/header'
import backArrow from '../../../static/header/backArrow.png'
import other from '../../../static/header/other.png'
import tables from '../../../components/table'
export default{
data(){
return{
titleStr:'基础统计',
leftImg:backArrow,
rightImg:other,
atoken:'',
keyArr:[],
chartIds:'',
reportType:'mall',
accountId:[],
orgIds:'',
date:'',
isDay:true,
isHour:false,
isMin:false,
chartDatas:{},
chartData:{},
tableData:[],
columns:[],
gateId:[],
floorId:[],
storeId:[]
}
},
onLoad: function (option) {
if(option.types){
this.reportType=option.types;
}
uni.getStorage({
key:'atoken',
success:(res)=>{
this.atoken=res.data;
}
})
uni.getStorage({
key:'accountList',
success:(res)=>{
if(res.data){
var list=JSON.parse(res.data);
list.forEach((item,index)=>{
if(index==0){
this.accountId.push(item.id)
}
})
}
}
})
uni.getStorage({
key:'selectAccountIdArr',
success:(res)=> {
this.accountId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectGateIdArr',
success:(res)=> {
this.gateId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectFloorIdArr',
success:(res)=> {
this.floorId=JSON.parse(res.data);
},
complete: (res) => {
}
})
uni.getStorage({
key:'selectStoreIdArr',
success:(res)=> {
this.storeId=JSON.parse(res.data);
},
complete: (res) => {
}
})
const date = new Date();
var year = date.getFullYear();
var monthIndex = date.getMonth();
var month = monthIndex+1 > 9 ? monthIndex+1 : '0' + (monthIndex+1);
const d = date.getDate();
var day= d > 9 ? d : '0' + d;
this.date=year+'-'+month+'-'+day;
uni.getStorage({
key:'selectDate',
success:(res)=> {
this.date=res.data
},
complete: (res) => {
}
})
this.getReportKey();
},
computed: {
i18n() {
return this.$t("index")
}
},
components:{
headerComp,tables
},
methods: {
checkFun(val){
switch (val)
{
case 'day':{
this.isDay=true;
this.isHour=false;
this.isMin=false;
this.chartDatas=this.chartData.kpiData;
this.setTabelData()
// this.$emit('handleFun','7');
}
break;
case 'hour':{
this.isDay=false;
this.isHour=true;
this.isMin=false;
this.chartDatas=this.chartData.trafficHour;
this.setTabelData()
// this.$emit('handleFun','15');
}
break;
case 'min':{
this.isDay=false;
this.isHour=false;
this.isMin=true;
this.chartDatas=this.chartData.traffic10Min;
this.setTabelData()
// this.$emit('handleFun','30');
}
break;
}
},
backFun(){
uni.reLaunch({
url:"../index",
})
},
conditionFun(){
uni.setStorage({
key:'backUrl',
data:1
})
uni.setStorage({
key:'allShow',
data:'true'
})
uni.navigateTo({
url:'../condition'
})
},
getReportKey(){
var report='BasicReport';
this.keyArr=['kpiData','detailData'];
uni.showLoading({
title: '加载中'
});
uni.request({
url:window.url+'/reportCharts',
data:{
report:report,
_t:Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
this.chartIds='';
res.data.data.forEach(item=>{
if(this.keyArr.indexOf(item.key)!='-1'){
this.chartIds+=item.id+','
}
})
this.chartIds=this.chartIds.substring(0,this.chartIds.length-1);
this.getChartData();
}
})
},
setTabelData(){
this.columns=[];
this.tableData=[];
this.chartDatas.xaxis.data.forEach((item,index)=>{
if(index==0){
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true,isFrozen: true})
}else{
this.columns.push( {field: item, title:item, width: 20, titleAlign: 'center',columnAlign:'center',isResize:true})
}
})
console.log(JSON.stringify(this.columns))
this.chartDatas.series.forEach((item,index)=>{
var obj={}
item.data.forEach((item,index)=>{
obj[this.chartDatas.xaxis.data[index]]=item;
})
this.tableData.push(obj)
})
},
getChartData(){
this.orgIds=''
var data={}
var url=window.url+'/report/basics/mall';
if(this.reportType=='mall'){
this.accountId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/basics/mall';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='gate'){
this.gateId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
url=window.url+'/report/basics/gate';
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='floor'){
this.floorId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/basics/floor';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}else if(this.reportType=='area'){
this.storeId.forEach(item=>{
this.orgIds+=item+','
})
this.orgIds=this.orgIds.substring(0,this.orgIds.length-1)
url=window.url+'/report/basics/zone';
var startDate=this.date.split(',')[0];
var endDate=this.date.split(',')[1];
data={
orgIds:this.orgIds,
startDate:startDate,
endDate: endDate,
chartIds:this.chartIds,
_t:Date.parse(new Date())/1000
}
}
uni.request({
url:url,
header: {
'Authorization': this.atoken //自定义请求头信息
},
data:data,
method:'GET',
success:(res) =>{
uni.hideLoading()
var datas=res.data.data;
this.chartData=datas.body;
this.chartDatas=datas.body.detailData;
this.setTabelData()
}
})
}
},
}
</script>
<style>
.selectBox{
width: 646.73upx;
height: 61.59upx;
font-size: 18.11upx;
line-height: 61.59upx;
display: flex;
flex-direction: row;
margin: 0 auto;
margin-bottom: 18.11upx;
}
.sItem{
flex: 1;
background:#FFFFFF;
text-align: center;
cursor: pointer;
border-right:1px solid #DBDBDB ;
}
.sItem:last-of-type{
border-right:none
}
.checkedItem{
background: #0069FF;
color: #FFFFFF;
border: #0069FF;
}
</style>
...@@ -179,10 +179,10 @@ ...@@ -179,10 +179,10 @@
:anchor="currentDate" :anchor="currentDate"
@confirm="dateConfirm"> @confirm="dateConfirm">
<div class="typeBox"> <div class="typeBox">
<span :class="{'activeDateType':currentDateType=='day'}" @click="dateClick('day')">日</span> <span :class="{'activeDateType':currentDateType=='day'}" @tap="dateClick('day')">日</span>
<span :class="{'activeDateType':currentDateType=='week'}" @click="dateClick('week')">周</span> <span :class="{'activeDateType':currentDateType=='week'}" @tap="dateClick('week')">周</span>
<span :class="{'activeDateType':currentDateType=='month'}" @click="dateClick('month')">月</span> <span :class="{'activeDateType':currentDateType=='month'}" @tap="dateClick('month')">月</span>
<span :class="{'activeDateType':currentDateType=='year'}" @click="dateClick('year')">年</span> <span :class="{'activeDateType':currentDateType=='year'}" @tap="dateClick('year')">年</span>
</div> </div>
</awesome-picker> </awesome-picker>
</view> </view>
......
...@@ -192,10 +192,10 @@ ...@@ -192,10 +192,10 @@
:anchor="currentDate" :anchor="currentDate"
@confirm="dateConfirm"> @confirm="dateConfirm">
<div class="typeBox"> <div class="typeBox">
<span :class="{'activeDateType':currentDateType=='day'}" @click="dateClick('day')">日</span> <span :class="{'activeDateType':currentDateType=='day'}" @tap="dateClick('day')">日</span>
<span :class="{'activeDateType':currentDateType=='week'}" @click="dateClick('week')">周</span> <span :class="{'activeDateType':currentDateType=='week'}" @tap="dateClick('week')">周</span>
<span :class="{'activeDateType':currentDateType=='month'}" @click="dateClick('month')">月</span> <span :class="{'activeDateType':currentDateType=='month'}" @tap="dateClick('month')">月</span>
<span :class="{'activeDateType':currentDateType=='year'}" @click="dateClick('year')">年</span> <span :class="{'activeDateType':currentDateType=='year'}" @tap="dateClick('year')">年</span>
</div> </div>
</awesome-picker> </awesome-picker>
</view> </view>
......
...@@ -185,10 +185,10 @@ ...@@ -185,10 +185,10 @@
:anchor="currentDate" :anchor="currentDate"
@confirm="dateConfirm"> @confirm="dateConfirm">
<div class="typeBox"> <div class="typeBox">
<span :class="{'activeDateType':currentDateType=='day'}" @click="dateClick('day')">日</span> <span :class="{'activeDateType':currentDateType=='day'}" @tap="dateClick('day')">日</span>
<span :class="{'activeDateType':currentDateType=='week'}" @click="dateClick('week')">周</span> <span :class="{'activeDateType':currentDateType=='week'}" @tap="dateClick('week')">周</span>
<span :class="{'activeDateType':currentDateType=='month'}" @click="dateClick('month')">月</span> <span :class="{'activeDateType':currentDateType=='month'}" @tap="dateClick('month')">月</span>
<span :class="{'activeDateType':currentDateType=='year'}" @click="dateClick('year')">年</span> <span :class="{'activeDateType':currentDateType=='year'}" @tap="dateClick('year')">年</span>
</div> </div>
</awesome-picker> </awesome-picker>
</view> </view>
......
...@@ -184,10 +184,10 @@ ...@@ -184,10 +184,10 @@
:anchor="currentDate" :anchor="currentDate"
@confirm="dateConfirm"> @confirm="dateConfirm">
<div class="typeBox"> <div class="typeBox">
<span :class="{'activeDateType':currentDateType=='day'}" @click="dateClick('day')">日</span> <span :class="{'activeDateType':currentDateType=='day'}" @tap="dateClick('day')">日</span>
<span :class="{'activeDateType':currentDateType=='week'}" @click="dateClick('week')">周</span> <span :class="{'activeDateType':currentDateType=='week'}" @tap="dateClick('week')">周</span>
<span :class="{'activeDateType':currentDateType=='month'}" @click="dateClick('month')">月</span> <span :class="{'activeDateType':currentDateType=='month'}" @tap="dateClick('month')">月</span>
<span :class="{'activeDateType':currentDateType=='year'}" @click="dateClick('year')">年</span> <span :class="{'activeDateType':currentDateType=='year'}" @tap="dateClick('year')">年</span>
</div> </div>
</awesome-picker> </awesome-picker>
</view> </view>
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<view> <view>
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp>
<view class="hearSwich"> <view class="hearSwich">
<span class="swichButton" :class="{active:selectFloor}" @click="tapFloor">楼层</span> <span class="swichButton" :class="{active:selectFloor}" @tap="tapFloor">楼层</span>
<span class="swichButton" :class="{active:selectZone}" @click="tapZone">{{i18n.area}}</span> <span class="swichButton" :class="{active:selectZone}" @tap="tapZone">{{i18n.area}}</span>
</view> </view>
<uni-list v-show="selectFloor"> <uni-list v-show="selectFloor">
<uni-list-item :title="item.name" @click="selectItem(item.id,item.name)" v-for="item in floorList"></uni-list-item> <uni-list-item :title="item.name" @tap="selectItem(item.id,item.name)" v-for="item in floorList"></uni-list-item>
</uni-list> </uni-list>
<uni-list v-show="selectZone"> <uni-list v-show="selectZone">
<uni-list-item :title="item.name" @click="selectItem(item.id,item.name)" v-for="item in zoneList"></uni-list-item> <uni-list-item :title="item.name" @tap="selectItem(item.id,item.name)" v-for="item in zoneList"></uni-list-item>
</uni-list> </uni-list>
</view> </view>
</template> </template>
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<mSearch @search="search($event,0)" backgroundColor="#0069FF" :mode="2" :show=false></mSearch> <mSearch @search="search($event,0)" backgroundColor="#0069FF" :mode="2" :show=false></mSearch>
</div> --> </div> -->
<uni-list> <uni-list>
<uni-list-item :title="this.$t('index').allStore" @click="selectStore(id)"></uni-list-item> <uni-list-item :title="this.$t('index').allStore" @tap="selectStore(id)"></uni-list-item>
<uni-list-item :title="item.name" @click="selectStore(item.id,item.name)" v-for="item in list"></uni-list-item> <uni-list-item :title="item.name" @tap="selectStore(item.id,item.name)" v-for="item in list"></uni-list-item>
</uni-list> </uni-list>
</view> </view>
</template> </template>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<image :src="selectSrc" mode="" v-show="item.select"></image> <image :src="selectSrc" mode="" v-show="item.select"></image>
<image :src="unSelectSrc" mode="" v-show="!item.select"></image> <image :src="unSelectSrc" mode="" v-show="!item.select"></image>
<text>{{item.name}}</text> <text>{{item.name}}</text>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<image :src="selectSrc" mode="" v-show="item.select"></image> <image :src="selectSrc" mode="" v-show="item.select"></image>
<image :src="unSelectSrc" mode="" v-show="!item.select"></image> <image :src="unSelectSrc" mode="" v-show="!item.select"></image>
<text>{{item.name}}</text> <text>{{item.name}}</text>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<image :src="selectSrc" mode="" v-show="item.select"></image> <image :src="selectSrc" mode="" v-show="item.select"></image>
<image :src="unSelectSrc" mode="" v-show="!item.select"></image> <image :src="unSelectSrc" mode="" v-show="!item.select"></image>
<text>{{item.name}}</text> <text>{{item.name}}</text>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr" rightText="完成" @rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<image :src="selectSrc" mode="" v-show="item.select"></image> <image :src="selectSrc" mode="" v-show="item.select"></image>
<image :src="unSelectSrc" mode="" v-show="!item.select"></image> <image :src="unSelectSrc" mode="" v-show="!item.select"></image>
<text>{{item.name}}</text> <text>{{item.name}}</text>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<text>{{item.name}}</text> <text>{{item.name}}</text>
</view> </view>
</view> </view>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp> <headerComp :leftImgSrc="leftSrc" @leftClick="backClick" :title="titleStr"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox> <searchBox @handleEvent="searchFun"></searchBox>
<view class="list"> <view class="list">
<view class="listItem" @click="itemFun(item)" v-for="item in list"> <view class="listItem" @tap="itemFun(item)" v-for="item in list">
<text>{{item.name}}</text> <text>{{item.name}}</text>
</view> </view>
</view> </view>
......
...@@ -48,19 +48,22 @@ ...@@ -48,19 +48,22 @@
className: 'dialog-btn', className: 'dialog-btn',
label: '确定', label: '确定',
callback: function(res, $body) { callback: function(res, $body) {
console.log(res, $body) this.clearCache();
// model.switchConnectType() // 调用swift 无参 model.switchConnectType() // 调用swift 无参
} }
}], '提示'); }], '提示');
}, },
logoutHandle() { logoutHandle() {
Object.keys(window.localStorage).forEach(item => { this.clearCache();
window.localStorage.removeItem(item)
})
uni.reLaunch({ uni.reLaunch({
url: '../login/login', url: '../login/login',
}); });
}, },
clearCache() {
Object.keys(window.localStorage).forEach(item => {
window.localStorage.removeItem(item)
})
}
}, },
} }
</script> </script>
......
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>智慧商业6.0</title><link rel=stylesheet href=https://unpkg.com/vue-easytable/umd/css/index.css><script src=https://unpkg.com/vue/dist/vue.js></script><script src=https://unpkg.com/vue-easytable/umd/js/index.js></script><script src=static/common.js></script><script>document.addEventListener('DOMContentLoaded', function() { <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>智慧商业6.0</title><link rel=stylesheet href=https://unpkg.com/vue-easytable/umd/css/index.css><script src=https://unpkg.com/vue/dist/vue.js></script><script src=https://unpkg.com/vue-easytable/umd/js/index.js></script><script src=static/common.js></script><script>document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})</script><link rel=stylesheet href=/appweb/static/index.css><link href=/appweb/static/js/pages-analysis-condition.1a81a30a.js rel=prefetch><link href=/appweb/static/js/pages-analysis-index.36267fff.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport.c923d41a.js rel=prefetch><link href=/appweb/static/js/pages-index-index.5dfce7d5.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList.fb464ed3.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList~pages-list-mallList.5709d7e7.js rel=prefetch><link href=/appweb/static/js/pages-list-mallList.90f7e95d.js rel=prefetch><link href=/appweb/static/js/pages-list-moreMallList.7a2b9f17.js rel=prefetch><link href=/appweb/static/js/pages-login-login.d9f3258e.js rel=prefetch><link href=/appweb/static/js/pages-manage-index.18862e68.js rel=prefetch><link href=/appweb/static/js/pages-my-index.b6801f1b.js rel=prefetch><link href=/appweb/static/js/pages-passenger-index.36b2f28d.js rel=prefetch><link href=/appweb/static/js/chunk-vendors.a121694f.js rel=preload as=script><link href=/appweb/static/js/index.dffa6ac3.js rel=preload as=script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/appweb/static/js/chunk-vendors.a121694f.js></script><script src=/appweb/static/js/index.dffa6ac3.js></script></body></html>
\ No newline at end of file \ No newline at end of file
})</script><link rel=stylesheet href=/appweb/static/index.css><link href=/appweb/static/js/pages-analysis-condition.e215a017.js rel=prefetch><link href=/appweb/static/js/pages-analysis-index.d9000969.js rel=prefetch><link href=/appweb/static/js/pages-analysis-inoutReport-inoutDayReport.7e0a7323.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankDayReport.368164aa.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankWeekReport.bc5f6949.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticDayReport.0ec6cf5e.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticMonthReport.bee41e22.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticWeekReport.ac3dfb2f.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticYearReport.183c8cb9.js rel=prefetch><link href=/appweb/static/js/pages-index-index.a7984e13.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList.b8902ab3.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList~pages-list-mallList.59e64ecc.js rel=prefetch><link href=/appweb/static/js/pages-list-mallList.eff90261.js rel=prefetch><link href=/appweb/static/js/pages-list-moreFloorList.08cf18fa.js rel=prefetch><link href=/appweb/static/js/pages-list-moreGateList.07b2d9cc.js rel=prefetch><link href=/appweb/static/js/pages-list-moreMallList.eefbf1e4.js rel=prefetch><link href=/appweb/static/js/pages-list-moreStoreList.ea50dfb0.js rel=prefetch><link href=/appweb/static/js/pages-list-oneFloorList.eefdd44d.js rel=prefetch><link href=/appweb/static/js/pages-list-oneMallList.bd71936b.js rel=prefetch><link href=/appweb/static/js/pages-login-login.50d7250e.js rel=prefetch><link href=/appweb/static/js/pages-passenger-index.36b2f28d.js rel=prefetch><link href=/appweb/static/js/pages-profile-index.59aa5736.js rel=prefetch><link href=/appweb/static/js/chunk-vendors.895813db.js rel=preload as=script><link href=/appweb/static/js/index.d661bb36.js rel=preload as=script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/appweb/static/js/chunk-vendors.895813db.js></script><script src=/appweb/static/js/index.d661bb36.js></script></body></html>
\ No newline at end of file \ No newline at end of file
window.url="https://store.keliuyun.com/report" window.url="https://store.keliuyun.com/report"
// window.url="http://192.168.7.228:17070"
window.pageType="store"; window.pageType="store";
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-floorList"],{"0037":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=s(n("ce42")),i=s(n("d8f1")),o=s(n("39d8"));function s(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").areaSelect,accountId:"",atoken:"",mallId:"",floorList:[],zoneList:[],selectFloor:!0,selectZone:!1}},onLoad:function(t){this.atoken=t.atoken,this.accountId=t.accountId,this.mallId=t.mallId,this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:a.default,uniList:i.default,uniListItem:o.default},methods:{tapFloor:function(){this.selectFloor=!0,this.selectZone=!1},tapZone:function(){this.selectFloor=!1,this.selectZone=!0},selectItem:function(t,e){uni.setStorage({key:"orgIds",data:t}),uni.setStorage({key:"orgName",data:e}),this.selectFloor?uni.setStorage({key:"type",data:"floor"}):uni.setStorage({key:"type",data:"zone"}),uni.reLaunch({url:"../index/index"})},getListData:function(){var t=this;uni.request({url:window.url+"/floors",data:{accountId:this.accountId,mallId:this.mallId,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.floorList=e.data.data}}),uni.request({url:window.url+"/zones",data:{accountId:this.accountId,mallId:this.mallId,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.zoneList=e.data.data}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=c},4557:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".hearSwich[data-v-a31bd244]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;border:1px solid #0069ff;border-radius:%?10.86?%;font-size:%?21.73?%;margin-top:%?7.24?%}.swichButton[data-v-a31bd244]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;padding:%?7.24?% 0}.active[data-v-a31bd244]{background:#0069ff;color:#fff}",""])},"90b7":function(t,e,n){"use strict";var a=n("ceae"),i=n.n(a);i.a},c771:function(t,e,n){"use strict";n.r(e);var a=n("0037"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},cd6c:function(t,e,n){"use strict";n.r(e);var a=n("ebb0"),i=n("c771");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("90b7");var s=n("2877"),c=Object(s["a"])(i["default"],a["a"],a["b"],!1,null,"a31bd244",null);e["default"]=c.exports},ceae:function(t,e,n){var a=n("4557");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("2c37de92",a,!0,{sourceMap:!1,shadowMode:!1})},ebb0:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),n("v-uni-view",{staticClass:"hearSwich"},[n("span",{staticClass:"swichButton",class:{active:t.selectFloor},on:{click:function(e){e=t.$handleEvent(e),t.tapFloor(e)}}},[t._v("楼层")]),n("span",{staticClass:"swichButton",class:{active:t.selectZone},on:{click:function(e){e=t.$handleEvent(e),t.tapZone(e)}}},[t._v(t._s(t.i18n.area))])]),n("uni-list",{directives:[{name:"show",rawName:"v-show",value:t.selectFloor,expression:"selectFloor"}]},t._l(t.floorList,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectItem(e.id,e.name)}}})})),n("uni-list",{directives:[{name:"show",rawName:"v-show",value:t.selectZone,expression:"selectZone"}]},t._l(t.zoneList,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectItem(e.id,e.name)}}})}))],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-floorList"],{"0037":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("ce42")),i=c(n("d8f1")),o=c(n("39d8"));function c(t){return t&&t.__esModule?t:{default:t}}var s={data:function(){return{leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").areaSelect,accountId:"",atoken:"",mallId:"",floorList:[],zoneList:[],selectFloor:!0,selectZone:!1}},onLoad:function(t){this.atoken=t.atoken,this.accountId=t.accountId,this.mallId=t.mallId,this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:a.default,uniList:i.default,uniListItem:o.default},methods:{tapFloor:function(){this.selectFloor=!0,this.selectZone=!1},tapZone:function(){this.selectFloor=!1,this.selectZone=!0},selectItem:function(t,e){uni.setStorage({key:"orgIds",data:t}),uni.setStorage({key:"orgName",data:e}),this.selectFloor?uni.setStorage({key:"type",data:"floor"}):uni.setStorage({key:"type",data:"zone"}),uni.reLaunch({url:"../index/index"})},getListData:function(){var t=this;uni.request({url:window.url+"/floors",data:{accountId:this.accountId,mallId:this.mallId,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.floorList=e.data.data}}),uni.request({url:window.url+"/zones",data:{accountId:this.accountId,mallId:this.mallId,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.zoneList=e.data.data}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=s},"6bf9":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),n("v-uni-view",{staticClass:"hearSwich"},[n("span",{staticClass:"swichButton",class:{active:t.selectFloor},on:{click:function(e){e=t.$handleEvent(e),t.tapFloor(e)}}},[t._v("楼层")]),n("span",{staticClass:"swichButton",class:{active:t.selectZone},on:{click:function(e){e=t.$handleEvent(e),t.tapZone(e)}}},[t._v(t._s(t.i18n.area))])]),n("uni-list",{directives:[{name:"show",rawName:"v-show",value:t.selectFloor,expression:"selectFloor"}]},t._l(t.floorList,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectItem(e.id,e.name)}}})})),n("uni-list",{directives:[{name:"show",rawName:"v-show",value:t.selectZone,expression:"selectZone"}]},t._l(t.zoneList,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectItem(e.id,e.name)}}})}))],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"73ac":function(t,e,n){"use strict";var a=n("c75de"),i=n.n(a);i.a},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".hearSwich[data-v-5cd12c98]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;border:1px solid #0069ff;border-radius:%?10.86?%;font-size:%?21.73?%;margin-top:%?7.24?%}.swichButton[data-v-5cd12c98]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;padding:%?7.24?% 0}.active[data-v-5cd12c98]{background:#0069ff;color:#fff}",""])},c75de:function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("50221a6c",a,!0,{sourceMap:!1,shadowMode:!1})},c771:function(t,e,n){"use strict";n.r(e);var a=n("0037"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},cd6c:function(t,e,n){"use strict";n.r(e);var a=n("6bf9"),i=n("c771");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("73ac");var c=n("2877"),s=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"5cd12c98",null);e["default"]=s.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-mallList"],{"817d":function(t,e,n){"use strict";n.r(e);var a=n("ae97"),i=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,function(){return a[t]})}(u);e["default"]=i.a},ae97:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("ce42")),i=c(n("d8f1")),u=c(n("39d8"));function c(t){return t&&t.__esModule?t:{default:t}}var o={data:function(){return{aa:"aa",leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").storeSelect,id:"",atoken:"",list:[],accountName:"",url:""}},onLoad:function(t){var e=this;this.url=t.url,uni.getStorage({key:"accountName",success:function(t){e.accountName=t.data}}),uni.getStorage({key:"accountId",success:function(t){e.id=t.data}}),uni.getStorage({key:"atoken",success:function(t){e.atoken=t.data}}),this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:a.default,uniList:i.default,uniListItem:u.default},methods:{search:function(t,e){console.log(t)},selectStore:function(t,e){uni.setStorage({key:"orgIds",data:t}),t==this.id?(uni.setStorage({key:"type",data:"account"}),uni.setStorage({key:"orgName",data:this.accountName})):(uni.setStorage({key:"type",data:"mall"}),uni.setStorage({key:"orgName",data:e})),uni.reLaunch({url:this.url})},getListData:function(){var t=this;uni.request({url:window.url+"/malls",data:{accountId:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.list=e.data.data}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=o},ea11:function(t,e,n){"use strict";n.r(e);var a=n("f948"),i=n("817d");for(var u in i)"default"!==u&&function(t){n.d(e,t,function(){return i[t]})}(u);var c=n("2877"),o=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"1d68e100",null);e["default"]=o.exports},f948:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),n("uni-list",[n("uni-list-item",{attrs:{title:this.$t("index").allStore},on:{click:function(e){e=t.$handleEvent(e),t.selectStore(t.id)}}}),t._l(t.list,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectStore(e.id,e.name)}}})})],2)],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-mallList"],{"817d":function(t,e,n){"use strict";n.r(e);var a=n("ae97"),i=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,function(){return a[t]})}(u);e["default"]=i.a},9199:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),n("uni-list",[n("uni-list-item",{attrs:{title:this.$t("index").allStore},on:{click:function(e){e=t.$handleEvent(e),t.selectStore(t.id)}}}),t._l(t.list,function(e){return n("uni-list-item",{attrs:{title:e.name},on:{click:function(n){n=t.$handleEvent(n),t.selectStore(e.id,e.name)}}})})],2)],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},ae97:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("ce42")),i=c(n("d8f1")),u=c(n("39d8"));function c(t){return t&&t.__esModule?t:{default:t}}var o={data:function(){return{aa:"aa",leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").storeSelect,id:"",atoken:"",list:[],accountName:"",url:""}},onLoad:function(t){var e=this;this.url=t.url,uni.getStorage({key:"accountName",success:function(t){e.accountName=t.data}}),uni.getStorage({key:"accountId",success:function(t){e.id=t.data}}),uni.getStorage({key:"atoken",success:function(t){e.atoken=t.data}}),this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:a.default,uniList:i.default,uniListItem:u.default},methods:{search:function(t,e){console.log(t)},selectStore:function(t,e){uni.setStorage({key:"orgIds",data:t}),t==this.id?(uni.setStorage({key:"type",data:"account"}),uni.setStorage({key:"orgName",data:this.accountName})):(uni.setStorage({key:"type",data:"mall"}),uni.setStorage({key:"orgName",data:e})),uni.reLaunch({url:this.url})},getListData:function(){var t=this;uni.request({url:window.url+"/malls",data:{accountId:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.list=e.data.data}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=o},ea11:function(t,e,n){"use strict";n.r(e);var a=n("9199"),i=n("817d");for(var u in i)"default"!==u&&function(t){n.d(e,t,function(){return i[t]})}(u);var c=n("2877"),o=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"c7b66c40",null);e["default"]=o.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-moreMallList"],{2205:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{navheight:0}},created:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(e){e.data&&(t.navheight=e.data)}})},props:{leftText:{type:String,default:""},rightText:{type:String,default:""},leftImgSrc:{type:String,default:""},rightImgSrc:{type:String,default:""},title:{type:String,default:""}},methods:{rClick:function(){this.$emit("rightClick")},lClick:function(){this.$emit("leftClick")}}};e.default=n},"2a34":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),i("v-uni-view",{staticClass:"indexNav"},[i("v-uni-text",{staticClass:"left",on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}},[t._v(t._s(t.leftText))]),i("v-uni-image",{staticClass:"lImg",attrs:{src:t.leftImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}}),t._v(t._s(t.title)),i("span",{staticClass:"right",on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}},[t._v(t._s(t.rightText))]),i("v-uni-image",{staticClass:"rImg",attrs:{src:t.rightImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}})],1),i("v-uni-view",{staticClass:"blanks"})],1)},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},"2b7b":function(t,e,i){"use strict";var n=i("eeba"),a=i.n(n);a.a},3600:function(t,e,i){var n=i("b813");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7460085d",n,!0,{sourceMap:!1,shadowMode:!1})},4407:function(t,e,i){"use strict";i.r(e);var n=i("2205"),a=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);e["default"]=a.a},5745:function(t,e,i){"use strict";var n=i("3600"),a=i.n(n);a.a},"71c8":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".listItem[data-v-1318060a]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?23.55?%;background:#fff;position:relative}.listItem>uni-image[data-v-1318060a]{width:%?28.98?%;height:%?28.98?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-1318060a]{margin-left:%?77.89?%}",""])},"79b3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("ce42"));function a(t){return t&&t.__esModule?t:{default:t}}var s={data:function(){return{aa:"aa",leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").storeSelect,id:"",atoken:"",list:[],accountName:"",url:"",selectSrc:"../../static/list/select.png",unSelectSrc:"../../static/list/unselect.png",selectIdArr:[],selectNameArr:[]}},onLoad:function(t){var e=this;this.url=t.url,uni.getStorage({key:"accountName",success:function(t){e.accountName=t.data}}),uni.getStorage({key:"accountId",success:function(t){e.id=t.data}}),uni.getStorage({key:"atoken",success:function(t){e.atoken=t.data}}),this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:n.default},methods:{itemFun:function(t){var e=this;if(t.select=!t.select,"all"==t.id)this.selectIdArr=[],this.selectNameArr=[],t.select?(this.selectNameArr.push("全部"),this.list.forEach(function(t){t.select=!0,"all"!=t.id&&e.selectIdArr.push(t.id)})):this.list.forEach(function(t){t.select=!1});else if(t.select)this.selectIdArr.push(t.id),this.selectNameArr.push(t.name);else{var i=this.selectIdArr.indexOf(t.id);this.selectIdArr.splice(i,1),this.selectNameArr.splice(i,1)}this.$forceUpdate()},search:function(t,e){console.log(t)},confirmFun:function(){0!=this.selectIdArr.length?(uni.setStorage({key:"selectAccountIdArr",data:JSON.stringify(this.selectIdArr)}),uni.setStorage({key:"selectAccountNameArr",data:JSON.stringify(this.selectNameArr)}),uni.reLaunch({url:this.url})):uni.showToast({icon:"none",title:"请至少选择一项"})},getListData:function(){var t=this;uni.getStorage({key:"accountList",success:function(e){t.list=JSON.parse(e.data),t.list.unshift({name:"全部",id:"all"}),uni.getStorage({key:"selectAccountIdArr",success:function(e){t.selectIdArr=JSON.parse(e.data)}}),uni.getStorage({key:"selectAccountNameArr",success:function(e){t.selectNameArr=JSON.parse(e.data)}}),t.selectNameArr.length>0?"全部"==t.selectNameArr[0]?t.list.forEach(function(t,e){t.select=!0}):t.list.forEach(function(e){-1!=t.selectIdArr.indexOf(e.id)&&(e.select=!0)}):t.list.forEach(function(t,e){t.select=1==e})}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=s},"90f5":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr,rightText:"完成"},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)},rightClick:function(e){e=t.$handleEvent(e),t.confirmFun(e)}}}),i("v-uni-view",{staticClass:"list"},t._l(t.list,function(e){return i("v-uni-view",{staticClass:"listItem",on:{click:function(i){i=t.$handleEvent(i),t.itemFun(e)}}},[i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:e.select,expression:"item.select"}],attrs:{src:t.selectSrc,mode:""}}),i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:!e.select,expression:"!item.select"}],attrs:{src:t.unSelectSrc,mode:""}}),i("v-uni-text",[t._v(t._s(e.name))])],1)}))],1)},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},aae4:function(t,e,i){"use strict";i.r(e);var n=i("79b3"),a=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);e["default"]=a.a},b813:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".indexNav[data-v-39e8dde9]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:fixed;font-size:%?33?%;color:#fff;width:100%;z-index:9}.blanks[data-v-39e8dde9]{height:%?77.89?%}.left[data-v-39e8dde9]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-39e8dde9]{float:right;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-right:%?23.55?%}.lImg[data-v-39e8dde9]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-39e8dde9]{width:%?28.98?%;height:%?28.98?%;float:right;position:relative;top:%?27.17?%}",""])},ce42:function(t,e,i){"use strict";i.r(e);var n=i("2a34"),a=i("4407");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("5745");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"39e8dde9",null);e["default"]=r.exports},eeba:function(t,e,i){var n=i("71c8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("13caf92a",n,!0,{sourceMap:!1,shadowMode:!1})},f141:function(t,e,i){"use strict";i.r(e);var n=i("90f5"),a=i("aae4");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("2b7b");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"1318060a",null);e["default"]=r.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-oneFloorList"],{"0497":function(t,e,a){"use strict";a.r(e);var i=a("fa47"),n=a("d248");for(var s in n)"default"!==s&&function(t){a.d(e,t,function(){return n[t]})}(s);a("8901");var r=a("2877"),c=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"7a4d7f93",null);e["default"]=c.exports},"19b9":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".indexNav[data-v-7ae69da5]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:fixed;font-size:%?33?%;color:#fff;width:100%;z-index:9}.blanks[data-v-7ae69da5]{height:%?77.89?%}.left[data-v-7ae69da5]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-7ae69da5]{position:absolute;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-7ae69da5]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-7ae69da5]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},"1c03":function(t,e,a){"use strict";a.r(e);var i=a("3ad3"),n=a("8f98");for(var s in n)"default"!==s&&function(t){a.d(e,t,function(){return n[t]})}(s);a("4c32");var r=a("2877"),c=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"2d445e4a",null);e["default"]=c.exports},2205:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{navheight:0}},created:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(e){e.data&&(t.navheight=e.data)}})},props:{leftText:{type:String,default:""},rightText:{type:String,default:""},leftImgSrc:{type:String,default:""},rightImgSrc:{type:String,default:""},title:{type:String,default:""}},methods:{rClick:function(){this.$emit("rightClick")},lClick:function(){this.$emit("leftClick")}}};e.default=i},"3ad3":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),a("searchBox",{on:{handleEvent:function(e){e=t.$handleEvent(e),t.searchFun(e)}}}),a("v-uni-view",{staticClass:"list"},t._l(t.list,function(e){return a("v-uni-view",{staticClass:"listItem",on:{click:function(a){a=t.$handleEvent(a),t.itemFun(e)}}},[a("v-uni-text",[t._v(t._s(e.name))])],1)}))],1)},n=[];a.d(e,"a",function(){return i}),a.d(e,"b",function(){return n})},4407:function(t,e,a){"use strict";a.r(e);var i=a("2205"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,function(){return i[t]})}(s);e["default"]=n.a},"4c32":function(t,e,a){"use strict";var i=a("85fc"),n=a.n(i);n.a},"85fc":function(t,e,a){var i=a("90c6");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("024e86d6",i,!0,{sourceMap:!1,shadowMode:!1})},8901:function(t,e,a){"use strict";var i=a("bd76"),n=a.n(i);n.a},"8f98":function(t,e,a){"use strict";a.r(e);var i=a("ab6d"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,function(){return i[t]})}(s);e["default"]=n.a},"90c6":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".listItem[data-v-2d445e4a]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?23.55?%;background:#fff;position:relative}.listItem>uni-image[data-v-2d445e4a]{width:%?28.98?%;height:%?28.98?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-2d445e4a]{margin-left:%?77.89?%}",""])},a1bf:function(t,e,a){var i=a("19b9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("afd4a560",i,!0,{sourceMap:!1,shadowMode:!1})},a846:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".searchDiv[data-v-7a4d7f93]{padding:%?12.68?% %?23.55?%;background:#f4f4f5;position:relative}.searchDiv uni-input[data-v-7a4d7f93]{height:%?54.34?%;background:#fff;padding:0 %?45.28?%}.searchDiv uni-image[data-v-7a4d7f93]{width:%?25.37?%;position:absolute;top:%?25.37?%;z-index:9;left:%?297.1?%}.searchDiv .focusClass[data-v-7a4d7f93]{left:%?32.6?%;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}",""])},ab5e:function(t,e,a){"use strict";var i=a("a1bf"),n=a.n(i);n.a},ab6d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=s(a("ce42")),n=s(a("0497"));function s(t){return t&&t.__esModule?t:{default:t}}var r={data:function(){return{aa:"aa",leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").storeSelect,id:"",atoken:"",list:[],allList:[],accountName:"",url:"",selectSrc:"../../static/list/select.png",unSelectSrc:"../../static/list/unselect.png",selectIdArr:[],selectNameArr:[],type:""}},onLoad:function(t){var e=this;this.url=t.url,this.type=t.type,uni.getStorage({key:"accountName",success:function(t){e.accountName=t.data}}),uni.getStorage({key:"accountId",success:function(t){e.id=t.data}}),uni.getStorage({key:"atoken",success:function(t){e.atoken=t.data}}),this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:i.default,searchBox:n.default},methods:{searchFun:function(t){var e=this;this.list=[],this.allList.forEach(function(a){-1!=a.name.indexOf(t)&&e.list.push(a)})},itemFun:function(t){this.selectIdArr=[],this.selectNameArr=[],this.selectNameArr.push(t.name),this.selectIdArr.push(t.id),this.confirmFun()},confirmFun:function(){uni.removeStorage({key:"selectStoreNameArr",success:function(t){console.log("success")}}),uni.setStorage({key:"selectFloorIdArr",data:JSON.stringify(this.selectIdArr)}),uni.setStorage({key:"selectFloorNameArr",data:JSON.stringify(this.selectNameArr)}),uni.reLaunch({url:this.url+"?type="+this.type})},getListData:function(){var t=this;uni.getStorage({key:"accountList",success:function(e){t.allList=JSON.parse(e.data),t.list=JSON.parse(e.data)}});var e="";uni.getStorage({key:"selectAccountIdArr",success:function(t){e=JSON.parse(t.data)[0]}}),uni.request({url:window.url+"/floors",data:{accountId:this.id,mallId:e,status:1,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(e){t.allList=JSON.parse(JSON.stringify(e.data.data)),t.allList.unshift({name:"全部",id:"all"}),t.list=JSON.parse(JSON.stringify(e.data.data)),t.list.unshift({name:"全部",id:"all"})}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=r},bd76:function(t,e,a){var i=a("a846");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("e25b0f06",i,!0,{sourceMap:!1,shadowMode:!1})},c6b2:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),a("v-uni-view",{staticClass:"indexNav"},[a("v-uni-text",{staticClass:"left",on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}},[t._v(t._s(t.leftText))]),a("v-uni-image",{staticClass:"lImg",attrs:{src:t.leftImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}}),t._v(t._s(t.title)),a("span",{staticClass:"right",on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}},[t._v(t._s(t.rightText))]),a("v-uni-image",{staticClass:"rImg",attrs:{src:t.rightImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}})],1),a("v-uni-view",{staticClass:"blanks"})],1)},n=[];a.d(e,"a",function(){return i}),a.d(e,"b",function(){return n})},ce42:function(t,e,a){"use strict";a.r(e);var i=a("c6b2"),n=a("4407");for(var s in n)"default"!==s&&function(t){a.d(e,t,function(){return n[t]})}(s);a("ab5e");var r=a("2877"),c=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"7ae69da5",null);e["default"]=c.exports},d248:function(t,e,a){"use strict";a.r(e);var i=a("d686"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,function(){return i[t]})}(s);e["default"]=n.a},d686:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{isFocus:!1,searchVal:""}},props:{},watch:{},methods:{itemChange:function(){var t=this;setTimeout(function(){t.$emit("handleEvent",t.searchVal),console.log("aaaa",t.searchVal)},300)},inputFocus:function(){this.isFocus=!0},inputBlur:function(){""==this.searchVal&&(this.isFocus=!1)}}};e.default=i},fa47:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("div",{staticClass:"searchDiv"},[a("v-uni-image",{class:{focusClass:t.isFocus},attrs:{src:"../../static/list/searchIcon.png",mode:"widthFix"}}),a("v-uni-input",{attrs:{type:"text",placeholder:"输入名称","placeholder-class":"centers","confirm-type":"搜索"},on:{focus:function(e){e=t.$handleEvent(e),t.inputFocus(e)},blur:function(e){e=t.$handleEvent(e),t.inputBlur(e)},input:function(e){e=t.$handleEvent(e),t.itemChange(e)}},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}})],1)])},n=[];a.d(e,"a",function(){return i}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-oneMallList"],{"0497":function(t,e,n){"use strict";n.r(e);var a=n("fa47"),i=n("d248");for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n("8901");var c=n("2877"),r=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"7a4d7f93",null);e["default"]=r.exports},"17d2":function(t,e,n){var a=n("5d8a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1296703e",a,!0,{sourceMap:!1,shadowMode:!1})},"19b9":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".indexNav[data-v-7ae69da5]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:fixed;font-size:%?33?%;color:#fff;width:100%;z-index:9}.blanks[data-v-7ae69da5]{height:%?77.89?%}.left[data-v-7ae69da5]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-7ae69da5]{position:absolute;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-7ae69da5]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-7ae69da5]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},2205:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{navheight:0}},created:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(e){e.data&&(t.navheight=e.data)}})},props:{leftText:{type:String,default:""},rightText:{type:String,default:""},leftImgSrc:{type:String,default:""},rightImgSrc:{type:String,default:""},title:{type:String,default:""}},methods:{rClick:function(){this.$emit("rightClick")},lClick:function(){this.$emit("leftClick")}}};e.default=a},4407:function(t,e,n){"use strict";n.r(e);var a=n("2205"),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e["default"]=i.a},"5d8a":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".listItem[data-v-213ac138]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?23.55?%;background:#fff;position:relative}.listItem>uni-image[data-v-213ac138]{width:%?28.98?%;height:%?28.98?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-213ac138]{margin-left:%?77.89?%}",""])},"65f6":function(t,e,n){"use strict";n.r(e);var a=n("9b8a"),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e["default"]=i.a},8483:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("headerComp",{attrs:{leftImgSrc:t.leftSrc,title:t.titleStr},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),n("searchBox",{on:{handleEvent:function(e){e=t.$handleEvent(e),t.searchFun(e)}}}),n("v-uni-view",{staticClass:"list"},t._l(t.list,function(e){return n("v-uni-view",{staticClass:"listItem",on:{click:function(n){n=t.$handleEvent(n),t.itemFun(e)}}},[n("v-uni-text",[t._v(t._s(e.name))])],1)}))],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},8901:function(t,e,n){"use strict";var a=n("bd76"),i=n.n(a);i.a},9836:function(t,e,n){"use strict";var a=n("17d2"),i=n.n(a);i.a},"9b8a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=s(n("ce42")),i=s(n("0497"));function s(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{aa:"aa",leftSrc:"../../static/header/backArrow.png",titleStr:this.$t("index").storeSelect,id:"",atoken:"",list:[],allList:[],accountName:"",url:"",selectSrc:"../../static/list/select.png",unSelectSrc:"../../static/list/unselect.png",selectIdArr:[],selectNameArr:[],type:""}},onLoad:function(t){var e=this;this.url=t.url,this.type=t.type,uni.getStorage({key:"accountName",success:function(t){e.accountName=t.data}}),uni.getStorage({key:"accountId",success:function(t){e.id=t.data}}),uni.getStorage({key:"atoken",success:function(t){e.atoken=t.data}}),this.getListData()},computed:{i18n:function(){return this.$t("index")}},components:{headerComp:a.default,searchBox:i.default},methods:{searchFun:function(t){var e=this;this.list=[],this.allList.forEach(function(n){-1!=n.name.indexOf(t)&&e.list.push(n)})},itemFun:function(t){this.selectIdArr=[],this.selectNameArr=[],this.selectNameArr.push(t.name),this.selectIdArr.push(t.id),this.confirmFun()},confirmFun:function(){uni.removeStorage({key:"selectGateNameArr",success:function(t){console.log("success")}}),uni.removeStorage({key:"selectFloorNameArr",success:function(t){console.log("success")}}),uni.setStorage({key:"selectAccountIdArr",data:JSON.stringify(this.selectIdArr)}),uni.setStorage({key:"selectAccountNameArr",data:JSON.stringify(this.selectNameArr)}),uni.reLaunch({url:this.url+"?type="+this.type})},getListData:function(){var t=this;uni.getStorage({key:"accountList",success:function(e){t.allList=JSON.parse(e.data),t.list=JSON.parse(e.data)}})},backClick:function(){uni.navigateBack({delta:1})}}};e.default=c},a1bf:function(t,e,n){var a=n("19b9");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("afd4a560",a,!0,{sourceMap:!1,shadowMode:!1})},a846:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".searchDiv[data-v-7a4d7f93]{padding:%?12.68?% %?23.55?%;background:#f4f4f5;position:relative}.searchDiv uni-input[data-v-7a4d7f93]{height:%?54.34?%;background:#fff;padding:0 %?45.28?%}.searchDiv uni-image[data-v-7a4d7f93]{width:%?25.37?%;position:absolute;top:%?25.37?%;z-index:9;left:%?297.1?%}.searchDiv .focusClass[data-v-7a4d7f93]{left:%?32.6?%;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}",""])},ab5e:function(t,e,n){"use strict";var a=n("a1bf"),i=n.n(a);i.a},aecb:function(t,e,n){"use strict";n.r(e);var a=n("8483"),i=n("65f6");for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n("9836");var c=n("2877"),r=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"213ac138",null);e["default"]=r.exports},bd76:function(t,e,n){var a=n("a846");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("e25b0f06",a,!0,{sourceMap:!1,shadowMode:!1})},c6b2:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),n("v-uni-view",{staticClass:"indexNav"},[n("v-uni-text",{staticClass:"left",on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}},[t._v(t._s(t.leftText))]),n("v-uni-image",{staticClass:"lImg",attrs:{src:t.leftImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}}),t._v(t._s(t.title)),n("span",{staticClass:"right",on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}},[t._v(t._s(t.rightText))]),n("v-uni-image",{staticClass:"rImg",attrs:{src:t.rightImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}})],1),n("v-uni-view",{staticClass:"blanks"})],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},ce42:function(t,e,n){"use strict";n.r(e);var a=n("c6b2"),i=n("4407");for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n("ab5e");var c=n("2877"),r=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"7ae69da5",null);e["default"]=r.exports},d248:function(t,e,n){"use strict";n.r(e);var a=n("d686"),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e["default"]=i.a},d686:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{isFocus:!1,searchVal:""}},props:{},watch:{},methods:{itemChange:function(){var t=this;setTimeout(function(){t.$emit("handleEvent",t.searchVal),console.log("aaaa",t.searchVal)},300)},inputFocus:function(){this.isFocus=!0},inputBlur:function(){""==this.searchVal&&(this.isFocus=!1)}}};e.default=a},fa47:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("div",{staticClass:"searchDiv"},[n("v-uni-image",{class:{focusClass:t.isFocus},attrs:{src:"../../static/list/searchIcon.png",mode:"widthFix"}}),n("v-uni-input",{attrs:{type:"text",placeholder:"输入名称","placeholder-class":"centers","confirm-type":"搜索"},on:{focus:function(e){e=t.$handleEvent(e),t.inputFocus(e)},blur:function(e){e=t.$handleEvent(e),t.inputBlur(e)},input:function(e){e=t.$handleEvent(e),t.itemChange(e)}},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}})],1)])},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"591c":function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{username:"datatest",password:"datatest1",navheight:0,atoken:"",id:""}},onLoad:function(){},onReady:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(a){t.navheight=a.data}})},methods:{login:function(){this.username.length<=0?uni.showToast({icon:"none",title:"请输入用户名"}):this.password.length<=0?uni.showToast({icon:"none",title:"请输入密码"}):(uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/users/login",data:{loginName:this.username,password:this.password},method:"POST",success:function(t){uni.hideLoading();var a=t.data;200==a.code?(this.atoken=a.data.atoken,this.id=a.data.user.accountId,uni.request({url:window.url+"/malls",data:{accountId:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(t){uni.setStorage({key:"accountList",data:JSON.stringify(t.data.data)})}}),uni.request({url:window.url+"/accounts",data:{id:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(t){if(200==t.data.code){var a=t.data.data;uni.setStorage({key:"orgName",data:a[0].name}),uni.setStorage({key:"accountName",data:a[0].name})}uni.switchTab({url:"../index/index"})}}),uni.setStorage({key:"atoken",data:a.data.atoken}),uni.setStorage({key:"accountId",data:a.data.user.accountId}),uni.setStorage({key:"orgIds",data:a.data.user.accountId}),uni.setStorage({key:"type",data:"account"})):uni.showToast({icon:"none",title:a.msg})}}))}}};a.default=i},"5ff9":function(t,a,n){t.exports=n.p+"static/img/loginBg.521f9b73.png"},"722d":function(t,a,n){"use strict";n.r(a);var i=n("94b9"),e=n("8cfa");for(var o in e)"default"!==o&&function(t){n.d(a,t,function(){return e[t]})}(o);n("b3ed");var s=n("2877"),u=Object(s["a"])(e["default"],i["a"],i["b"],!1,null,"7f27f025",null);a["default"]=u.exports},"7bf0":function(t,a,n){var i=n("b041");a=t.exports=n("2350")(!1),a.push([t.i,".loginBg[data-v-7f27f025]{background:url("+i(n("5ff9"))+") no-repeat;background-size:100% 100%;height:%?731.88?%}.loginBox[data-v-7f27f025]{background:#fff;width:%?670.28?%;height:%?663.04?%;position:relative;top:%?311.59?%;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:%?7.24?%;padding-top:%?85.14?%}.loginTitle[data-v-7f27f025]{font-size:%?43.47?%;color:#4a4a4a;letter-spacing:%?1.81?%;text-align:center;display:block;position:relative;margin-bottom:%?119.56?%}.inputBox[data-v-7f27f025]{width:%?528.98?%;border-bottom:%?1.81?% solid #9b9b9b;margin:0 auto;padding-left:%?12.68?%;position:relative}.userBox[data-v-7f27f025]{margin-bottom:%?43.47?%}.userBox uni-image[data-v-7f27f025]{height:%?32.6?%;width:%?25.5?%;display:inline-block;position:absolute;top:%?16.3?%}.pwdBox uni-image[data-v-7f27f025]{height:%?32.6?%;width:%?32.6?%;display:inline-block;position:absolute;top:%?16.3?%}.userInput[data-v-7f27f025]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdInput[data-v-7f27f025]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdBox[data-v-7f27f025]{margin-bottom:%?94.2?%}.loginBtn[data-v-7f27f025]{width:%?516.36?%;height:%?76.08?%;background:#0069ff;border-radius:21px;font-size:%?36.23?%;color:#fff;line-height:%?76.08?%;letter-spacing:%?25.36?%;padding:0;padding-left:%?25.36?%}",""])},"8cfa":function(t,a,n){"use strict";n.r(a);var i=n("591c"),e=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(a,t,function(){return i[t]})}(o);a["default"]=e.a},"94b9":function(t,a,n){"use strict";var i=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("v-uni-view",[n("div",{style:{height:t.navheight+"px",background:"#008fff"}}),n("v-uni-view",{staticClass:"loginBg"},[n("v-uni-view",{staticClass:"loginBox"},[n("v-uni-text",{staticClass:"loginTitle"},[t._v("智慧商业客流6.0")]),n("v-uni-view",{staticClass:"inputBox userBox"},[n("v-uni-image",{attrs:{src:"../../static/login/user.png",mode:""}}),n("v-uni-input",{staticClass:"uni-input userInput",attrs:{focus:"",placeholder:"请输入用户名"},model:{value:t.username,callback:function(a){t.username=a},expression:"username"}})],1),n("v-uni-view",{staticClass:"inputBox pwdBox"},[n("v-uni-image",{attrs:{src:"../../static/login/pwd.png",mode:""}}),n("v-uni-input",{staticClass:"uni-input pwdInput",attrs:{placeholder:"请输入密码",password:""},model:{value:t.password,callback:function(a){t.password=a},expression:"password"}})],1),n("v-uni-button",{staticClass:"loginBtn",on:{click:function(a){a=t.$handleEvent(a),t.login(a)}}},[t._v("登录")])],1)],1)],1)},e=[];n.d(a,"a",function(){return i}),n.d(a,"b",function(){return e})},b3ed:function(t,a,n){"use strict";var i=n("d410"),e=n.n(i);e.a},d410:function(t,a,n){var i=n("7bf0");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=n("4f06").default;e("4a4b0f69",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"591c":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{username:"datatest",password:"datatest1",navheight:0,atoken:"",id:""}},onLoad:function(){},onReady:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(a){t.navheight=a.data}})},methods:{login:function(){this.username.length<=0?uni.showToast({icon:"none",title:"请输入用户名"}):this.password.length<=0?uni.showToast({icon:"none",title:"请输入密码"}):(uni.showLoading({title:"加载中"}),uni.request({url:window.url+"/users/login",data:{loginName:this.username,password:this.password},method:"POST",success:function(t){uni.hideLoading();var a=t.data;200==a.code?(this.atoken=a.data.atoken,this.id=a.data.user.accountId,uni.request({url:window.url+"/malls",data:{accountId:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(t){uni.setStorage({key:"accountList",data:JSON.stringify(t.data.data)})}}),uni.request({url:window.url+"accounts",data:{id:this.id,_t:Date.parse(new Date)/1e3},header:{Authorization:this.atoken},method:"GET",success:function(t){if(200==t.data.code){var a=t.data.data;uni.setStorage({key:"orgName",data:a[0].name}),uni.setStorage({key:"accountName",data:a[0].name})}uni.switchTab({url:"../index/index"})}}),uni.setStorage({key:"atoken",data:a.data.atoken}),uni.setStorage({key:"accountId",data:a.data.user.accountId}),uni.setStorage({key:"orgIds",data:a.data.user.accountId}),uni.setStorage({key:"type",data:"account"})):uni.showToast({icon:"none",title:a.msg})}}))}}};a.default=n},"5ff9":function(t,a,e){t.exports=e.p+"static/img/loginBg.521f9b73.png"},"6b0b":function(t,a,e){"use strict";var n=e("d596"),i=e.n(n);i.a},"722d":function(t,a,e){"use strict";e.r(a);var n=e("9ec3"),i=e("8cfa");for(var o in i)"default"!==o&&function(t){e.d(a,t,function(){return i[t]})}(o);e("6b0b");var s=e("2877"),u=Object(s["a"])(i["default"],n["a"],n["b"],!1,null,"2ecb2406",null);a["default"]=u.exports},"8cfa":function(t,a,e){"use strict";e.r(a);var n=e("591c"),i=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(a,t,function(){return n[t]})}(o);a["default"]=i.a},"9ec3":function(t,a,e){"use strict";var n=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:"#008fff"}}),e("v-uni-view",{staticClass:"loginBg"},[e("v-uni-view",{staticClass:"loginBox"},[e("v-uni-text",{staticClass:"loginTitle"},[t._v("智慧商业客流6.0")]),e("v-uni-view",{staticClass:"inputBox userBox"},[e("v-uni-image",{attrs:{src:"../../static/login/user.png",mode:""}}),e("v-uni-input",{staticClass:"uni-input userInput",attrs:{focus:"",placeholder:"请输入用户名"},model:{value:t.username,callback:function(a){t.username=a},expression:"username"}})],1),e("v-uni-view",{staticClass:"inputBox pwdBox"},[e("v-uni-image",{attrs:{src:"../../static/login/pwd.png",mode:""}}),e("v-uni-input",{staticClass:"uni-input pwdInput",attrs:{placeholder:"请输入密码",password:""},model:{value:t.password,callback:function(a){t.password=a},expression:"password"}})],1),e("v-uni-button",{staticClass:"loginBtn",on:{click:function(a){a=t.$handleEvent(a),t.login(a)}}},[t._v("登录")])],1)],1)],1)},i=[];e.d(a,"a",function(){return n}),e.d(a,"b",function(){return i})},d596:function(t,a,e){var n=e("ea1b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("8dee2de0",n,!0,{sourceMap:!1,shadowMode:!1})},ea1b:function(t,a,e){var n=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".loginBg[data-v-2ecb2406]{background:url("+n(e("5ff9"))+") no-repeat;background-size:100% 100%;height:%?731.88?%}.loginBox[data-v-2ecb2406]{background:#fff;width:%?670.28?%;height:%?663.04?%;position:relative;top:%?311.59?%;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:%?7.24?%;padding-top:%?85.14?%}.loginTitle[data-v-2ecb2406]{font-size:%?43.47?%;color:#4a4a4a;letter-spacing:%?1.81?%;text-align:center;display:block;position:relative;margin-bottom:%?119.56?%}.inputBox[data-v-2ecb2406]{width:%?528.98?%;border-bottom:%?1.81?% solid #9b9b9b;margin:0 auto;padding-left:%?12.68?%;position:relative}.userBox[data-v-2ecb2406]{margin-bottom:%?43.47?%}.userBox uni-image[data-v-2ecb2406]{height:%?32.6?%;width:%?25.5?%;display:inline-block;position:absolute;top:%?16.3?%}.pwdBox uni-image[data-v-2ecb2406]{height:%?32.6?%;width:%?32.6?%;display:inline-block;position:absolute;top:%?16.3?%}.userInput[data-v-2ecb2406]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdInput[data-v-2ecb2406]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdBox[data-v-2ecb2406]{margin-bottom:%?94.2?%}.loginBtn[data-v-2ecb2406]{width:%?516.36?%;height:%?76.08?%;background:#0069ff;border-radius:21px;font-size:%?36.23?%;color:#fff;line-height:%?76.08?%;letter-spacing:%?25.36?%;padding:0;padding-left:%?25.36?%}",""])}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-manage-index"],{"1d2a":function(n,t,a){"use strict";a.r(t);var u=a("81f6"),e=a.n(u);for(var r in u)"default"!==r&&function(n){a.d(t,n,function(){return u[n]})}(r);t["default"]=e.a},2711:function(n,t,a){"use strict";a.r(t);var u=a("a83b"),e=a("1d2a");for(var r in e)"default"!==r&&function(n){a.d(t,n,function(){return e[n]})}(r);var f=a("2877"),i=Object(f["a"])(e["default"],u["a"],u["b"],!1,null,"0e7ca073",null);t["default"]=i.exports},"81f6":function(n,t,a){},a83b:function(n,t,a){"use strict";var u=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",[n._v("222")])},e=[];a.d(t,"a",function(){return u}),a.d(t,"b",function(){return e})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-index"],{"0c37":function(n,t,e){"use strict";e.r(t);var u=e("8c3e"),c=e.n(u);for(var r in u)"default"!==r&&function(n){e.d(t,n,function(){return u[n]})}(r);t["default"]=c.a},2345:function(n,t,e){"use strict";var u=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",[n._v("222"),e("v-uni-button",{attrs:{onclick:"model.switchConnectType()"}},[n._v("调用swift无参")])],1)},c=[];e.d(t,"a",function(){return u}),e.d(t,"b",function(){return c})},"8c3e":function(n,t,e){},c872:function(n,t,e){"use strict";e.r(t);var u=e("2345"),c=e("0c37");for(var r in c)"default"!==r&&function(n){e.d(t,n,function(){return c[n]})}(r);var i=e("2877"),o=Object(i["a"])(c["default"],u["a"],u["b"],!1,null,"51f15862",null);t["default"]=o.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-profile-index"],{"19b9":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".indexNav[data-v-7ae69da5]{height:%?77.89?%;line-height:%?77.89?%;text-align:center;background:#0069ff;position:fixed;font-size:%?33?%;color:#fff;width:100%;z-index:9}.blanks[data-v-7ae69da5]{height:%?77.89?%}.left[data-v-7ae69da5]{float:left;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-7ae69da5]{position:absolute;font-size:%?25.36?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-7ae69da5]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-7ae69da5]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},2205:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{navheight:0}},created:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(e){e.data&&(t.navheight=e.data)}})},props:{leftText:{type:String,default:""},rightText:{type:String,default:""},leftImgSrc:{type:String,default:""},rightImgSrc:{type:String,default:""},title:{type:String,default:""}},methods:{rClick:function(){this.$emit("rightClick")},lClick:function(){this.$emit("leftClick")}}};e.default=i},"291b":function(t,e,a){"use strict";a.r(e);var i=a("3955"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,function(){return i[t]})}(o);e["default"]=n.a},3955:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(a("ce42")),n=r(a("d448")),o=r(a("a718"));function r(t){return t&&t.__esModule?t:{default:t}}var l={onLoad:function(t){console.log(t)},components:{headerComp:i.default},data:function(){return{titleStr:"我的",backArrow:n.default,rArrow:o.default}},methods:{switchConnect:function(){this.$message.confirm('<div class="dialog-content" style="color: #333; font-size: 17px;text-align: center;">确认切换该服务器地址?</div>',function(t,e){},[{className:"dialog-btn",label:"取消",callback:function(t,e){return!0}},{className:"dialog-btn",label:"确定",callback:function(t,e){console.log(t,e)}}],"提示")},logoutHandle:function(){Object.keys(window.localStorage).forEach(function(t){window.localStorage.removeItem(t)}),uni.reLaunch({url:"../login/login"})}}};e.default=l},4407:function(t,e,a){"use strict";a.r(e);var i=a("2205"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,function(){return i[t]})}(o);e["default"]=n.a},"4d4a":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("headerComp",{attrs:{title:t.titleStr}}),a("v-uni-view",{staticStyle:{height:"25.36upx"}}),a("v-uni-view",{staticClass:"profile-item",on:{click:function(e){e=t.$handleEvent(e),t.switchConnect(e)}}},[a("span",{staticClass:"texts"},[t._v("切换服务器地址")]),a("img",{staticClass:"arrows",attrs:{src:t.rArrow,alt:""}})]),a("v-uni-view",{staticClass:"profile-item"},[a("span",{staticClass:"texts"},[t._v("修改密码")]),a("img",{staticClass:"arrows",attrs:{src:t.rArrow,alt:""}})]),a("v-uni-view",{staticClass:"logout"},[a("v-uni-button",{staticClass:"primary logout-btn",attrs:{type:"primary"},on:{click:function(e){e=t.$handleEvent(e),t.logoutHandle(e)}}},[t._v("退出登录")])],1)],1)},n=[];a.d(e,"a",function(){return i}),a.d(e,"b",function(){return n})},8192:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".profile-item[data-v-0738b88a]{background:#fff;position:relative}.texts[data-v-0738b88a]{display:block;height:%?90.57?%;line-height:%?90.57?%;margin-left:%?23.55?%;font-size:%?28.98?%;color:#333;border-bottom:%?1.81?% solid hsla(0,0%,59.2%,.2);-webkit-box-sizing:border-box;box-sizing:border-box}.profile-item:last-of-type .texts[data-v-0738b88a]{border-bottom:none}.arrows[data-v-0738b88a]{width:%?14.49?%;height:%?25.36?%;position:absolute;right:%?23.55?%;top:%?32.6?%}.logout[data-v-0738b88a]{margin-top:%?255.43?%;padding:0 %?41.66?%}.logout-btn[data-v-0738b88a]{background-color:rgba(0,0,0,0);border:1px solid #0069ff;color:#0069ff;border-radius:%?41.66?%}",""])},a1bf:function(t,e,a){var i=a("19b9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("afd4a560",i,!0,{sourceMap:!1,shadowMode:!1})},a718:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAcCAYAAAEfNg+MAAAABGdBTUEAALGPC/xhBQAAArNJREFUOBGNlE1rE1EUhpPJJNqotRAXwZjPRREEF4KCiNDWagt24UKwC/+Bf0qwKGKhYBULLkRXKoIiiFJtPpqEpIYoSZAYYojPmeSMd5o0eGFyPt73vOfm3Dvjy+fzd3y6stls3/H7/X7Ql8vlZhQZYx2yWyEET2BWuECxWJxyA/RfmiyLIAhaMJOyi2ckv0vSrwjJB+zxuq0JglW/33/RiaVDoVA44wbQU8oUwS1hYL+5ScMxm7xAdw7dSjqdPmlwvC5KG0PFH4K4CiYNpQDEPyMEgEMAvwWwLOtcKpV67yjUarVjrVarKUAwGJyNx+NfxZflp18DOw1wCqDsZM0fISAbNXOmL9OepnelXC7HTUB96zhLgk6ns8s4MwqotSKRSDMcDh+VRK/X26HdaQXFSgtfNBr9xQSnxKfdZ67AWfFleQYFGEKhI4Bt2+cTicQ7D0EASDakrvgM65LTQgJdtJIRr0kMeW1Egbk8ArvJ08hkMjMeAuAmwAoqdY78BL7PvWOAz4kXefYA3ck6CoCvAC7zlJD1TFQO6w3ABWRzVI5OUkCe7XEg+X/HLQFrm2NfGHvsA3zk16J1kuzbITLb7XZLDDLLkxphj0m4Yxreyqdw5M/qKg135N5QBdS6ApqQbwG7eEwsI9W1FwgEriSTyU+aUDsioADHLC/QOvGK5uQAea7Ky+Tm1DnIIhRE6D64XA9dDYSWOZnXB+5AmWoRknf9LvFtzSGS+y8Bim2+yvewq1qMbXHdlyYKUBCi8CH2hhbS9ScDvSYvk+TGCrDVw2AbFC5rIbbGkS5yyT4aOa9AtVo90m63n1A4pyQ6VvAXGNgXzZnW2UG9Xp9uNptbFA4+2QPGLlud5+yzZsF+3892pXBJATruhEKh+VgsVtTcJGtTsCmdsR8g3mKr1UkF+7G/C+1UeAo9hYIAAAAASUVORK5CYII="},ab5e:function(t,e,a){"use strict";var i=a("a1bf"),n=a.n(i);n.a},b409:function(t,e,a){var i=a("8192");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("dda60c1e",i,!0,{sourceMap:!1,shadowMode:!1})},c1c7:function(t,e,a){"use strict";var i=a("b409"),n=a.n(i);n.a},c6b2:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("div",{style:{height:t.navheight+"px",background:"#0069FF"}}),a("v-uni-view",{staticClass:"indexNav"},[a("v-uni-text",{staticClass:"left",on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}},[t._v(t._s(t.leftText))]),a("v-uni-image",{staticClass:"lImg",attrs:{src:t.leftImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.lClick(e)}}}),t._v(t._s(t.title)),a("span",{staticClass:"right",on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}},[t._v(t._s(t.rightText))]),a("v-uni-image",{staticClass:"rImg",attrs:{src:t.rightImgSrc},on:{click:function(e){e=t.$handleEvent(e),t.rClick(e)}}})],1),a("v-uni-view",{staticClass:"blanks"})],1)},n=[];a.d(e,"a",function(){return i}),a.d(e,"b",function(){return n})},ce42:function(t,e,a){"use strict";a.r(e);var i=a("c6b2"),n=a("4407");for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);a("ab5e");var r=a("2877"),l=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"7ae69da5",null);e["default"]=l.exports},d448:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAAHwCF3KAAAABGdBTUEAALGPC/xhBQAAANtJREFUOBHtVDsOwjAMDTvXoUdiZWBB4lIcgp25B2DvxmjeM7HlBEeCAQkkLLV23nt2nE9byosmInPBa1E9AvHEfuCS2SUxaOSR0Bis53twcxnoNZ4jgRVfBOB2jNUIKGOAeRCPggbQE3wiUrCqOTtNO4iVPAb5nmjU7YSSWy9rAcpPbAC2MUw9gA8QbKI1nRpztWgdgTxTkJIEv0hwHTbZE2iaW8ubQsvvdUyCKCYwsT2sKGb8Gwn5mSdrOWE9ZuMvpU+sG8GvRy9RrfAvILJPfxLZBtomwh/wXO6bsa0ZxbdJWQAAAABJRU5ErkJggg=="},ef6f:function(t,e,a){"use strict";a.r(e);var i=a("4d4a"),n=a("291b");for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);a("c1c7");var r=a("2877"),l=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"0738b88a",null);e["default"]=l.exports}}]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!