Merge branch 'main' of http://47.107.152.87:3000/dyf/APP
This commit is contained in:
@ -2,10 +2,12 @@
|
||||
<view class="content contentBg">
|
||||
<custom-navbar :title="Status.navbar.title" :showBack="Status.navbar.showBack" color="#FFFFFF"
|
||||
:rightIcons="Status.navbar.icons" @icon-click="handleRightClick"></custom-navbar>
|
||||
|
||||
<view>
|
||||
|
||||
</view>
|
||||
<view class="eq" :style="{marginTop:Status.navbar.height+'px'}">
|
||||
<view class="leftImg" @click.stop="previewImg(device['devicePic'])">
|
||||
<image class="img" :src="device['devicePic']" mode="aspectFit"></image>
|
||||
<view class="leftImg" @click.stop="previewImg(device.devicePic?device.devicePic:formData.img)">
|
||||
<image class="img" :src="device.devicePic?device.devicePic:formData.img" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="rightTxt">
|
||||
<view class="row">
|
||||
@ -25,13 +27,22 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="eqinfo">
|
||||
<view class="item">
|
||||
<text class="lbl">设备名称</text>
|
||||
<text class="value valueFont">{{device.deviceName}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="lbl">设备IMEI</text>
|
||||
<text class="value valueFont">{{device.deviceImei}}</text>
|
||||
</view>
|
||||
|
||||
<view class="item">
|
||||
<text class="lbl">设备名称</text>
|
||||
<text class="value valueFont">{{device.deviceName}}</text>
|
||||
<text class="lbl">Mac地址</text>
|
||||
<text class="value">{{device.deviceMac}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="lbl">蓝牙名称</text>
|
||||
<text class="value valueFont">{{device.bluetoothName}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="lbl">蓝牙状态</text>
|
||||
@ -69,17 +80,17 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="warnnig" v-bind:class="formData.staticWarn?'':'displayNone'">
|
||||
<view class="warnnig" :class="formData.staticWarn?'':'displayNone'">
|
||||
<view>警告!设备静止报警中!</view>
|
||||
<view class="netContent">
|
||||
<view v-bind:class="getWarnStyle(1)" class="net netone"></view>
|
||||
<view v-bind:class="getWarnStyle(2)" class="net nettwo"></view>
|
||||
<view v-bind:class="getWarnStyle(3)" class="net netsiri"></view>
|
||||
<view v-bind:class="getWarnStyle(4)" class="net netfour"></view>
|
||||
<view v-bind:class="getWarnStyle(5)" class="net netfive"></view>
|
||||
<view :class="getWarnStyle(1)" class="net netone"></view>
|
||||
<view :class="getWarnStyle(2)" class="net nettwo"></view>
|
||||
<view :class="getWarnStyle(3)" class="net netsiri"></view>
|
||||
<view :class="getWarnStyle(4)" class="net netfour"></view>
|
||||
<view :class="getWarnStyle(5)" class="net netfive"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="warnnig" v-bind:class="(formData.qzwarn && Status.staticWarn.time)?'':'displayNone'"
|
||||
<view class="warnnig" :class="(formData.qzwarn && Status.staticWarn.time)?'':'displayNone'"
|
||||
@click="CloseWarn(true)">
|
||||
<view>设备强制报警中!</view>
|
||||
<view class="netContent">
|
||||
@ -378,6 +389,7 @@
|
||||
bleLinkCnt: 0
|
||||
},
|
||||
formData: {
|
||||
img:'/static/images/common/HBY670.png',
|
||||
battary: "", //电量
|
||||
xuhang: "", //续航
|
||||
imei: "", //imei
|
||||
@ -514,6 +526,7 @@
|
||||
let keys = Object.keys(form);
|
||||
for (var i = keys.length; i >= 0; i--) {
|
||||
let key = keys[i];
|
||||
|
||||
these.formData[key] = form[key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user