|
@@ -60,7 +60,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="title" v-if="equipmentisshow">设备</view> |
|
|
<view class="title" v-if="equipmentisshow">设备</view> |
|
|
<view class="shebenbox" v-if="equipmentisshow" > |
|
|
|
|
|
|
|
|
<view class="shebenbox" v-if="equipmentisshow"> |
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
<view class="shebenche" @click="tapjumpequipment(0)"> |
|
|
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view> |
|
|
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view> |
|
|
<view class="shebenchetext">设备总数</view> |
|
|
<view class="shebenchetext">设备总数</view> |
|
@@ -90,7 +90,7 @@ |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="real-timebox"> |
|
|
<view class="real-timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
|
<view class="real" @click="tapjumpreception('1')"> |
|
@@ -102,13 +102,13 @@ |
|
|
<view class="realtext">有效接待</view> |
|
|
<view class="realtext">有效接待</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('2')"> |
|
|
<view class="real" @click="tapjumpreception('2')"> |
|
|
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view> |
|
|
<view class="realtext">正在接待</view> |
|
|
<view class="realtext">正在接待</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('4')"> |
|
|
<view class="real" @click="tapjumpreception('4')"> |
|
|
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> |
|
|
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view> |
|
|
<view class="realtext">未标顾问</view> |
|
|
<view class="realtext">未标顾问</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="real" @click="tapjumpreception('auth')"> |
|
|
<view class="real" @click="tapjumpreception('auth')"> |
|
@@ -119,31 +119,36 @@ |
|
|
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> |
|
|
<view class="realnum">{{realtimeobj.fraction || 0}}%</view> |
|
|
<view class="realtext">平均执行率</view> |
|
|
<view class="realtext">平均执行率</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" > |
|
|
|
|
|
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;" >{{realtimeobj.prohibitedCustomer || 0}}</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 @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real"> |
|
|
<view class="real"> |
|
|
<view class="realnum"></view> |
|
|
<view class="realnum"></view> |
|
|
<view class="realtext"></view> |
|
|
<view class="realtext"></view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="title" style="display: flex;"> |
|
|
<view class="title" style="display: flex;"> |
|
|
<view style="width: 55%;">概览</view> |
|
|
<view style="width: 55%;">概览</view> |
|
|
<view class="cet" style="display: flex;"> |
|
|
<view class="cet" style="display: flex;"> |
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天</view> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">近30天</view> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义</view> |
|
|
|
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天 |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)"> |
|
|
|
|
|
近30天</view> |
|
|
|
|
|
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义 |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real-timebox"> |
|
|
<view class="real-timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
|
|
|
|
|
|
<view class="real" @click="tapjumpreception('3')"> |
|
|
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view> |
|
|
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view> |
|
|
<view class="realtext">接待量</view> |
|
|
<view class="realtext">接待量</view> |
|
|
</view> |
|
|
</view> |
|
@@ -151,18 +156,18 @@ |
|
|
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view> |
|
|
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view> |
|
|
<view class="realtext">有效接待</view> |
|
|
<view class="realtext">有效接待</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="tapjumpreception('333')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view> |
|
|
|
|
|
|
|
|
<view class="real" @click="tapjumpreception('333')"> |
|
|
|
|
|
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view> |
|
|
<view class="realtext">平均执行率</view> |
|
|
<view class="realtext">平均执行率</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="timebox"> |
|
|
<view class="timebox"> |
|
|
<view class="real" @click="tapjumpreception('333')"> |
|
|
|
|
|
|
|
|
<view class="real" @click="tapjumpreception('333')"> |
|
|
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view> |
|
|
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view> |
|
|
<view class="realtext">平均接待时长</view> |
|
|
<view class="realtext">平均接待时长</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true"> |
|
|
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true"> |
|
|
<view class="realnum" style="color: red;" >{{Thisweekobj.prohibitedCustomer || 0}}</view> |
|
|
|
|
|
|
|
|
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view> |
|
|
<view class="realtext">违禁预警</view> |
|
|
<view class="realtext">违禁预警</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="real" v-else> |
|
|
<view class="real" v-else> |
|
@@ -175,26 +180,14 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="title">常用功能</view> |
|
|
<view class="title">常用功能</view> |
|
|
<view class="commonly-box"> |
|
|
<view class="commonly-box"> |
|
|
<!-- 权限菜单控制显隐 因为后台添加的按钮权限并不会在此返回所以需要手动添加 showMenu --> |
|
|
<!-- 权限菜单控制显隐 因为后台添加的按钮权限并不会在此返回所以需要手动添加 showMenu --> |
|
|
<view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key="index" v-if="showMenu(item.name)"> |
|
|
|
|
|
|
|
|
<view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key="index" |
|
|
|
|
|
v-if="showMenu(item.name)"> |
|
|
<view class="commonly-img"> |
|
|
<view class="commonly-img"> |
|
|
<image v-if="item.name=='客户管理'" class="commonly-img1" src="../../static/images/function1.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='接待记录'" class="commonly-img1" src="../../static/images/function2.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='销讲数据'" class="commonly-img1" src="../../static/images/function4.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='设备管理'" class="commonly-img1" src="../../static/images/function5.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='值班顾问'" class="commonly-img1" src="../../static/images/function6.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='顾问排名'" class="commonly-img1" src="../../static/images/rankingguwen.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
<image v-if="item.name=='违禁记录'" class="commonly-img1" src="../../static/images/prohibited.png" |
|
|
|
|
|
mode=""></image> |
|
|
|
|
|
|
|
|
<image class="commonly-img1" :src="item.name | imgFilter" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="commonly-text">{{item.name}}</view> |
|
|
<view class="commonly-text">{{item.name}}</view> |
|
|
</view> |
|
|
</view> |
|
@@ -214,7 +207,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="content"> |
|
|
<view class="content"> |
|
|
<view class="tit">{{tit}}</view> |
|
|
<view class="tit">{{tit}}</view> |
|
|
<u-parse class="ql-editor" :content="content" @preview="preview" @navigate="navigate"/> |
|
|
|
|
|
|
|
|
<u-parse class="ql-editor" :content="content" @preview="preview" @navigate="navigate" /> |
|
|
<!-- <rich-text :nodes="content"></rich-text> --> |
|
|
<!-- <rich-text :nodes="content"></rich-text> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="btn" @click="lookDetail">查看详情</view> |
|
|
<view class="btn" @click="lookDetail">查看详情</view> |
|
@@ -223,8 +216,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<u-tabbar activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> |
|
|
<u-tabbar activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@@ -237,11 +230,11 @@ |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
id:"", |
|
|
|
|
|
isShowUpdate:false, |
|
|
|
|
|
tit:"", |
|
|
|
|
|
content:"", |
|
|
|
|
|
tabbarList:tabbarList, |
|
|
|
|
|
|
|
|
id: "", |
|
|
|
|
|
isShowUpdate: false, |
|
|
|
|
|
tit: "", |
|
|
|
|
|
content: "", |
|
|
|
|
|
tabbarList: tabbarList, |
|
|
current: 0, |
|
|
current: 0, |
|
|
userInfo: {}, |
|
|
userInfo: {}, |
|
|
Showhiddenunits: false, |
|
|
Showhiddenunits: false, |
|
@@ -270,7 +263,7 @@ |
|
|
prohibitedCustomer: '', |
|
|
prohibitedCustomer: '', |
|
|
tagCustomer: '', |
|
|
tagCustomer: '', |
|
|
fraction: '', |
|
|
fraction: '', |
|
|
receptionCount:'' |
|
|
|
|
|
|
|
|
receptionCount: '' |
|
|
}, |
|
|
}, |
|
|
Thisweekobj: { |
|
|
Thisweekobj: { |
|
|
sumCustomer: '', |
|
|
sumCustomer: '', |
|
@@ -279,38 +272,41 @@ |
|
|
prohibitedCustomer: '', |
|
|
prohibitedCustomer: '', |
|
|
tagCustomer: '', |
|
|
tagCustomer: '', |
|
|
fraction: '', |
|
|
fraction: '', |
|
|
receptionCount:'' |
|
|
|
|
|
|
|
|
receptionCount: '' |
|
|
}, |
|
|
}, |
|
|
methodsisshow:false, |
|
|
|
|
|
zhixingcenterindex:2, |
|
|
|
|
|
|
|
|
methodsisshow: false, |
|
|
|
|
|
zhixingcenterindex: 2, |
|
|
totalTimeShow: false, |
|
|
totalTimeShow: false, |
|
|
statDateStart:'', |
|
|
|
|
|
statDateEnd:'', |
|
|
|
|
|
|
|
|
statDateStart: '', |
|
|
|
|
|
statDateEnd: '', |
|
|
|
|
|
needShow: ['客户管理', '接待记录', '销讲数据', '设备管理', '值班顾问', '违禁记录'], // 权限配置需要展示出来的功能入口 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
computed: { |
|
|
computed: { |
|
|
showMenu() { |
|
|
showMenu() { |
|
|
return name => { |
|
|
return name => { |
|
|
if (name == '标记有效无效接待' || name == '结束接待' || name == '客户编辑') { |
|
|
|
|
|
return false |
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
if (this.needShow.findIndex(item => item == name) != -1) { |
|
|
return true |
|
|
return true |
|
|
|
|
|
} else { |
|
|
|
|
|
return false |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
uParse |
|
|
|
|
|
|
|
|
uParse |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
this.getMenu() |
|
|
this.getMenu() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
|
|
|
|
|
|
|
if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){ |
|
|
|
|
|
this.methodsisshow=false; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.methodsisshow=true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) { |
|
|
|
|
|
this.methodsisshow = false; |
|
|
|
|
|
} else { |
|
|
|
|
|
this.methodsisshow = true; |
|
|
} |
|
|
} |
|
|
if (this.userInfo.zkProperties.length == 1) { |
|
|
if (this.userInfo.zkProperties.length == 1) { |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
@@ -341,7 +337,7 @@ |
|
|
}, |
|
|
}, |
|
|
onPullDownRefresh() { |
|
|
onPullDownRefresh() { |
|
|
this.getMenu() |
|
|
this.getMenu() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
|
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); |
|
|
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) { |
|
|
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) { |
|
|
this.methodsisshow = false; |
|
|
this.methodsisshow = false; |
|
@@ -382,10 +378,10 @@ |
|
|
this.initPopup() |
|
|
this.initPopup() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
close(){ |
|
|
|
|
|
|
|
|
close() { |
|
|
this.isShowUpdate = false; |
|
|
this.isShowUpdate = false; |
|
|
}, |
|
|
}, |
|
|
lookDetail(){ |
|
|
|
|
|
|
|
|
lookDetail() { |
|
|
let datas = { |
|
|
let datas = { |
|
|
id: this.id, |
|
|
id: this.id, |
|
|
title: this.tit, |
|
|
title: this.tit, |
|
@@ -396,8 +392,8 @@ |
|
|
url: "../mine/messageDetail" |
|
|
url: "../mine/messageDetail" |
|
|
}) |
|
|
}) |
|
|
let data = { |
|
|
let data = { |
|
|
id:this.id, |
|
|
|
|
|
accountId:uni.getStorageSync('weapp_session_userInfo_data').accountId |
|
|
|
|
|
|
|
|
id: this.id, |
|
|
|
|
|
accountId: uni.getStorageSync('weapp_session_userInfo_data').accountId |
|
|
} |
|
|
} |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
url: config.service.updateRead, |
|
|
url: config.service.updateRead, |
|
@@ -413,7 +409,7 @@ |
|
|
}) |
|
|
}) |
|
|
this.isShowUpdate = false; |
|
|
this.isShowUpdate = false; |
|
|
}, |
|
|
}, |
|
|
initPopup(){ |
|
|
|
|
|
|
|
|
initPopup() { |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
url: config.service.updatePopup, |
|
|
url: config.service.updatePopup, |
|
|
method: "GET", |
|
|
method: "GET", |
|
@@ -421,9 +417,9 @@ |
|
|
'content-type': 'application/json', |
|
|
'content-type': 'application/json', |
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data: { |
|
|
data: { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
success: (res) => { |
|
|
success: (res) => { |
|
|
this.first(res.data.data.id) |
|
|
this.first(res.data.data.id) |
|
@@ -431,11 +427,11 @@ |
|
|
this.tit = res.data.data.title |
|
|
this.tit = res.data.data.title |
|
|
this.aid = res.data.data.accountId |
|
|
this.aid = res.data.data.accountId |
|
|
this.id = res.data.data.id |
|
|
this.id = res.data.data.id |
|
|
this.isShowUpdate = res.data.data.readFlag==0?true:false; |
|
|
|
|
|
|
|
|
this.isShowUpdate = res.data.data.readFlag == 0 ? true : false; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
first(id){ |
|
|
|
|
|
|
|
|
first(id) { |
|
|
uni.request({ |
|
|
uni.request({ |
|
|
url: config.service.firstShowPopup, |
|
|
url: config.service.firstShowPopup, |
|
|
method: "GET", |
|
|
method: "GET", |
|
@@ -443,7 +439,9 @@ |
|
|
'content-type': 'application/json', |
|
|
'content-type': 'application/json', |
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
}, |
|
|
}, |
|
|
data:{id}, |
|
|
|
|
|
|
|
|
data: { |
|
|
|
|
|
id |
|
|
|
|
|
}, |
|
|
success: (res) => {} |
|
|
success: (res) => {} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
@@ -453,7 +451,7 @@ |
|
|
method: "GET", |
|
|
method: "GET", |
|
|
data: { |
|
|
data: { |
|
|
id: uni.getStorageSync('weapp_session_userInfo_data').accountId, |
|
|
id: uni.getStorageSync('weapp_session_userInfo_data').accountId, |
|
|
projectId: uni.getStorageSync('buildingID').id, |
|
|
|
|
|
|
|
|
projectId: uni.getStorageSync('buildingID').id, |
|
|
}, |
|
|
}, |
|
|
header: { |
|
|
header: { |
|
|
'content-type': 'application/json', |
|
|
'content-type': 'application/json', |
|
@@ -465,28 +463,28 @@ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取权限 |
|
|
//获取权限 |
|
|
getMenu(){ |
|
|
|
|
|
|
|
|
getMenu() { |
|
|
this.$u.get("/user/getMenu").then(data => { |
|
|
this.$u.get("/user/getMenu").then(data => { |
|
|
uni.setStorageSync("weapp_session_Menu_data", data) |
|
|
uni.setStorageSync("weapp_session_Menu_data", data) |
|
|
this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); |
|
|
this.Menulist = uni.getStorageSync('weapp_session_Menu_data'); |
|
|
console.log(this.Menulist, 'adasdasds123') |
|
|
console.log(this.Menulist, 'adasdasds123') |
|
|
}) |
|
|
|
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//自定义时间 |
|
|
//自定义时间 |
|
|
totalTimeChange(e) { |
|
|
totalTimeChange(e) { |
|
|
this.statDateStart=e.startDate; |
|
|
|
|
|
this.statDateEnd=e.endDate; |
|
|
|
|
|
this.zhixingcenterindex=7; |
|
|
|
|
|
|
|
|
this.statDateStart = e.startDate; |
|
|
|
|
|
this.statDateEnd = e.endDate; |
|
|
|
|
|
this.zhixingcenterindex = 7; |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
}, |
|
|
}, |
|
|
//时间选择 |
|
|
//时间选择 |
|
|
tabtimeclick(i){ |
|
|
|
|
|
if(i==7){ |
|
|
|
|
|
|
|
|
tabtimeclick(i) { |
|
|
|
|
|
if (i == 7) { |
|
|
this.totalTimeShow = true; |
|
|
this.totalTimeShow = true; |
|
|
}else{ |
|
|
|
|
|
this.zhixingcenterindex=i; |
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
this.zhixingcenterindex = i; |
|
|
this.initworkThisWeek() |
|
|
this.initworkThisWeek() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@@ -501,9 +499,9 @@ |
|
|
}, |
|
|
}, |
|
|
data: { |
|
|
data: { |
|
|
houseId: this.buildingID, |
|
|
houseId: this.buildingID, |
|
|
dateType:this.zhixingcenterindex==7?null:this.zhixingcenterindex, |
|
|
|
|
|
statDateStart:this.statDateStart, |
|
|
|
|
|
statDateEnd:this.statDateEnd |
|
|
|
|
|
|
|
|
dateType: this.zhixingcenterindex == 7 ? null : this.zhixingcenterindex, |
|
|
|
|
|
statDateStart: this.statDateStart, |
|
|
|
|
|
statDateEnd: this.statDateEnd |
|
|
}, |
|
|
}, |
|
|
success: (data) => { |
|
|
success: (data) => { |
|
|
if (data.data.data == null) { |
|
|
if (data.data.data == null) { |
|
@@ -514,10 +512,10 @@ |
|
|
receivingCustomer: data.data.data.receivingCustomer, |
|
|
receivingCustomer: data.data.data.receivingCustomer, |
|
|
activeCustomer: data.data.data.activeCustomer, |
|
|
activeCustomer: data.data.data.activeCustomer, |
|
|
prohibitedCustomer: data.data.data.prohibitedCustomer, |
|
|
prohibitedCustomer: data.data.data.prohibitedCustomer, |
|
|
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0, |
|
|
|
|
|
|
|
|
avgDuration: Math.floor(data.data.data.avgDuration / 60) || 0, |
|
|
tagCustomer: data.data.data.tagCustomer, |
|
|
tagCustomer: data.data.data.tagCustomer, |
|
|
fraction: data.data.data.fraction, |
|
|
fraction: data.data.data.fraction, |
|
|
receptionCount:data.data.data.receptionCount |
|
|
|
|
|
|
|
|
receptionCount: data.data.data.receptionCount |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -544,16 +542,16 @@ |
|
|
receivingCustomer: data.data.data.receivingCustomer, |
|
|
receivingCustomer: data.data.data.receivingCustomer, |
|
|
activeCustomer: data.data.data.activeCustomer, |
|
|
activeCustomer: data.data.data.activeCustomer, |
|
|
prohibitedCustomer: data.data.data.prohibitedCustomer, |
|
|
prohibitedCustomer: data.data.data.prohibitedCustomer, |
|
|
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0, |
|
|
|
|
|
|
|
|
avgDuration: Math.floor(data.data.data.avgDuration / 60) || 0, |
|
|
tagCustomer: data.data.data.tagCustomer, |
|
|
tagCustomer: data.data.data.tagCustomer, |
|
|
fraction: data.data.data.fraction, |
|
|
fraction: data.data.data.fraction, |
|
|
receptionCount:data.data.data.receptionCount |
|
|
|
|
|
|
|
|
receptionCount: data.data.data.receptionCount |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//设备 |
|
|
//设备 |
|
|
initequipment() { |
|
|
initequipment() { |
|
|
uni.request({ |
|
|
uni.request({ |
|
@@ -625,7 +623,7 @@ |
|
|
piskbuilding() { |
|
|
piskbuilding() { |
|
|
// this.Showhiddenunits = true; |
|
|
// this.Showhiddenunits = true; |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:"../mine/selectBuilding" |
|
|
|
|
|
|
|
|
url: "../mine/selectBuilding" |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 项目选择确认 |
|
|
// 项目选择确认 |
|
@@ -641,127 +639,153 @@ |
|
|
this.initrealTimeStatistics() |
|
|
this.initrealTimeStatistics() |
|
|
this.initequipment() |
|
|
this.initequipment() |
|
|
this.iniodianloang() |
|
|
this.iniodianloang() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
// 项目选择取消 |
|
|
// 项目选择取消 |
|
|
cancel() { |
|
|
cancel() { |
|
|
this.Showhiddenunits = false; |
|
|
this.Showhiddenunits = false; |
|
|
}, |
|
|
}, |
|
|
tapjumpequipment(i){ |
|
|
|
|
|
this.Menulist.forEach(item=>{ |
|
|
|
|
|
if(item.name=='设备管理'){ |
|
|
|
|
|
|
|
|
tapjumpequipment(i) { |
|
|
|
|
|
this.Menulist.forEach(item => { |
|
|
|
|
|
if (item.name == '设备管理') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/mine/equipment/index?active='+i |
|
|
|
|
|
|
|
|
url: '/pages/mine/equipment/index?active=' + i |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
prohibitedtap(i){ |
|
|
|
|
|
if(i==1){ |
|
|
|
|
|
|
|
|
prohibitedtap(i) { |
|
|
|
|
|
if (i == 1) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'0'+'&violatedStatus=1' |
|
|
|
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '0' + |
|
|
|
|
|
'&violatedStatus=1' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
if(this.zhixingcenterindex==2){ |
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
if (this.zhixingcenterindex == 2) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'2'+'&violatedStatus=1' |
|
|
|
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '2' + |
|
|
|
|
|
'&violatedStatus=1' |
|
|
}); |
|
|
}); |
|
|
}else if(this.zhixingcenterindex==6){ |
|
|
|
|
|
|
|
|
} else if (this.zhixingcenterindex == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'3'+'&violatedStatus=1' |
|
|
|
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '3' + |
|
|
|
|
|
'&violatedStatus=1' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&violatedStatus=1' |
|
|
|
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '4' + |
|
|
|
|
|
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd + |
|
|
|
|
|
'&violatedStatus=1' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tapjumpreception(i){ |
|
|
|
|
|
this.Menulist.forEach(item=>{ |
|
|
|
|
|
if(item.name=='接待记录'){ |
|
|
|
|
|
if(i==1){ |
|
|
|
|
|
|
|
|
tapjumpreception(i) { |
|
|
|
|
|
this.Menulist.forEach(item => { |
|
|
|
|
|
if (item.name == '接待记录') { |
|
|
|
|
|
if (i == 1) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + |
|
|
|
|
|
'0' |
|
|
}); |
|
|
}); |
|
|
} else if (i == 'auth') { |
|
|
} else if (i == 'auth') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + |
|
|
|
|
|
'0' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else if(i==2){ |
|
|
|
|
|
|
|
|
} else if (i == 2) { |
|
|
uni.switchTab({ |
|
|
uni.switchTab({ |
|
|
url: '/pages/index/customer' |
|
|
url: '/pages/index/customer' |
|
|
}); |
|
|
}); |
|
|
}else if(i==3){ |
|
|
|
|
|
if(this.zhixingcenterindex==2){ |
|
|
|
|
|
|
|
|
} else if (i == 3) { |
|
|
|
|
|
if (this.zhixingcenterindex == 2) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '2' |
|
|
}); |
|
|
}); |
|
|
}else if(this.zhixingcenterindex==6){ |
|
|
|
|
|
|
|
|
} else if (this.zhixingcenterindex == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '3' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart + |
|
|
|
|
|
'&endtime=' + this.statDateEnd |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}else if(i==333){ |
|
|
|
|
|
if(this.zhixingcenterindex==2){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (i == 333) { |
|
|
|
|
|
if (this.zhixingcenterindex == 2) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '2' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else if(this.zhixingcenterindex==6){ |
|
|
|
|
|
|
|
|
} else if (this.zhixingcenterindex == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '3' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart + |
|
|
|
|
|
'&endtime=' + this.statDateEnd + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
if(this.zhixingcenterindex==2){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (i == 3) { |
|
|
|
|
|
if (this.zhixingcenterindex == 2) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '2' |
|
|
}); |
|
|
}); |
|
|
}else if(this.zhixingcenterindex==6){ |
|
|
|
|
|
|
|
|
} else if (this.zhixingcenterindex == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '3' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart + |
|
|
|
|
|
'&endtime=' + this.statDateEnd |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}else if(i==6){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (i == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + |
|
|
|
|
|
'0' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else if(i==7){ |
|
|
|
|
|
if(this.zhixingcenterindex==2){ |
|
|
|
|
|
|
|
|
} else if (i == 7) { |
|
|
|
|
|
if (this.zhixingcenterindex == 2) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '2' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else if(this.zhixingcenterindex==6){ |
|
|
|
|
|
|
|
|
} else if (this.zhixingcenterindex == 6) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '3' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart + |
|
|
|
|
|
'&endtime=' + this.statDateEnd + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}else if (i == 4) { |
|
|
|
|
|
|
|
|
} else if (i == 4) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'+'&validInvalid=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=0' + '&markAdvisor=0' + '&validInvalid=0' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' + |
|
|
|
|
|
'&activeTotal=0' + '&markAdvisor=0' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -774,7 +798,7 @@ |
|
|
}); |
|
|
}); |
|
|
} else if (item == '接待记录') { |
|
|
} else if (item == '接待记录') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/records/index?refresh='+'refresh' |
|
|
|
|
|
|
|
|
url: '/pages/center/records/index?refresh=' + 'refresh' |
|
|
}); |
|
|
}); |
|
|
} else if (item == '值班顾问') { |
|
|
} else if (item == '值班顾问') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
@@ -784,97 +808,140 @@ |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/mine/equipment/index' |
|
|
url: '/pages/mine/equipment/index' |
|
|
}); |
|
|
}); |
|
|
} else if(item == '顾问排名') { |
|
|
|
|
|
|
|
|
} else if (item == '顾问排名') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/Piabodata/Employeesstatistics' |
|
|
url: '/pages/center/Piabodata/Employeesstatistics' |
|
|
}); |
|
|
}); |
|
|
}else if(item == '违禁记录'){ |
|
|
|
|
|
|
|
|
} else if (item == '违禁记录') { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/prohibited/index?refresh='+'refresh' |
|
|
|
|
|
|
|
|
url: '/pages/center/prohibited/index?refresh=' + 'refresh' |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/center/consumer/index?refresh='+'refresh' |
|
|
|
|
|
|
|
|
url: '/pages/center/consumer/index?refresh=' + 'refresh' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
filters: { |
|
|
|
|
|
imgFilter(type) { |
|
|
|
|
|
let path = '' |
|
|
|
|
|
switch (type) { |
|
|
|
|
|
case '客户管理': |
|
|
|
|
|
path = '../../static/images/function1.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '接待记录': |
|
|
|
|
|
path = '../../static/images/function2.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '销讲数据': |
|
|
|
|
|
path = '../../static/images/function4.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '设备管理': |
|
|
|
|
|
path = '../../static/images/function5.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '值班顾问': |
|
|
|
|
|
path = '../../static/images/function6.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '顾问排名': |
|
|
|
|
|
path = '../../static/images/rankingguwen.png' |
|
|
|
|
|
break |
|
|
|
|
|
case '违禁记录': |
|
|
|
|
|
path = '../../static/images/prohibited.png' |
|
|
|
|
|
break |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
console.log(path) |
|
|
|
|
|
return path |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.update{ |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.5); |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
z-index: 9999; |
|
|
|
|
|
.updateBox{ |
|
|
|
|
|
width: 80%; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
position: relative; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
margin-left: -40%; |
|
|
|
|
|
padding: 20rpx; |
|
|
|
|
|
border-radius: 10rpx; |
|
|
|
|
|
top: 140rpx; |
|
|
|
|
|
.top{ |
|
|
|
|
|
width: 350rpx; |
|
|
|
|
|
height: 220rpx; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
image{ |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.btn{ |
|
|
|
|
|
width: 510rpx; |
|
|
|
|
|
height: 88rpx; |
|
|
|
|
|
background: #2671E2; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
} |
|
|
|
|
|
.content{ |
|
|
|
|
|
height: 268rpx; |
|
|
|
|
|
overflow-y: auto; |
|
|
|
|
|
margin: 46rpx 0; |
|
|
|
|
|
} |
|
|
|
|
|
.tit{ |
|
|
|
|
|
font-size: 40rpx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
} |
|
|
|
|
|
.close{ |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: -100rpx; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
margin-left: -50rpx; |
|
|
|
|
|
|
|
|
.update { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.5); |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
z-index: 9999; |
|
|
|
|
|
|
|
|
|
|
|
.updateBox { |
|
|
|
|
|
width: 80%; |
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
position: relative; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
margin-left: -40%; |
|
|
|
|
|
padding: 20rpx; |
|
|
|
|
|
border-radius: 10rpx; |
|
|
|
|
|
top: 140rpx; |
|
|
|
|
|
|
|
|
|
|
|
.top { |
|
|
|
|
|
width: 350rpx; |
|
|
|
|
|
height: 220rpx; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.btn { |
|
|
|
|
|
width: 510rpx; |
|
|
|
|
|
height: 88rpx; |
|
|
|
|
|
background: #2671E2; |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
|
|
height: 268rpx; |
|
|
|
|
|
overflow-y: auto; |
|
|
|
|
|
margin: 46rpx 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tit { |
|
|
|
|
|
font-size: 40rpx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.close { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: -100rpx; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
margin-left: -50rpx; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
.activecllasscet{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.activecllasscet { |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
color: #008ef2; |
|
|
color: #008ef2; |
|
|
} |
|
|
} |
|
|
.cet{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cet { |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
color: #333333; |
|
|
color: #333333; |
|
|
.cetview{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cetview { |
|
|
margin-left: 20rpx; |
|
|
margin-left: 20rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.cented-box { |
|
|
.cented-box { |
|
|
padding: 30rpx; |
|
|
padding: 30rpx; |
|
|
background: #F8F8F8; |
|
|
background: #F8F8F8; |
|
|