safecheck-client 3.0.34-2 → 3.0.34-20
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/PaperFeedback.vue +1 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/SafePlanItem.vue +509 -509
- 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/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
- package/src/filiale/baiyin/android.js +11 -10
- 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/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +5 -5
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +3 -0
- 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/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
- package/src/filiale/siyang/pc/checkUserList.vue +786 -786
- package/src/filiale/siyang/pc.js +16 -16
- package/src/filiale/weinan/android/SafecheckDevices.vue +12 -0
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3345 -3335
- package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1065
- 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/PaperFeedback.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- 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/yuansheng/android/SwitchValve.vue +322 -322
- package/src/filiale/yuansheng/android.js +17 -17
- 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 +1 -1
@@ -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()){
|
@@ -676,7 +676,6 @@
|
|
676
676
|
HostApp.__this__ = null
|
677
677
|
},
|
678
678
|
takePic(prop, title, index) {
|
679
|
-
const obj = HostApp.getGpsDetailAddress()
|
680
679
|
HostApp.__callback__ = this.cameraCallBack
|
681
680
|
HostApp.__this__ = this
|
682
681
|
////tag
|
@@ -697,6 +696,7 @@
|
|
697
696
|
}
|
698
697
|
let jingweidu = ''
|
699
698
|
if (this.$parent.$parent.is_has_jingweidu == 'true') {
|
699
|
+
const obj = HostApp.getGpsDetailAddress()
|
700
700
|
jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
|
701
701
|
}
|
702
702
|
HostApp._open_a_page({
|
@@ -452,7 +452,6 @@ export default {
|
|
452
452
|
if (this.role == 'androidview') {
|
453
453
|
return
|
454
454
|
}
|
455
|
-
const obj = HostApp.getGpsDetailAddress()
|
456
455
|
HostApp.__callback__ = this.cameraCallBack
|
457
456
|
HostApp.__this__ = this
|
458
457
|
//tag
|
@@ -472,6 +471,7 @@ export default {
|
|
472
471
|
}
|
473
472
|
let jingweidu = ''
|
474
473
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
474
|
+
const obj = HostApp.getGpsDetailAddress()
|
475
475
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
476
476
|
}
|
477
477
|
//tag
|
@@ -747,7 +747,7 @@ export default {
|
|
747
747
|
this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
|
748
748
|
if(val=='已用气量'){
|
749
749
|
//剩余气量 = 累购-已用
|
750
|
-
this.f_items[this.f_gas_balance.index].f_item_value= this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value
|
750
|
+
this.f_items[this.f_gas_balance.index].f_item_value= (this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value).toFixed(2)
|
751
751
|
if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
|
752
752
|
this.f_items[this.f_gas_balance.index].f_item_value = null
|
753
753
|
}
|
@@ -505,7 +505,6 @@ export default {
|
|
505
505
|
HostApp.__this__ = null
|
506
506
|
},
|
507
507
|
takePic (type ,prop, title) {
|
508
|
-
const obj = HostApp.getGpsDetailAddress()
|
509
508
|
HostApp.__callback__ = this.cameraCallBack
|
510
509
|
HostApp.__this__ = this
|
511
510
|
//tag
|
@@ -531,6 +530,7 @@ export default {
|
|
531
530
|
}
|
532
531
|
let jingweidu = ''
|
533
532
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
533
|
+
const obj = HostApp.getGpsDetailAddress()
|
534
534
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
535
535
|
}
|
536
536
|
let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
|
@@ -303,15 +303,7 @@ export default {
|
|
303
303
|
{label: '左表', value: '左表'},
|
304
304
|
{label: '右表', value: '右表'}
|
305
305
|
],
|
306
|
-
check_states:
|
307
|
-
{label: '请选择安检状态', value: ''},
|
308
|
-
{label: '入户', value: '入户'},
|
309
|
-
{label: '到访不遇', value: '到访不遇'},
|
310
|
-
{label: '拒检', value: '拒检'},
|
311
|
-
{label: '停用', value: '停用'},
|
312
|
-
{label: '未通气', value: '未通气'},
|
313
|
-
{label: '拆除', value: '拆除'}
|
314
|
-
],
|
306
|
+
check_states: Vue.$appdata.getParam('安检状态'),
|
315
307
|
last_check_states: [
|
316
308
|
{label: '请选择上次安检状态', value: ''},
|
317
309
|
{label: '入户', value: '入户'},
|
@@ -437,10 +429,13 @@ export default {
|
|
437
429
|
condition += " and f_offsite_time < '"+this.$refs.paged.$refs.cri.model.f_end_date +"'"
|
438
430
|
}
|
439
431
|
}
|
440
|
-
if(this.$refs.paged.$refs.cri.model.f_state){
|
441
|
-
|
442
|
-
|
443
|
-
|
432
|
+
if(this.$refs.paged.$refs.cri.model.f_state.length > 0){
|
433
|
+
let last_check_state = ''
|
434
|
+
this.$refs.paged.$refs.cri.model.f_state.forEach((item) => {
|
435
|
+
last_check_state = last_check_state + `'${item}',`
|
436
|
+
})
|
437
|
+
last_check_state = last_check_state.slice(0, -1)
|
438
|
+
condition += " and f_entry_status in ("+last_check_state+")"
|
444
439
|
}
|
445
440
|
if(this.$refs.paged.$refs.cri.model.f_user_type){
|
446
441
|
if(this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()){
|