Compare commits
4 Commits
3b5ede2a69
...
036b09f772
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
036b09f772 | ||
|
|
db756b317b | ||
|
|
1f3346e209 | ||
| 075e37929e |
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content my-bg">
|
<view class="content my-bg">
|
||||||
<cu-custom class="main-topbar bg-main-oil" @showLists='showLists' :isChange='true' bgColor="bg-main-oil">
|
<cu-custom class="main-topbar bg-main-oil" @showLists='showLists' :isChange='true' bgColor="bg-main-oil">
|
||||||
<block slot="changeChannel">切换</block>
|
<block slot="changeChannel">切换</block>
|
||||||
<block slot="content">{{'星油云站'}}</block>
|
<block slot="content">{{'星油云站'}}</block>
|
||||||
</cu-custom>
|
</cu-custom>
|
||||||
@@ -12,7 +12,8 @@
|
|||||||
<text class="text-white">今日收款</text>
|
<text class="text-white">今日收款</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="" @tap='changess'>butns</view> -->
|
<!-- <view class="" @tap='changess'>butns</view> -->
|
||||||
<view class=" text-sl padding padding-top-xs"><text class="text-white">¥{{userAccount.totalMoney|numberFilter}}</text></view>
|
<view class=" text-sl padding padding-top-xs"><text
|
||||||
|
class="text-white">¥{{userAccount.totalMoney|numberFilter}}</text></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -24,9 +25,9 @@
|
|||||||
@tap="routerTo('/packageOrders/pages/orderList/dailyOrder/dailyOrder')">
|
@tap="routerTo('/packageOrders/pages/orderList/dailyOrder/dailyOrder')">
|
||||||
<text>今日收款笔数</text>
|
<text>今日收款笔数</text>
|
||||||
<view class="padding-sm">
|
<view class="padding-sm">
|
||||||
<text class="oil-main-color">{{userAccount.totalCount}}</text>
|
<text class="oil-main-color">{{userAccount.totalCount || 0}}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <button class="cu-btn bg-main-oil text-white text-sm ">
|
<!-- <button class="cu-btn bg-main-oil text-white text-sm ">
|
||||||
查看明细
|
查看明细
|
||||||
</button> -->
|
</button> -->
|
||||||
</view>
|
</view>
|
||||||
@@ -43,11 +44,15 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="showMainBox cu-list bg-white margin radius " style='z-index: 0;'>
|
<view class="showMainBox cu-list bg-white margin radius " style='z-index: 0;'>
|
||||||
<view class="foldOrExpand" v-if='SiteOliInfo.length>2'>
|
<view class="foldOrExpand" v-if='SiteOliInfo.length>2'>
|
||||||
<view class="fold checkF" v-if='checkForE' @click='showOrNo(false) '>折叠 <image src="../../static/img/zdU.png" mode="" class="showMainBox_item_top_img"></image></view>
|
<view class="fold checkF" v-if='checkForE' @click='showOrNo(false) '>折叠 <image
|
||||||
<view class="Expand checkF" v-if='!checkForE' @click='showOrNo(true) '>展开 <image src="../../static/img/zdD.png" mode="" class="showMainBox_item_top_img"></image></view>
|
src="../../static/img/zdU.png" mode="" class="showMainBox_item_top_img"></image>
|
||||||
|
</view>
|
||||||
|
<view class="Expand checkF" v-if='!checkForE' @click='showOrNo(true) '>展开 <image
|
||||||
|
src="../../static/img/zdD.png" mode="" class="showMainBox_item_top_img"></image>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="showMainBox_main" :style="{ height: showHeight}" >
|
<view v-if='SiteOliInfo.length' class="showMainBox_main" :style="{ height: showHeight}">
|
||||||
<view class="showMainBox_item" v-for='(item,i) in SiteOliInfo' :key='i' v-if='SiteOliInfo.length'>
|
<view class="showMainBox_item" v-for='(item,i) in SiteOliInfo' :key='i'>
|
||||||
<view class="showMainBox_item_left">
|
<view class="showMainBox_item_left">
|
||||||
<view class="showMainBox_item_left_title">{{item.oilProductCode}} 油</view>
|
<view class="showMainBox_item_left_title">{{item.oilProductCode}} 油</view>
|
||||||
<view class="showMainBox_item_left_tag">
|
<view class="showMainBox_item_left_tag">
|
||||||
@@ -55,7 +60,7 @@
|
|||||||
发改委价: <text class='color-red'>¥{{item.marketPrice}} </text>
|
发改委价: <text class='color-red'>¥{{item.marketPrice}} </text>
|
||||||
</view>
|
</view>
|
||||||
<view class="showMainBox_item_left_tag_money">
|
<view class="showMainBox_item_left_tag_money">
|
||||||
油站价: <text class='color-red'>¥{{item.sitePrice}}</text>
|
油站价: <text class='color-red'>¥{{item.sitePrice}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -70,12 +75,14 @@
|
|||||||
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
|
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
|
||||||
<view class="cu-tag badge" v-if="cuIconList[0].badge != 0">
|
<view class="cu-tag badge" v-if="cuIconList[0].badge != 0">
|
||||||
<block v-if="cuIconList[0].badge != 1">
|
<block v-if="cuIconList[0].badge != 1">
|
||||||
{{ cuIconList[0].badge > 99 ? '99+' : cuIconList[0].badge }}</block>
|
{{ cuIconList[0].badge > 99 ? '99+' : cuIconList[0].badge }}
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<text>{{ cuIconList[0].name }}</text>
|
<text>{{ cuIconList[0].name }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-item" v-for="(item,index) in menusList" :key="index" @tap="routerTo(item.path)" v-if=' item.name != "星油云站超级管理员"' >
|
<view class="cu-item" v-for="(item,index) in menusList" :key="index" @tap="routerTo(item.path)"
|
||||||
|
v-if=' item.name != "星油云站超级管理员"'>
|
||||||
<view :class="['cuIcon-' + item.cuIcon, 'text-' + cuIconList[index+1].color]" class="text-sl">
|
<view :class="['cuIcon-' + item.cuIcon, 'text-' + cuIconList[index+1].color]" class="text-sl">
|
||||||
<view class="cu-tag badge" v-if="item.badge != 0">
|
<view class="cu-tag badge" v-if="item.badge != 0">
|
||||||
<block v-if="item.badge != 1">{{ item.badge > 99 ? '99+' : item.badge }}</block>
|
<block v-if="item.badge != 1">{{ item.badge > 99 ? '99+' : item.badge }}</block>
|
||||||
@@ -87,12 +94,14 @@
|
|||||||
<view :class="['cuIcon-' + cuIconList[1].cuIcon, 'text-' + cuIconList[1].color]" class="text-sl">
|
<view :class="['cuIcon-' + cuIconList[1].cuIcon, 'text-' + cuIconList[1].color]" class="text-sl">
|
||||||
<view class="cu-tag badge" v-if="cuIconList[1].badge != 0">
|
<view class="cu-tag badge" v-if="cuIconList[1].badge != 0">
|
||||||
<block v-if="cuIconList[1].badge != 1">
|
<block v-if="cuIconList[1].badge != 1">
|
||||||
{{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}</block>
|
{{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<text>{{ cuIconList[1].name }}</text>
|
<text>{{ cuIconList[1].name }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="height: 180rpx;display: flex;justify-content: flex-end;" class="cu-item" @tap="routerTo('/pages/escalation/escalation')">
|
<view style="height: 180rpx;display: flex;justify-content: flex-end;" class="cu-item"
|
||||||
|
@tap="routerTo('/pages/escalation/escalation')">
|
||||||
<!-- <view :class="['cuIcon-' + cuIconList[2].cuIcon, 'text-' + cuIconList[2].color]" class="text-sl">
|
<!-- <view :class="['cuIcon-' + cuIconList[2].cuIcon, 'text-' + cuIconList[2].color]" class="text-sl">
|
||||||
<view class="cu-tag badge" v-if="cuIconList[2].badge != 0">
|
<view class="cu-tag badge" v-if="cuIconList[2].badge != 0">
|
||||||
<block v-if="cuIconList[2].badge != 1">
|
<block v-if="cuIconList[2].badge != 1">
|
||||||
@@ -114,13 +123,13 @@
|
|||||||
<text>交易统计</text>
|
<text>交易统计</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
|
|
||||||
<!-- <view class="cu-item" @tap="scanQr">
|
<!-- <view class="cu-item" @tap="scanQr">
|
||||||
<view class="text-sl cuIcon-scan text-yellow">
|
<view class="text-sl cuIcon-scan text-yellow">
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<text>扫星油云</text>
|
<text>扫星油云</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
<!-- <view class="cu-item" @tap="showLists">
|
<!-- <view class="cu-item" @tap="showLists">
|
||||||
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
|
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
|
||||||
<view class="cu-tag badge" >
|
<view class="cu-tag badge" >
|
||||||
</view>
|
</view>
|
||||||
@@ -129,52 +138,56 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<view class="padding-bottom-xl">
|
<view class="padding-bottom-xl">
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-modal" :class="checkList">
|
<view class="cu-modal" :class="checkList">
|
||||||
<view class="cu-dialog">
|
<view class="cu-dialog">
|
||||||
<view class="cu-bar bg-red justify-end">
|
<view class="cu-bar bg-red justify-end">
|
||||||
<view class="content ">
|
<view class="content ">
|
||||||
{{'选择登录油站'}}
|
{{'选择登录油站'}}
|
||||||
|
</view>
|
||||||
|
<view class="action" @tap="hidecheckList">
|
||||||
|
<text class="cuIcon-close text-white"></text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="action" @tap="hidecheckList">
|
<view class="text-left padding-xl padding-bottom padding-top bg-white">
|
||||||
<text class="cuIcon-close text-white"></text>
|
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList"
|
||||||
|
:key='list'>
|
||||||
|
<view class=""> {{list.otherSiteName}}</view>
|
||||||
|
<view class="">
|
||||||
|
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm"
|
||||||
|
@tap="checkLists(list)">
|
||||||
|
进入
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="text-left padding-xl padding-bottom padding-top bg-white">
|
</view>
|
||||||
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList" :key='list'>
|
<view class="cu-modal" :class="[checkFirst ? 'show':'']">
|
||||||
<view class=""> {{list.otherSiteName}}</view>
|
<view class="cu-dialog">
|
||||||
<view class="">
|
<view class="cu-bar bg-red justify-end">
|
||||||
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
|
<view class="content ">
|
||||||
进入
|
{{'选择登录油站'}}
|
||||||
|
</view>
|
||||||
|
<view class="action" @tap="hidecheckList">
|
||||||
|
<text class="cuIcon-close text-white"></text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="text-left padding-xl padding-bottom padding-top bg-white">
|
||||||
|
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList"
|
||||||
|
:key='list'>
|
||||||
|
<view class=""> {{list.otherSiteName}}</view>
|
||||||
|
<view class="">
|
||||||
|
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm"
|
||||||
|
@tap="checkLists(list)">
|
||||||
|
进入
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-modal" :class="[checkFirst ? 'show':'']" >
|
|
||||||
<view class="cu-dialog">
|
|
||||||
<view class="cu-bar bg-red justify-end">
|
|
||||||
<view class="content ">
|
|
||||||
{{'选择登录油站'}}
|
|
||||||
</view>
|
|
||||||
<view class="action" @tap="hidecheckList">
|
|
||||||
<text class="cuIcon-close text-white"></text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="text-left padding-xl padding-bottom padding-top bg-white">
|
|
||||||
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList" :key='list'>
|
|
||||||
<view class=""> {{list.otherSiteName}}</view>
|
|
||||||
<view class="">
|
|
||||||
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
|
|
||||||
进入
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -192,31 +205,31 @@
|
|||||||
// type:Array,
|
// type:Array,
|
||||||
// default(){}
|
// default(){}
|
||||||
// },
|
// },
|
||||||
checkUser:{
|
checkUser: {
|
||||||
type:Boolean,
|
type: Boolean,
|
||||||
default(){}
|
default () {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showHeight:'340rpx',
|
showHeight: '340rpx',
|
||||||
checkForE:false,
|
checkForE: false,
|
||||||
sitInfo:{},
|
sitInfo: {},
|
||||||
SiteOliInfo:[],
|
SiteOliInfo: [],
|
||||||
accountName:uni.getStorageSync('siteOli'),
|
accountName: uni.getStorageSync('siteOli'),
|
||||||
userAccount:uni.getStorageSync('ueserList'),
|
userAccount: uni.getStorageSync('ueserList'),
|
||||||
checkList:'',
|
checkList: '',
|
||||||
scanUrl: '',
|
scanUrl: '',
|
||||||
menusList:uni.getStorageSync('menusChangeList'),
|
menusList: uni.getStorageSync('menusChangeList'),
|
||||||
oliList:uni.getStorageSync('oliList'),
|
oliList: uni.getStorageSync('oliList'),
|
||||||
userMenu: uni.getStorageSync('userMenu'),
|
userMenu: uni.getStorageSync('userMenu'),
|
||||||
loginUser: uni.getStorageSync('loginUser'),
|
loginUser: uni.getStorageSync('loginUser'),
|
||||||
checkFirst:uni.getStorageSync('checkFirst'),
|
checkFirst: uni.getStorageSync('checkFirst'),
|
||||||
title: 'Hello',
|
title: 'Hello',
|
||||||
changeChannel:{
|
changeChannel: {
|
||||||
username:'',
|
username: '',
|
||||||
channelId:'',
|
channelId: '',
|
||||||
unionId:''
|
unionId: ''
|
||||||
},
|
},
|
||||||
cuIconList: [{
|
cuIconList: [{
|
||||||
cuIcon: 'location',
|
cuIcon: 'location',
|
||||||
@@ -310,13 +323,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showOrNo(type){
|
showOrNo(type) {
|
||||||
this.checkForE = type
|
this.checkForE = type
|
||||||
},
|
},
|
||||||
markerPhone(){
|
markerPhone() {
|
||||||
if (this.sitInfo.phone) {
|
if (this.sitInfo.phone) {
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
phoneNumber:'4008-56-5355'
|
phoneNumber: '4008-56-5355'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -325,90 +338,84 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changess(){
|
changess() {
|
||||||
oliUserApi.initCouldUser().then(res=>{
|
oliUserApi.initCouldUser().then(res => {
|
||||||
//console.log(res)
|
//console.log(res)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
changeMenuList(data){ //这里是切换处 更新权限menus处
|
changeMenuList(data) { //这里是切换处 更新权限menus处
|
||||||
const Menus =data
|
const Menus = data
|
||||||
console.log(data,'1111111111111111111111111111111111111111')
|
|
||||||
console.log('这里是接收menus处',Menus)
|
|
||||||
let menusList = []
|
let menusList = []
|
||||||
Menus.forEach((item,index,Menus)=>{
|
Menus.forEach((item, index, Menus) => {
|
||||||
if(item.roleName != 'ROOT' ){
|
if (item.roleName != 'ROOT') {
|
||||||
// this.Splicing(item)
|
|
||||||
menusList.push(this.Splicing(item)) //根据menus做处理
|
menusList.push(this.Splicing(item)) //根据menus做处理
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
uni.setStorageSync('menusChangeList',menusList)
|
uni.setStorageSync('menusChangeList', menusList)
|
||||||
this.menusList =uni.getStorageSync('menusChangeList')
|
this.menusList = uni.getStorageSync('menusChangeList')
|
||||||
|
|
||||||
// this.$emit('changMenus',menusList)
|
|
||||||
//console.log('这里是切换处',menusList)
|
|
||||||
},
|
},
|
||||||
Splicing(list){
|
Splicing(list) {
|
||||||
let obj = {
|
let obj = {
|
||||||
cuIcon: '',
|
cuIcon: '',
|
||||||
path: '',
|
path: '',
|
||||||
color: '',
|
color: '',
|
||||||
badge: 0,
|
badge: 0,
|
||||||
name:''
|
name: ''
|
||||||
}
|
}
|
||||||
if(list.roleName == '扫码加油'){
|
if (list.roleName == '扫码加油') {
|
||||||
obj.cuIcon = 'scan',
|
obj.cuIcon = 'scan',
|
||||||
obj.path= '/pages/station-info/scan-camera/scan-camera',
|
obj.path = '/pages/station-info/scan-camera/scan-camera',
|
||||||
obj.color= 'olive',
|
obj.color = 'olive',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '经营分析'){
|
} else if (list.roleName == '经营分析') {
|
||||||
obj.cuIcon = 'new',
|
obj.cuIcon = 'new',
|
||||||
obj.path= '',
|
obj.path = '',
|
||||||
obj.color= 'orange',
|
obj.color = 'orange',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '加油订单'){
|
} else if (list.roleName == '加油订单') {
|
||||||
obj.cuIcon = 'form',
|
obj.cuIcon = 'form',
|
||||||
obj.path= '/packageOrders/pages/orderList/orderList',
|
obj.path = '/packageOrders/pages/orderList/orderList',
|
||||||
obj.color= 'yellow',
|
obj.color = 'yellow',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '油站二维码'){
|
} else if (list.roleName == '油站二维码') {
|
||||||
obj.cuIcon = 'qr_code',
|
obj.cuIcon = 'qr_code',
|
||||||
obj.path= '/packageQr/pages/qrsite/QrCode_xy',
|
obj.path = '/packageQr/pages/qrsite/QrCode_xy',
|
||||||
obj.color= 'cyan',
|
obj.color = 'cyan',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '员工管理'){
|
} else if (list.roleName == '员工管理') {
|
||||||
obj.cuIcon = 'expressman',
|
obj.cuIcon = 'expressman',
|
||||||
obj.path= '/packageStaff/pages/staff/List/List',
|
obj.path = '/packageStaff/pages/staff/List/List',
|
||||||
obj.color= 'mauve',
|
obj.color = 'mauve',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '油站信息'){
|
} else if (list.roleName == '油站信息') {
|
||||||
obj.cuIcon = 'punch',
|
obj.cuIcon = 'punch',
|
||||||
obj.path= '/packageQr/pages/partnership/partnership',
|
obj.path = '/packageQr/pages/partnership/partnership',
|
||||||
obj.color= 'blue',
|
obj.color = 'blue',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '交易统计'){
|
} else if (list.roleName == '交易统计') {
|
||||||
obj.cuIcon = 'punch',
|
obj.cuIcon = 'punch',
|
||||||
obj.path= '/pages/TransactionStatistics/TransactionStatistics',
|
obj.path = '/pages/TransactionStatistics/TransactionStatistics',
|
||||||
obj.color= 'blue',
|
obj.color = 'blue',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}else if(list.roleName == '星油云站超级管理员'){
|
} else if (list.roleName == '星油云站超级管理员') {
|
||||||
obj.cuIcon = 'punch',
|
obj.cuIcon = 'punch',
|
||||||
obj.path= ' ',
|
obj.path = ' ',
|
||||||
obj.color= 'blue',
|
obj.color = 'blue',
|
||||||
obj.badge= 0,
|
obj.badge = 0,
|
||||||
obj.name=list.roleName
|
obj.name = list.roleName
|
||||||
}
|
}
|
||||||
return obj
|
return obj
|
||||||
},
|
},
|
||||||
checkInfo(){
|
checkInfo() {
|
||||||
let id = uni.getStorageSync('channelId')
|
let id = uni.getStorageSync('channelId')
|
||||||
if(id){
|
if (id) {
|
||||||
this.getUserInfo(id)
|
this.getUserInfo(id)
|
||||||
//console.log(this.menusList)
|
//console.log(this.menusList)
|
||||||
this.getSiteInfo(id)
|
this.getSiteInfo(id)
|
||||||
@@ -416,88 +423,78 @@
|
|||||||
},
|
},
|
||||||
// 获取油站信息
|
// 获取油站信息
|
||||||
getSiteInfo(channelId) {
|
getSiteInfo(channelId) {
|
||||||
console.log('获取油站信息')
|
|
||||||
oliSiteApi.getSiteDetail(channelId).then(res => {
|
oliSiteApi.getSiteDetail(channelId).then(res => {
|
||||||
// //console.log(res)
|
// //console.log(res)
|
||||||
if (res.code === 20000) {
|
if (res.code === 20000) {
|
||||||
console.log(res.data.oil)
|
console.log(res.data.oil)
|
||||||
this.sitInfo= res.data.site
|
this.sitInfo = res.data.site
|
||||||
this.SiteOliInfo = res.data.oil
|
this.SiteOliInfo = res.data.oil
|
||||||
if(res.data.oil.length <3){
|
if (res.data.oil.length < 3) {
|
||||||
this.showHeight = ' auto'
|
this.showHeight = ' auto'
|
||||||
}else{
|
} else {
|
||||||
this.showHeight = '340rpx'
|
this.showHeight = '340rpx'
|
||||||
}
|
}
|
||||||
uni.setStorageSync('oilSitePriceId',res.data.site.id)
|
uni.setStorageSync('oilSitePriceId', res.data.site.id)
|
||||||
uni.setStorageSync('oilSitePriceName',res.data.site.siteName)
|
uni.setStorageSync('oilSitePriceName', res.data.site.siteName)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
hidecheckList(){
|
hidecheckList() {
|
||||||
//console.log('')
|
|
||||||
this.checkList = ''
|
this.checkList = ''
|
||||||
this.checkFirst = false
|
this.checkFirst = false
|
||||||
},
|
},
|
||||||
checkLists(items){
|
checkLists(items) {
|
||||||
// //console.log(items)
|
|
||||||
let id = items.channelId
|
let id = items.channelId
|
||||||
this.changeChannel.channelId = items.channelId
|
this.changeChannel.channelId = items.channelId
|
||||||
this.changeChannel.unionId = uni.getStorageSync('unionId')
|
this.changeChannel.unionId = uni.getStorageSync('unionId')
|
||||||
this.changeChannel.username = this.loginUser.userPhone
|
this.changeChannel.username = this.loginUser.userPhone
|
||||||
uni.setStorageSync('channelId',items.channelId)
|
uni.setStorageSync('channelId', items.channelId)
|
||||||
oilIdentityApi.changeChannelLogin(this.changeChannel).then((res)=>{
|
oilIdentityApi.changeChannelLogin(this.changeChannel).then((res) => {
|
||||||
// //console.log(res)
|
if (res.code == 20000) {
|
||||||
if(res.code == 20000){
|
uni.setStorageSync('siteOli', items.otherSiteName)
|
||||||
uni.setStorageSync('siteOli',items.otherSiteName)
|
|
||||||
this.accountName = items.otherSiteName
|
this.accountName = items.otherSiteName
|
||||||
this.checkList = ''
|
this.checkList = ''
|
||||||
this.checkFirst = false
|
this.checkFirst = false
|
||||||
uni.setStorageSync('checkFirst',false)
|
uni.setStorageSync('checkFirst', false)
|
||||||
uni.setStorageSync('Authorization',res.data.authTokenDTO.accessToken)
|
uni.setStorageSync('Authorization', res.data.authTokenDTO.accessToken)
|
||||||
this.checkForE =false
|
this.checkForE = false
|
||||||
uni.setStorageSync('userMenu', res.data.authTokenDTO.loginUser.roleMenus)
|
uni.setStorageSync('userMenu', res.data.authTokenDTO.loginUser.roleMenus)
|
||||||
uni.setStorageSync('loginUser', {
|
uni.setStorageSync('loginUser', {
|
||||||
id: res.data.authTokenDTO.loginUser.id,
|
id: res.data.authTokenDTO.loginUser.id,
|
||||||
name: res.data.authTokenDTO.loginUser.name,
|
name: res.data.authTokenDTO.loginUser.name,
|
||||||
userPhone: res.data.authTokenDTO.loginUser.userPhone
|
userPhone: res.data.authTokenDTO.loginUser.userPhone
|
||||||
})
|
})
|
||||||
//console.log(res.data.authTokenDTO.loginUser.channelId)
|
|
||||||
this.getSiteInfo(res.data.authTokenDTO.loginUser.channelId)
|
this.getSiteInfo(res.data.authTokenDTO.loginUser.channelId)
|
||||||
this.getUserInfo(id)
|
this.getUserInfo(id)
|
||||||
this.changeMenuList(res.data.authTokenDTO.loginUser.roleMenus)
|
this.changeMenuList(res.data.authTokenDTO.loginUser.roleMenus)
|
||||||
}else if(res.code == 40000){
|
} else if (res.code == 40000) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/login/boforeLogin/boforeLogin'
|
url: '/pages/login/boforeLogin/boforeLogin'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//获取油站基本资料
|
//获取油站基本资料
|
||||||
getUserInfo(id) {
|
getUserInfo(id) {
|
||||||
console.log('获取油站基本资料')
|
|
||||||
// 获取云站当前登录用户的基础资料
|
// 获取云站当前登录用户的基础资料
|
||||||
oliSiteApi.getSiteBasicData(id).then(res => {
|
oliSiteApi.getSiteBasicData(id).then(res => {
|
||||||
//console.log('用户资料', res)
|
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
if (res.code === 20000) {
|
if (res.code === 20000) {
|
||||||
uni.setStorageSync('ueserList',res.data)
|
uni.setStorageSync('ueserList', res.data)
|
||||||
this.userAccount = res.data
|
this.userAccount = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
showLists(){
|
showLists() {
|
||||||
let phoneNumber = this.loginUser.userPhone ,
|
if (!this.checkLogin()) return
|
||||||
_that =this
|
let phoneNumber = this.loginUser.userPhone,
|
||||||
oliUserApi.getByPhone(phoneNumber).then((res)=>{
|
_that = this
|
||||||
//console.log('调用')
|
oliUserApi.getByPhone(phoneNumber).then((res) => {
|
||||||
//console.log('这里是切换',res)
|
if (res.code == 20000) {
|
||||||
|
if (res.data.length < 2) {
|
||||||
if(res.code == 20000){
|
|
||||||
//console.log(res.data.length)
|
|
||||||
if(res.data.length < 2){
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'当前只有一个油站,不可切换',
|
title: '当前只有一个油站,不可切换',
|
||||||
icon:'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -506,15 +503,14 @@
|
|||||||
_that.changeChannel.username = _that.loginUser.userPhone
|
_that.changeChannel.username = _that.loginUser.userPhone
|
||||||
_that.changeChannel.unionId = uni.getStorageSync('unionId')
|
_that.changeChannel.unionId = uni.getStorageSync('unionId')
|
||||||
|
|
||||||
}else{
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'请求失败,请稍后再试',
|
title: '请求失败,请稍后再试',
|
||||||
icon:'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
//console.log(this.loginUser)
|
|
||||||
},
|
},
|
||||||
scanQr() {
|
scanQr() {
|
||||||
var scanUrl
|
var scanUrl
|
||||||
@@ -542,13 +538,30 @@
|
|||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
// },
|
// },
|
||||||
|
checkLogin() {
|
||||||
|
const token = uni.getStorageSync('Authorization')
|
||||||
|
if (!token) {
|
||||||
|
uni.showModal({
|
||||||
|
content: '您还没有登录哦',
|
||||||
|
confirmText: '前往登录',
|
||||||
|
success: res => {
|
||||||
|
if (res.confirm) {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/login/boforeLogin/boforeLogin'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
routerTo(url, name) {
|
routerTo(url, name) {
|
||||||
//console.log(url,name)
|
if (!this.checkLogin()) return
|
||||||
console.log(url)
|
if (url == '') {
|
||||||
if(url == ''){
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'暂时无法使用...',
|
title: '暂时无法使用...',
|
||||||
icon:'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -562,25 +575,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
,onShow() {
|
onShow() {
|
||||||
//console.log('这里是show')
|
//console.log('这里是show')
|
||||||
},
|
},
|
||||||
watch:{
|
watch: {
|
||||||
checkForE(newValue,oldValue){
|
checkForE(newValue, oldValue) {
|
||||||
console.log(newValue)
|
console.log(newValue)
|
||||||
console.log(oldValue)
|
console.log(oldValue)
|
||||||
if(newValue && this.SiteOliInfo.length>2){
|
if (newValue && this.SiteOliInfo.length > 2) {
|
||||||
this.showHeight = ' auto'
|
this.showHeight = ' auto'
|
||||||
}else if(!newValue && this.SiteOliInfo.length>2){
|
} else if (!newValue && this.SiteOliInfo.length > 2) {
|
||||||
this.showHeight = '340rpx'
|
this.showHeight = '340rpx'
|
||||||
}else if (this.SiteOliInfo.length==2 || this.SiteOliInfo.length<2 ){
|
} else if (this.SiteOliInfo.length == 2 || this.SiteOliInfo.length < 2) {
|
||||||
this.showHeight = ' auto'
|
this.showHeight = ' auto'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created(){
|
created() {
|
||||||
// 此页面onshow无法执行生命周期需要,需要走created
|
// 此页面onshow无法执行生命周期需要,需要走created
|
||||||
//console.log('这里是created')
|
//console.log('这里是created')
|
||||||
//console.log(this.menusList)
|
//console.log(this.menusList)
|
||||||
@@ -592,42 +605,49 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.showMainBox_main{
|
.showMainBox_main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.showMainBox_item_top_img{
|
|
||||||
width: 40rpx;
|
.showMainBox_item_top_img {
|
||||||
height: 40rpx;
|
width: 40rpx;
|
||||||
margin-left: 2%;
|
height: 40rpx;
|
||||||
|
margin-left: 2%;
|
||||||
|
|
||||||
}
|
}
|
||||||
.foldOrExpand{
|
|
||||||
|
.foldOrExpand {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 2% 3%;
|
padding: 2% 3%;
|
||||||
border-bottom: 1px solid #eeee;
|
border-bottom: 1px solid #eeee;
|
||||||
}
|
}
|
||||||
.foldOrExpand .checkF{
|
|
||||||
display: flex;
|
.foldOrExpand .checkF {
|
||||||
justify-content: flex-end;
|
display: flex;
|
||||||
align-items: center;
|
justify-content: flex-end;
|
||||||
transition: all linear .3s;
|
align-items: center;
|
||||||
|
transition: all linear .3s;
|
||||||
}
|
}
|
||||||
.color-red{
|
|
||||||
|
.color-red {
|
||||||
color: #f70e0e;
|
color: #f70e0e;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 35rpx;
|
font-size: 35rpx;
|
||||||
margin-left: 3%;
|
margin-left: 3%;
|
||||||
}
|
}
|
||||||
.showMainBox_item_right_img{
|
|
||||||
|
.showMainBox_item_right_img {
|
||||||
width: 70rpx;
|
width: 70rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
}
|
}
|
||||||
.showMainBox_item_left_tag_money{
|
|
||||||
|
.showMainBox_item_left_tag_money {
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
width: 47%;
|
width: 47%;
|
||||||
|
|
||||||
}
|
}
|
||||||
.showMainBox_item{
|
|
||||||
|
.showMainBox_item {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
@@ -636,19 +656,22 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 2rpx solid #eee;
|
border-bottom: 2rpx solid #eee;
|
||||||
}
|
}
|
||||||
.showMainBox_item_left_tag{
|
|
||||||
|
.showMainBox_item_left_tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin-top:2%;
|
margin-top: 2%;
|
||||||
}
|
}
|
||||||
.showMainBox_item_left_title{
|
|
||||||
color: #333;
|
.showMainBox_item_left_title {
|
||||||
font-size:36rpx;
|
color: #333;
|
||||||
|
font-size: 36rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
.showMainBox_item_left{
|
|
||||||
|
.showMainBox_item_left {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
@@ -656,20 +679,24 @@
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
.showMainBox{
|
|
||||||
|
.showMainBox {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.listBox{
|
|
||||||
|
.listBox {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-bar {
|
.bottom-bar {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
|
|||||||
@@ -64,75 +64,73 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
// uni.showToast({
|
|
||||||
// title:'这里是show'
|
|
||||||
// })
|
|
||||||
//console.log('这里是indexonshow')
|
|
||||||
uni.setStorageSync('orderType',null)
|
uni.setStorageSync('orderType',null)
|
||||||
// uni.preloadPage({url: "/pages/station-info/scan-camera/scan-camera"});
|
// uni.preloadPage({url: "/pages/station-info/scan-camera/scan-camera"});
|
||||||
const token = uni.getStorageSync('Authorization')
|
const token = uni.getStorageSync('Authorization')
|
||||||
const openid = uni.getStorageSync('device')
|
const openid = uni.getStorageSync('device')
|
||||||
// //console.log('++++++++++++')
|
|
||||||
// //console.log(token)
|
|
||||||
// //console.log(openid)
|
|
||||||
// //console.log('++++++++++++')
|
|
||||||
if (token && openid) {
|
if (token && openid) {
|
||||||
// this.getUserInfo()
|
// this.getUserInfo()
|
||||||
// this.getSiteInfo()
|
// this.getSiteInfo()
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: '您还没有登录哦',
|
// title: '您还没有登录哦',
|
||||||
icon: "none"
|
// icon: "none"
|
||||||
})
|
// })
|
||||||
setTimeout(function() {
|
// setTimeout(function() {
|
||||||
uni.reLaunch({
|
// uni.reLaunch({
|
||||||
url: '/pages/login/boforeLogin/boforeLogin',
|
// url: '/pages/login/boforeLogin/boforeLogin',
|
||||||
success: () => {
|
// success: () => {
|
||||||
//console.log('跳转成功')
|
// //console.log('跳转成功')
|
||||||
},
|
// },
|
||||||
fail: (err) => {
|
// fail: (err) => {
|
||||||
//console.log(err)
|
// //console.log(err)
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}, 1500);
|
// }, 1500);
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
// uni.showToast({
|
const token = uni.getStorageSync('Authorization')
|
||||||
// title:'这里是onLoad'
|
if(!token) return
|
||||||
// })
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url:'/pages/stationDetail/ZYSite'
|
|
||||||
// })
|
|
||||||
let _that =this
|
let _that =this
|
||||||
const Menus = uni.getStorageSync('userMenu')
|
const Menus = uni.getStorageSync('userMenu')
|
||||||
//console.log('这里是接收menus处',Menus)
|
|
||||||
let menusList = []
|
let menusList = []
|
||||||
Menus.forEach((item,index,Menus)=>{
|
Menus.forEach((item,index,Menus)=>{
|
||||||
if(item.roleName != 'ROOT' ){
|
if(item.roleName != 'ROOT' ){
|
||||||
// this.Splicing(item)
|
|
||||||
menusList.push(this.Splicing(item))
|
menusList.push(this.Splicing(item))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//console.log('这里是menusLisPush',menusList)
|
|
||||||
// uni.setStorageSync('menusLists',menusList)
|
|
||||||
let check = uni.getStorageSync('checkFirst')
|
let check = uni.getStorageSync('checkFirst')
|
||||||
//console.log(check)
|
|
||||||
if(check){
|
if(check){
|
||||||
_that.checkUser = true
|
_that.checkUser = true
|
||||||
}
|
}
|
||||||
uni.setStorageSync('menusChangeList',menusList)
|
uni.setStorageSync('menusChangeList',menusList)
|
||||||
this.menusList = menusList
|
this.menusList = menusList
|
||||||
//console.log('这里是menusfor循环完成处',this.menusList)
|
|
||||||
// this.getUserInfo()
|
|
||||||
this.longiCheck()
|
this.longiCheck()
|
||||||
// //console.log('++++++++')
|
|
||||||
//console.log('这里是传值处menus',this.menusList)
|
|
||||||
this.getPosition()
|
this.getPosition()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
checkLogin() {
|
||||||
|
const token = uni.getStorageSync('Authorization')
|
||||||
|
if (!token) {
|
||||||
|
uni.showModal({
|
||||||
|
content: '您还没有登录哦',
|
||||||
|
confirmText: '前往登录',
|
||||||
|
success: res => {
|
||||||
|
if (res.confirm) {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/login/boforeLogin/boforeLogin'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
getPosition(){
|
getPosition(){
|
||||||
|
console.log('getPositiongetPositiongetPositiongetPosition')
|
||||||
let that = this
|
let that = this
|
||||||
uni.getLocation({
|
uni.getLocation({
|
||||||
type: 'gcj02',
|
type: 'gcj02',
|
||||||
@@ -145,15 +143,12 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
changMenus(data){
|
changMenus(data){
|
||||||
//console.log('这里是获取子级数据的地方+++++',data)
|
|
||||||
this.menusList =data
|
this.menusList =data
|
||||||
},
|
},
|
||||||
longiCheck(){
|
longiCheck(){
|
||||||
let userInfo = uni.getStorageSync('loginUser'),
|
let userInfo = uni.getStorageSync('loginUser'),
|
||||||
_that =this
|
_that =this
|
||||||
//console.log(userInfo)
|
|
||||||
oliUserApi.getByPhone(userInfo.userPhone).then((res)=>{
|
oliUserApi.getByPhone(userInfo.userPhone).then((res)=>{
|
||||||
//console.log('调用')
|
|
||||||
if(res.code == 20000){
|
if(res.code == 20000){
|
||||||
_that.checkList = 'show'
|
_that.checkList = 'show'
|
||||||
_that.oliList = res.data
|
_that.oliList = res.data
|
||||||
@@ -251,6 +246,7 @@
|
|||||||
|
|
||||||
// },
|
// },
|
||||||
NavChange: function(e) {
|
NavChange: function(e) {
|
||||||
|
if(!this.checkLogin()) return
|
||||||
this.PageCur = e.currentTarget.dataset.cur
|
this.PageCur = e.currentTarget.dataset.cur
|
||||||
if (this.PageCur == "scan") {
|
if (this.PageCur == "scan") {
|
||||||
this.scanQr()
|
this.scanQr()
|
||||||
@@ -261,21 +257,15 @@
|
|||||||
var scanUrl
|
var scanUrl
|
||||||
let _that = this
|
let _that = this
|
||||||
this.menusList.forEach((item, index) => {
|
this.menusList.forEach((item, index) => {
|
||||||
//console.log('1')
|
|
||||||
//console.log(index)
|
|
||||||
//console.log(_that.userMenu)
|
|
||||||
//console.log(item.name)
|
|
||||||
//console.log('2')
|
|
||||||
if (item.name === '扫码加油') {
|
if (item.name === '扫码加油') {
|
||||||
// scanUrl = item.path
|
|
||||||
scanUrl = '/pages/station-info/scan-camera/scan-camera'
|
scanUrl = '/pages/station-info/scan-camera/scan-camera'
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: scanUrl,
|
url: scanUrl,
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
// //console.log(err)
|
|
||||||
},
|
},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
// //console.log('chengg', res)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user