safecheck-client 3.0.30-4 → 3.0.30-41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/SafePlan-liaoyuan/App.vue +3 -1
- package/package.json +4 -3
- package/src/components/android/AddPlanItem.vue +5 -2
- package/src/components/android/CurrentCreate.vue +1050 -1049
- package/src/components/android/CurrentCreate_new.vue +1021 -1017
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/paper/PlanChooser.vue +6 -5
- package/src/components/pc/Edit.vue +50 -0
- package/src/components/pc/NewCheckpaper.vue +9 -5
- package/src/components/pc/PaperEdit.vue +148 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
- package/src/components/querycheckpaper/CheckSearchUser.vue +10 -1
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
- package/src/filiale/hanzhong/android.js +5 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
- package/src/filiale/jingyang/pc/PaperList.vue +1 -2
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android.js +1 -0
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +9 -3
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -0
- package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1077 -1077
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +849 -849
- package/src/filiale/yangchunboneng/pc/PaperList.vue +727 -727
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +230 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +16 -4
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +8 -6
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +8 -6
- package/src/filiale/yongzhou/pc/safeDetail.vue +232 -220
- package/src/filiale/yongzhou/pc/safeStatistics.vue +10 -0
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +416 -396
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +248 -231
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +10 -0
- package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
- package/src/filiale/yongzhou/pc.js +25 -23
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +994 -990
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
- package/src/main.js +1 -1
- package/src/safecheck.js +6 -0
@@ -132,6 +132,7 @@
|
|
132
132
|
</div>
|
133
133
|
<div class="row">
|
134
134
|
<label for="readsafe" class="text-left font">蓝牙状态:{{blueState}}</label>
|
135
|
+
<button type="button" @click="initBlueState()">重新连接</button>
|
135
136
|
</div>
|
136
137
|
<div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
|
137
138
|
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
@@ -608,6 +609,25 @@
|
|
608
609
|
Radio
|
609
610
|
},
|
610
611
|
methods: {
|
612
|
+
initBlueState(){
|
613
|
+
let state = HostApp.getBluetoothState()
|
614
|
+
if (state && state.state == 3){
|
615
|
+
this.blueState = '连接完成'
|
616
|
+
}else {
|
617
|
+
if (state && state.state == -1){
|
618
|
+
this.$showMessage('蓝牙连接未打开,打开后重新尝试')
|
619
|
+
return
|
620
|
+
}
|
621
|
+
this.blueState = '连接失败,请重试'
|
622
|
+
this.$androidUtil.print(JSON.stringify([{ type: 4, value: 2, unit: 'line' }]))
|
623
|
+
let state2 = HostApp.getBluetoothState()
|
624
|
+
if (state2 && state2.state == 3){
|
625
|
+
this.blueState = '连接完成'
|
626
|
+
}else {
|
627
|
+
this.blueState = '连接失败,请重试'
|
628
|
+
}
|
629
|
+
}
|
630
|
+
},
|
611
631
|
timeSet(val) {
|
612
632
|
//////tag
|
613
633
|
if (!val) {
|