|
@@ -2,15 +2,13 @@ |
|
|
<view class="cented-box"> |
|
|
<view class="cented-box"> |
|
|
<view class="Switchingbox"> |
|
|
<view class="Switchingbox"> |
|
|
<view class="Switching1"> |
|
|
<view class="Switching1"> |
|
|
<image class="Switching1-img" src="../../static/images/building.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="Switching1-img" src="../../static/images/loupan.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="Switching2">项目:</view> |
|
|
|
|
|
<view class="Switching3">{{buildingname}}</view> |
|
|
|
|
|
|
|
|
<view class="Switching2 u-line-1">项目:{{buildingname}}</view> |
|
|
<view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view> |
|
|
<view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="title" style="margin-top: 30rpx; display: flex; justify-content: space-between;" v-if="permissions.myisshebei"> |
|
|
<view class="title" style="margin-top: 30rpx; display: flex; justify-content: space-between;" v-if="permissions.myisshebei"> |
|
|
<view class=""> |
|
|
|
|
|
|
|
|
<view class="gongpai"> |
|
|
我的工牌:{{imeiCode||'未绑定'}} |
|
|
我的工牌:{{imeiCode||'未绑定'}} |
|
|
</view> |
|
|
</view> |
|
|
<view class="" style="color: #2671E2; font-weight: normal;"> |
|
|
<view class="" style="color: #2671E2; font-weight: normal;"> |
|
@@ -18,8 +16,8 @@ |
|
|
{{openFlag=='start'?'接待中':''}} |
|
|
{{openFlag=='start'?'接待中':''}} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view v-if="permissions.myisshebei"> |
|
|
|
|
|
<view class="Workcard" v-if="Whetheroffline==true"> |
|
|
|
|
|
|
|
|
<view v-if="permissions.myisshebei" style="margin-bottom: 20rpx"> |
|
|
|
|
|
<view class="Workcard" v-if="Whetheroffline"> |
|
|
<view class="Workcard-box"> |
|
|
<view class="Workcard-box"> |
|
|
<view class="Workcardimg"> |
|
|
<view class="Workcardimg"> |
|
|
<view class="Workcardimg1"> |
|
|
<view class="Workcardimg1"> |
|
@@ -84,243 +82,217 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
<view class="title" v-if="permissions.shebeinum">设备总览</view> |
|
|
|
|
|
<view class="shebenbox" v-if="permissions.shebeinum" > |
|
|
|
|
|
|
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">设备总数</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(1)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">在线</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(3)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">活跃</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(2)"> |
|
|
|
|
|
<view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">低电工牌</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <view class="shebenche" @click="tapjumpequipment(2)"> |
|
|
|
|
|
<view class="shebenchenum" style="color: red;">{{equipmentobj.lowPowerNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">急需充电</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="title" v-if="permissions.shishinum">今日工作</view> |
|
|
|
|
|
<view class="real-timebox" v-if="permissions.shishinum"> |
|
|
|
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> |
|
|
|
|
|
<view class="realtext">平均执行率</view> |
|
|
|
|
|
|
|
|
<!-- 设备总览 --> |
|
|
|
|
|
<view class="contbox" v-if="permissions.shebeinum"> |
|
|
|
|
|
<view class="title"> |
|
|
|
|
|
<image class="title-icon" src="/static/images/juxing.png" mode="" /> |
|
|
|
|
|
设备总览</view> |
|
|
|
|
|
<view class="shebenbox"> |
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">设备总数</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view> |
|
|
|
|
|
<view class="realtext">接待量</view> |
|
|
|
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(1)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">在线</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('2')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">正在接待</view> |
|
|
|
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(3)"> |
|
|
|
|
|
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">活跃</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('6')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view> |
|
|
|
|
|
<view class="realtext">有效接待</view> |
|
|
|
|
|
|
|
|
<view class="shebenche" @click="tapjumpequipment(2)"> |
|
|
|
|
|
<view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view> |
|
|
|
|
|
<view class="shebenchetext">低电工牌</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.avgDuration|| 0}}</view> |
|
|
|
|
|
<view class="realtext">平均接待时长</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('4')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">未标顾问</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real"> |
|
|
|
|
|
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;"> |
|
|
|
|
|
{{realtimeobj.prohibitedCustomer || 0}}</view> |
|
|
|
|
|
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real"> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="title" v-if="permissions.jileinum" style="display: flex;"> |
|
|
|
|
|
<view style="width: 70%;" @click="taptimeisshow"> |
|
|
|
|
|
<!-- 概览 --> |
|
|
|
|
|
{{choiceIndex}}累计<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> |
|
|
|
|
|
</view> |
|
|
|
|
|
<!-- <view class="cet" style="display: flex;"> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天 |
|
|
|
|
|
|
|
|
<!-- 今日工作 --> |
|
|
|
|
|
<view class="contbox" v-if="permissions.shishinum"> |
|
|
|
|
|
<view class="title" ><image class="title-icon" src="/static/images/juxing.png" mode="" />今日工作</view> |
|
|
|
|
|
<view class="real-timebox"> |
|
|
|
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> |
|
|
|
|
|
<view class="realtext">平均执行率</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view> |
|
|
|
|
|
<view class="realtext">接待量</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('2')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">正在接待</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('6')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view> |
|
|
|
|
|
<view class="realtext">有效接待</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)"> |
|
|
|
|
|
近30天</view> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义 |
|
|
|
|
|
|
|
|
<view class="timebox" style="margin-bottom:0;"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.avgDuration|| 0}}min</view> |
|
|
|
|
|
<view class="realtext">平均接待时长</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('4')"> |
|
|
|
|
|
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">未标顾问</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real"> |
|
|
|
|
|
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;"> |
|
|
|
|
|
{{realtimeobj.prohibitedCustomer || 0}}</view> |
|
|
|
|
|
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real"> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real-timebox" v-if="permissions.jileinum"> |
|
|
|
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view> |
|
|
|
|
|
<view class="realtext">平均执行率</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view> |
|
|
|
|
|
<view class="realtext">接待量</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('7')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view> |
|
|
|
|
|
<view class="realtext">有效接待</view> |
|
|
|
|
|
|
|
|
<!-- 近30天 --> |
|
|
|
|
|
<view class="contbox" v-if="permissions.jileinum"> |
|
|
|
|
|
<view class="title"> |
|
|
|
|
|
<image class="title-icon" src="/static/images/juxing.png" mode="" /> |
|
|
|
|
|
<view style="width: 70%;" @click="taptimeisshow"> |
|
|
|
|
|
<!-- 概览 --> |
|
|
|
|
|
{{choiceIndex}}累计<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view> |
|
|
|
|
|
<view class="realtext">平均接待时长</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true"> |
|
|
|
|
|
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">违禁预警</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" v-else> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
|
|
|
<!-- <view class="timeshow">统计时间:2022.05.20-2022.05.27</view> --> |
|
|
|
|
|
<view class="real-timebox" > |
|
|
|
|
|
<view class="timebox"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view> |
|
|
|
|
|
<view class="realtext">平均执行率</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view> |
|
|
|
|
|
<view class="realtext">接待量</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('7')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view> |
|
|
|
|
|
<view class="realtext">有效接待</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real"> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
|
|
|
<view class="timebox" style="margin-bottom:0;"> |
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.avgDuration || 0}}min</view> |
|
|
|
|
|
<view class="realtext">平均接待时长</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow"> |
|
|
|
|
|
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view> |
|
|
|
|
|
<view class="realtext">违禁预警</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real" v-else> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="real"> |
|
|
|
|
|
<view class="realnum"></view> |
|
|
|
|
|
<view class="realtext"></view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="title">常用功能</view> |
|
|
|
|
|
|
|
|
<!-- 常用功能 --> |
|
|
|
|
|
<view class="contbox"> |
|
|
|
|
|
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />接待管理</view> |
|
|
<view class="commonly-box"> |
|
|
<view class="commonly-box"> |
|
|
<!-- <view class="commonly" @click="Piabodata('客户管理')" v-if="permissions.commonly1"> |
|
|
|
|
|
<view class="commonly-img"> |
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/function1.png" mode=""></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly-text">客户管理</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('接待记录')" v-if="permissions.commonly2"> |
|
|
<view class="commonly" @click="Piabodata('接待记录')" v-if="permissions.commonly2"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/function2.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/jdjl.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">接待记录</view> |
|
|
<view class="commonly-text">接待记录</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('违禁记录')" v-if="permissions.commonly3"> |
|
|
<view class="commonly" @click="Piabodata('违禁记录')" v-if="permissions.commonly3"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/prohibited.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/fkyj.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">违禁记录</view> |
|
|
<view class="commonly-text">违禁记录</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.commonly4"> |
|
|
|
|
|
<view class="commonly-img"> |
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/function4.png" mode=""></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly-text">销讲分析</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.commonly5"> |
|
|
|
|
|
<view class="commonly-img"> |
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/function5.png" mode=""></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly-text">设备管理</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.commonly6"> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="toUserinsightinto()" v-if="permissions.commonly10"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/khhx.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">值班顾问</view> |
|
|
|
|
|
|
|
|
<view class="commonly-text">用户画像</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- <view class="commonly" @click="Piabodata('日报')" v-if="permissions.commonly6"> |
|
|
<!-- <view class="commonly" @click="Piabodata('日报')" v-if="permissions.commonly6"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image> |
|
|
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">日报</view> |
|
|
<view class="commonly-text">日报</view> |
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7"> |
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />数据分析</view> |
|
|
|
|
|
<view class="commonly-box"> |
|
|
|
|
|
<view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.commonly4"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/rankingguwen.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/xjfx.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">顾问排名</view> |
|
|
|
|
|
|
|
|
<view class="commonly-text">销讲分析</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="toTrendAnalysis()" v-if="permissions.commonly8"> |
|
|
<view class="commonly" @click="toTrendAnalysis()" v-if="permissions.commonly8"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/qushi.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/xjqs.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">销讲趋势</view> |
|
|
<view class="commonly-text">销讲趋势</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="toStaffAnalysis()" v-if="permissions.commonly9"> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/yuangong.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/gwpm.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">员工分析</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="toUserinsightinto()" v-if="permissions.commonly10"> |
|
|
|
|
|
|
|
|
<view class="commonly-text">顾问排名</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly" @click="toStaffAnalysis()" v-if="permissions.commonly9"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/yinghu.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/ygfx.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">用户画像</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="commonly" @click="Theteamcompared()" v-if="permissions.commonly11"> |
|
|
|
|
|
|
|
|
<view class="commonly-text">员工分析</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />团队管理</view> |
|
|
|
|
|
<view class="commonly-box"> |
|
|
|
|
|
<view class="commonly" @click="Theteamcompared()" v-if="permissions.commonly11"> |
|
|
|
|
|
<view class="commonly-img"> |
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/tddb.png" mode=""></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly-text">团队对比</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly" @click="Groupcontrast()" v-if="permissions.commonly12"> |
|
|
|
|
|
<view class="commonly-img"> |
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/jtdb.png" mode=""></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly-text">集团对比</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.commonly5"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/tuandui.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/sbgl.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">团队对比</view> |
|
|
|
|
|
|
|
|
<view class="commonly-text">设备管理</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Groupcontrast()" v-if="permissions.commonly12"> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.commonly6"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image class="commonly-img1" src="../../static/images/jituan.png" mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" src="../../static/images/zbgw.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">集团对比</view> |
|
|
|
|
|
|
|
|
<view class="commonly-text">值班顾问</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
<!-- 项目切换 --> |
|
|
<!-- 项目切换 --> |
|
|
<view v-if="Showhiddenunits"> |
|
|
<view v-if="Showhiddenunits"> |
|
|
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist" |
|
|
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist" |
|
|
@cancel="cancel" @confirm="confirm"></u-select> |
|
|
@cancel="cancel" @confirm="confirm"></u-select> |
|
|
</view> |
|
|
</view> |
|
|
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar> |
|
|
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar> |
|
|
|
|
|
|
|
|
<u-popup v-model="timeshow" mode="bottom"> |
|
|
<u-popup v-model="timeshow" mode="bottom"> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2,'近7天')">近7天</view> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2,'近7天')">近7天</view> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 6 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(6,'近30天')">近30天</view> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 6 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(6,'近30天')">近30天</view> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view> |
|
|
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view> |
|
|
</u-popup> |
|
|
</u-popup> |
|
|
|
|
|
|
|
|
<!-- 底部导航栏 --> |
|
|
<!-- 底部导航栏 --> |
|
|
<u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> --> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@@ -463,8 +435,7 @@ |
|
|
} else { |
|
|
} else { |
|
|
this.methodsisshow = true; |
|
|
this.methodsisshow = true; |
|
|
} |
|
|
} |
|
|
if (this.userInfo.zkProperties.length == 1) { |
|
|
|
|
|
console.log('asdklajkl') |
|
|
|
|
|
|
|
|
if (this.userInfo.zkProperties&&this.userInfo.zkProperties.length == 1) { |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.buildingname = uni.getStorageSync('buildingID').name; |
|
|
this.buildingname = uni.getStorageSync('buildingID').name; |
|
|
this.buildingishow = false; |
|
|
this.buildingishow = false; |
|
@@ -473,10 +444,12 @@ |
|
|
this.buildingishow = true; |
|
|
this.buildingishow = true; |
|
|
this.buildingname = uni.getStorageSync('buildingID').name; |
|
|
this.buildingname = uni.getStorageSync('buildingID').name; |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.userInfo.zkProperties.forEach(item => { |
|
|
|
|
|
item.label = item.propertyName; |
|
|
|
|
|
item.value = item.id |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
if(this.userInfo.zkProperties&&this.userInfo.zkProperties.length){ |
|
|
|
|
|
this.userInfo.zkProperties.forEach(item => { |
|
|
|
|
|
item.label = item.propertyName; |
|
|
|
|
|
item.value = item.id |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
this.lpanlist = this.userInfo.zkProperties |
|
|
this.lpanlist = this.userInfo.zkProperties |
|
|
} |
|
|
} |
|
|
if (this.userInfo.dataCode == 6) { |
|
|
if (this.userInfo.dataCode == 6) { |
|
@@ -970,13 +943,13 @@ |
|
|
.Switchingbox { |
|
|
.Switchingbox { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 44rpx; |
|
|
height: 44rpx; |
|
|
|
|
|
margin-bottom: 30rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
|
|
|
|
|
|
.Switching1 { |
|
|
.Switching1 { |
|
|
width: 44rpx; |
|
|
width: 44rpx; |
|
|
height: 44rpx; |
|
|
height: 44rpx; |
|
|
|
|
|
|
|
|
.Switching1-img { |
|
|
.Switching1-img { |
|
|
width: 44rpx; |
|
|
width: 44rpx; |
|
|
height: 44rpx; |
|
|
height: 44rpx; |
|
@@ -984,17 +957,14 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.Switching2 { |
|
|
.Switching2 { |
|
|
margin-left: 12rpx; |
|
|
|
|
|
|
|
|
margin: 0 12rpx; |
|
|
|
|
|
flex:1; |
|
|
|
|
|
height: 44rpx; |
|
|
font-size: 32rpx; |
|
|
font-size: 32rpx; |
|
|
color: #303030; |
|
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.Switching3 { |
|
|
|
|
|
width: calc(100% - 280rpx); |
|
|
|
|
|
font-size: 32rpx; |
|
|
|
|
|
color: #303030; |
|
|
color: #303030; |
|
|
font-weight: 500; |
|
|
|
|
|
|
|
|
line-height: 44rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.Switching4 { |
|
|
.Switching4 { |
|
@@ -1003,10 +973,14 @@ |
|
|
color: #303030; |
|
|
color: #303030; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
text-align: right; |
|
|
text-align: right; |
|
|
text-decoration: underline |
|
|
|
|
|
|
|
|
text-decoration: underline; |
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.gongpai{ |
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
} |
|
|
.Workcard { |
|
|
.Workcard { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: #FFFFFF; |
|
|
background: #FFFFFF; |
|
@@ -1072,79 +1046,101 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 30rpx; |
|
|
|
|
|
font-size: 30rpx; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
margin-top: 40rpx; |
|
|
|
|
|
margin-bottom: 24rpx; |
|
|
|
|
|
|
|
|
.contbox{ |
|
|
|
|
|
width: 690rpx; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
|
padding: 24rpx 0 30rpx; |
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
.title { |
|
|
|
|
|
height: 42rpx; |
|
|
|
|
|
font-size: 30rpx; |
|
|
|
|
|
font-family: PingFangSC-Semibold, PingFang SC; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
line-height: 42rpx; |
|
|
|
|
|
margin-bottom: 24rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
.title-icon{ |
|
|
|
|
|
width: 12rpx; |
|
|
|
|
|
height: 20rpx; |
|
|
|
|
|
margin-right: 18rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.timeshow{ |
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #666666; |
|
|
|
|
|
line-height: 40rpx; |
|
|
|
|
|
margin: -18rpx 0 24rpx 35rpx ; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.shebenbox { |
|
|
.shebenbox { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 156rpx; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); |
|
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
|
|
|
|
|
|
.shebenche { |
|
|
.shebenche { |
|
|
width: 25%; |
|
|
width: 25%; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
|
|
|
|
|
|
.shebenchenum { |
|
|
.shebenchenum { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
font-size: 36rpx; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
text-align: center; |
|
|
text-align: center; |
|
|
margin-top: 28rpx; |
|
|
|
|
|
|
|
|
height: 50rpx; |
|
|
|
|
|
font-size: 44rpx; |
|
|
|
|
|
font-family: DINAlternate-Bold, DINAlternate; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
line-height: 50rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.shebenchetext { |
|
|
.shebenchetext { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
font-size: 24rpx; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
color: #666666; |
|
|
color: #666666; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
margin-top: 24rpx; |
|
|
margin-top: 24rpx; |
|
|
|
|
|
height: 32rpx; |
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
line-height: 32rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//今日工作 |
|
|
.real-timebox { |
|
|
.real-timebox { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: #FFFFFF; |
|
|
|
|
|
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); |
|
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
|
padding-bottom: 36rpx; |
|
|
|
|
|
|
|
|
|
|
|
.timebox { |
|
|
.timebox { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
display: flex; |
|
|
display: flex; |
|
|
|
|
|
|
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
.real { |
|
|
.real { |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
|
|
|
|
|
|
.realnum { |
|
|
.realnum { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
font-size: 36rpx; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
text-align: center; |
|
|
text-align: center; |
|
|
margin-top: 36rpx; |
|
|
|
|
|
|
|
|
height: 50rpx; |
|
|
|
|
|
font-size: 44rpx; |
|
|
|
|
|
font-family: DINAlternate-Bold, DINAlternate; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
color: #333333; |
|
|
|
|
|
line-height: 50rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.realtext { |
|
|
.realtext { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
margin-top: 8rpx; |
|
|
|
|
|
height: 32rpx; |
|
|
font-size: 24rpx; |
|
|
font-size: 24rpx; |
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
text-align: center; |
|
|
|
|
|
margin-top: 24rpx; |
|
|
|
|
|
|
|
|
line-height: 32rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -1153,36 +1149,33 @@ |
|
|
|
|
|
|
|
|
.commonly-box { |
|
|
.commonly-box { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: #FFFFFF; |
|
|
|
|
|
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3); |
|
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-wrap: wrap; |
|
|
flex-wrap: wrap; |
|
|
padding-bottom: 36rpx; |
|
|
|
|
|
|
|
|
|
|
|
.commonly { |
|
|
.commonly { |
|
|
width: 25%; |
|
|
width: 25%; |
|
|
margin-top: 36rpx; |
|
|
|
|
|
|
|
|
margin-bottom: 28rpx; |
|
|
|
|
|
|
|
|
.commonly-img { |
|
|
.commonly-img { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 68rpx; |
|
|
|
|
|
|
|
|
height: 80rpx; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
|
|
|
|
|
|
.commonly-img1 { |
|
|
.commonly-img1 { |
|
|
width: 68rpx; |
|
|
|
|
|
height: 68rpx; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
|
|
|
width: 80rpx; |
|
|
|
|
|
height: 80rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.commonly-text { |
|
|
.commonly-text { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
|
|
|
margin-top: 12rpx; |
|
|
|
|
|
height: 32rpx; |
|
|
font-size: 24rpx; |
|
|
font-size: 24rpx; |
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
color: #333333; |
|
|
color: #333333; |
|
|
margin-top: 16rpx; |
|
|
|
|
|
|
|
|
line-height: 32rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|