safecheck-client 3.0.30-7 → 3.0.30-71
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/Util.js +15 -0
- package/src/components/android/AddPlanItem.vue +5 -2
- package/src/components/android/AreaPlan.vue +2 -2
- package/src/components/android/CurrentCreate.vue +3 -2
- package/src/components/android/CurrentCreate_new.vue +563 -559
- package/src/components/android/PhoneotherInfo.vue +132 -132
- package/src/components/android/SafecheckOrderV.vue +2 -2
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/paper/PlanChooser.vue +8 -6
- package/src/components/pc/Edit.vue +126 -0
- package/src/components/pc/LodopFuncs.js +159 -0
- package/src/components/pc/NewCheckpaper.vue +9 -5
- package/src/components/pc/PaperEdit.vue +151 -0
- package/src/components/pc/PrintData.vue +243 -0
- package/src/components/pc/PrintTable.vue +241 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -278
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
- package/src/components/report/NoCheckplanSafecheck.vue +0 -2
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2850 -2850
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +806 -806
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android.js +10 -0
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1294
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android.js +16 -16
- package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
- package/src/filiale/hanzhong/pc.js +4 -1
- package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
- 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 +6 -0
- package/src/filiale/tianke/pc/checkScreen.vue +781 -781
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1095 -1090
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
- package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
- package/src/filiale/wensu/android.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
- package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
- package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
- package/src/filiale/wensu/pc/checkUserList.vue +50 -0
- package/src/filiale/wensu/pc.js +2 -1
- package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
- package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
- package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
- package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
- package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
- package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
- package/src/filiale/yongzhou/pc.js +17 -12
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
- package/src/safecheck-android.js +290 -290
- package/src/safecheck.js +12 -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) {
|
@@ -42,6 +42,16 @@
|
|
42
42
|
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
43
43
|
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
44
44
|
</div>
|
45
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
46
|
+
<label class="font_normal_body">上次执行日期</label>
|
47
|
+
<datepicker
|
48
|
+
:value.sync="checkBook.f_last_run_date"
|
49
|
+
style="width: 60%"
|
50
|
+
:format="'yyyy-MM-dd'"
|
51
|
+
v-model="checkBook.f_last_run_date"
|
52
|
+
>
|
53
|
+
</datepicker>
|
54
|
+
</div>
|
45
55
|
<div class="form-group col-sm-6" style="margin-top: 20px">
|
46
56
|
<label class="font_normal_body">执行日期</label>
|
47
57
|
<datepicker
|
@@ -170,6 +180,15 @@ export default {
|
|
170
180
|
http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
171
181
|
{resolveMsg: '保存片区信息成功', rejectMsg: '保存片区信息失败'}).then(res => {
|
172
182
|
if (res.data.code === 200) {
|
183
|
+
let dataplan ={
|
184
|
+
id:res.data.id,
|
185
|
+
f_check_book_name: this.checkBook.f_check_book_name,
|
186
|
+
f_checker_name:this.checkBook.f_checker_name,
|
187
|
+
f_checker_id:this.checkBook.f_checker_id,
|
188
|
+
f_create_person: this.$login.f.name,
|
189
|
+
f_orgid: this.$login.f.orgid
|
190
|
+
}
|
191
|
+
http.load('POST', 'rs/logic/CreatorBookplan', {data:dataplan},{resolveMsg: null, rejectMsg: null})
|
173
192
|
this.$showMessage('保存片区信息成功',['confirm']).then(res=>{
|
174
193
|
if (res==='confirm'){
|
175
194
|
bus.$emit('fresh-main')
|