Commit d8c25465 by 周志凯

merge confilct

2 parents 12fbdebc 0fc04692
Showing 82 changed files with 2618 additions and 19 deletions
const mallList = [];
export default {
getMallList(cb) {}
}
\ No newline at end of file
### Icon 图标
用于展示 icon,组件名:``uni-icon``,代码块: uIcon。
**使用方式:**
``script`` 中引用组件
```javascript
import uniIcon from "@/components/uni-icon/uni-icon.vue"
export default {
components: {uniIcon}
}
```
``template`` 中使用组件
```html
<uni-icon type="contact" size="30"></uni-icon>
```
实际效果参考:[https://github.com/dcloudio/uni-ui](https://github.com/dcloudio/uni-ui)
**Icon 属性说明:**
|属性名 |类型|默认值 |说明|
|---|----|---|---|
|type |String |-|图标图案,参考下表|
|color |String |-|图标颜色 |
|size |Number |24|图标大小|
|@click |EventHandle|-|点击 Icon 触发事件|
**type 类型:**
<div>
<link rel="stylesheet" type="text/css" href="https://img-cdn-qiniu.dcloud.net.cn/uniapp/doc/icon1.1.css"/>
<ul class="icon-group">
<li class="icon-item"><span class="uni-icon uni-icon-contact"></span><span>contact</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-person"></span><span>person</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-personadd"></span><span>personadd</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-contact-filled"></span><span>contact-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-person-filled"></span><span>person-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-personadd-filled"></span><span>personadd-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-phone"></span><span>phone</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-email"></span><span>email</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-chatbubble"></span><span>chatbubble</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-chatboxes"></span><span>chatboxes</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-phone-filled"></span><span>phone-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-email-filled"></span><span>email-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-chatbubble-filled"></span><span>chatbubble-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-chatboxes-filled"></span><span>chatboxes-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-weibo"></span><span>weibo</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-weixin"></span><span>weixin</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-pengyouquan"></span><span>pengyouquan</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-chat"></span><span>chat</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-qq"></span><span>qq</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-videocam"></span><span>videocam</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-camera"></span><span>camera</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-mic"></span><span>mic</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-location"></span><span>location</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-mic-filled"></span><span>mic-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-location-filled"></span><span>location-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-micoff"></span><span>micoff</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-image"></span><span>image</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-map"></span><span>map</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-compose"></span><span>compose</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-trash"></span><span>trash</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-upload"></span><span>upload</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-download"></span><span>download</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-close"></span><span>close</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-redo"></span><span>redo</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-undo"></span><span>undo</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-refresh"></span><span>refresh</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-star"></span><span>star</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-plus"></span><span>plus</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-minus"></span><span>minus</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-circle"></span><span>circle</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-clear"></span><span>clear</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-refresh-filled"></span><span>refresh-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-star-filled"></span><span>star-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-plus-filled"></span><span>plus-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-minus-filled"></span><span>minus-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-circle-filled"></span><span>circle-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-checkbox-filled"></span><span>checkbox-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-closeempty"></span><span>closeempty</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-refreshempty"></span><span>refreshempty</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-reload"></span><span>reload</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-starhalf"></span><span>starhalf</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-spinner"></span><span>spinner</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-spinner-cycle"></span><span>spinner-cycle</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-search"></span><span>search</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-plusempty"></span><span>plusempty</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-forward"></span><span>forward</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-back"></span><span>back</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-checkmarkempty"></span><span>checkmarkempty</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-home"></span><span>home</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-navigate"></span><span>navigate</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-gear"></span><span>gear</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-paperplane"></span><span>paperplane</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-info"></span><span>info</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-help"></span><span>help</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-locked"></span><span>locked</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-more"></span><span>more</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-flag"></span><span>flag</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-home-filled"></span><span>home-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-gear-filled"></span><span>gear-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-info-filled"></span><span>info-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-help-filled"></span><span>help-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-more-filled"></span><span>more-filled</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-settings"></span><span>settings</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-list"></span><span>list</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-bars"></span><span>bars</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-loop"></span><span>loop</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-paperclip"></span><span>paperclip</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-eye"></span><span>eye</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowup"></span><span>arrowup</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowdown"></span><span>arrowdown</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowleft"></span><span>arrowleft</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowright"></span><span>arrowright</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowthinup"></span><span>arrowthinup</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowthindown"></span><span>arrowthindown</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowthinleft"></span><span>arrowthinleft</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-arrowthinright"></span><span>arrowthinright</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-pulldown"></span><span>pulldown</span></li>
<li class="icon-item"><span class="uni-icon uni-icon-scan"></span><span>scan</span></li>
</ul>
</div>
### Pagination 分页器
分页器组件,用于展示页码、请求数据等。组件名:``uni-pagination``,代码块: uPagination。
**使用方式:**
``script`` 中引用组件
```javascript
import uniPagination from "@/components/uni-pagination/uni-pagination.vue"
export default {
components: {uniPagination}
}
```
用法
```html
<uni-pagination total="20"></uni-pagination>
<uni-pagination
show-icon="true"
total="50"
current="2">
</uni-pagination>
```
实际效果参考:[https://github.com/dcloudio/uni-ui](https://github.com/dcloudio/uni-ui)
**属性说明:**
|属性名|类型|默认值 |说明|
|---|----|---|---|
|prev-text|String|上一页|左侧按钮文字|
|next-text|String|下一页|右侧按钮文字|
|current|Number|1|当前页|
|total|Number|0|数据总量|
|pageSize|Number|10|每页数据量|
|show-icon|Boolean|false|是否以 icon 形式展示按钮|
**事件说明:**
|事件称名|说明|返回参数|
|---|----|---|
|change|点击页码按钮时触发|{type,current} current为当前页,type值为:next/prev,表示点击的是上一页还是下一个|
<template>
<view class="uni-pagination">
<view class="uni-pagination__btns">
<view @click="clickLeft" :class="setLeftBtnClass" :hover-class="setLeftBtnHoverClass" :hover-start-time="20"
:hover-stay-time="70">
<template v-if="showIcon===true || showIcon === 'true'">
<uni-icon color="#000" size="20" type="arrowleft"></uni-icon>
</template>
<template v-else>
{{prevText}}
</template>
</view>
<view @click="clickRight" :class="setRightBtnClass" :hover-class="setRightBtnHoverClass" :hover-start-time="20"
:hover-stay-time="70">
<template v-if="showIcon===true || showIcon === 'true'">
<uni-icon color="#000" size="20" type="arrowright"></uni-icon>
</template>
<template v-else>
{{nextText}}
</template>
</view>
</view>
<view class="uni-pagination__num">
<text class="uni-pagination__num-current">{{currentIndex}}</text>/{{maxPage}}
</view>
</view>
</template>
<script>
import uniIcon from '../uni-icon/uni-icon.vue'
export default {
name: "uni-pagination",
components: {
uniIcon
},
props: {
prevText: {
type: String,
default: '上一页'
},
nextText: {
type: String,
default: '下一页'
},
current: {
type: [Number, String],
default: 1
},
total: { //数据总量
type: [Number, String],
default: 0
},
pageSize: { //每页数据量
type: [Number, String],
default: 10
},
showIcon: { //是否以 icon 形式展示按钮
type: [Boolean, String],
default: false
}
},
watch: {
current(val) {
this.currentIndex = Number(val)
}
},
data() {
return {
currentIndex: Number(this.current)
}
},
computed: {
maxPage() {
let maxPage = 1
let total = Number(this.total)
let pageSize = Number(this.pageSize)
if (total && pageSize) {
maxPage = Math.ceil(total / pageSize)
}
return maxPage
},
setLeftBtnClass() {
let classList = ['uni-pagination__btn']
if (Number(this.currentIndex) === 1) {
classList.push('uni-pagination--disabled')
}
return classList
},
setLeftBtnHoverClass() {
let hoverClass = 'uni-pagination--hover'
if (Number(this.currentIndex) === 1) {
hoverClass = ''
}
return hoverClass
},
setRightBtnClass() {
let classList = ['uni-pagination__btn']
if (Number(this.currentIndex) === this.maxPage) {
classList.push('uni-pagination--disabled')
}
return classList
},
setRightBtnHoverClass() {
let hoverClass = 'uni-pagination--hover'
if (Number(this.currentIndex) === this.maxPage) {
hoverClass = ''
}
return hoverClass
}
},
methods: {
clickLeft() {
if (Number(this.currentIndex) === 1) {
return
}
this.currentIndex -= 1
this.change('prev')
},
clickRight() {
if (Number(this.currentIndex) === this.maxPage) {
return
}
this.currentIndex += 1
this.change('next')
},
change(e) {
this.$emit('change', {
type: e,
current: this.currentIndex
})
}
}
}
</script>
<style lang="scss">
@mixin pagination-disabled {
opacity: 0.3;
}
@mixin pagination-hover {
color: rgba(0, 0, 0, .6);
background-color: $uni-bg-color-hover;
}
.uni-pagination {
width: 100%;
box-sizing: border-box;
padding: 0 40upx;
position: relative;
overflow: hidden;
display: flex;
flex-direction: row;
&__btns {
flex: 1;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
}
&__btn {
width: 120upx;
height: 60upx;
padding: 0 16upx;
line-height: 60upx;
font-size: $uni-font-size-base;
box-sizing: border-box;
position: relative;
background-color: #f8f8f8;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
&:after {
content: "";
width: 200%;
height: 200%;
position: absolute;
top: 0;
left: 0;
border: 1px solid $uni-border-color;
transform: scale(.5);
transform-origin: 0 0;
box-sizing: border-box;
border-radius: $uni-border-radius-lg;
}
}
&__num {
width: 100upx;
height: 60upx;
line-height: 60upx;
font-size: $uni-font-size-base;
color: $uni-text-color;
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
&-current {
color: $uni-color-primary;
}
}
&--disabled {
@include pagination-disabled;
}
&--hover {
@include pagination-hover;
}
}
</style>
\ No newline at end of file
......@@ -7,12 +7,6 @@
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/vue-easytable/umd/css/index.css">
<!-- 引入Vue -->
<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() {
......
import Vue from 'vue'
import store from './store'
import App from './App'
import echarts from 'echarts/'
import MiniRefreshTools from 'module/minirefresh';
......@@ -24,6 +25,7 @@ Vue.use(MobileMessage)
Vue.config.productionTip = false
Vue.prototype.echarts=echarts;
App.mpType = 'app'
Vue.prototype.$store = store
console.log(window.url)
window.getNavHeight=function(val){
uni.setStorage({
......@@ -39,8 +41,8 @@ if(window.pageType=="store"){
}
// var src='./i18n/langs/mallCN'
var src='./i18n/langs/storeCN'
console.log(window.pageType)
const i18n=new VueI18n({
const i18n = new VueI18n({
locale:locale,
messages:{
// 'en':{...require(src)},
......@@ -51,6 +53,7 @@ const i18n=new VueI18n({
Vue.prototype._i18n=i18n;
const app = new Vue({
i18n,
store,
...App
})
app.$mount()
This diff could not be displayed because it is too large.
......@@ -165,10 +165,45 @@
"navigationBarTitleText": "抓拍记录"
}
},{
"path": "pages/passenger/condition",
"style": {
"navigationBarTitleText": ""
}
},{
"path": "pages/passenger/groupTimeReport/groupTime",
"style": {
"navigationBarTitleText": "客群分时统计"
}
}, {
"path":"pages/passenger/groupTimeCondition",
"style": {
"navigationBarTitleText": ""
}
}, {
"path": "pages/conditionList/mallList",
"style": {
"navigationBarTitleText": "门店列表"
}
}, {
"path": "pages/conditionList/multiMallList",
"style": {
"navigationBarTitleText": "多选门店列表"
}
}, {
"path": "pages/conditionList/gateList",
"style": {
"navigationBarTitleText": "出入口列表"
}
}, {
"path": "pages/conditionList/multiGateList",
"style": {
"navigationBarTitleText": "多选出入口列表"
}
}, {
"path": "pages/conditionList/typeList",
"style": {
"navigationBarTitleText": "类型列表"
}
}],
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
......
<template>
<view class="">
<headerComp
:leftImgSrc="leftSrc"
@leftClick="backClick"
:title="titleStr"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox>
<view class="list">
<view class="list-item" @tap="itemFun(index)" v-for="(item, index) in cacheList" :key="item.id">
<text>{{ item.name }}</text>
</view>
<view class="empty-list-item" v-if="!cacheList.length">
<text>暂无数据</text>
</view>
</view>
</view>
</template>
<script>
import { mapState, mapActions } from 'vuex'
import headerComp from '../../components/header'
import searchBox from '../../components/search'
export default {
components: {
headerComp, searchBox
},
data() {
return {
backUrl: '',
analysisLevel: '',
titleStr: this.$t('index').storeSelect,
leftSrc:'../../static/header/backArrow.png',
isQuerying: false,
cacheCheckedGateId: [],
cacheList: []
}
},
onLoad(options) {
// console.log('multimalllist load options', options)
this.backUrl = options.backUrl;
this.analysisLevel = options.analysisLevel;
let lists = JSON.parse(JSON.stringify(this.gateList));
if(lists.length) {
this.cacheList = lists.map(item => {
// item._selected = item.id = this.checkedMallId['id'];
return item;
})
}
this.cacheCheckedGateId = JSON.parse(JSON.stringify(this.checkedGateId));
},
computed: {
...mapState({
gateList: state => state.malls.gateList,
checkedGateId: state => state.malls.checkedGateId
}),
},
watch: {
},
created() {
},
mounted() {
},
methods: {
backClick() {
uni.navigateBack({
delta:1
})
},
searchFun(queryStr) {
let that = this;
this.isQuerying = queryStr.length > 0 ? true : false;
this.query(queryStr, function(res) {
console.log('query res', res)
that.cacheList = res;
// .length
// ? res.map(item => {
// let isChecked = that.multiCheckedMallId.some(checkedItem => {
// return item.id === checkedItem.id;
// })
// item._selected = isChecked;
// return item;
// })
// : res;
})
},
query(queryString, cb) {
queryString = queryString.toLocaleLowerCase();
let result = queryString
? this.mallList.length > 0
? this.mallList.filter(item => {
if(!!~item['name'].toLocaleLowerCase().indexOf(queryString)) {
return true;
}
})
: []
: this.mallList;
cb(result);
},
itemFun(index) {
this.cacheCheckedGateId = {
id: this.cacheList[index].id,
name: this.cacheList[index].name
}
this.$store.dispatch('malls/updateCheckedGate', this.cacheCheckedGateId)
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
})
},
}
}
</script>
<style>
.hide-item {
display: none;
}
.list-item {
border-bottom: 1px solid #979797;
height: 72.46upx;
line-height: 72.46upx;
font-size: 25.37upx;
background: #FFFFFF;
position: relative;
}
.list-item > image{
width: 28.99upx;
height: 28.99upx;
position: absolute;
top:23.55upx;
left: 25.36upx;
}
.list-item text{
margin-left: 77.89upx;
}
.empty-list-item {
font-size: 25.37upx;
text-align: center;
padding-top: 54.34upx;
}
.empty-list-item text {
margin-left: 0;
color: #c9c9c9;
}
</style>
\ No newline at end of file
<template>
<view class="">
<headerComp
:leftImgSrc="leftSrc"
@leftClick="backClick"
:title="titleStr"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox>
<view class="list">
<view class="list-item" @tap="itemFun(index)" v-for="(item, index) in cacheList" :key="item.id">
<text>{{ item.name }}</text>
</view>
<view class="empty-list-item" v-if="!cacheList.length">
<text>暂无数据</text>
</view>
</view>
</view>
</template>
<script>
import { mapState, mapActions } from 'vuex'
import headerComp from '../../components/header'
import searchBox from '../../components/search'
export default {
components: {
headerComp, searchBox
},
data() {
return {
backUrl: '',
analysisLevel: '',
titleStr: this.$t('index').storeSelect,
leftSrc:'../../static/header/backArrow.png',
isQuerying: false,
cacheCheckedMallId: [],
cacheList: []
}
},
onLoad(options) {
// console.log('multimalllist load options', options)
this.backUrl = options.backUrl;
this.analysisLevel = options.analysisLevel;
let lists = JSON.parse(JSON.stringify(this.mallList));
if(lists.length) {
this.cacheList = lists.map(item => {
// item._selected = item.id = this.checkedMallId['id'];
return item;
})
}
this.cacheCheckedMallId = JSON.parse(JSON.stringify(this.checkedMallId));
},
computed: {
...mapState({
mallList: state => state.malls.list,
checkedMallId: state => state.malls.checkedMallId
}),
},
watch: {
},
created() {
},
mounted() {
},
methods: {
backClick() {
uni.navigateBack({
delta:1
})
// uni.navigateTo({
// url: '../passenger/groupTimeReport/groupTime'
// })
},
searchFun(queryStr) {
let that = this;
this.isQuerying = queryStr.length > 0 ? true : false;
this.query(queryStr, function(res) {
// console.log('query res', res)
that.cacheList = res;
// .length
// ? res.map(item => {
// let isChecked = that.multiCheckedMallId.some(checkedItem => {
// return item.id === checkedItem.id;
// })
// item._selected = isChecked;
// return item;
// })
// : res;
})
},
query(queryString, cb) {
queryString = queryString.toLocaleLowerCase();
let result = queryString
? this.mallList.length > 0
? this.mallList.filter(item => {
if(!!~item['name'].toLocaleLowerCase().indexOf(queryString)) {
return true;
}
})
: []
: this.mallList;
cb(result);
},
itemFun(index) {
this.cacheCheckedMallId = {
id: this.cacheList[index].id,
name: this.cacheList[index].name
}
console.log(this.cacheCheckedMallId)
this.$store.dispatch('malls/updateCheckedMall', this.cacheCheckedMallId)
this.$store.dispatch('malls/getGateList', {
data: {
mallId: this.cacheCheckedMallId.id,
status: 1,
isHasFace: 1,
_t:Date.parse(new Date()) / 1000
},
header: {
'Authorization': this.getStorage('atoken') //自定义请求头信息
},
isMultiple: true
})
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
})
},
getStorage(key) {
let storageVal = '';
uni.getStorage({
key: key,
success: (res) => {
storageVal = res.data;
}
})
return storageVal
},
}
}
</script>
<style>
.hide-item {
display: none;
}
.list-item {
border-bottom: 1px solid #979797;
height: 72.46upx;
line-height: 72.46upx;
font-size: 25.37upx;
background: #FFFFFF;
position: relative;
}
.list-item > image{
width: 28.99upx;
height: 28.99upx;
position: absolute;
top:23.55upx;
left: 25.36upx;
}
.list-item text{
margin-left: 77.89upx;
}
.empty-list-item {
font-size: 25.37upx;
text-align: center;
padding-top: 54.34upx;
}
.empty-list-item text {
margin-left: 0;
color: #c9c9c9;
}
</style>
\ No newline at end of file
<template>
<view class="">
<headerComp
:leftImgSrc="leftSrc"
@leftClick="backClick"
:title="titleStr"
rightText="完成"
@rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox>
<view class="list">
<view :class="{ 'list-item': !isQuerying, 'hide-item': isQuerying }" @tap="allClickHandle" v-if="cacheList.length">
<image :src="selectSrc" mode="" v-show="isAll"></image>
<image :src="unSelectSrc" mode="" v-show="!isAll"></image>
<text>全部</text>
</view>
<view class="list-item" @tap="itemFun(index)" v-for="(item, index) in cacheList" :key="item.id">
<image :src="selectSrc" mode="" v-show="item._selected"></image>
<image :src="unSelectSrc" mode="" v-show="!item._selected"></image>
<text>{{ item.name }}</text>
</view>
<view class="empty-list-item" v-if="!cacheList.length">
<text>暂无数据</text>
</view>
</view>
</view>
</template>
<script>
import { mapState, mapActions } from 'vuex'
import headerComp from '../../components/header'
import searchBox from '../../components/search'
export default {
components: {
headerComp, searchBox
},
data() {
return {
backUrl: '',
analysisLevel: '',
titleStr: '出入口选择',
leftSrc:'../../static/header/backArrow.png',
selectSrc:'../../static/list/select.png',
unSelectSrc:'../../static/list/unselect.png',
isAll: false,
isQuerying: false,
checkedCount: 0,
checkedGateIds: [],
cacheList: []
}
},
onLoad(options) {
// console.log('multiGatelist load options', options)
this.backUrl = options.backUrl;
this.analysisLevel = options.analysisLevel;
let lists = JSON.parse(JSON.stringify(this.gateList));
if(lists.length) {
let count = 0;
this.cacheList = lists.map(item => {
let isChecked = this.multiCheckedGateId.some(checkedItem => {
return item.id === checkedItem.id;
})
if(isChecked) count++;
item._selected = isChecked;
this.isAll = count == lists.length;
return item;
})
}
this.checkedGateIds = JSON.parse(JSON.stringify(this.multiCheckedGateId));
// console.log('onload:', this.multiCheckedMallId, this.checkedMallIds, this.mallList, this.cacheList)
},
computed: {
...mapState({
gateList: state => state.malls.gateList,
multiCheckedGateId: state => state.malls.multiCheckedGateId
}),
},
watch: {
},
created() {
},
mounted() {
},
methods: {
backClick() {
uni.navigateBack({
delta:1
})
// uni.navigateTo({
// url: '../passenger/groupTimeReport/groupTime'
// })
},
confirmFun() {
if(this.checkedMallIds.length == 0){
uni.showToast({
icon:'none',
title:'请至少选择一项'
});
return;
}
this.$store.dispatch('malls/updateMultiCheckedGate', this.checkedGateIds)
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
})
},
searchFun(queryStr) {
let that = this;
if(queryStr === '全部') return;
this.isQuerying = queryStr.length > 0 ? true : false;
this.query(queryStr, function(res) {
console.log('query res', res)
that.cacheList = res.length
? res.map(item => {
let isChecked = that.multiCheckedGateId.some(checkedItem => {
return item.id === checkedItem.id;
})
item._selected = isChecked;
return item;
})
: res;
})
},
query(queryString, cb) {
queryString = queryString.toLocaleLowerCase();
let result = queryString
? this.GateList.length > 0
? this.GateList.filter(item => {
if(!!~item['name'].toLocaleLowerCase().indexOf(queryString)) {
return true;
}
})
: []
: this.GateList;
cb(result);
},
allClickHandle() {
this.isAll = !this.isAll;
this.cacheList.forEach(item => item._selected = this.isAll)
},
itemFun(index) {
this.cacheList[index]._selected = !this.cacheList[index]._selected;
let hasUnselected = this.cacheList.some(item => !item._selected);
this.isAll = !hasUnselected;
let idx = null;
this.checkedGateIds.forEach((item, checkedIdx) => {
if(item.id == this.cacheList[index].id) {
idx = checkedIdx
}
});
if(this.cacheList[index]._selected) {
if(typeof idx !== 'number') {
this.checkedGateIds.push({
id: this.cacheList[index].id,
name: this.cacheList[index].name
})
}
} else {
if(typeof idx === 'number' && idx >= 0) {
this.checkedGateIds.splice(idx, 1);
}
}
this.$forceUpdate();
},
}
}
</script>
<style>
.hide-item {
display: none;
}
.list-item {
border-bottom: 1px solid #979797;
height: 72.46upx;
line-height: 72.46upx;
font-size: 25.37upx;
background: #FFFFFF;
position: relative;
}
.list-item > image{
width: 28.99upx;
height: 28.99upx;
position: absolute;
top:23.55upx;
left: 25.36upx;
}
.list-item text{
margin-left: 77.89upx;
}
.empty-list-item {
font-size: 25.37upx;
text-align: center;
padding-top: 54.34upx;
}
.empty-list-item text {
margin-left: 0;
color: #c9c9c9;
}
</style>
<template>
<view class="">
<headerComp
:leftImgSrc="leftSrc"
@leftClick="backClick"
:title="titleStr"
rightText="完成"
@rightClick="confirmFun"></headerComp>
<searchBox @handleEvent="searchFun"></searchBox>
<view class="list">
<view :class="{ 'list-item': !isQuerying, 'hide-item': isQuerying }" @tap="allClickHandle" v-if="cacheList.length">
<image :src="selectSrc" mode="" v-show="isAll"></image>
<image :src="unSelectSrc" mode="" v-show="!isAll"></image>
<text>全部</text>
</view>
<view class="list-item" @tap="itemFun(index)" v-for="(item, index) in cacheList" :key="item.id">
<image :src="selectSrc" mode="" v-show="item._selected"></image>
<image :src="unSelectSrc" mode="" v-show="!item._selected"></image>
<text>{{ item.name }}</text>
</view>
<view class="empty-list-item" v-if="!cacheList.length">
<text>暂无数据</text>
</view>
</view>
</view>
</template>
<script>
import { mapState, mapActions } from 'vuex'
import headerComp from '../../components/header'
import searchBox from '../../components/search'
export default {
components: {
headerComp, searchBox
},
data() {
return {
backUrl: '',
analysisLevel: '',
titleStr: this.$t('index').storeSelect,
leftSrc:'../../static/header/backArrow.png',
selectSrc:'../../static/list/select.png',
unSelectSrc:'../../static/list/unselect.png',
isAll: false,
isQuerying: false,
checkedCount: 0,
checkedMallIds: [],
cacheList: []
}
},
onLoad(options) {
// console.log('multimalllist load options', options)
this.backUrl = options.backUrl;
this.analysisLevel = options.analysisLevel;
let lists = JSON.parse(JSON.stringify(this.mallList));
if(lists.length) {
let count = 0;
this.cacheList = lists.map(item => {
let isChecked = this.multiCheckedMallId.some(checkedItem => {
return item.id === checkedItem.id;
})
if(isChecked) count++;
item._selected = isChecked;
this.isAll = count == lists.length;
return item;
})
}
this.checkedMallIds = JSON.parse(JSON.stringify(this.multiCheckedMallId));
// console.log('onload:', this.multiCheckedMallId, this.checkedMallIds, this.mallList, this.cacheList)
},
computed: {
...mapState({
mallList: state => state.malls.list,
checkedMallId: state => state.malls.checkedMallId,
multiCheckedMallId: state => state.malls.multiCheckedMallId
}),
},
watch: {
},
created() {
},
mounted() {
},
methods: {
backClick() {
uni.navigateBack({
delta:1
})
// uni.navigateTo({
// url: '../passenger/groupTimeReport/groupTime'
// })
},
confirmFun() {
if(this.checkedMallIds.length == 0){
uni.showToast({
icon:'none',
title:'请至少选择一项'
});
return;
}
this.$store.dispatch('malls/updateMultiCheckedMall', this.checkedMallIds)
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
})
},
searchFun(queryStr) {
let that = this;
if(queryStr === '全部') return;
this.isQuerying = queryStr.length > 0 ? true : false;
this.query(queryStr, function(res) {
console.log('query res', res)
that.cacheList = res.length
? res.map(item => {
let isChecked = that.multiCheckedMallId.some(checkedItem => {
return item.id === checkedItem.id;
})
item._selected = isChecked;
return item;
})
: res;
})
},
query(queryString, cb) {
queryString = queryString.toLocaleLowerCase();
let result = queryString
? this.mallList.length > 0
? this.mallList.filter(item => {
if(!!~item['name'].toLocaleLowerCase().indexOf(queryString)) {
return true;
}
})
: []
: this.mallList;
cb(result);
},
allClickHandle() {
this.isAll = !this.isAll;
this.cacheList.forEach(item => item._selected = this.isAll)
},
itemFun(index) {
this.cacheList[index]._selected = !this.cacheList[index]._selected;
let hasUnselected = this.cacheList.some(item => !item._selected);
this.isAll = !hasUnselected;
let idx = null;
this.checkedMallIds.forEach((item, checkedIdx) => {
if(item.id == this.cacheList[index].id) {
idx = checkedIdx
}
});
if(this.cacheList[index]._selected) {
if(typeof idx !== 'number') {
this.checkedMallIds.push({
id: this.cacheList[index].id,
name: this.cacheList[index].name
})
}
} else {
if(typeof idx === 'number' && idx >= 0) {
this.checkedMallIds.splice(idx, 1);
}
}
this.$forceUpdate();
},
}
}
</script>
<style>
.hide-item {
display: none;
}
.list-item {
border-bottom: 1px solid #979797;
height: 72.46upx;
line-height: 72.46upx;
font-size: 25.37upx;
background: #FFFFFF;
position: relative;
}
.list-item > image{
width: 28.99upx;
height: 28.99upx;
position: absolute;
top:23.55upx;
left: 25.36upx;
}
.list-item text{
margin-left: 77.89upx;
}
.empty-list-item {
font-size: 25.37upx;
text-align: center;
padding-top: 54.34upx;
}
.empty-list-item text {
margin-left: 0;
color: #c9c9c9;
}
</style>
<template>
<view class="">
<headerComp
:leftImgSrc="leftSrc"
@leftClick="backClick"
:title="titleStr">
</headerComp>
<view class="list">
<view class="list-item" v-for="item in typeList" :key="item.id" @tap="itemFun(item)">
<text>{{ item.name }}</text>
</view>
</view>
</view>
</template>
<script>
import headerComp from '../../components/header'
export default {
components: {
headerComp
},
data() {
return {
backUrl: '',
analysisLevel: '',
titleStr: '类型选择',
leftSrc:'../../static/header/backArrow.png',
personType: {},
typeList: [{
id: 1,
name: '全部类型',
value: ''
}, {
id: 2,
name: '店员',
value: 1
}, {
id: 3,
name: '顾客',
value: 0
}]
}
},
onLoad(options) {
// console.log('multimalllist load options', options)
this.backUrl = options.backUrl;
this.analysisLevel = options.analysisLevel;
uni.getStorage({
key: 'personType',
success: (res) => {
this.personType = res.data;
}
})
if(!this.personType) {
this.personType = {
id: 1,
name: '全部类型',
value: ''
}
};
},
methods: {
backClick() {
uni.navigateBack({
delta:1
})
},
itemFun(item) {
this.personType = item
uni.setStorage({
key: 'personType',
data: JSON.stringify(this.personType)
})
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
})
},
},
}
</script>
<style>
.list-item {
border-bottom: 1px solid #979797;
height: 72.46upx;
line-height: 72.46upx;
font-size: 25.37upx;
background: #FFFFFF;
position: relative;
}
.list-item text{
margin-left: 77.89upx;
}
</style>
......@@ -138,7 +138,7 @@
currentDay.push(yearIndex);
currentDay.push(monthIndex);
currentDay.push(dayIndex);
console.log('login set current day:', currentDay)
uni.setStorage({
key:'yearData',
data:JSON.stringify(yearData)
......
<template>
<view>抓拍记录</view>
<view>
<headerComp
:leftImgSrc="leftImg"
:title="titleStr"
:rightImgSrc="rightImg"
@leftClick="backFun"
@rightClick="conditionFun"></headerComp>
<view class="prefix-elem"></view>
<view class="capture-main">
<view class="capture-item" v-for="item in captureList" :key="item.pic">
<view class="capture-image">
<span class="capture-date">{{ item.counttime }}</span>
<image class="capture-img" ref="imageRef" :src="item.pic" @error="imageError" :lazy-load="true" mode="widthFix"></image>
</view>
<view class="capture-info">
<span class="capture-text__left">年龄: {{ item.age }}</span>
<span class="capture-text__right">性别: {{ item.genderText }}</span>
</view>
<view class="capture-info">
<span class="capture-text__left">类型: {{ item.personType }}</span>
<span class="capture-text__right">表情: {{ item.mood }}</span>
</view>
</view>
</view>
<uniPagination
class="pagination-wrapper"
v-show="captureList.length > 0"
:current="pagination.current"
:total="pagination.total"
:pageSize="pagination.pageSize"
@change="paginationChangeHandle">
</uniPagination>
</view>
</template>
<script>
import headerComp from '../../../components/header.vue'
import leftImg from '../../../static/header/backArrow.png'
import rightImg from '../../../static/header/other.png'
import defaultImg from '../img/default.png'
import defaultMaleImg from '../img/male.png'
import defaultFemaleImg from '../img/female.png'
import { mapState } from 'vuex'
import uniPagination from '@/components/uni-pagination/uni-pagination.vue'
export default {
components: {
headerComp,
uniPagination
},
data() {
return {
titleStr: '抓拍记录',
leftImg: leftImg,
rightImg: rightImg,
curCustomDate: [], // 当前自定义事件
captureList: [],
pagination: {
total: 0,
current: 1,
pageSize: 50
},
canLoadGateId: false,
personType: {}
}
},
onLoad(options) {
if(options.type) {
this.canLoadGateId = true;
}
this.personType = this.getStorage('personType');
this.getCaptureList();
},
created() {
},
computed: {
...mapState({
checkedMallId: state => state.malls.checkedMallId,
checkedGateId: state => state.malls.checkedGateId,
selectedStartTime: state => state.malls.startDayTime,
selectedEndTime: state => state.malls.endDayTime
})
},
methods: {
backFun() {
uni.reLaunch({
url:"../passenger",
})
},
getStorage(key) {
let storageVal = '';
uni.getStorage({
key: key,
success: (res) => {
console.log('storage', res)
storageVal = res.data;
}
})
return storageVal
},
getCaptureList() {
console.log('getCaptureList:', this.selectedTime, this.checkedMallId, this.checkedGateId)
let atoken = this.getStorage('atoken');
this.captureList = [];
uni.showLoading({
title: '加载中'
})
uni.request({
url: window.url + '/faceRecognitions',
data: {
counttime_gte: `${this.selectedStartTime} 00:00:00`,
counttime_lte: `${this.selectedEndTime} 23:59:59`,
accountId: this.getStorage('accountId'),
mallId: this.checkedMallId.id,
gateId: this.canLoadGateId ? (this.checkedGateId.id || '') : '',
personType: this.personType.value || '',
age_gt: 0,
direction: 1,
page: this.pagination.current,
pageSize: this.pagination.pageSize,
sortName: 'counttime',
sortOrder: 'DESC'
},
header: {
'Authorization': atoken
},
method: 'GET',
success: (res) => {
uni.hideLoading()
let result = res.data;
console.log(result);
this.pagination.total = result.data.total;
this.captureList = result.data.list.map((item, index) => {
// let dateStr = item.counttime.match(/^\d{4}\-\d{2}\-\d{2}/)[0].replace('-', '');
item.pic = 'https://vion-retail.oss-cn-beijing.aliyuncs.com/picture/' + (item.facePath && item.facePic
? item.facePath + item.facePic
: item.bodyPath + item.bodyPic);
item.orderIdx = ++index;
item.faceImagePath = item.pic || this.dealDefaultImg(item.gender);
item.age = item.age && item.age >= 0 ? item.age : 'unknown';
item.genderText = typeof(item.gender) === 'number' ? this.dealGender(item.gender) : 'unknown';
item.mood = typeof(item.mood) === 'number' ? item.mood : 'unknown';
item.counttime = item.counttime || 'unknown';
item.personType = item.personType == 0 ? '顾客' : '店员'
return item;
})
}
})
// setTimeout(() => {
// uni.hideLoading()
// }, 1000)
},
dealGender(genderCode) {
return genderCode == 1 ? '男' : (genderCode == 0 ? '女' : 'unknown');
},
dealDefaultImg(genderCode) {
let imagePath = '';
imagePath = genderCode == 1
? defaultMaleImg : genderCode == 0
? defaultFemaleImg : defaultImg;
return imagePath;
},
imageError(e) {
console.log(e)
console.error('image发生error事件,携带值为' + e.detail.errMsg)
// this.$refs.imageRef.src = defaultImg;
},
paginationChangeHandle(backVal) {
console.log('paginationChangeHandle', backVal)
console.log(this.pagination)
let { current } = backVal;
this.pagination.current = current;
this.getCaptureList()
},
conditionFun() {
// console.log(this.mallList)
console.log('condition function:', uni)
uni.navigateTo({
url: '../condition'
})
}
},
}
</script>
<style>
.prefix-elem {
height: 18.11upx;
}
.capture-info:after,
.capture-info:before,
.capture-main:after,
.capture-main:before {
content: '';
display: table;
}
.capture-info:after,
.capture-main:after {
clear: both;
}
.capture-main {
/* padding: 0 18.11upx; */
box-sizing: border-box;
}
.capture-item {
float: left;
width: 48%;
background-color: rgba(255, 255, 255, 1);
box-shadow: 0 0 7.24upx 0 rgba(200, 200, 200, .64);
border-radius: 3.62upx;
margin: 0 5.43upx 10.86upx;
box-sizing: border-box;
}
.capture-image {
position: relative;
}
.capture-date {
position: absolute;
top: 7.24upx;
left: 50%;
margin-left: -123.18upx;
font-size: 21.73upx;
color: #fff;
z-index: 1;
}
.capture-img {
max-width: 100%;
max-height: 100%;
width: 100%;
}
.capture-info {
font-size: 21.73upx;
color: #555;
text-align: left;
padding-left: 7.24upx;
padding-right: 7.24upx;
margin-top: 18.11upx;
margin-bottom: 18.11upx;
box-sizing: border-box;
}
.capture-text__left {
float: left;
width: 50%;
}
.capture-text__right {
float: right;
width: 50%;
}
.pagination-wrapper {
}
</style>
<template>
<view class="condition-wrapper">
<headerComp :leftImgSrc="leftImg" @leftClick="backFun" :rightText="rightText" @rightClick="save"></headerComp>
<view class="head-flex" :style="{ top: navheight + 'px'}">
<!-- <view class="head-item" :class="{ 'active-item': activeType == 'mall' }" @tap="itemClick('mall')">{{ i18n.store }}</view> -->
</view>
<view class="handle-content">
<view class="condition-item" @tap="goStoreList">
<span class="ctitle">{{ i18n.store }}</span>
<span class="select-item">{{ selectedMall.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="goGateList">
<span class="ctitle">监控点</span>
<span class="select-item">{{ selectedGate.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="goTypeList">
<span class="ctitle">类型</span>
<span class="select-item">{{ personType.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="startDateHandle">
<span class="ctitle">开始日期</span>
<span class="select-item">{{ dateStartText }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="endDateHandle">
<span class="ctitle">结束日期</span>
<span class="select-item">{{ dateEndText }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
</view>
<awesome-picker
ref="pickerStart"
:data="dateData"
:textConfirm="picker.textConfirm"
:colorConfirm="picker.colorConfirm"
:textCancel="picker.textCancel"
:colorCancel="picker.colorCancel"
:anchor="currentStartDate"
@confirm="dateConfirm">
</awesome-picker>
<awesome-picker
ref="pickerEnd"
:data="dateData"
:textConfirm="picker.textConfirm"
:colorConfirm="picker.colorConfirm"
:textCancel="picker.textCancel"
:colorCancel="picker.colorCancel"
:anchor="currentEndDate"
@confirm="endDateConfirm">
</awesome-picker>
</view>
</template>
<script>
import headerComp from '../../components/header.vue'
import leftImg from '../../static/header/backArrow.png'
import { mapState, mapActions } from 'vuex'
export default {
components: {
headerComp
},
onLoad(option) {
uni.getStorage({
key: 'personType',
success: (res) => {
this.personType = JSON.parse(res.data);
}
})
console.log('this.personType', this.personType)
uni.getStorage({
key: 'statusBarH',
success: (res) => {
if(res.data) {
this.navheight = res.data;
}
}
})
},
data() {
return {
leftImg: leftImg,
rightText: '保存',
navheight: 0,
activeType: 'mall',
// mallText: '',
// gateText: '',
typeText: '',
personType: {},
// dateText: '',
// dateData: [],
picker: {
textTitle:'选择',
textConfirm:'确定',
textCancel:'取消',
colorConfirm:'#ffffff',
colorCancel:'#ffffff',
},
cacheTimeStr: '',
startCacheTimeStr: '',
endCacheTimeStr: '',
cachePickerIdx: [],
startPickerIdx: [],
endPickerIdx: []
}
},
computed: {
i18n() {
return this.$t("index")
},
...mapState({
selectedMall: state => state.malls.checkedMallId,
selectedGate: state => state.malls.checkedGateId,
// dateData: state => state.malls.customTimeData,
// dateStartText: state => state.malls.selectedCustomStartDate,
// dateEndText: state => state.malls.selectedCustomEndDate,
// currentStartDate: state => state.malls.pickerCustomStartDate,
// currentEndDate: state => state.malls.pickerCustomEndDate,
//
dateData: state => state.malls.dayDateData,
dateStartText: state => state.malls.startDayTime,
dateEndText: state => state.malls.endDayTime,
currentStartDate: state => state.malls.pickerStartDayDate,
currentEndDate: state => state.malls.pickerEndDayDate
})
},
methods: {
backFun() {
uni.navigateTo({
url: `./captureReport/capture?type=${this.activeType}`
})
},
save() {
uni.navigateTo({
url: `./captureReport/capture?type=${this.activeType}`
})
},
itemClick() {
},
goStoreList() {
uni.navigateTo({
url:"../conditionList/mallList?backUrl=../passenger/condition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
goGateList() {
uni.navigateTo({
url:"../conditionList/gateList?backUrl=../passenger/condition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
goTypeList() {
uni.navigateTo({
url:"../conditionList/typeList?backUrl=../passenger/condition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
startDateHandle() {
this.$refs.pickerStart.show();
},
endDateHandle() {
console.log('endDateHandle', this.currentEndDate)
this.$refs.pickerEnd.show();
},
dateConfirm(item) {
this.startCacheTimeStr = this.formatterTimeToStr(item);
console.log(this.startCacheTimeStr, item, !this.endCacheTimeStr, !this.endPickerIdx.length, this.comparsionSize(this.startPickerIdx, this.endPickerIdx))
// if(!this.endCacheTimeStr && !this.endPickerIdx.length) {
// return;
// } else {
// console.log(111)
this.startPickerIdx = item;
if(this.endPickerIdx.length && this.comparsionSize(this.startPickerIdx, this.endPickerIdx)) {
this.$store.dispatch('malls/updateStartEndDate', {
startDate: this.startCacheTimeStr,
startPickerIdx: this.startPickerIdx
})
} else {
this.$store.dispatch('malls/updateStartEndDate', {
startDate: this.startCacheTimeStr,
startPickerIdx: this.startPickerIdx
})
// this.$store.dispatch('malls/updateStartEndDate', {
// endDate: '',
// endPickerIdx: []
// })
}
// }
},
endDateConfirm(item) {
this.endCacheTimeStr = this.formatterTimeToStr(item);
// if(!this.startCacheTimeStr
// && !this.startPickerIdx.length
// && !this.comparsionSize(this.endPickerIdx, this.startPickerIdx)) {
// return;
// } else {
this.endPickerIdx = item;
if(this.startPickerIdx.length && this.comparsionSize(this.endPickerIdx, this.startPickerIdx)) {
this.$store.dispatch('malls/updateStartEndDate', {
endDate: this.endCacheTimeStr,
endPickerIdx: this.endPickerIdx
})
} else {
this.$store.dispatch('malls/updateStartEndDate', {
endDate: this.endCacheTimeStr,
endPickerIdx: this.endPickerIdx
})
this.$store.dispatch('malls/updateStartEndDate', {
// startDate: '',
// startPickerIdx: [],
endDate: '',
endPickerIdx: []
})
}
// }
},
comparsionSize(item1, item2) {
if(item1.length && item2.length) {
console.log('comparsionSize', item1, item2)
return item1.some((val1, idx1) => val1.value > item2[idx1].value);
} else {
return false;
}
},
// formatterTimeToStr(item) {
// return item.map(item => item.value)
// .join(',')
// .replace(/[\u4E00-\u9FA5]/g, '-')
// .replace(/\-/g, '')
// .replace(/(\d{4}),(\d{2}),(\d{2}),(\d{2}),(\d{2}),(\d{2})/, '$1-$2-$3 $4:$5:$6');
// },
formatterTimeToStr(item) {
return item.map(item => item.value)
.join(',')
.replace(/[\u4E00-\u9FA5]/g, '-')
.replace(/\-/g, '')
.replace(/,/g, '-');
console.log('formatterTimeToStr', this.cacheTimeStr)
}
},
}
</script>
<style>
.head-flex {
width: 543.47upx;
display: flex;
flex-direction: row;
font-size: 32.6upx;
color: #80b4ff;
position: absolute;
top: 0;
left: 0;
z-index: 10;
height: 77.89upx;
line-height: 77.89upx;
right: 0;
margin: auto;
}
.head-item {
flex: 1;
text-align: center;
cursor: pointer;
}
.active-item {
color: #fff;
}
.handle-content {
}
.condition-item {
height: 90.57upx;
line-height: 90.57upx;
background: #FFFFFF;
border-bottom: 1px solid #979797;
position: relative;
}
.ctitle {
font-size: 25.36upx;
color: #333333;
position: absolute;
top: 0;
left: 23.55upx;
}
.select-item {
font-size: 25.36upx;
color: #9B9B9B;
position: absolute;
top: 0;
right: 45.28upx;
}
.rarrow {
width: 10.86upx;
height: 19.92upx;
position: absolute!important;
top: 38.04upx;
right: 23.55upx;
}
</style>
<template>
<view class="condition-wrapper">
<headerComp :leftImgSrc="leftImg" @leftClick="backFun" :rightText="rightText" @rightClick="save"></headerComp>
<view class="head-flex" :style="{ top: navheight + 'px'}">
<view class="head-item" :class="{ 'active-item': activeType == 'mall' }" @tap="itemClick('mall')">{{ i18n.store }}</view>
<view class="head-item" :class="{ 'active-item': activeType == 'gate' }" @tap="itemClick('gate')">出入口</view>
</view>
<view class="handle-content" v-show="activeType === 'mall'">
<view class="condition-item" @tap="goStoreList">
<span class="ctitle">{{ i18n.store }}</span>
<span class="select-item">{{ multiSelectedMall.length ? multiSelectedMall[multiSelectedMall.length - 1].name : '' }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<!-- <view class="condition-item" @tap="goGateList">
<span class="ctitle">监控点</span>
<span class="select-item">{{ selectedGate.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view> -->
<view class="condition-item" @tap="dateHandle">
<span class="ctitle">日期</span>
<span class="select-item">{{ dateText }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
</view>
<view class="handle-content" v-show="activeType === 'gate'">
<view class="condition-item" @tap="goSingleStoreList">
<span class="ctitle">{{ i18n.store }}</span>
<span class="select-item">{{ selectedMall.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="goGateList">
<span class="ctitle">监控点</span>
<span class="select-item">{{ selectedGate.name }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
<view class="condition-item" @tap="dateHandle">
<span class="ctitle">日期</span>
<span class="select-item">{{ dateText }}</span>
<image class="rarrow" src="../../static/analysis/rArrow.png" mode="widthFix"></image>
</view>
</view>
<awesome-picker
ref="picker"
:data="dateData"
:textConfirm="picker.textConfirm"
:colorConfirm="picker.colorConfirm"
:textCancel="picker.textCancel"
:colorCancel="picker.colorCancel"
:anchor="currentDate"
@confirm="dateConfirm">
</awesome-picker>
</view>
</template>
<script>
import headerComp from '../../components/header.vue'
import leftImg from '../../static/header/backArrow.png'
import { mapState, mapActions } from 'vuex'
export default {
components: {
headerComp,
},
onLoad(options) {
this.activeType = options.type || 'mall';
uni.getStorage({
key: 'statusBarH',
success: (res) => {
if(res.data) {
this.navheight = res.data;
}
}
})
},
data() {
return {
rightText: '保存',
leftImg: leftImg,
activeType: '',
navheight: 0,
picker: {
textTitle:'选择',
textConfirm:'确定',
textCancel:'取消',
colorConfirm:'#ffffff',
colorCancel:'#ffffff',
},
cacheTimeStr: '',
cachePickerIdx: []
}
},
computed: {
i18n() {
return this.$t("index")
},
...mapState({
selectedMall: state => state.malls.checkedMallId,
multiSelectedMall: state => state.malls.multiCheckedMallId,
selectedGate: state => state.malls.checkedGateId,
dateData: state => state.malls.dayDateData,
dateText: state => state.malls.selectedDayTime,
currentDate: state => state.malls.pickerDayDate
})
},
watch: {
selectedMall(val) {
console.log('watch val', val)
}
},
methods: {
backFun() {
uni.navigateTo({
url: './groupTimeReport/groupTime'
})
},
save() {
uni.navigateTo({
url: `./groupTimeReport/groupTime?analysisLevel=${this.activeType}`
})
},
itemClick(val) {
this.activeType = val;
},
goStoreList() {
uni.navigateTo({
url:"../conditionList/multiMallList?backUrl=../passenger/groupTimeCondition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
goSingleStoreList() {
uni.navigateTo({
url:"../conditionList/mallList?backUrl=../passenger/groupTimeCondition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
goGateList() {
uni.navigateTo({
url:"../conditionList/multiGateList?backUrl=../passenger/groupTimeCondition&analysisLevel=" + this.activeType,
animationType: 'slide-in-right',
animationDuration: 200
})
},
dateHandle() {
this.$refs.picker.show();
// console.log('currentDate', this.currentDate, this.dateData)
},
dateConfirm(item) {
console.log(item);
this.formatterTimeToStr(item);
this.cachePickerIdx = item;
if(this.cacheTimeStr && this.cachePickerIdx.length) {
this.$store.dispatch('malls/updateDayDate', {
dayTimeText: this.cacheTimeStr,
dayPickerIdx: this.cachePickerIdx
})
}
// console.log(this.cacheTimeStr, this.cachePickerIdx)
},
formatterTimeToStr(item) {
this.cacheTimeStr = item.map(item => item.value)
.join(',')
.replace(/[\u4E00-\u9FA5]/g, '-')
.replace(/\-/g, '')
.replace(/,/g, '-');
console.log('formatterTimeToStr', this.cacheTimeStr)
}
}
}
</script>
<style>
.head-flex {
width: 543.47upx;
display: flex;
flex-direction: row;
font-size: 32.6upx;
color: #80b4ff;
position: absolute;
top: 0;
left: 0;
z-index: 10;
height: 77.89upx;
line-height: 77.89upx;
right: 0;
margin: auto;
}
.head-item {
flex: 1;
text-align: center;
cursor: pointer;
}
.active-item {
color: #fff;
}
.handle-content {
}
.condition-item {
height: 90.57upx;
line-height: 90.57upx;
background: #FFFFFF;
border-bottom: 1px solid #979797;
position: relative;
}
.ctitle {
font-size: 25.36upx;
color: #333333;
position: absolute;
top: 0;
left: 23.55upx;
}
.select-item {
font-size: 25.36upx;
color: #9B9B9B;
position: absolute;
top: 0;
right: 45.28upx;
}
.rarrow {
width: 10.86upx;
height: 19.92upx;
position: absolute!important;
top: 38.04upx;
right: 23.55upx;
}
</style>
<template>
<view>
客群分时统计
<headerComp
:leftImgSrc="leftImg"
:title="titleStr"
:rightImgSrc="rightImg"
@leftClick="backFun"
@rightClick="conditionFun"></headerComp>
<view class="prefix-elem"></view>
<view class="main-content">
<scroll-view
:scroll-y="true"
class="content-table">
<!-- 人脸性别统计详情 -->
<text class="table-title" v-show="genderColumns.length > 0">{{ genderTitle }}</text>
<v-table
v-if="genderColumns.length > 0"
is-horizontal-resize
style="width: 100%;"
:columns="genderColumns"
:table-data="genderTableData"
row-hover-color="#eee"
row-click-color="#edf7ff">
</v-table>
<!-- 人脸年龄统计详情 -->
<text class="table-title" v-show="ageColumns.length > 0">{{ ageTitle }}</text>
<v-table
v-if="ageColumns.length > 0"
is-horizontal-resize
style="width: 100%;"
:columns="ageColumns"
:table-data="ageTableData"
row-hover-color="#eee"
row-click-color="#edf7ff">
</v-table>
</scroll-view>
</view>
</view>
</template>
<script>
import headerComp from '../../../components/header.vue'
import leftImg from '../../../static/header/backArrow.png'
import rightImg from '../../../static/header/other.png'
import { mapState } from 'vuex'
export default {
components: {
headerComp,
},
data() {
return {
titleStr: '客流分时统计',
leftImg: leftImg,
rightImg: rightImg,
// 性别统计报表
genderTitle: '',
genderTableData: [],
genderColumns: [],
// 年龄统计报表
ageTitle: '',
ageTableData: [],
ageColumns: [],
accountId: null,
atoken: '',
chartIds: '',
reportLevel: '',
params: {}
}
},
onLoad(options) {
this.atoken = this.getStorage('atoken')
// this.getReportKey(options.analysisLevel)
console.log('onload', options)
this.reportLevel = options.analysisLevel || 'mall';
this.getReportKey(this.reportLevel)
},
created() {
this.accountId = this.getStorage('accountId');
// this.$store.dispatch('malls/getMallList', {
// data: {
// accountId:this.accountId,
// _t:Date.parse(new Date()) / 1000
// },
// header: {
// 'Authorization': this.atoken //自定义请求头信息
// },
// isMultiple: true
// })
// this.$store.dispatch('malls/getDateData', 15)
},
computed: {
i18n() {
return this.$t("index")
},
...mapState({
mallList: state => state.malls.list,
checkedMallId: state => state.malls.checkedMallId,
multiCheckedMallId: state => state.malls.multiCheckedMallId,
timeData: state => state.malls.customTimeData,
selectedTime: state => state.malls.selectedDayTime
})
},
watch: {
checkedMallId(val) {
if(this.reportLevel !== 'mall') {
this.params['orgId'] = val.id;
this.getReportKey(this.reportLevel)
}
// this.$store.dispatch('malls/getGateList', {
// data: {
// mallId: val.id,
// status: 1,
// isHasFace: 1,
// _t:Date.parse(new Date()) / 1000
// },
// header: {
// 'Authorization': this.atoken //自定义请求头信息
// },
// isMultiple: true
// })
},
multiCheckedMallId(val) {
console.log('watch multiCheckedMallId', val)
if(this.reportLevel === 'mall') {
this.params['orgId'] = val.map(item => item.id).join(',');
this.getReportKey(this.reportLevel)
}
}
},
mounted() {
console.log('store state', this.mallList, this.checkedMallId, this.multiCheckedMallId)
},
methods: {
backFun() {
uni.reLaunch({
url:"../passenger",
})
},
conditionFun() {
uni.navigateTo({
url: '../groupTimeCondition'
})
},
getReportKey(analysisLevel) {
this.params.orgId = this.reportLevel !== 'mall'
? this.checkedMallId.id
: this.multiCheckedMallId.map(item => item.id).join(',');
if(!this.params.orgId) return;
let keyArr = ['faceGenderDetail', 'faceAgeDetail'];
uni.showLoading({
title: '加载中'
})
uni.request({
url: window.url + '/reportCharts',
data:{
report: 'faceCountAnalyzeSta',
_t: Date.parse(new Date())/1000
},
header: {
'Authorization': this.atoken //自定义请求头信息
},
method:'GET',
success:(res) =>{
let result = res.data;
this.chartIds='';
res.data.data.forEach(item => {
if(keyArr.indexOf(item.key) != -1){
this.chartIds += item.id + ','
}
})
this.chartIds = this.chartIds.substring(0, this.chartIds.length - 1);
this.getChartData(analysisLevel);
}
})
},
getChartData(analysisLevel) {
this.genderTableData = this.genderColumns = [];
uni.request({
url: `${window.url}/report/faceCountAnalyzeSta/${analysisLevel}`,
data: {
orgIds: this.params.orgId,
startDate: `${this.selectedTime} 00:00:00`,
endDate: `${this.selectedTime} 23:59:59`,
chartIds: this.chartIds,
_t: Date.parse(new Date()) / 1000
},
header: {
'Authorization': this.atoken
},
method: 'GET',
success: (res) => {
uni.hideLoading();
let result = res.data;
let bodyData = result.data.body;
let genderResource = result.data.body['faceGenderDetail'];
let columnsKey = this.createKeyObject(genderResource.xaxis.data);
this.genderTitle = genderResource.title;
this.genderColumns = this.createColumns(columnsKey);
this.genderTableData = this.createTableData(columnsKey, genderResource.series);
// 年龄分布
let ageResource = result.data.body['faceAgeDetail'];
let ageColumnsKey = this.createKeyObject(ageResource.xaxis.data);
this.ageTitle = ageResource.title;
this.ageColumns = this.createColumns(ageColumnsKey);
this.ageTableData = this.createTableData(ageColumnsKey, ageResource.series);
}
})
},
createKeyObject(arr) { // 数组转换为key value对象
return arr.map((item, index) => {
return {
key: 'tableKey' + index,
value: item
}
})
},
createColumns(keyObject) { // 生成列数据
return keyObject.map(item => {
return {
field: item.key,
title: item.value,
width: 40,
titleAlign: 'center',
columnAlign: 'center',
isResize: true
}
})
},
createTableData(keyArr, originData) { // 生成表格数据
let result = [], temp = {};
originData.forEach((item, index) => {
if(item.data.length === keyArr.length) {
item.data.forEach((dataItem, dataIndex) => {
temp[keyArr[dataIndex].key] = dataItem || dataItem == 0 ? dataItem : '--';
})
result.push(temp);
temp = {};
}
})
return result;
},
getStorage(key) {
let storageVal = '';
uni.getStorage({
key: key,
success: (res) => {
// console.log('storage', res)
storageVal = res.data;
}
})
return storageVal
},
},
}
</script>
<style>
.prefix-elem {
height: 18.11upx;
}
.table-title {
display: block;
background-color: #fff;
font-size: 28.98upx;
padding: 25.36upx 14.49upx;
box-sizing: border-box;
}
</style>
......@@ -16,6 +16,7 @@
import arrow from '../../static/analysis/rArrow.png'
import baseIcon from '../../static/analysis/base.png'
import inout from '../../static/analysis/inout.png'
import { mapState } from 'vuex'
export default {
components: {
......@@ -34,9 +35,47 @@
iconSrc:inout,
rArrow:arrow,
src:'groupTimeReport/groupTime'
}]
}],
}
},
created() {
this.$store.dispatch('malls/getMallList', {
data: {
accountId: this.getStorage('accountId'),
_t:Date.parse(new Date()) / 1000
},
header: {
'Authorization': this.getStorage('atoken') //自定义请求头信息
},
isMultiple: true
})
this.$store.dispatch('malls/getDateData', 15);
uni.setStorage({
key: 'personType',
data: JSON.stringify({id: 1, name: '全部类型', value: ''})
})
},
computed: {
...mapState({
checkedMallId: state => state.malls.checkedMallId
})
},
watch: {
checkedMallId(val) {
this.$store.dispatch('malls/getGateList', {
data: {
mallId: val.id,
status: 1,
isHasFace: 1,
_t:Date.parse(new Date()) / 1000
},
header: {
'Authorization': this.getStorage('atoken') //自定义请求头信息
},
isMultiple: true
})
},
},
methods: {
goReport(url){
uni.navigateTo({
......@@ -45,6 +84,16 @@
animationDuration: 200
})
},
getStorage(key) {
let storageVal = '';
uni.getStorage({
key: key,
success: (res) => {
storageVal = res.data;
}
})
return storageVal
},
},
}
</script>
......
// 自定义时间
let createCustomTime = () => {
let customDate=[]
, obj = {};
let hmsArr = [];
let hours = []
, minutes = []
, seconds = []
, hourObj = {};
for(let h = 0; h < 24; h++) {
let hVal = h + 1;
hVal = hVal > 9 ? hVal : '0' + hVal;
hourObj = {
value: hVal,
children: []
}
for(let m = 0; m < 60; m++) {
let mVal = m + 1;
mVal = mVal > 9 ? mVal : '0' + mVal;
let minutesObj = {
value: mVal,
children: []
};
hourObj.children.push(minutesObj)
for(let s = 0; s < 60; s++) {
let sVal = s + 1;
sVal = sVal > 9 ? sVal : '0' + sVal;
let secondsObj = {
value: sVal
}
hourObj.children[m].children.push(secondsObj)
}
}
hours.push(hourObj)
}
for(let i = 1999; i < 2020; i++) {
obj = {
'value': i + '年',
children: []
}
for(let j = 0; j < 12; j++) {
let val = j + 1;
val = val > 9 ? val : '0' + val;
let obj2 = {
'value': val + '月',
children: []
}
obj.children.push(obj2)
let day = new Date(i, j + 1, 0);
let daycount = day.getDate();
for(let k = 0; k < daycount; k++) {
let val = k + 1;
val = val > 9 ? val : '0' + val;
let obj3 = {
'value': val + '日',
children: []
}
obj3.children = hours;
obj.children[j].children.push(obj3);
}
}
customDate.push(obj)
}
return customDate;
}
// 日级时间
let createDayTime = () => {
let dayDate=[]
, obj = {};
for(let i = 1999; i < 2020; i++) {
obj = {
'value': i + '年',
children: []
}
for(let j = 0; j < 12; j++) {
let val = j + 1;
val = val > 9 ? val : '0' + val;
let obj2 = {
'value': val + '月',
children: []
}
obj.children.push(obj2)
let day = new Date(i, j + 1, 0);
let daycount = day.getDate();
for(let k = 0; k < daycount; k++) {
let val = k + 1;
val = val > 9 ? val : '0' + val;
let obj3 = {
'value': val + '日',
// children: []
}
obj2.children.push(obj3);
}
}
dayDate.push(obj)
}
return dayDate;
}
const _customTime = createCustomTime();
export default {
getCustomTime(cb) {
setTimeout(() => cb(_customTime), 100)
},
getDayTime(cb) {
cb(createDayTime())
},
getStartEndTime(cb) {
cb(createDayTime())
}
}
\ No newline at end of file
const getters = {
}
export default getters;
\ No newline at end of file
import Vue from 'vue'
import Vuex from 'vuex'
// import state from './state'
// import mutation from './mutation'
// import getter from './getter'
// import condition from './modules/condition'
import malls from './modules/malls'
//
Vue.use(Vuex)
//
// const store = new Vuex.Store({
// modules: {
// condition, malls
// },
// state,
// mutation,
// getter
// })
const store = new Vuex.Store({
// state: {
// mallId: '',
// mallList: []
// },
// mutations: {
// mallId(state, newMallId) {
// state.mallId = newMallId;
// },
// mallList(state, newList) {
// state.mallList = newList;
// }
// },
// getters: {
// getMallList(state) {
// return state.mallList;
// }
// },
// actions: {
// getMallList({ commit, state }, params) {
// uni.request({
// url: window.url + "/malls",
// data: params.data,
// header: params.header,
// method: 'GET',
// success: (res) => {
// console.log('store res', res)
// commit('mallList', res.data.data)
// }
// })
// }
// }
state: {},
modules: {
malls
}
})
export default store;
\ No newline at end of file
const conditionList = {
state: {
mallId: '',
gateId: ''
},
mutations: {
updMallId(state, newMallId) {
state.mallId = newMallId;
},
updGateId(state, newGateId) {
state.gateId = newGateId;
},
},
actions: {
GetMallId({ commit, state }) {
getMallId().then(res => {
//
})
},
GetGateId({ commit, state }) {
getGateId().then(res => {
//
})
},
}
}
/*
* 获取门店列表
*/
function getMallId() {
return new Promise((reslove, reject) => {
//
})
}
/*
* 获取出入口列表
*/
function getGateId() {
return new Promise((reslove, reject) => {
//
})
}
export default conditionList;
\ No newline at end of file
export const MALLS = {
SET_MALLS: 'setMalls',
CHECKED_MALL_ID: 'checkedMallId',
CHECKED_MULTI_MALL_ID: 'checkedMultiMallId',
SET_GATES: 'setGates',
CHECKED_GATE_ID: 'checkedGateId',
CHECKED_MULTI_GATE_ID: 'checkedMultiGateId',
SET_TIMEDATA: 'setTimeData',
SET_SELECTED_CUSTOM_START_TIME: 'setSelectedCustomStartTime',
SET_SELECTED_CUSTOM_END_TIME: 'setSelectedCustomEndTime',
SET_PICKER_CUSTOM_START_IDX: 'setPickerCustomStartIdx',
SET_PICKER_CUSTOM_END_IDX: 'setPickerCustomEndIdx',
SET_DAY_DATA: 'setDayData',
SET_SELECTED_DAY_TIME: 'setSelectedDayTime',
SET_PICKER_DAY_IDX: 'setPickerDayIdx',
// 开始结束日期
SET_START_DATE: 'setStartDate',
SET_END_DATE: 'setEndDate',
SET_PICKER_START_IDX: 'setPickerStartIdx',
SET_PICKER_END_IDX: 'setPickerEndIdx'
}
export const GATES = {
SET_GATES: 'setGates'
}
\ No newline at end of file
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
<!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><script src=static/common.js></script><script>document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
<<<<<<< HEAD
})</script><link rel=stylesheet href=/appweb/static/index.css><link href=/appweb/static/js/pages-analysis-condition.e9bd80f2.js rel=prefetch><link href=/appweb/static/js/pages-analysis-index.58b5238c.js rel=prefetch><link href=/appweb/static/js/pages-analysis-inoutReport-inoutDayReport.d77c4e32.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankDayReport.06c1c5aa.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankWeekReport.273c4132.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticDayReport.9787e524.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticMonthReport.9cc82807.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticWeekReport.cc1b9218.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticYearReport.8892aab3.js rel=prefetch><link href=/appweb/static/js/pages-index-index.411e1229.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.f83c189c.js rel=prefetch><link href=/appweb/static/js/pages-list-mallList.eff90261.js rel=prefetch><link href=/appweb/static/js/pages-list-moreFloorList.6aed2968.js rel=prefetch><link href=/appweb/static/js/pages-list-moreGateList.ade2178b.js rel=prefetch><link href=/appweb/static/js/pages-list-moreMallList.7753462d.js rel=prefetch><link href=/appweb/static/js/pages-list-moreStoreList.80136219.js rel=prefetch><link href=/appweb/static/js/pages-list-oneFloorList.6bfb7f76.js rel=prefetch><link href=/appweb/static/js/pages-list-oneMallList.95181e70.js rel=prefetch><link href=/appweb/static/js/pages-login-login.e654a8cd.js rel=prefetch><link href=/appweb/static/js/pages-passenger-index.36b2f28d.js rel=prefetch><link href=/appweb/static/js/pages-profile-index.aded5936.js rel=prefetch><link href=/appweb/static/js/chunk-vendors.895813db.js rel=preload as=script><link href=/appweb/static/js/index.fb66af39.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.fb66af39.js></script></body></html>
=======
})</script><link rel=stylesheet href=/appweb/static/index.css><link href=/appweb/static/js/pages-analysis-condition.53a419ec.js rel=prefetch><link href=/appweb/static/js/pages-analysis-index.76be7e83.js rel=prefetch><link href=/appweb/static/js/pages-analysis-inoutReport-inoutDayReport.f9bc2acc.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankDayReport.fb977464.js rel=prefetch><link href=/appweb/static/js/pages-analysis-rankReport-rankWeekReport.d6347026.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticDayReport.18c21c26.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticMonthReport.240ba99e.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticWeekReport.9781c138.js rel=prefetch><link href=/appweb/static/js/pages-analysis-staticReport-staticYearReport.7158d965.js rel=prefetch><link href=/appweb/static/js/pages-index-index.7ee4ade4.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList.5ded8bf4.js rel=prefetch><link href=/appweb/static/js/pages-list-floorList~pages-list-mallList.0d453d24.js rel=prefetch><link href=/appweb/static/js/pages-list-mallList.473f46c1.js rel=prefetch><link href=/appweb/static/js/pages-list-moreFloorList.dee60b0d.js rel=prefetch><link href=/appweb/static/js/pages-list-moreGateList.853d485b.js rel=prefetch><link href=/appweb/static/js/pages-list-moreMallList.70ce21f4.js rel=prefetch><link href=/appweb/static/js/pages-list-moreStoreList.900f6ff7.js rel=prefetch><link href=/appweb/static/js/pages-list-oneFloorList.1d51148f.js rel=prefetch><link href=/appweb/static/js/pages-list-oneMallList.1ec08088.js rel=prefetch><link href=/appweb/static/js/pages-login-login.28c43f48.js rel=prefetch><link href=/appweb/static/js/pages-passenger-captureReport-capture.40e354b2.js rel=prefetch><link href=/appweb/static/js/pages-passenger-condition.586f7194.js rel=prefetch><link href=/appweb/static/js/pages-passenger-groupTimeCondition.0ef50694.js rel=prefetch><link href=/appweb/static/js/pages-passenger-groupTimeReport-groupTime.51741354.js rel=prefetch><link href=/appweb/static/js/pages-passenger-passenger.3118e18b.js rel=prefetch><link href=/appweb/static/js/pages-profile-profile.7c061559.js rel=prefetch><link href=/appweb/static/js/chunk-vendors.e9154df1.js rel=preload as=script><link href=/appweb/static/js/index.a391b3e9.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.e9154df1.js></script><script src=/appweb/static/js/index.a391b3e9.js></script></body></html>
>>>>>>> develop
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.
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"],{"00cf":function(t,e,n){var a=n("c02e");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("ad53e0f6",a,!0,{sourceMap:!1,shadowMode:!1})},"57dc":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("cc42")),i=c(n("bdac")),o=c(n("db0f"));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},6217: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)}}})}),1),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)],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},c02e:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".hearSwich[data-v-3ea5cb88]{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-3ea5cb88]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;padding:%?7.24?% 0}.active[data-v-3ea5cb88]{background:#0069ff;color:#fff}",""])},cac8:function(t,e,n){"use strict";var a=n("00cf"),i=n.n(a);i.a},cb72:function(t,e,n){"use strict";n.r(e);var a=n("57dc"),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},fe66:function(t,e,n){"use strict";n.r(e);var a=n("6217"),i=n("cb72");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("cac8");var c=n("2877"),s=Object(c["a"])(i["default"],a["a"],a["b"],!1,null,"3ea5cb88",null);e["default"]=s.exports}}]);
\ 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=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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-mallList"],{"0a12":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})},"77b0":function(t,e,n){"use strict";n.r(e);var a=n("abc3"),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},aa11:function(t,e,n){"use strict";n.r(e);var a=n("0a12"),i=n("77b0");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,"d24991c6",null);e["default"]=o.exports},abc3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("cc42")),i=c(n("bdac")),u=c(n("db0f"));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}}]);
\ 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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-oneFloorList"],{"05e6":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})},"06b7":function(t,e,i){"use strict";i.r(e);var n=i("347a"),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},1136:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(i("cc42")),a=s(i("e0d2"));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:n.default,searchBox:a.default},methods:{searchFun:function(t){var e=this;this.list=[],this.allList.forEach(function(i){-1!=i.name.indexOf(t)&&e.list.push(i)})},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=c},"24c7":function(t,e,i){var n=i("708d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("cadf493a",n,!0,{sourceMap:!1,shadowMode:!1})},"2e6a":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},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),i("searchBox",{on:{handleEvent:function(e){e=t.$handleEvent(e),t.searchFun(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-text",[t._v(t._s(e.name))])],1)}),1)],1)},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},"347a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={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=n},"3abe":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},"4cb4":function(t,e,i){var n=i("e7f2");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("a26dbad0",n,!0,{sourceMap:!1,shadowMode:!1})},5793:function(t,e,i){"use strict";var n=i("689d"),a=i.n(n);a.a},"689d":function(t,e,i){var n=i("acb1");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("3131b4f0",n,!0,{sourceMap:!1,shadowMode:!1})},"708d":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".indexNav[data-v-52faf15b]{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-52faf15b]{height:%?77.89?%}.left[data-v-52faf15b]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-52faf15b]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-52faf15b]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-52faf15b]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},"84f0":function(t,e,i){"use strict";var n=i("4cb4"),a=i.n(n);a.a},"9ee7":function(t,e,i){"use strict";i.r(e);var n=i("1136"),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},acb1:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".listItem[data-v-c6e4623e]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?25.37?%;background:#fff;position:relative}.listItem>uni-image[data-v-c6e4623e]{width:%?28.99?%;height:%?28.99?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-c6e4623e]{margin-left:%?77.89?%}",""])},c30c: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",{staticClass:"searchDiv"},[i("v-uni-image",{class:{focusClass:t.isFocus},attrs:{src:"../../static/list/searchIcon.png",mode:"widthFix"}}),i("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)])},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},c811:function(t,e,i){"use strict";i.r(e);var n=i("2e6a"),a=i("9ee7");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("5793");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"c6e4623e",null);e["default"]=r.exports},cc42:function(t,e,i){"use strict";i.r(e);var n=i("05e6"),a=i("e15e");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("ef34");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"52faf15b",null);e["default"]=r.exports},e0d2:function(t,e,i){"use strict";i.r(e);var n=i("c30c"),a=i("06b7");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("84f0");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"7ff673f0",null);e["default"]=r.exports},e15e:function(t,e,i){"use strict";i.r(e);var n=i("3abe"),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},e7f2:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".searchDiv[data-v-7ff673f0]{padding:%?12.68?% %?23.55?%;background:#f4f4f5;position:relative}.searchDiv uni-input[data-v-7ff673f0]{height:%?54.34?%;background:#fff;padding:0 %?45.28?%}.searchDiv uni-image[data-v-7ff673f0]{width:%?25.37?%;position:absolute;top:%?25.37?%;z-index:9;left:%?297.1?%}.searchDiv .focusClass[data-v-7ff673f0]{left:%?32.6?%;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}",""])},ef34:function(t,e,i){"use strict";var n=i("24c7"),a=i.n(n);a.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-oneFloorList"],{"0497":function(t,e,i){"use strict";i.r(e);var n=i("fa47"),a=i("d248");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("8901");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"7a4d7f93",null);e["default"]=r.exports},"19de":function(t,e,i){var n=i("53da");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("23288ac6",n,!0,{sourceMap:!1,shadowMode:!1})},"1c03":function(t,e,i){"use strict";i.r(e);var n=i("d872"),a=i("8f98");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("2cf0");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"f5ed7cb0",null);e["default"]=r.exports},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},"2cf0":function(t,e,i){"use strict";var n=i("19de"),a=i.n(n);a.a},3595:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".indexNav[data-v-fc06f43a]{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-fc06f43a]{height:%?77.89?%}.left[data-v-fc06f43a]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-fc06f43a]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-fc06f43a]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-fc06f43a]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},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},"53da":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".listItem[data-v-f5ed7cb0]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?25.37?%;background:#fff;position:relative}.listItem>uni-image[data-v-f5ed7cb0]{width:%?28.99?%;height:%?28.99?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-f5ed7cb0]{margin-left:%?77.89?%}",""])},"7cd4":function(t,e,i){"use strict";var n=i("9f6a"),a=i.n(n);a.a},8901:function(t,e,i){"use strict";var n=i("bd76"),a=i.n(n);a.a},"8f98":function(t,e,i){"use strict";i.r(e);var n=i("ab6d"),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},"9f6a":function(t,e,i){var n=i("3595");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5f4529cb",n,!0,{sourceMap:!1,shadowMode:!1})},a846:function(t,e,i){e=t.exports=i("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}",""])},ab6d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(i("ce42")),a=s(i("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:n.default,searchBox:a.default},methods:{searchFun:function(t){var e=this;this.list=[],this.allList.forEach(function(i){-1!=i.name.indexOf(t)&&e.list.push(i)})},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=c},bd76:function(t,e,i){var n=i("a846");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("e25b0f06",n,!0,{sourceMap:!1,shadowMode:!1})},ce42:function(t,e,i){"use strict";i.r(e);var n=i("f0fa"),a=i("4407");for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);i("7cd4");var c=i("2877"),r=Object(c["a"])(a["default"],n["a"],n["b"],!1,null,"fc06f43a",null);e["default"]=r.exports},d248:function(t,e,i){"use strict";i.r(e);var n=i("d686"),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},d686:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={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=n},d872: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},on:{leftClick:function(e){e=t.$handleEvent(e),t.backClick(e)}}}),i("searchBox",{on:{handleEvent:function(e){e=t.$handleEvent(e),t.searchFun(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-text",[t._v(t._s(e.name))])],1)}))],1)},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},f0fa: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})},fa47: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",{staticClass:"searchDiv"},[i("v-uni-image",{class:{focusClass:t.isFocus},attrs:{src:"../../static/list/searchIcon.png",mode:"widthFix"}}),i("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)])},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-list-oneMallList"],{"05e6":function(t,e,n){"use strict";var i=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)},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},"06b7":function(t,e,n){"use strict";n.r(e);var i=n("347a"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);e["default"]=a.a},"0c7e":function(t,e,n){"use strict";n.r(e);var i=n("325c"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);e["default"]=a.a},"24c7":function(t,e,n){var i=n("708d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("cadf493a",i,!0,{sourceMap:!1,shadowMode:!1})},"325c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=s(n("cc42")),a=s(n("e0d2"));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:i.default,searchBox:a.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},"347a":function(t,e,n){"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},"3abe":function(t,e,n){"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},"4cb4":function(t,e,n){var i=n("e7f2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("a26dbad0",i,!0,{sourceMap:!1,shadowMode:!1})},5400:function(t,e,n){"use strict";n.r(e);var i=n("ef05"),a=n("0c7e");for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);n("d66b");var c=n("2877"),r=Object(c["a"])(a["default"],i["a"],i["b"],!1,null,"210c3a43",null);e["default"]=r.exports},"708d":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".indexNav[data-v-52faf15b]{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-52faf15b]{height:%?77.89?%}.left[data-v-52faf15b]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-52faf15b]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-52faf15b]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-52faf15b]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},"709e":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".listItem[data-v-210c3a43]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?25.37?%;background:#fff;position:relative}.listItem>uni-image[data-v-210c3a43]{width:%?28.99?%;height:%?28.99?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-210c3a43]{margin-left:%?77.89?%}",""])},"84f0":function(t,e,n){"use strict";var i=n("4cb4"),a=n.n(i);a.a},c30c:function(t,e,n){"use strict";var i=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)])},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},cc42:function(t,e,n){"use strict";n.r(e);var i=n("05e6"),a=n("e15e");for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);n("ef34");var c=n("2877"),r=Object(c["a"])(a["default"],i["a"],i["b"],!1,null,"52faf15b",null);e["default"]=r.exports},d66b:function(t,e,n){"use strict";var i=n("f0d0"),a=n.n(i);a.a},e0d2:function(t,e,n){"use strict";n.r(e);var i=n("c30c"),a=n("06b7");for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);n("84f0");var c=n("2877"),r=Object(c["a"])(a["default"],i["a"],i["b"],!1,null,"7ff673f0",null);e["default"]=r.exports},e15e:function(t,e,n){"use strict";n.r(e);var i=n("3abe"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);e["default"]=a.a},e7f2:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".searchDiv[data-v-7ff673f0]{padding:%?12.68?% %?23.55?%;background:#f4f4f5;position:relative}.searchDiv uni-input[data-v-7ff673f0]{height:%?54.34?%;background:#fff;padding:0 %?45.28?%}.searchDiv uni-image[data-v-7ff673f0]{width:%?25.37?%;position:absolute;top:%?25.37?%;z-index:9;left:%?297.1?%}.searchDiv .focusClass[data-v-7ff673f0]{left:%?32.6?%;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}",""])},ef05:function(t,e,n){"use strict";var i=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)],1)},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},ef34:function(t,e,n){"use strict";var i=n("24c7"),a=n.n(i);a.a},f0d0:function(t,e,n){var i=n("709e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("43bb36c7",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
\ 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 i=n("fa47"),a=n("d248");for(var c in a)"default"!==c&&function(t){n.d(e,t,function(){return a[t]})}(c);n("8901");var s=n("2877"),r=Object(s["a"])(a["default"],i["a"],i["b"],!1,null,"7a4d7f93",null);e["default"]=r.exports},2205:function(t,e,n){"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},3595:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".indexNav[data-v-fc06f43a]{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-fc06f43a]{height:%?77.89?%}.left[data-v-fc06f43a]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-fc06f43a]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-fc06f43a]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-fc06f43a]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},4407:function(t,e,n){"use strict";n.r(e);var i=n("2205"),a=n.n(i);for(var c in i)"default"!==c&&function(t){n.d(e,t,function(){return i[t]})}(c);e["default"]=a.a},"4cd2":function(t,e,n){"use strict";var i=n("c25c"),a=n.n(i);a.a},"65f6":function(t,e,n){"use strict";n.r(e);var i=n("9b8a"),a=n.n(i);for(var c in i)"default"!==c&&function(t){n.d(e,t,function(){return i[t]})}(c);e["default"]=a.a},"7cd4":function(t,e,n){"use strict";var i=n("9f6a"),a=n.n(i);a.a},8901:function(t,e,n){"use strict";var i=n("bd76"),a=n.n(i);a.a},"9b8a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=c(n("ce42")),a=c(n("0497"));function c(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:[],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:a.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=s},"9f6a":function(t,e,n){var i=n("3595");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("5f4529cb",i,!0,{sourceMap:!1,shadowMode:!1})},a7d8:function(t,e,n){"use strict";var i=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)},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},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}",""])},aecb:function(t,e,n){"use strict";n.r(e);var i=n("a7d8"),a=n("65f6");for(var c in a)"default"!==c&&function(t){n.d(e,t,function(){return a[t]})}(c);n("4cd2");var s=n("2877"),r=Object(s["a"])(a["default"],i["a"],i["b"],!1,null,"ccfb3374",null);e["default"]=r.exports},bd76:function(t,e,n){var i=n("a846");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("e25b0f06",i,!0,{sourceMap:!1,shadowMode:!1})},c25c:function(t,e,n){var i=n("d632");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("0c0f574c",i,!0,{sourceMap:!1,shadowMode:!1})},ce42:function(t,e,n){"use strict";n.r(e);var i=n("f0fa"),a=n("4407");for(var c in a)"default"!==c&&function(t){n.d(e,t,function(){return a[t]})}(c);n("7cd4");var s=n("2877"),r=Object(s["a"])(a["default"],i["a"],i["b"],!1,null,"fc06f43a",null);e["default"]=r.exports},d248:function(t,e,n){"use strict";n.r(e);var i=n("d686"),a=n.n(i);for(var c in i)"default"!==c&&function(t){n.d(e,t,function(){return i[t]})}(c);e["default"]=a.a},d632:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".listItem[data-v-ccfb3374]{border-bottom:1px solid #979797;height:%?72.46?%;line-height:%?72.46?%;font-size:%?25.37?%;background:#fff;position:relative}.listItem>uni-image[data-v-ccfb3374]{width:%?28.99?%;height:%?28.99?%;position:absolute;top:%?23.55?%;left:%?25.36?%}.listItem uni-text[data-v-ccfb3374]{margin-left:%?77.89?%}",""])},d686:function(t,e,n){"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},f0fa:function(t,e,n){"use strict";var i=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)},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},fa47:function(t,e,n){"use strict";var i=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)])},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"018b":function(t,a,e){t.exports=e.p+"static/img/loginBg.521f9b73.png"},"046f":function(t,a,e){var n=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".loginBg[data-v-63420fe4]{background:url("+n(e("018b"))+") no-repeat;background-size:100% 100%;height:%?731.88?%}.loginBox[data-v-63420fe4]{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-63420fe4]{font-size:%?43.47?%;color:#4a4a4a;letter-spacing:%?1.81?%;text-align:center;display:block;position:relative;margin-bottom:%?119.56?%}.inputBox[data-v-63420fe4]{width:%?528.98?%;border-bottom:%?1.81?% solid #9b9b9b;margin:0 auto;padding-left:%?12.68?%;position:relative}.userBox[data-v-63420fe4]{margin-bottom:%?43.47?%}.userBox uni-image[data-v-63420fe4]{height:%?32.6?%;width:%?25.5?%;display:inline-block;position:absolute;top:%?16.3?%}.pwdBox uni-image[data-v-63420fe4]{height:%?32.6?%;width:%?32.6?%;display:inline-block;position:absolute;top:%?16.3?%}.userInput[data-v-63420fe4]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdInput[data-v-63420fe4]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdBox[data-v-63420fe4]{margin-bottom:%?94.2?%}.loginBtn[data-v-63420fe4]{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?%}",""])},"42f9":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})},"45ca":function(t,a,e){"use strict";e.r(a);var n=e("db22"),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},"7ea1":function(t,a,e){"use strict";e.r(a);var n=e("42f9"),i=e("45ca");for(var o in i)"default"!==o&&function(t){e.d(a,t,function(){return i[t]})}(o);e("ac75");var s=e("2877"),r=Object(s["a"])(i["default"],n["a"],n["b"],!1,null,"63420fe4",null);a["default"]=r.exports},"9a4d6":function(t,a,e){var n=e("046f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("21b84e03",n,!0,{sourceMap:!1,shadowMode:!1})},ac75:function(t,a,e){"use strict";var n=e("9a4d6"),i=e.n(n);i.a},db22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{username:"",password:"",navheight:0,atoken:"",id:""}},onLoad:function(){this.getDate(),this.dateArr()},onReady:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(a){t.navheight=a.data}})},methods:{getDate:function(){for(var t=[],a={},e=1999;e<2020;e++){a={value:e+"年",children:[]};for(var n=0;n<12;n++){var i=n+1;i=i>9?i:"0"+i;var o={value:i+"月",children:[]};a.children.push(o);for(var s=new Date(e,n+1,0),r=s.getDate(),u=0;u<r;u++){i=u+1;i=i>9?i:"0"+i;var d={value:i+"日"};a.children[n].children.push(d)}}t.push(a)}uni.setStorage({key:"dayData",data:JSON.stringify(t)})},dateArr:function(){for(var t=[],a=[],e=[],n=[],i=[],o=[],s=[],r=[],u=1999;u<2020;u++)t.push(u+"年");a.push(t);var d=[];for(u=1;u<12;u++){var c=u;u<10&&(c="0"+u),d.push(c+"月")}n.push(t),n.push(d);var l=["第一周","第二周","第三周","第四周","第五周"];o.push(t),o.push(d),o.push(l);var g=new Date,f=g.getFullYear(),p=f-1999;e.push(p);var h=g.getMonth();c=h+1>9?h+1:"0"+(h+1);i.push(p),i.push(h);var v=g.getDay(),w=g.getDate(),b=Math.ceil((w+6-v)/7)-1;s.push(p),s.push(h),s.push(b);var k=w-1;r.push(p),r.push(h),r.push(k),uni.setStorage({key:"yearData",data:JSON.stringify(a)}),uni.setStorage({key:"yearData",data:JSON.stringify(a)}),uni.setStorage({key:"currentYear",data:JSON.stringify(e)}),uni.setStorage({key:"monthData",data:JSON.stringify(n)}),uni.setStorage({key:"currentMonth",data:JSON.stringify(i)}),uni.setStorage({key:"weekData",data:JSON.stringify(o)}),uni.setStorage({key:"currentWeek",data:JSON.stringify(s)}),uni.setStorage({key:"currentDay",data:JSON.stringify(r)})},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}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{1758:function(t,a,e){var n=e("bfa8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("7fec530c",n,!0,{sourceMap:!1,shadowMode:!1})},"591c":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{username:"",password:"",navheight:0,atoken:"",id:""}},onLoad:function(){this.getDate(),this.dateArr()},onReady:function(){var t=this;uni.getStorage({key:"statusBarH",success:function(a){t.navheight=a.data}})},methods:{getDate:function(){for(var t=[],a={},e=1999;e<2020;e++){a={value:e+"年",children:[]};for(var n=0;n<12;n++){var i=n+1;i=i>9?i:"0"+i;var o={value:i+"月",children:[]};a.children.push(o);for(var s=new Date(e,n+1,0),r=s.getDate(),u=0;u<r;u++){i=u+1;i=i>9?i:"0"+i;var c={value:i+"日"};a.children[n].children.push(c)}}t.push(a)}uni.setStorage({key:"dayData",data:JSON.stringify(t)})},dateArr:function(){for(var t=[],a=[],e=[],n=[],i=[],o=[],s=[],r=[],u=1999;u<2020;u++)t.push(u+"年");a.push(t);var c=[];for(u=1;u<12;u++){var d=u;u<10&&(d="0"+u),c.push(d+"月")}n.push(t),n.push(c);var l=["第一周","第二周","第三周","第四周","第五周"];o.push(t),o.push(c),o.push(l);var g=new Date,p=g.getFullYear(),f=p-1999;e.push(f);var h=g.getMonth();d=h+1>9?h+1:"0"+(h+1);i.push(f),i.push(h);var v=g.getDay(),b=g.getDate(),w=Math.ceil((b+6-v)/7)-1;s.push(f),s.push(h),s.push(w);var k=b-1;r.push(f),r.push(h),r.push(k),uni.setStorage({key:"yearData",data:JSON.stringify(a)}),uni.setStorage({key:"yearData",data:JSON.stringify(a)}),uni.setStorage({key:"currentYear",data:JSON.stringify(e)}),uni.setStorage({key:"monthData",data:JSON.stringify(n)}),uni.setStorage({key:"currentMonth",data:JSON.stringify(i)}),uni.setStorage({key:"weekData",data:JSON.stringify(o)}),uni.setStorage({key:"currentWeek",data:JSON.stringify(s)}),uni.setStorage({key:"currentDay",data:JSON.stringify(r)})},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"},"722d":function(t,a,e){"use strict";e.r(a);var n=e("c8f5"),i=e("8cfa");for(var o in i)"default"!==o&&function(t){e.d(a,t,function(){return i[t]})}(o);e("8e3f");var s=e("2877"),r=Object(s["a"])(i["default"],n["a"],n["b"],!1,null,"665c4ecb",null);a["default"]=r.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},"8e3f":function(t,a,e){"use strict";var n=e("1758"),i=e.n(n);i.a},bfa8:function(t,a,e){var n=e("b041");a=t.exports=e("2350")(!1),a.push([t.i,".loginBg[data-v-665c4ecb]{background:url("+n(e("5ff9"))+") no-repeat;background-size:100% 100%;height:%?731.88?%}.loginBox[data-v-665c4ecb]{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-665c4ecb]{font-size:%?43.47?%;color:#4a4a4a;letter-spacing:%?1.81?%;text-align:center;display:block;position:relative;margin-bottom:%?119.56?%}.inputBox[data-v-665c4ecb]{width:%?528.98?%;border-bottom:%?1.81?% solid #9b9b9b;margin:0 auto;padding-left:%?12.68?%;position:relative}.userBox[data-v-665c4ecb]{margin-bottom:%?43.47?%}.userBox uni-image[data-v-665c4ecb]{height:%?32.6?%;width:%?25.5?%;display:inline-block;position:absolute;top:%?16.3?%}.pwdBox uni-image[data-v-665c4ecb]{height:%?32.6?%;width:%?32.6?%;display:inline-block;position:absolute;top:%?16.3?%}.userInput[data-v-665c4ecb]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdInput[data-v-665c4ecb]{display:inline-block;font-size:%?30.79?%;top:%?9.05?%;left:%?54.34?%}.pwdBox[data-v-665c4ecb]{margin-bottom:%?94.2?%}.loginBtn[data-v-665c4ecb]{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?%}",""])},c8f5: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})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-passenger-condition"],{"02b8":function(t,e,i){var n=i("ecf0");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4d388de5",n,!0,{sourceMap:!1,shadowMode:!1})},"0451":function(t,e,i){"use strict";i.r(e);var n=i("11c6"),a=i("296e");for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);i("51c4");var s=i("2877"),c=Object(s["a"])(a["default"],n["a"],n["b"],!1,null,"456b2512",null);e["default"]=c.exports},"05e6":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})},"11c6":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",{staticClass:"condition-wrapper"},[i("headerComp",{attrs:{leftImgSrc:t.leftImg,rightText:t.rightText},on:{leftClick:function(e){e=t.$handleEvent(e),t.backFun(e)},rightClick:function(e){e=t.$handleEvent(e),t.save(e)}}}),i("v-uni-view",{staticClass:"head-flex",style:{top:t.navheight+"px"}},[i("v-uni-view",{staticClass:"head-item",class:{"active-item":"mall"==t.activeType},on:{click:function(e){e=t.$handleEvent(e),t.itemClick("mall")}}},[t._v(t._s(t.i18n.store))])],1),i("v-uni-view",{staticClass:"handle-content"},[i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.goStoreList(e)}}},[i("span",{staticClass:"ctitle"},[t._v(t._s(t.i18n.store))]),i("span",{staticClass:"select-item"},[t._v(t._s(t.mallText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.goGateList(e)}}},[i("span",{staticClass:"ctitle"},[t._v("监控点")]),i("span",{staticClass:"select-item"},[t._v(t._s(t.gateText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.goTypeList(e)}}},[i("span",{staticClass:"ctitle"},[t._v("类型")]),i("span",{staticClass:"select-item"},[t._v(t._s(t.typeText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.dateHandle(e)}}},[i("span",{staticClass:"ctitle"},[t._v("日期")]),i("span",{staticClass:"select-item"},[t._v(t._s(t.dateText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1)],1),i("awesome-picker",{ref:"picker",attrs:{data:t.dateData,textConfirm:t.picker.textConfirm,colorConfirm:t.picker.colorConfirm,textCancel:t.picker.textCancel,colorCancel:t.picker.colorCancel,anchor:t.currentDate},on:{confirm:function(e){e=t.$handleEvent(e),t.dateConfirm(e)}}})],1)},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},"24c7":function(t,e,i){var n=i("708d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("cadf493a",n,!0,{sourceMap:!1,shadowMode:!1})},"296e":function(t,e,i){"use strict";i.r(e);var n=i("ff4f"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);e["default"]=a.a},"3abe":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},"51c4":function(t,e,i){"use strict";var n=i("02b8"),a=i.n(n);a.a},"708d":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".indexNav[data-v-52faf15b]{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-52faf15b]{height:%?77.89?%}.left[data-v-52faf15b]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-52faf15b]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-52faf15b]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-52faf15b]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},7666:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAAHwCF3KAAAABGdBTUEAALGPC/xhBQAAANtJREFUOBHtVDsOwjAMDTvXoUdiZWBB4lIcgp25B2DvxmjeM7HlBEeCAQkkLLV23nt2nE9byosmInPBa1E9AvHEfuCS2SUxaOSR0Bis53twcxnoNZ4jgRVfBOB2jNUIKGOAeRCPggbQE3wiUrCqOTtNO4iVPAb5nmjU7YSSWy9rAcpPbAC2MUw9gA8QbKI1nRpztWgdgTxTkJIEv0hwHTbZE2iaW8ubQsvvdUyCKCYwsT2sKGb8Gwn5mSdrOWE9ZuMvpU+sG8GvRy9RrfAvILJPfxLZBtomwh/wXO6bsa0ZxbdJWQAAAABJRU5ErkJggg=="},cc42:function(t,e,i){"use strict";i.r(e);var n=i("05e6"),a=i("e15e");for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);i("ef34");var s=i("2877"),c=Object(s["a"])(a["default"],n["a"],n["b"],!1,null,"52faf15b",null);e["default"]=c.exports},e15e:function(t,e,i){"use strict";i.r(e);var n=i("3abe"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);e["default"]=a.a},ecf0:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".head-flex[data-v-456b2512]{width:%?543.47?%;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;font-size:%?32.6?%;color:#80b4ff;position:absolute;top:0;left:0;z-index:10;height:%?77.89?%;line-height:%?77.89?%;right:0;margin:auto}.head-item[data-v-456b2512]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;cursor:pointer}.active-item[data-v-456b2512]{color:#fff}.condition-item[data-v-456b2512]{height:%?90.57?%;line-height:%?90.57?%;background:#fff;border-bottom:1px solid #979797;position:relative}.ctitle[data-v-456b2512]{font-size:%?25.36?%;color:#333;position:absolute;top:0;left:%?23.55?%}.select-item[data-v-456b2512]{font-size:%?25.36?%;color:#9b9b9b;position:absolute;top:0;right:%?45.28?%}.rarrow[data-v-456b2512]{width:%?10.86?%;height:%?19.92?%;position:absolute!important;top:%?38.04?%;right:%?23.55?%}",""])},ef34:function(t,e,i){"use strict";var n=i("24c7"),a=i.n(n);a.a},ff4f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("cc42")),a=o(i("7666"));function o(t){return t&&t.__esModule?t:{default:t}}var s={components:{headerComp:n.default},onLoad:function(t){var e=this;uni.getStorage({key:"statusBarH",success:function(t){t.data&&(e.navheight=t.data)}})},data:function(){return{leftImg:a.default,rightText:"保存",navheight:0,activeType:"mall",mallText:"",gateText:"",typeText:"",dateText:"",dateData:[],picker:{textTitle:"选择",textConfirm:"确定",textCancel:"取消",colorConfirm:"#ffffff",colorCancel:"#ffffff"},currentDate:[],time:new Date}},computed:{i18n:function(){return this.$t("index")}},methods:{backFun:function(){uni.navigateTo({url:"./captureReport/capture"})},save:function(){uni.navigateTo({url:"captureReport/capture"})},itemClick:function(){},goStoreList:function(){},goGateList:function(){},goTypeList:function(){},dateHandle:function(){},dateConfirm:function(){}}};e.default=s}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-passenger-groupTimeCondition"],{"05e6":function(t,e,i){"use strict";var a=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)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},"1f18":function(t,e,i){"use strict";var a=i("8b1a"),n=i.n(a);n.a},"24c7":function(t,e,i){var a=i("708d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("cadf493a",a,!0,{sourceMap:!1,shadowMode:!1})},"3abe":function(t,e,i){"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},4616:function(t,e,i){"use strict";i.r(e);var a=i("b323"),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e["default"]=n.a},"708d":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".indexNav[data-v-52faf15b]{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-52faf15b]{height:%?77.89?%}.left[data-v-52faf15b]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-52faf15b]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-52faf15b]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-52faf15b]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},7666:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAAHwCF3KAAAABGdBTUEAALGPC/xhBQAAANtJREFUOBHtVDsOwjAMDTvXoUdiZWBB4lIcgp25B2DvxmjeM7HlBEeCAQkkLLV23nt2nE9byosmInPBa1E9AvHEfuCS2SUxaOSR0Bis53twcxnoNZ4jgRVfBOB2jNUIKGOAeRCPggbQE3wiUrCqOTtNO4iVPAb5nmjU7YSSWy9rAcpPbAC2MUw9gA8QbKI1nRpztWgdgTxTkJIEv0hwHTbZE2iaW8ubQsvvdUyCKCYwsT2sKGb8Gwn5mSdrOWE9ZuMvpU+sG8GvRy9RrfAvILJPfxLZBtomwh/wXO6bsa0ZxbdJWQAAAABJRU5ErkJggg=="},"7d31":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,".head-flex[data-v-97807604]{width:%?543.47?%;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;font-size:%?32.6?%;color:#80b4ff;position:absolute;top:0;left:0;z-index:10;height:%?77.89?%;line-height:%?77.89?%;right:0;margin:auto}.head-item[data-v-97807604]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;cursor:pointer}.active-item[data-v-97807604]{color:#fff}.condition-item[data-v-97807604]{height:%?90.57?%;line-height:%?90.57?%;background:#fff;border-bottom:1px solid #979797;position:relative}.ctitle[data-v-97807604]{font-size:%?25.36?%;color:#333;position:absolute;top:0;left:%?23.55?%}.select-item[data-v-97807604]{font-size:%?25.36?%;color:#9b9b9b;position:absolute;top:0;right:%?45.28?%}.rarrow[data-v-97807604]{width:%?10.86?%;height:%?19.92?%;position:absolute!important;top:%?38.04?%;right:%?23.55?%}",""])},"8b1a":function(t,e,i){var a=i("7d31");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("d59b078a",a,!0,{sourceMap:!1,shadowMode:!1})},b323:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=s(i("cc42")),n=s(i("7666"));function s(t){return t&&t.__esModule?t:{default:t}}var o={components:{headerComp:a.default},onLoad:function(t){var e=this;uni.getStorage({key:"statusBarH",success:function(t){t.data&&(e.navheight=t.data)}})},data:function(){return{rightText:"保存",leftImg:n.default,activeType:"mall",mallText:"",gateText:"",dateText:"",navheight:0}},computed:{i18n:function(){return this.$t("index")}},methods:{backFun:function(){uni.navigateTo({url:"./groupTimeReport/groupTime"})},save:function(){uni.navigateTo({url:"./groupTimeReport/groupTime?analysisLevel=".concat(this.activeType)})},itemClick:function(t){this.activeType=t},goStoreList:function(){},goGateList:function(){},dateHandle:function(){}}};e.default=o},be5f:function(t,e,i){"use strict";i.r(e);var a=i("f916"),n=i("4616");for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i("1f18");var o=i("2877"),c=Object(o["a"])(n["default"],a["a"],a["b"],!1,null,"97807604",null);e["default"]=c.exports},cc42:function(t,e,i){"use strict";i.r(e);var a=i("05e6"),n=i("e15e");for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i("ef34");var o=i("2877"),c=Object(o["a"])(n["default"],a["a"],a["b"],!1,null,"52faf15b",null);e["default"]=c.exports},e15e:function(t,e,i){"use strict";i.r(e);var a=i("3abe"),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e["default"]=n.a},ef34:function(t,e,i){"use strict";var a=i("24c7"),n=i.n(a);n.a},f916:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"condition-wrapper"},[i("headerComp",{attrs:{leftImgSrc:t.leftImg,rightText:t.rightText},on:{leftClick:function(e){e=t.$handleEvent(e),t.backFun(e)},rightClick:function(e){e=t.$handleEvent(e),t.save(e)}}}),i("v-uni-view",{staticClass:"head-flex",style:{top:t.navheight+"px"}},[i("v-uni-view",{staticClass:"head-item",class:{"active-item":"mall"==t.activeType},on:{click:function(e){e=t.$handleEvent(e),t.itemClick("mall")}}},[t._v(t._s(t.i18n.store))]),i("v-uni-view",{staticClass:"head-item",class:{"active-item":"gate"==t.activeType},on:{click:function(e){e=t.$handleEvent(e),t.itemClick("gate")}}},[t._v("出入口")])],1),i("v-uni-view",{staticClass:"handle-content"},[i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.goStoreList(e)}}},[i("span",{staticClass:"ctitle"},[t._v(t._s(t.i18n.store))]),i("span",{staticClass:"select-item"},[t._v(t._s(t.mallText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.goGateList(e)}}},[i("span",{staticClass:"ctitle"},[t._v("监控点")]),i("span",{staticClass:"select-item"},[t._v(t._s(t.gateText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"condition-item",on:{click:function(e){e=t.$handleEvent(e),t.dateHandle(e)}}},[i("span",{staticClass:"ctitle"},[t._v("日期")]),i("span",{staticClass:"select-item"},[t._v(t._s(t.dateText))]),i("v-uni-image",{staticClass:"rarrow",attrs:{src:"../../static/analysis/rArrow.png",mode:"widthFix"}})],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-passenger-index"],{"1a8d":function(n,t,e){},"2c93":function(n,t,e){"use strict";var r=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[n._v("222")])},u=[];e.d(t,"a",function(){return r}),e.d(t,"b",function(){return u})},"457f":function(n,t,e){"use strict";e.r(t);var r=e("1a8d"),u=e.n(r);for(var a in r)"default"!==a&&function(n){e.d(t,n,function(){return r[n]})}(a);t["default"]=u.a},"4ec6":function(n,t,e){"use strict";e.r(t);var r=e("2c93"),u=e("457f");for(var a in u)"default"!==a&&function(n){e.d(t,n,function(){return u[n]})}(a);var c=e("2877"),f=Object(c["a"])(u["default"],r["a"],r["b"],!1,null,"d656344c",null);t["default"]=f.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-profile-profile"],{"05e6":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})},"0dab":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="},"24c7":function(t,e,a){var i=a("708d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("cadf493a",i,!0,{sourceMap:!1,shadowMode:!1})},"375c":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(a("cc42")),n=r(a("7666")),o=r(a("0dab"));function r(t){return t&&t.__esModule?t:{default:t}}var c={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){this.clearCache(),model.switchConnectType()}}],"提示")},logoutHandle:function(){this.clearCache(),uni.reLaunch({url:"../login/login"})},clearCache:function(){Object.keys(window.localStorage).forEach(function(t){window.localStorage.removeItem(t)})}}};e.default=c},"3abe":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},5924: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",{staticClass:"prefix-elem"}),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})},"708d":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".indexNav[data-v-52faf15b]{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-52faf15b]{height:%?77.89?%}.left[data-v-52faf15b]{float:left;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;padding-left:%?23.55?%}.right[data-v-52faf15b]{position:absolute;font-size:%?25.37?%;display:inline-block;height:%?77.89?%;line-height:%?77.89?%;right:%?21.73?%}.lImg[data-v-52faf15b]{width:%?12.68?%;height:%?23.55?%;float:left;position:relative;top:%?27.17?%}.rImg[data-v-52faf15b]{width:%?28.98?%;height:%?28.98?%;top:%?27.17?%;right:%?18.12?%;position:absolute}",""])},7666:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAAHwCF3KAAAABGdBTUEAALGPC/xhBQAAANtJREFUOBHtVDsOwjAMDTvXoUdiZWBB4lIcgp25B2DvxmjeM7HlBEeCAQkkLLV23nt2nE9byosmInPBa1E9AvHEfuCS2SUxaOSR0Bis53twcxnoNZ4jgRVfBOB2jNUIKGOAeRCPggbQE3wiUrCqOTtNO4iVPAb5nmjU7YSSWy9rAcpPbAC2MUw9gA8QbKI1nRpztWgdgTxTkJIEv0hwHTbZE2iaW8ubQsvvdUyCKCYwsT2sKGb8Gwn5mSdrOWE9ZuMvpU+sG8GvRy9RrfAvILJPfxLZBtomwh/wXO6bsa0ZxbdJWQAAAABJRU5ErkJggg=="},abe3:function(t,e,a){"use strict";a.r(e);var i=a("5924"),n=a("ccf8");for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);a("b036");var r=a("2877"),c=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"ac1a7274",null);e["default"]=c.exports},b036:function(t,e,a){"use strict";var i=a("e920"),n=a.n(i);n.a},cc42:function(t,e,a){"use strict";a.r(e);var i=a("05e6"),n=a("e15e");for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);a("ef34");var r=a("2877"),c=Object(r["a"])(n["default"],i["a"],i["b"],!1,null,"52faf15b",null);e["default"]=c.exports},ccf8:function(t,e,a){"use strict";a.r(e);var i=a("375c"),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},d73a:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".prefix-elem[data-v-ac1a7274]{height:%?25.36?%}.profile-item[data-v-ac1a7274]{background:#fff;position:relative}.texts[data-v-ac1a7274]{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-ac1a7274]{border-bottom:none}.arrows[data-v-ac1a7274]{width:%?14.49?%;height:%?25.36?%;position:absolute;right:%?23.55?%;top:%?32.6?%}.logout[data-v-ac1a7274]{margin-top:%?255.43?%;padding:0 %?41.66?%}.logout-btn[data-v-ac1a7274]{background-color:rgba(0,0,0,0);border:1px solid #0069ff;color:#0069ff;border-radius:%?41.66?%}",""])},e15e:function(t,e,a){"use strict";a.r(e);var i=a("3abe"),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},e920:function(t,e,a){var i=a("d73a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("73945e66",i,!0,{sourceMap:!1,shadowMode:!1})},ef34:function(t,e,a){"use strict";var i=a("24c7"),n=a.n(i);n.a}}]);
\ 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!