|
|
@@ -71,19 +71,19 @@ |
|
|
<view class="title" v-if="permissions.shebeinum">待处理</view> |
|
|
<view class="title" v-if="permissions.shebeinum">待处理</view> |
|
|
<view class="shebenbox" v-if="permissions.shebeinum" > |
|
|
<view class="shebenbox" v-if="permissions.shebeinum" > |
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="shebenchenum">{{operation.receptionCount || 0}}</view> |
|
|
<view class="shebenchetext">接待即将结束</view> |
|
|
<view class="shebenchetext">接待即将结束</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="shebenche" @click="tapjumpequipment(1)"> |
|
|
<view class="shebenche" @click="tapjumpequipment(1)"> |
|
|
<view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="shebenchenum">{{operation.accountCount || 0}}</view> |
|
|
<view class="shebenchetext">未标顾问</view> |
|
|
<view class="shebenchetext">未标顾问</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="shebenche" @click="tapjumpequipment(3)"> |
|
|
<view class="shebenche" @click="tapjumpequipment(3)"> |
|
|
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="shebenchenum">{{operation.forbiddenCount || 0}}</view> |
|
|
<view class="shebenchetext">违禁提醒</view> |
|
|
<view class="shebenchetext">违禁提醒</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="shebenche" @click="tapjumpequipment(2)"> |
|
|
<view class="shebenche" @click="tapjumpequipment(2)"> |
|
|
<view class="shebenchenum" style="color: red;">{{equipmentobj.lowPowerNum || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view> |
|
|
<view class="shebenchetext">低电工牌</view> |
|
|
<view class="shebenchetext">低电工牌</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@@ -348,6 +348,12 @@ |
|
|
activeNum: '', |
|
|
activeNum: '', |
|
|
lowPowerNum: '', |
|
|
lowPowerNum: '', |
|
|
}, |
|
|
}, |
|
|
|
|
|
operation:{ |
|
|
|
|
|
receptionCount:'', |
|
|
|
|
|
accountCount:'', |
|
|
|
|
|
forbiddenCount:'', |
|
|
|
|
|
lowPowerNum:'' |
|
|
|
|
|
}, |
|
|
Menulist: [], |
|
|
Menulist: [], |
|
|
realtimeobj: { |
|
|
realtimeobj: { |
|
|
sumCustomer: '', |
|
|
sumCustomer: '', |
|
|
@@ -426,6 +432,7 @@ |
|
|
this.equipmentisshow = true; |
|
|
this.equipmentisshow = true; |
|
|
// this.Myworkcard = false; |
|
|
// this.Myworkcard = false; |
|
|
this.initequipment() |
|
|
this.initequipment() |
|
|
|
|
|
this.waitForOperation() |
|
|
} |
|
|
} |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
this.initrealTimeStatistics() |
|
|
this.initrealTimeStatistics() |
|
|
@@ -586,6 +593,19 @@ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 待处理 |
|
|
|
|
|
waitForOperation (){ |
|
|
|
|
|
this.$u.post('/cusLvStatistics/waitForOperation ',{ |
|
|
|
|
|
houseId:this.buildingID |
|
|
|
|
|
}) |
|
|
|
|
|
.then(res=>{ |
|
|
|
|
|
// console.log(res,'带接待') |
|
|
|
|
|
this.operation.receptionCount=res.receptionCount |
|
|
|
|
|
this.operation.accountCount=res.accountCount |
|
|
|
|
|
this.operation.forbiddenCount=res.forbiddenCount |
|
|
|
|
|
this.operation.lowPowerNum=res.lowPowerNum |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
//我的工牌 |
|
|
//我的工牌 |
|
|
iniodianloang() { |
|
|
iniodianloang() { |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
@@ -647,6 +667,7 @@ |
|
|
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存 |
|
|
uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存 |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
this.initrealTimeStatistics() |
|
|
this.initrealTimeStatistics() |
|
|
|
|
|
this.waitForOperation() |
|
|
this.initequipment() |
|
|
this.initequipment() |
|
|
this.iniodianloang() |
|
|
this.iniodianloang() |
|
|
|
|
|
|
|
|
|