|
@@ -97,7 +97,7 @@
|
|
|
src="@/pages_safetyCheck/images/icon_aqjc_suishoupai.png">
|
|
|
</view>
|
|
|
<!-- 安全检查 -->
|
|
|
- <scanCodeCheck v-if="securityCheck" :subjectData="subjectData"></scanCodeCheck>
|
|
|
+ <scanCodeCheck v-if="securityCheck" :subjectData="subjectData"></scanCodeCheck>
|
|
|
<!-- 物联控制 -->
|
|
|
<iotControl ref="iotControl" v-if="pageType == 1" :subjectData="subjectData"></iotControl>
|
|
|
<!-- 进出记录 -->
|
|
@@ -173,8 +173,8 @@
|
|
|
//语音广播弹窗
|
|
|
broadcastPage: false,
|
|
|
broadcastPage: false,
|
|
|
- securityCheck:false,
|
|
|
- form:{},
|
|
|
+ securityCheck: false,
|
|
|
+ form: {},
|
|
|
}
|
|
|
},
|
|
|
// 父页面
|
|
@@ -204,7 +204,7 @@
|
|
|
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.$set(this,'securityCheck',false)
|
|
|
+ this.$set(this, 'securityCheck', false)
|
|
|
},
|
|
|
mounted() {
|
|
|
|
|
@@ -257,7 +257,7 @@
|
|
|
} else if (type == 'conditioningClose') {
|
|
|
//空调弹窗关闭
|
|
|
this.$set(this, 'conditioningPage', false);
|
|
|
- }else if (type == 'back') {
|
|
|
+ } else if (type == 'back') {
|
|
|
this.$set(this, 'pageType', 2);
|
|
|
}
|
|
|
},
|
|
@@ -278,7 +278,7 @@
|
|
|
this.$set(this, 'pageType', index);
|
|
|
}
|
|
|
},
|
|
|
- goPage(type,status) {
|
|
|
+ goPage(type, status) {
|
|
|
if (!pageRestrictVerify(type)) {
|
|
|
uni.showToast({
|
|
|
title: '没有相关权限,请联系管理员',
|
|
@@ -287,10 +287,10 @@
|
|
|
duration: 2000
|
|
|
});
|
|
|
return
|
|
|
- }else if (type == 'securityCheck') {
|
|
|
- if(status){
|
|
|
+ } else if (type == 'securityCheck') {
|
|
|
+ if (status) {
|
|
|
this.$set(this, "securityCheck", true)
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.$set(this, "securityCheck", false)
|
|
|
}
|
|
|
} else if (type == 'snapshot') {
|
|
@@ -463,7 +463,7 @@
|
|
|
background: rgba(255, 0, 0, 0.2);
|
|
|
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
|
|
border: 2rpx solid #FF0000;
|
|
|
- width: 180rpx;
|
|
|
+ width: 200rpx;
|
|
|
height: 40rpx;
|
|
|
margin-left: 10rpx;
|
|
|
|
|
@@ -475,6 +475,9 @@
|
|
|
color: #FF0000;
|
|
|
line-height: 40rpx;
|
|
|
text-align: center;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
>text:nth-of-type(1) {
|
|
@@ -491,6 +494,9 @@
|
|
|
line-height: 42rpx;
|
|
|
text-align: left;
|
|
|
margin-top: 10rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -745,6 +751,6 @@
|
|
|
.position-button-p-2 {}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
</style>
|