safecheck-client 3.0.34-1 → 3.0.34-11
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/package.json +1 -1
- package/src/components/android/AndroidDefectDeal.vue +634 -633
- package/src/components/android/AreaPlan.vue +1 -7
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/android.js +10 -10
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
- package/src/filiale/baiyin/pc/PaperList.vue +790 -790
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android.js +10 -10
- package/src/filiale/jiaxian/pc.js +12 -12
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/wuan/android/SafecheckOrderV.vue +4 -1
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +6 -5
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -944
- package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main.js +33 -33
@@ -431,7 +431,6 @@ export default {
|
|
431
431
|
HostApp.__this__ = null
|
432
432
|
},
|
433
433
|
takePic (type ,prop, title) {
|
434
|
-
const obj = HostApp.getGpsDetailAddress()
|
435
434
|
HostApp.__callback__ = this.cameraCallBack
|
436
435
|
HostApp.__this__ = this
|
437
436
|
//tag
|
@@ -457,6 +456,7 @@ export default {
|
|
457
456
|
}
|
458
457
|
let jingweidu = ''
|
459
458
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
459
|
+
const obj = HostApp.getGpsDetailAddress()
|
460
460
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
461
461
|
}
|
462
462
|
let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
|
@@ -439,7 +439,6 @@
|
|
439
439
|
if (this.role == 'androidview') {
|
440
440
|
return
|
441
441
|
}
|
442
|
-
const obj = HostApp.getGpsDetailAddress()
|
443
442
|
HostApp.__callback__ = this.cameraCallBack
|
444
443
|
HostApp.__this__ = this
|
445
444
|
//tag
|
@@ -459,6 +458,7 @@
|
|
459
458
|
}
|
460
459
|
let jingweidu = ''
|
461
460
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
461
|
+
const obj = HostApp.getGpsDetailAddress()
|
462
462
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
463
463
|
}
|
464
464
|
//tag
|
@@ -425,7 +425,6 @@ export default {
|
|
425
425
|
HostApp.__this__ = null
|
426
426
|
},
|
427
427
|
takePic(type, prop, title) {
|
428
|
-
const obj = HostApp.getGpsDetailAddress()
|
429
428
|
HostApp.__callback__ = this.cameraCallBack
|
430
429
|
HostApp.__this__ = this
|
431
430
|
//tag
|
@@ -451,6 +450,7 @@ export default {
|
|
451
450
|
}
|
452
451
|
let jingweidu = ''
|
453
452
|
if (this.$parent.$parent.is_has_jingweidu == 'true') {
|
453
|
+
const obj = HostApp.getGpsDetailAddress()
|
454
454
|
jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
|
455
455
|
}
|
456
456
|
let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
|
@@ -1375,8 +1375,10 @@ export default {
|
|
1375
1375
|
if(HostApp.__this__.role == 'inspect'
|
1376
1376
|
&& HostApp.__this__.data.f_approved
|
1377
1377
|
&& HostApp.__this__.data.f_approved == '打回') {
|
1378
|
+
if (!this.data.f_onsite_time){
|
1379
|
+
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1380
|
+
}
|
1378
1381
|
//tag
|
1379
|
-
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
1380
1382
|
HostApp.__this__.tick()
|
1381
1383
|
}
|
1382
1384
|
}
|
@@ -2235,3 +2237,4 @@ export default {
|
|
2235
2237
|
padding: 13px 16px;
|
2236
2238
|
}
|
2237
2239
|
</style>
|
2240
|
+
|
@@ -240,9 +240,6 @@ export default {
|
|
240
240
|
}
|
241
241
|
}
|
242
242
|
}
|
243
|
-
for (let i in this.userinfo) {
|
244
|
-
//tag + ':' + JSON.stringify(this.userinfo[i]))
|
245
|
-
}
|
246
243
|
this.safecheckStateReady()
|
247
244
|
},
|
248
245
|
methods: {
|
@@ -409,7 +406,9 @@ export default {
|
|
409
406
|
start() {
|
410
407
|
this.$parent.$parent.isStrat = true
|
411
408
|
this.$set('action', !this.action)
|
412
|
-
this
|
409
|
+
if (!this.f_onsite_time){
|
410
|
+
this.$set('f_onsite_time', Util.toStandardTimeString())
|
411
|
+
}
|
413
412
|
},
|
414
413
|
safecheckStateReady() {
|
415
414
|
//tag
|
@@ -441,7 +440,9 @@ export default {
|
|
441
440
|
//tag
|
442
441
|
if (this.f_onsite_time) {
|
443
442
|
this.$parent.$parent.isStrat = true
|
444
|
-
this.$parent.$parent.data.f_onsite_time
|
443
|
+
if (!this.$parent.$parent.data.f_onsite_time){
|
444
|
+
this.$parent.$parent.data.f_onsite_time = this.f_onsite_time
|
445
|
+
}
|
445
446
|
}
|
446
447
|
if (this.$parent.$parent.role == 'repair') {
|
447
448
|
this.$set('style__', 'divmask')
|
@@ -662,15 +662,7 @@
|
|
662
662
|
{label: '未检', value: '未检'},
|
663
663
|
{label: '已检', value: '已检'},
|
664
664
|
],
|
665
|
-
last_check_states:
|
666
|
-
{label: '请选择', value: ''},
|
667
|
-
{label: '入户', value: '入户'},
|
668
|
-
{label: '拒检', value: '拒检'},
|
669
|
-
{label: '到访不遇', value: '到访不遇'},
|
670
|
-
{label: '拆除', value: '拆除'},
|
671
|
-
{label: '停用', value: '停用'},
|
672
|
-
{label: '未通气', value: '未通气'}
|
673
|
-
],
|
665
|
+
last_check_states: Vue.$appdata.getParam('安检状态'),
|
674
666
|
upload_states: [
|
675
667
|
{label: '请选择上传状态', value: ''},
|
676
668
|
{label: '未传', value: '未传'},
|
@@ -1009,8 +1001,13 @@
|
|
1009
1001
|
condition += ` and (ti.f_user_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_zuhu_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_rent_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_user_phone2 like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%')`
|
1010
1002
|
}
|
1011
1003
|
|
1012
|
-
if(this.$refs.paged.$refs.cri.model.f_last_check_state
|
1013
|
-
|
1004
|
+
if(this.$refs.paged.$refs.cri.model.f_last_check_state.length > 0){
|
1005
|
+
let last_check_state = ''
|
1006
|
+
this.$refs.paged.$refs.cri.model.f_last_check_state.forEach((item) => {
|
1007
|
+
last_check_state = last_check_state + `'${item}',`
|
1008
|
+
})
|
1009
|
+
last_check_state = last_check_state.slice(0, -1)
|
1010
|
+
condition += " and ti.f_last_check_state in ("+last_check_state+")"
|
1014
1011
|
}
|
1015
1012
|
if(this.$refs.paged.$refs.cri.model.userinfo){
|
1016
1013
|
condition += ` and (f_userinfo_code like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_name like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_meter_no like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_address like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_zuhu_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_rent_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone2 like '%${this.$refs.paged.$refs.cri.model.userinfo}%')`
|
@@ -302,15 +302,7 @@ export default {
|
|
302
302
|
{label: '左表', value: '左表'},
|
303
303
|
{label: '右表', value: '右表'}
|
304
304
|
],
|
305
|
-
check_states:
|
306
|
-
{label: '请选择安检状态', value: ''},
|
307
|
-
{label: '入户', value: '入户'},
|
308
|
-
{label: '到访不遇', value: '到访不遇'},
|
309
|
-
{label: '拒检', value: '拒检'},
|
310
|
-
{label: '停用', value: '停用'},
|
311
|
-
{label: '未通气', value: '未通气'},
|
312
|
-
{label: '拆除', value: '拆除'}
|
313
|
-
],
|
305
|
+
check_states: Vue.$appdata.getParam('安检状态'),
|
314
306
|
last_check_states: [
|
315
307
|
{label: '请选择上次安检状态', value: ''},
|
316
308
|
{label: '入户', value: '入户'},
|
@@ -436,10 +428,13 @@ export default {
|
|
436
428
|
condition += " and f_offsite_time < '"+this.$refs.paged.$refs.cri.model.f_end_date +"'"
|
437
429
|
}
|
438
430
|
}
|
439
|
-
if(this.$refs.paged.$refs.cri.model.f_state){
|
440
|
-
|
441
|
-
|
442
|
-
|
431
|
+
if(this.$refs.paged.$refs.cri.model.f_state.length > 0){
|
432
|
+
let last_check_state = ''
|
433
|
+
this.$refs.paged.$refs.cri.model.f_state.forEach((item) => {
|
434
|
+
last_check_state = last_check_state + `'${item}',`
|
435
|
+
})
|
436
|
+
last_check_state = last_check_state.slice(0, -1)
|
437
|
+
condition += " and f_entry_status in ("+last_check_state+")"
|
443
438
|
}
|
444
439
|
if(this.$refs.paged.$refs.cri.model.f_user_type){
|
445
440
|
if(this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()){
|