|
@@ -70,15 +70,15 @@ |
|
|
|
|
|
|
|
|
<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="indexStatus(0)"> |
|
|
<view class="shebenchenum">{{operation.receptionCount || 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="indexStatus(1)"> |
|
|
<view class="shebenchenum">{{operation.accountCount || 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="indexStatus(3)"> |
|
|
<view class="shebenchenum">{{operation.forbiddenCount || 0}}</view> |
|
|
<view class="shebenchenum">{{operation.forbiddenCount || 0}}</view> |
|
|
<view class="shebenchetext">违禁提醒</view> |
|
|
<view class="shebenchetext">违禁提醒</view> |
|
|
</view> |
|
|
</view> |
|
@@ -103,10 +103,10 @@ |
|
|
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view> |
|
|
<view class="shebenchenum">{{equipmentobj.activeNum || 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;">{{equipmentobj.lowPowerNum || 0}}</view> |
|
|
<view class="shebenchetext">急需充电</view> |
|
|
<view class="shebenchetext">急需充电</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -401,6 +401,9 @@ |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: {}, |
|
|
components: {}, |
|
|
|
|
|
onLoad() { |
|
|
|
|
|
this.sendLog() |
|
|
|
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
this.getMenu() |
|
|
this.getMenu() |
|
|
|
|
|
|
|
@@ -436,9 +439,26 @@ |
|
|
} |
|
|
} |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
this.initrealTimeStatistics() |
|
|
this.initrealTimeStatistics() |
|
|
this.sendLog() |
|
|
|
|
|
|
|
|
// this.sendLog() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
indexStatus(i){ |
|
|
|
|
|
if (this.permissions.commonly5 == true) { |
|
|
|
|
|
if(i==0){ |
|
|
|
|
|
uni.switchTab({ |
|
|
|
|
|
url:"/pages/index/customer" |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==1){ |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages/center/records/index?refresh=refresh&markAdvisor=0' |
|
|
|
|
|
}); |
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=refresh' |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
sendLog(){ |
|
|
sendLog(){ |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
url: config.service.addLog, |
|
|
url: config.service.addLog, |
|
|