蓝牙开始、结束搜索添加状态判定

This commit is contained in:
liub
2025-10-30 11:10:57 +08:00
parent bd56ca997b
commit c39cbcb34d
11 changed files with 104 additions and 100 deletions

View File

@ -23,13 +23,14 @@
</view>
</view>
<view class="eqinfo">
<view class="item">
<text class="lbl">蓝牙名称</text>
<text class="value">{{formData.blename}}</text>
</view>
<view class="item">
<text class="lbl">设备名称</text>
<text class="value">{{formData.deviceName}}</text>
<text class="value">{{device.deviceName}}</text>
</view>
<view class="item">
<text class="lbl">蓝牙名称</text>
<text class="value">{{device.bluetoothName}}</text>
</view>
<view class="item">
<text class="lbl">蓝牙状态</text>
@ -323,48 +324,39 @@
sta_LightFreq: '',
sta_LightDimmer: '',
sta_system: ''
},
dic: {
SOS: [{
text: '声光报警',
val: 'sos',
img: '/static/images/4877/sg.png',
activeImg: '/static/images/4877/sgActive.png'
},
{
text: '泛光照明',
val: 'fan',
img: '/static/images/4877/fan.png',
activeImg: '/static/images/4877/fanActive.png'
}
],
gropus: [{
text: '红配组',
val: 'red_group',
img: '/static/images/4877/light.png',
activeImg: '/static/images/4877/lightActive.png'
},
{
text: '蓝配组',
val: 'blue_group',
img: '/static/images/4877/light.png',
activeImg: '/static/images/4877/lightActive.png'
},
{
text: '绿配组',
val: 'green_group',
img: '/static/images/4877/light.png',
activeImg: '/static/images/4877/lightActive.png'
},
{
text: '黄配组',
val: 'yellow_group',
img: '/static/images/4877/light.png',
activeImg: '/static/images/4877/lightActive.png'
}
]
sta_VoiceType: {
"0": '关闭',
"1": '消防',
"2": '公安',
"3": '交警',
"4": '市政',
"5": '应急',
"6": '医疗',
"7": '铁道',
"8": 'app语音',
},
sta_LightType: {
"0": '关闭',
"1": '红蓝闪',
"2": '红闪',
"3": '黄闪',
"4": '蓝闪',
"5": '红流水',
"6": '黄流水',
"7": '蓝流水'
},
sta_system: {
"0": '关机',
"1": '仅充电',
"2": '开机未充电',
"3": '开机且充电'
}
},
device: {
id: "",