|
@@ -1,10 +1,11 @@
|
|
<template>
|
|
<template>
|
|
- <view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+
|
|
<u-picker-select title="日期选择" :maskCloseAble="true" v-model="tabsFrom.show2" :defaultTime="tabsFrom.show2Index" :endYear="endYear"
|
|
<u-picker-select title="日期选择" :maskCloseAble="true" v-model="tabsFrom.show2" :defaultTime="tabsFrom.show2Index" :endYear="endYear"
|
|
mode="time" :params="params" @confirm="selector2confirm" @cancel="selector2cancel"
|
|
mode="time" :params="params" @confirm="selector2confirm" @cancel="selector2cancel"
|
|
@reset="selector2reset">
|
|
@reset="selector2reset">
|
|
</u-picker-select>
|
|
</u-picker-select>
|
|
- <u-select title="" v-model="tabsFrom.show1"
|
|
|
|
|
|
+ <u-select title="" v-model="tabsFrom.show1" :defaultValue="[current2]"
|
|
:list="childList" value-name="id" label-name="name"
|
|
:list="childList" value-name="id" label-name="name"
|
|
@confirm="selector1confirm" >
|
|
@confirm="selector1confirm" >
|
|
</u-select>
|
|
</u-select>
|
|
@@ -16,7 +17,7 @@
|
|
|
|
|
|
|
|
</span>
|
|
</span>
|
|
<span style="padding-left: 4px;" >
|
|
<span style="padding-left: 4px;" >
|
|
- {{companyInfo.name}}
|
|
|
|
|
|
+ {{datacompanyInfo.name}}
|
|
</span>
|
|
</span>
|
|
</view>
|
|
</view>
|
|
<view class="title" v-else>
|
|
<view class="title" v-else>
|
|
@@ -30,7 +31,7 @@
|
|
{{kWhList[0].name}}
|
|
{{kWhList[0].name}}
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
- {{merchantList1[current].name}}
|
|
|
|
|
|
+ {{childList.length==1?companyInfo.name : childInfo.name}}
|
|
</template>
|
|
</template>
|
|
</span>
|
|
</span>
|
|
<span style="padding-left: 4px;" v-if="companyList.length==1">
|
|
<span style="padding-left: 4px;" v-if="companyList.length==1">
|
|
@@ -42,7 +43,7 @@
|
|
{{kWhList[0].name}}
|
|
{{kWhList[0].name}}
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
- {{companyList[0].name}}
|
|
|
|
|
|
+ {{childList.length==1?companyInfo.name : childInfo.name}}
|
|
</template>
|
|
</template>
|
|
</span>
|
|
</span>
|
|
|
|
|
|
@@ -53,7 +54,7 @@
|
|
|
|
|
|
<view class="tabs2" :class="'tabs-len-2'"
|
|
<view class="tabs2" :class="'tabs-len-2'"
|
|
:style="{width: '100%', }">
|
|
:style="{width: '100%', }">
|
|
- <u-tabs-one :gutter="32"
|
|
|
|
|
|
+ <u-tabs-one :gutter="32"
|
|
:list="companyInfotypeList" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF"
|
|
:list="companyInfotypeList" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF"
|
|
bg-color="#1677FF" :current="1" @change="companyInfotypeChange"></u-tabs-one>
|
|
bg-color="#1677FF" :current="1" @change="companyInfotypeChange"></u-tabs-one>
|
|
</view>
|
|
</view>
|
|
@@ -65,7 +66,7 @@
|
|
|
|
|
|
<view class="tabs" :class="'tabs-len-'+merchantList1.length" v-show="companyList.length>1"
|
|
<view class="tabs" :class="'tabs-len-'+merchantList1.length" v-show="companyList.length>1"
|
|
:style="{width: companyList.length>3 ? '' : '100%'}">
|
|
:style="{width: companyList.length>3 ? '' : '100%'}">
|
|
- <u-tabs-one v-if="utabsone"
|
|
|
|
|
|
+ <u-tabs-one v-if="utabsone"
|
|
:list="merchantList1" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF"
|
|
:list="merchantList1" :is-scroll="false" active-color="#fff" inactive-color="#CCE2FF"
|
|
bg-color="#1677FF" :current="current" @change="change"></u-tabs-one>
|
|
bg-color="#1677FF" :current="current" @change="change"></u-tabs-one>
|
|
</view>
|
|
</view>
|
|
@@ -78,7 +79,8 @@
|
|
<u-popup v-model="popShow" duration="10" mode="top" :negative-top="88" border-radius="16">
|
|
<u-popup v-model="popShow" duration="10" mode="top" :negative-top="88" border-radius="16">
|
|
<view class="popup-tabs">
|
|
<view class="popup-tabs">
|
|
<view class="tabs">
|
|
<view class="tabs">
|
|
- <u-tabs :list="merchantList1" :is-scroll="false" :current="current" @change="change"></u-tabs>
|
|
|
|
|
|
+ <u-tabs
|
|
|
|
+ :list="merchantList1" :is-scroll="false" :current="current" @change="change"></u-tabs>
|
|
</view>
|
|
</view>
|
|
<view class="more">
|
|
<view class="more">
|
|
<u-icon name="arrow-up" color="#777777" size="40" @click="popShow=false"></u-icon>
|
|
<u-icon name="arrow-up" color="#777777" size="40" @click="popShow=false"></u-icon>
|
|
@@ -90,7 +92,8 @@
|
|
{{item.name}}
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </u-popup>
|
|
|
|
|
|
+ </u-popup>
|
|
|
|
+
|
|
<view class="main electronicMonitoring-123" v-show="kWhList.length==1" style="padding:32rpx 0;">
|
|
<view class="main electronicMonitoring-123" v-show="kWhList.length==1" style="padding:32rpx 0;">
|
|
|
|
|
|
<view class="electronicMonitoring-title"
|
|
<view class="electronicMonitoring-title"
|
|
@@ -109,7 +112,29 @@
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="main current-123" v-show="(kWhList.length!=1)">
|
|
|
|
|
|
+ <view class="main current-123" v-show="(kWhList.length!=1)">
|
|
|
|
+
|
|
|
|
+ <view class="electronicMonitoring-title"
|
|
|
|
+ @click="titleCk"
|
|
|
|
+ v-if="companyType==1"
|
|
|
|
+ v-show="childList&&childList.length>0" >
|
|
|
|
+ <view>
|
|
|
|
+ {{childListName}}
|
|
|
|
+ </view>
|
|
|
|
+ <view v-show="childList.length>1">
|
|
|
|
+ <u-icon name="arrow-down"></u-icon>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="electronicMonitoring-title2"
|
|
|
|
+ v-else
|
|
|
|
+ v-show="childList&&childList.length>1" >
|
|
|
|
+ <u-tabs-one height="60" v-if="childList&&childList.length"
|
|
|
|
+ :currentIndexBl="true" bg-color="#f2f4f6"
|
|
|
|
+ :list="childList" :is-scroll="false" :current="current2" @change="change2"></u-tabs-one>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+
|
|
<!-- 电表运行情况 -->
|
|
<!-- 电表运行情况 -->
|
|
<view class="statistics-1 statistics">
|
|
<view class="statistics-1 statistics">
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -154,7 +179,7 @@
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="" v-show="companyId==''">
|
|
|
|
|
|
+ <view class="" v-show="companyId==''&&companyList.length>1&&datacompanyInfo.type=='2'">
|
|
<!-- 电表运行情况 -->
|
|
<!-- 电表运行情况 -->
|
|
<view class="statistics-1 statistics" >
|
|
<view class="statistics-1 statistics" >
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -166,29 +191,23 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
- <view class=" contractList">
|
|
|
|
- <view class="contractListClass" @click="gotoUrl('/pages/tenantList/contractList?query=1')">
|
|
|
|
- <view class="contractListClass1">
|
|
|
|
- 荆鹏软件园
|
|
|
|
- </view>
|
|
|
|
- <view class="contractListClass2">
|
|
|
|
- <u-icon name="arrow-right" size="24" color="#838383"></u-icon>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="contractListClass" @click="gotoUrl('/pages/tenantList/contractList?query=1')">
|
|
|
|
|
|
+ <view class=" contractList" >
|
|
|
|
+ <view class="contractListClass" v-for="(item,i) in companyList" :key="i"
|
|
|
|
+ @click="change(i+1)">
|
|
<view class="contractListClass1">
|
|
<view class="contractListClass1">
|
|
- 鹏育优电
|
|
|
|
|
|
+ {{item.name}}
|
|
</view>
|
|
</view>
|
|
<view class="contractListClass2">
|
|
<view class="contractListClass2">
|
|
<u-icon name="arrow-right" size="24" color="#838383"></u-icon>
|
|
<u-icon name="arrow-right" size="24" color="#838383"></u-icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="" v-show="companyId==''">
|
|
|
|
|
|
+ <view class="" v-show="companyId==''&&companyList.length>1&&0&&datacompanyInfo.type=='2'">
|
|
<!-- 电表运行情况 -->
|
|
<!-- 电表运行情况 -->
|
|
<view class="statistics-1 statistics statistics-3" >
|
|
<view class="statistics-1 statistics statistics-3" >
|
|
<view class="title">
|
|
<view class="title">
|
|
@@ -568,7 +587,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+ <u-divider nonetext="暂无数据" border-color="#CFD2D5">已经到底了</u-divider>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
@@ -601,9 +621,9 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- abnormalRecordsList: [], // 异常告警记录
|
|
|
|
|
|
+ abnormalRecordsList: [],
|
|
queryDate: '',
|
|
queryDate: '',
|
|
- queryDateMonth:"",
|
|
|
|
|
|
+
|
|
alarmsPercent: 0,
|
|
alarmsPercent: 0,
|
|
alarmsForm: {
|
|
alarmsForm: {
|
|
okNum: 0,
|
|
okNum: 0,
|
|
@@ -622,7 +642,7 @@
|
|
merchantList1: [], // 商户
|
|
merchantList1: [], // 商户
|
|
merchantList2: [],
|
|
merchantList2: [],
|
|
companyList: [],
|
|
companyList: [],
|
|
- companyInfo:{},
|
|
|
|
|
|
+ datacompanyInfo:{},
|
|
companyInfotypeCurrent:1,
|
|
companyInfotypeCurrent:1,
|
|
companyInfotypeList:[
|
|
companyInfotypeList:[
|
|
{
|
|
{
|
|
@@ -700,9 +720,9 @@
|
|
|
|
|
|
},
|
|
},
|
|
getHomePageManageReady:false,
|
|
getHomePageManageReady:false,
|
|
- childListName:"",
|
|
|
|
|
|
+
|
|
utabsone:true,
|
|
utabsone:true,
|
|
- companyType:0,
|
|
|
|
|
|
+
|
|
incomeExpenditureObj:{},
|
|
incomeExpenditureObj:{},
|
|
getHomePageKwhshowLoading:false,
|
|
getHomePageKwhshowLoading:false,
|
|
getHomePageManageshowLoading:false,
|
|
getHomePageManageshowLoading:false,
|
|
@@ -713,14 +733,16 @@
|
|
tenantListNum1:0,
|
|
tenantListNum1:0,
|
|
tenantListNum2:0,
|
|
tenantListNum2:0,
|
|
tenantListNum3:0,
|
|
tenantListNum3:0,
|
|
- childList:[],
|
|
|
|
|
|
+ childList:[],
|
|
|
|
+ childInfo:{},
|
|
|
|
+ companyInfo:{},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
var date = new Date();
|
|
var date = new Date();
|
|
var year = date.getFullYear();
|
|
var year = date.getFullYear();
|
|
var month = date.getMonth() + 1 >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1);
|
|
var month = date.getMonth() + 1 >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1);
|
|
- this.queryDateMonth = year + '-' + month;
|
|
|
|
|
|
+
|
|
this.endYear = new Date().getFullYear();
|
|
this.endYear = new Date().getFullYear();
|
|
this.queryDate = parseUnixTime(new Date(), '{y}-{m}-{d}');
|
|
this.queryDate = parseUnixTime(new Date(), '{y}-{m}-{d}');
|
|
|
|
|
|
@@ -754,6 +776,14 @@
|
|
if(!this.intervalReady&&this.companyList.length>1){
|
|
if(!this.intervalReady&&this.companyList.length>1){
|
|
this.startInterval();
|
|
this.startInterval();
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ computed:{
|
|
|
|
+ childListName(){
|
|
|
|
+ return this.childInfo.name;
|
|
|
|
+ },
|
|
|
|
+ companyType(){
|
|
|
|
+ return this.companyInfo.type;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
titleCk() {
|
|
titleCk() {
|
|
@@ -870,7 +900,7 @@
|
|
openId: this.carhelp.getOpenId()
|
|
openId: this.carhelp.getOpenId()
|
|
}).then((response) => {
|
|
}).then((response) => {
|
|
if(response.data&&response.data.companyInfo){
|
|
if(response.data&&response.data.companyInfo){
|
|
- this.companyInfo=response.data.companyInfo
|
|
|
|
|
|
+ this.datacompanyInfo=response.data.companyInfo
|
|
this.companyInfotype = response.data.companyInfo.type;
|
|
this.companyInfotype = response.data.companyInfo.type;
|
|
if(this.companyInfotype==4){
|
|
if(this.companyInfotype==4){
|
|
this.getFindMeterList()
|
|
this.getFindMeterList()
|
|
@@ -913,29 +943,7 @@
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- companyIdSet(val,item){
|
|
|
|
- this.companyType= 0
|
|
|
|
- if(val&&item){
|
|
|
|
- this.companyType= item.type
|
|
|
|
- }else{
|
|
|
|
- if(!val){
|
|
|
|
-
|
|
|
|
- }else{
|
|
|
|
- var bl=false
|
|
|
|
- this.companyList.find(item=>{
|
|
|
|
-
|
|
|
|
- if(item.id==val){
|
|
|
|
-
|
|
|
|
- this.companyType= item.type;
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
switchBtnApiMethod(node,key){
|
|
switchBtnApiMethod(node,key){
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: "加载中",
|
|
title: "加载中",
|
|
@@ -1163,41 +1171,67 @@
|
|
change(index) {
|
|
change(index) {
|
|
this.current = index;
|
|
this.current = index;
|
|
this.current2=0;
|
|
this.current2=0;
|
|
|
|
+ this.childList=[]
|
|
var company= this.merchantList1[index]
|
|
var company= this.merchantList1[index]
|
|
if(company.id!=''){
|
|
if(company.id!=''){
|
|
- this.childList=this.merchantList1[index].childList
|
|
|
|
|
|
+ this.childList=company.childList;
|
|
|
|
+ if(this.childList&&this.childList.length){
|
|
|
|
+ this.companyId = this.childList[0].id;
|
|
|
|
+ this.childInfo=this.childList[0]
|
|
|
|
+ }else{
|
|
|
|
+ this.childList=[]
|
|
|
|
+ this.companyId =company.id
|
|
|
|
+ this.childInfo=company
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
- this.companyId = this.childList[this.current2].id;
|
|
|
|
- this.childListName=this.childList[this.current2].name;
|
|
|
|
}else{
|
|
}else{
|
|
this.companyId =''
|
|
this.companyId =''
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
+ this.companyInfo=company;
|
|
|
|
|
|
- this.companyIdSet(this.companyId)
|
|
|
|
this.merchantChangeApi()
|
|
this.merchantChangeApi()
|
|
},
|
|
},
|
|
change2(index) {
|
|
change2(index) {
|
|
|
|
|
|
this.current2=index;
|
|
this.current2=index;
|
|
- //this.childList=this.merchantList1[index].childList
|
|
|
|
|
|
+
|
|
this.companyId = this.childList[this.current2].id;
|
|
this.companyId = this.childList[this.current2].id;
|
|
- this.childListName=this.childList[this.current2].name;
|
|
|
|
|
|
+
|
|
|
|
+ this.childInfo=this.childList[this.current2]
|
|
|
|
|
|
- this.companyIdSet(this.companyId)
|
|
|
|
this.merchantChangeApi()
|
|
this.merchantChangeApi()
|
|
},
|
|
},
|
|
- merchantChange(item, index) {
|
|
|
|
|
|
+ merchantChange(company, index) {
|
|
if(this.current==0){
|
|
if(this.current==0){
|
|
this.current=1;
|
|
this.current=1;
|
|
}
|
|
}
|
|
- var m = item;
|
|
|
|
|
|
+ var m = company;
|
|
var n = this.merchantList1[this.current];
|
|
var n = this.merchantList1[this.current];
|
|
this.merchantList1[this.current] = m;
|
|
this.merchantList1[this.current] = m;
|
|
this.merchantList2[index] = n;
|
|
this.merchantList2[index] = n;
|
|
//this.$forceUpdate()
|
|
//this.$forceUpdate()
|
|
this.utabsone=false
|
|
this.utabsone=false
|
|
- this.companyId = item.id;
|
|
|
|
- this.companyIdSet(this.companyId)
|
|
|
|
|
|
+ this.companyId = company.id;
|
|
|
|
+
|
|
|
|
+ this.companyInfo=company
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if(company.id!=''){
|
|
|
|
+ this.childList=company.childList;
|
|
|
|
+ if(this.childList&&this.childList.length){
|
|
|
|
+ this.companyId = this.childList[0].id;
|
|
|
|
+ this.childInfo=this.childList[0]
|
|
|
|
+ }else{
|
|
|
|
+ this.childList=[]
|
|
|
|
+ this.companyId =company.id
|
|
|
|
+ this.childInfo=company
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ this.companyId =''
|
|
|
|
+ }
|
|
|
|
+
|
|
this.merchantChangeApi()
|
|
this.merchantChangeApi()
|
|
this.popShow = false;
|
|
this.popShow = false;
|
|
},
|
|
},
|
|
@@ -1227,16 +1261,40 @@
|
|
}
|
|
}
|
|
|
|
|
|
this.companyList = list;
|
|
this.companyList = list;
|
|
- if(this.companyList&&this.companyList.length){
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if(this.companyList&&this.companyList.length&&this.companyList.length==1){
|
|
|
|
+
|
|
this.childList=list[0].childList
|
|
this.childList=list[0].childList
|
|
|
|
+ if(!this.childList){
|
|
|
|
+ this.childList=[]
|
|
|
|
+ }
|
|
|
|
+ // this.childList=[
|
|
|
|
+
|
|
|
|
+ // ...list[0].childList,
|
|
|
|
+ // {
|
|
|
|
+ // name:'创客公寓',
|
|
|
|
+ // id:''
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // name:'创客公寓',
|
|
|
|
+ // id:''
|
|
|
|
+ // }
|
|
|
|
+ // ]
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
- if(this.companyList.length==1&&this.childList.length==1){
|
|
|
|
|
|
+ if(this.companyList.length==1&&this.childList.length==0){
|
|
|
|
+ this.companyId=this.companyList[0].id
|
|
|
|
+
|
|
|
|
+ this.childInfo=this.companyList[0]
|
|
|
|
+ this.companyInfo=this.companyList[0]
|
|
|
|
+ }else if(this.companyList.length==1){
|
|
this.companyId=this.childList[0].id
|
|
this.companyId=this.childList[0].id
|
|
- this.childListName=this.childList[this.current2].name;
|
|
|
|
-
|
|
|
|
- this.companyIdSet(this.companyId)
|
|
|
|
|
|
+
|
|
|
|
+ this.childInfo=this.childList[0]
|
|
|
|
+ this.companyInfo=this.companyList[0]
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
}else{
|
|
}else{
|
|
this.getHomePageKwh('')
|
|
this.getHomePageKwh('')
|
|
@@ -1329,7 +1387,7 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
API.remindList({
|
|
API.remindList({
|
|
- // queryDate: this.queryDateMonth,
|
|
|
|
|
|
+
|
|
configId: '',
|
|
configId: '',
|
|
pageIndex: 1,
|
|
pageIndex: 1,
|
|
pageSize: 3,
|
|
pageSize: 3,
|
|
@@ -1349,9 +1407,12 @@
|
|
|
|
|
|
console.log(e)
|
|
console.log(e)
|
|
this.companyId=e[0].value
|
|
this.companyId=e[0].value
|
|
- this.childListName=e[0].label
|
|
|
|
|
|
+
|
|
|
|
+ this.current2=e[0].i
|
|
|
|
+
|
|
|
|
+ this.childInfo=this.childList[this.current2];
|
|
uni.showLoading()
|
|
uni.showLoading()
|
|
- this.companyIdSet(this.companyId)
|
|
|
|
|
|
+
|
|
this.merchantChangeApi()
|
|
this.merchantChangeApi()
|
|
},
|
|
},
|
|
// 用电量
|
|
// 用电量
|
|
@@ -1377,7 +1438,8 @@
|
|
}
|
|
}
|
|
|
|
|
|
if(companyId){
|
|
if(companyId){
|
|
- this.kWhList = response.data.data;
|
|
|
|
|
|
+ this.kWhList = response.data.data;
|
|
|
|
+
|
|
if(this.kWhList.length==1){
|
|
if(this.kWhList.length==1){
|
|
this.utabsone=true
|
|
this.utabsone=true
|
|
var item=this.kWhList[0];
|
|
var item=this.kWhList[0];
|
|
@@ -1385,7 +1447,7 @@
|
|
id:item.id,
|
|
id:item.id,
|
|
name:item.name,
|
|
name:item.name,
|
|
companyId:item.companyId,
|
|
companyId:item.companyId,
|
|
- list:[{name:"123"},{name:"223"}],
|
|
|
|
|
|
+
|
|
ref:1,
|
|
ref:1,
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
@@ -1638,35 +1700,36 @@
|
|
// /deep/.u-tab-item {
|
|
// /deep/.u-tab-item {
|
|
// width: 25% !important;
|
|
// width: 25% !important;
|
|
// flex: none !important;
|
|
// flex: none !important;
|
|
- // }
|
|
|
|
- .tabs-len-1{
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- .tabs-len-2{
|
|
|
|
- /deep/.u-tab-item {
|
|
|
|
- // max-width: 39% !important;
|
|
|
|
- // flex: none !important;
|
|
|
|
|
|
+ // }
|
|
|
|
+ .tabs-box{
|
|
|
|
+ .tabs-len-1{
|
|
|
|
+
|
|
}
|
|
}
|
|
- }
|
|
|
|
- .tabs-len-3{
|
|
|
|
- /deep/.u-tab-item {
|
|
|
|
- max-width: 39% !important;
|
|
|
|
- flex: none !important;
|
|
|
|
|
|
+ .tabs-len-2{
|
|
|
|
+ /deep/.u-tab-item {
|
|
|
|
+ // max-width: 39% !important;
|
|
|
|
+ // flex: none !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- .tabs-len-4{
|
|
|
|
- /deep/.u-tab-item {
|
|
|
|
- max-width: 26% !important;
|
|
|
|
- flex: none !important;
|
|
|
|
|
|
+ .tabs-len-3{
|
|
|
|
+ /deep/.u-tab-item {
|
|
|
|
+ max-width: 39% !important;
|
|
|
|
+ flex: none !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- .tabs{
|
|
|
|
- /deep/.u-tab-item:first-child {
|
|
|
|
- width: 20% !important;
|
|
|
|
- flex: none !important;
|
|
|
|
|
|
+ .tabs-len-4{
|
|
|
|
+ /deep/.u-tab-item {
|
|
|
|
+ max-width: 26% !important;
|
|
|
|
+ flex: none !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .tabs{
|
|
|
|
+ /deep/.u-tab-item:first-child {
|
|
|
|
+ width: 20% !important;
|
|
|
|
+ flex: none !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
// /deep/.u-tab-item2 {
|
|
// /deep/.u-tab-item2 {
|
|
// width: 33% !important;
|
|
// width: 33% !important;
|
|
// flex: none !important;
|
|
// flex: none !important;
|
|
@@ -2405,11 +2468,20 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
- .electronicMonitoring-123{
|
|
|
|
|
|
+ .electronicMonitoring-title2{
|
|
|
|
+ margin-bottom: 16rpx;
|
|
|
|
+ }
|
|
|
|
+ .electronicMonitoring-title{
|
|
|
|
+ display: flex;
|
|
|
|
+ margin: 0px 32rpx;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ }
|
|
|
|
+ .current-123{
|
|
.electronicMonitoring-title{
|
|
.electronicMonitoring-title{
|
|
- display: flex;
|
|
|
|
- margin: 0px 16px;
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
|
+ margin: 8rpx 0rpx 32rpx 0;
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
+ .electronicMonitoring-123{
|
|
|
|
+
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|