|
@@ -64,6 +64,41 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<!-- 临期项目提醒 --> |
|
|
|
|
|
<view class="endworking" v-if="bulidIngObj.daysRemaining <= 60" |
|
|
|
|
|
:class="{sixty: (bulidIngObj.daysRemaining > 15 && bulidIngObj.daysRemaining <= 60), fifteen: bulidIngObj.daysRemaining <= 15}"> |
|
|
|
|
|
您的服务于{{ bulidIngObj.endWorking }}到期,为了避免影响您的使用,请与服务商联系 |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<template v-if="CHECKAUTHORITY('zxscsy')"> |
|
|
|
|
|
<view class="contbox"> |
|
|
|
|
|
<view class="title"> |
|
|
|
|
|
<image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" |
|
|
|
|
|
mode="" /> |
|
|
|
|
|
转写消费 |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenbox"> |
|
|
|
|
|
<view class="shebenche"> |
|
|
|
|
|
<view class="shebenchenum">{{paraphraseObj.rechargeSum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">购买小时</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenche"> |
|
|
|
|
|
<view class="shebenchenum">{{paraphraseObj.presenterSum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">赠送小时</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenche"> |
|
|
|
|
|
<view class="shebenchenum">{{paraphraseObj.useSum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">已用小时</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenche"> |
|
|
|
|
|
<view class="shebenchenum" :style="paraphraseObj.surplusSum < 100 ? 'color: red' : ''"> |
|
|
|
|
|
{{paraphraseObj.surplusSum || 0}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenchetext">剩余小时</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</template> |
|
|
<!-- 设备总览 --> |
|
|
<!-- 设备总览 --> |
|
|
<view class="contbox" v-if="permissions.shebeinum"> |
|
|
<view class="contbox" v-if="permissions.shebeinum"> |
|
|
<view class="title"> |
|
|
<view class="title"> |
|
@@ -94,7 +129,8 @@ |
|
|
<!-- 今日工作 --> |
|
|
<!-- 今日工作 --> |
|
|
<view class="contbox" v-if="permissions.shishinum"> |
|
|
<view class="contbox" v-if="permissions.shishinum"> |
|
|
<view class="title"> |
|
|
<view class="title"> |
|
|
<image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" mode="" />今日工作 |
|
|
|
|
|
|
|
|
<image class="title-icon" src="https://static.quhouse.com/bc2ec951ad9a47e5bf58f2829926e143.png" |
|
|
|
|
|
mode="" />今日工作 |
|
|
</view> |
|
|
</view> |
|
|
<view class="real-timebox"> |
|
|
<view class="real-timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="timebox"> |
|
@@ -118,8 +154,8 @@ |
|
|
<view class="realtext">正在接待</view> |
|
|
<view class="realtext">正在接待</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="timebox" > |
|
|
|
|
|
<view class="real" @click="tapjumpreception('6')"> |
|
|
|
|
|
|
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('6')"> |
|
|
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view> |
|
|
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view> |
|
|
<view class="realtext">有效接待</view> |
|
|
<view class="realtext">有效接待</view> |
|
|
</view> |
|
|
</view> |
|
@@ -138,7 +174,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="realtext">违禁预警</view> |
|
|
<view class="realtext">违禁预警</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@@ -403,6 +439,7 @@ |
|
|
// 常错词 ccc |
|
|
// 常错词 ccc |
|
|
// 校准 xz |
|
|
// 校准 xz |
|
|
// 查看违禁执行 ckwjzx |
|
|
// 查看违禁执行 ckwjzx |
|
|
|
|
|
paraphraseObj: {}, // 转写消费 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: {}, |
|
|
components: {}, |
|
@@ -452,6 +489,7 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onShow() { |
|
|
onShow() { |
|
|
|
|
|
this.upDateBulidIngObj() |
|
|
this.getMenu() |
|
|
this.getMenu() |
|
|
|
|
|
|
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
@@ -490,10 +528,11 @@ |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
this.initrealTimeStatistics() |
|
|
this.initrealTimeStatistics() |
|
|
this.updateInit() |
|
|
this.updateInit() |
|
|
|
|
|
this.findByHouseIdForRecharge() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
// 需求挖掘分析 |
|
|
// 需求挖掘分析 |
|
|
toRequireAnalysis(){ |
|
|
|
|
|
|
|
|
toRequireAnalysis() { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/Piabodata/requireminingAnalysis' |
|
|
url: '/pages/center/Piabodata/requireminingAnalysis' |
|
|
}); |
|
|
}); |
|
@@ -507,7 +546,7 @@ |
|
|
if (res > 0) { |
|
|
if (res > 0) { |
|
|
uni.setTabBarBadge({ //显示数字 |
|
|
uni.setTabBarBadge({ //显示数字 |
|
|
index: 4, //tabbar下标 |
|
|
index: 4, //tabbar下标 |
|
|
text: `${res}`//数字 |
|
|
|
|
|
|
|
|
text: `${res}` //数字 |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
uni.removeTabBarBadge({ |
|
|
uni.removeTabBarBadge({ |
|
@@ -548,6 +587,7 @@ |
|
|
}, |
|
|
}, |
|
|
data: { |
|
|
data: { |
|
|
houseId: this.buildingID, |
|
|
houseId: this.buildingID, |
|
|
|
|
|
houseName: this.buildingname, |
|
|
serviceId: "test" |
|
|
serviceId: "test" |
|
|
}, |
|
|
}, |
|
|
success: (data) => { |
|
|
success: (data) => { |
|
@@ -672,6 +712,16 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 转写充值剩余 |
|
|
|
|
|
findByHouseIdForRecharge() { |
|
|
|
|
|
this.$u.get(`/cusLvStatistics/findByHouseIdForRecharge?houseId=${this.buildingID}`).then(res => { |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
if (res) { |
|
|
|
|
|
this.paraphraseObj = res.list |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//设备 |
|
|
//设备 |
|
|
initequipment() { |
|
|
initequipment() { |
|
|
uni.request({ |
|
|
uni.request({ |
|
@@ -1261,4 +1311,21 @@ |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
border-bottom: 1rpx solid #f8f8f8; |
|
|
border-bottom: 1rpx solid #f8f8f8; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.endworking { |
|
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
|
padding: 15rpx 30rpx; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sixty { |
|
|
|
|
|
background-color: #FDFCDA; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.fifteen { |
|
|
|
|
|
background-color: #F9C8C8; |
|
|
|
|
|
color: #ff0000; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |