safecheck-client 3.0.30-8 → 3.0.30-81
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/App.vue +31 -31
- 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 +1050 -1049
- package/src/components/android/CurrentCreate_new.vue +563 -559
- package/src/components/android/PaperFeedback.vue +4 -2
- package/src/components/android/SafecheckOrderV.vue +2 -2
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/paper/PaperList.vue +9 -2
- 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 +3 -0
- package/src/components/report/NoCheckplanSafecheck.vue +0 -2
- package/src/components/rongcheng/CheckCurrentCreate.vue +8 -0
- package/src/components/rongcheng/PaperStatem.vue +42 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +149 -199
- package/src/components/rongcheng/SafecheckOrderV.vue +8 -0
- package/src/components/rongcheng/SafecheckUserInfo.vue +419 -0
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +21 -3
- package/src/filiale/bayan/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/android/Edit.vue +132 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
- package/src/filiale/bayan/android.js +2 -1
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android.js +10 -0
- package/src/filiale/fugou/pc/PaperList.vue +877 -857
- package/src/filiale/fugou/pc/checkUserList.vue +808 -0
- package/src/filiale/fugou/pc.js +14 -13
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2 -2
- 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/AddPlanItem.vue +458 -0
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +780 -0
- package/src/filiale/jingyang/pc/PaperList.vue +793 -793
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android.js +1 -0
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
- package/src/filiale/liaoyuan/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 +4 -4
- 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 +371 -401
- 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/wuhai/pc/NewCheckpaper.vue +26 -24
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -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/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/main.js +1 -1
- package/src/safecheck.js +12 -0
@@ -6,6 +6,7 @@ let specialComp = {
|
|
6
6
|
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
|
7
7
|
'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
|
8
8
|
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
|
9
|
+
'current-create' : (resolve) => { require(['./android/CurrentCreate'], resolve) },
|
9
10
|
'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo'], resolve) }
|
10
11
|
}
|
11
12
|
exports.specialComp = specialComp
|
@@ -545,7 +545,7 @@ export default {
|
|
545
545
|
cbcs:[],
|
546
546
|
thead: '',
|
547
547
|
headData: ['入户状态','用户编号','用户名','用户电话','用户小区','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','隐患明细'],
|
548
|
-
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','
|
548
|
+
bodyData: ['f_entry_status','f_userinfo_code','f_user_name','f_user_phone','f_residential_area','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','defecttext'],
|
549
549
|
}
|
550
550
|
},
|
551
551
|
props:{
|
@@ -123,6 +123,10 @@
|
|
123
123
|
<input type="checkbox" v-model="paper.f_gas_manual" /><label class="text-left font" >安全用气手册</label>
|
124
124
|
</div>
|
125
125
|
</div>
|
126
|
+
<div class="row">
|
127
|
+
<label for="readsafe" class="text-left font">蓝牙状态:{{blueState}}</label>
|
128
|
+
<button type="button" @click="initBlueState()">重新连接</button>
|
129
|
+
</div>
|
126
130
|
<div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
|
127
131
|
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
128
132
|
<input type="checkbox" v-model="paper.f_defect_notified" class="showIi" />隐患整改单
|
@@ -463,6 +467,7 @@
|
|
463
467
|
title: '用户反馈',
|
464
468
|
data() {
|
465
469
|
return {
|
470
|
+
blueState:'',
|
466
471
|
defectImgs: [],
|
467
472
|
defectToolTip: [],
|
468
473
|
defectReason: [],
|
@@ -525,6 +530,25 @@
|
|
525
530
|
Radio
|
526
531
|
},
|
527
532
|
methods: {
|
533
|
+
initBlueState(){
|
534
|
+
let state = HostApp.getBluetoothState()
|
535
|
+
if (state && state.state == 3){
|
536
|
+
this.blueState = '连接完成'
|
537
|
+
}else {
|
538
|
+
if (state && state.state == -1){
|
539
|
+
this.$showMessage('蓝牙连接未打开,打开后重新尝试')
|
540
|
+
return
|
541
|
+
}
|
542
|
+
this.blueState = '连接失败,请重试'
|
543
|
+
this.$androidUtil.print(JSON.stringify([{ type: 4, value: 2, unit: 'line' }]))
|
544
|
+
let state2 = HostApp.getBluetoothState()
|
545
|
+
if (state2 && state2.state == 3){
|
546
|
+
this.blueState = '连接完成'
|
547
|
+
}else {
|
548
|
+
this.blueState = '连接失败,请重试'
|
549
|
+
}
|
550
|
+
}
|
551
|
+
},
|
528
552
|
timeSet(val) {
|
529
553
|
//////tag
|
530
554
|
if (!val) {
|
@@ -759,6 +783,16 @@
|
|
759
783
|
return hasError
|
760
784
|
},
|
761
785
|
print() {
|
786
|
+
let state = HostApp.getBluetoothState()
|
787
|
+
if (state && state.state == 3){
|
788
|
+
this.blueState = '连接完成'
|
789
|
+
}else {
|
790
|
+
this.blueState = '连接失败,请重试'
|
791
|
+
}
|
792
|
+
if (state && state.state == -1){
|
793
|
+
this.$showMessage('蓝牙未打开,请确认蓝牙是否打开')
|
794
|
+
return
|
795
|
+
}
|
762
796
|
let errString = this.verify()
|
763
797
|
if (errString) {
|
764
798
|
////tag
|
@@ -1193,6 +1227,12 @@
|
|
1193
1227
|
},
|
1194
1228
|
},
|
1195
1229
|
async ready() {
|
1230
|
+
let state = HostApp.getBluetoothState()
|
1231
|
+
if (state && state.state == 3){
|
1232
|
+
this.blueState = '连接完成'
|
1233
|
+
}else {
|
1234
|
+
this.blueState = '连接失败,请重试'
|
1235
|
+
}
|
1196
1236
|
this.isRecodr = this.$appdata.getSingleValue('无限制录音');
|
1197
1237
|
// await this.isoverDate()
|
1198
1238
|
////tag
|
@@ -616,6 +616,9 @@ export default {
|
|
616
616
|
}
|
617
617
|
this.$showMessage('确定是否修改上传用户信息?', ['confirm', 'cancel']).then((res) => {
|
618
618
|
if (res === 'confirm') {
|
619
|
+
this.userinfo.addressinfo.f_residential_area = this.selectArea.f_residential_area ? this.selectArea.f_residential_area : ''
|
620
|
+
this.userinfo.addressinfo.f_residential_area_id = this.selectArea.id ? this.selectArea.id : ''
|
621
|
+
this.userinfo.addressinfo.f_slice_area = this.selectArea.f_slice_area ? this.selectArea.f_slice_area : ''
|
619
622
|
this.excessive = true
|
620
623
|
let address = {}
|
621
624
|
address.f_filialeid = this.userinfo.addressinfo.f_filialeid
|
@@ -695,6 +698,9 @@ export default {
|
|
695
698
|
}
|
696
699
|
this.$showMessage('确定是否修改上传审核用户信息?', ['confirm', 'cancel']).then((res) => {
|
697
700
|
if (res === 'confirm') {
|
701
|
+
this.userinfo.addressinfo.f_residential_area = this.selectArea.f_residential_area ? this.selectArea.f_residential_area : ''
|
702
|
+
this.userinfo.addressinfo.f_residential_area_id = this.selectArea.id ? this.selectArea.id : ''
|
703
|
+
this.userinfo.addressinfo.f_slice_area = this.selectArea.f_slice_area ? this.selectArea.f_slice_area : ''
|
698
704
|
this.excessive = true
|
699
705
|
let address = {}
|
700
706
|
address.f_filialeid = this.userinfo.addressinfo.f_filialeid
|
@@ -10,9 +10,9 @@
|
|
10
10
|
<header slot="modal-header" class="modal-header" v-show="false"></header>
|
11
11
|
<article slot="modal-body" class="modal-body" style="width: 1200px;">
|
12
12
|
<div class="auto">
|
13
|
-
<img style="height:800px;width: 1200px;" src="
|
13
|
+
<img style="height:800px;width: 1200px;" src="./cq.jpg"
|
14
14
|
v-show="city_properEnable" alt="图片加载失败"/>
|
15
|
-
<img style="height:800px;width: 1200px;" src="
|
15
|
+
<img style="height:800px;width: 1200px;" src="./qy.jpg"
|
16
16
|
v-show="townshipEnable" alt="图片加载失败"/>
|
17
17
|
</div>
|
18
18
|
</article>
|
@@ -199,7 +199,7 @@
|
|
199
199
|
source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
|
200
200
|
userid: this.$login.f.id
|
201
201
|
}, {resolveMsg: null, rejectMsg: null})
|
202
|
-
let arr1=await new HttpResetClass().load("GET", `/rs/
|
202
|
+
let arr1=await new HttpResetClass().load("GET", `/rs/safePosition/getPosition`, {},{resolveMsg: null, rejectMsg: null})
|
203
203
|
//tag+'---------'+typeof arr1)
|
204
204
|
//let d=this.toStandardTimeString()
|
205
205
|
this.checkers=[]
|
@@ -232,7 +232,7 @@
|
|
232
232
|
}
|
233
233
|
let td=Util.toStandardDateString()
|
234
234
|
//获取今天上传的所有隐患
|
235
|
-
let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and
|
235
|
+
let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStartDateYearString()} 00:00:00' and f_longitude is not null`}},
|
236
236
|
{resolveMsg: null, rejectMsg: null})
|
237
237
|
//tag)
|
238
238
|
if(arr.data){
|
Binary file
|
Binary file
|
@@ -891,6 +891,7 @@
|
|
891
891
|
let it = {
|
892
892
|
type: this.config[this.device.device].items[item].type,
|
893
893
|
f_item_name: item,
|
894
|
+
f_alias_name: this.config[this.device.device].items[item].alias_name,
|
894
895
|
checkmust: this.config[this.device.device].items[item].checkmust,
|
895
896
|
f_item_value: f_item_value,
|
896
897
|
f_is_defect: '',
|