safecheck-client 3.0.34-33 → 3.0.34-35

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.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +2 -2
  3. package/src/components/android/ImgSelfAndroid.vue +181 -181
  4. package/src/components/android/QRCode/QRCodePage.vue +208 -199
  5. package/src/components/android/SafecheckDevices.vue +1298 -1298
  6. package/src/components/android/examples/SafeListExamples.vue +96 -95
  7. package/src/components/android/examples/UserExamples.vue +126 -125
  8. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  9. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  10. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  11. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  12. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  13. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  14. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  15. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  16. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  17. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  18. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  19. package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
  20. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  21. package/src/filiale/huaran/android.js +12 -0
  22. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  23. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  24. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  25. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  26. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  27. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  28. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  29. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  30. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  31. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  32. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  33. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  34. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  35. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  36. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  37. package/src/filiale/huaran/pc.js +27 -0
  38. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  39. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -1229
  40. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  41. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -2811
  42. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  43. package/src/filiale/jiaxian/android.js +14 -14
  44. package/src/filiale/jiaxian/pc.js +12 -12
  45. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  46. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  47. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  48. package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
  49. package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3335
  50. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  51. package/src/filiale/weinan/pc.js +47 -47
  52. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  53. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  54. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
  55. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  56. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  57. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  58. package/src/main.js +1 -1
@@ -713,7 +713,6 @@ export default {
713
713
  //tag ===> ' + Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
714
714
  //tag ===> ' + JSON.stringify(Number(this.gasDeviation)))
715
715
  // 计算差值是否在范围内
716
-
717
716
  if (Math.abs(this.f_items[this.f_meter_aberrant_number2.index].f_item_value) > Number(this.gasDeviation)) {
718
717
  this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
719
718
  this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
@@ -721,6 +720,17 @@ export default {
721
720
  this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
722
721
  this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
723
722
  }
723
+ if( this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true){
724
+ this.$showMessage(`表底数异常差值为:${this.f_items[this.f_meter_aberrant_number2.index].f_item_value},是否为隐患?`, ['confirm', 'cancel']).then((res) => {
725
+ if (res === 'confirm') {
726
+ this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
727
+ this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
728
+ }else{
729
+ this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
730
+ this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
731
+ }
732
+ })
733
+ }
724
734
  },
725
735
 
726
736
  getGasAberrantNumber(val) {
@@ -689,8 +689,16 @@ export default {
689
689
  deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
690
690
  }
691
691
  }
692
+ } else if (items.f_item_name === '表底数异常差值') {
693
+ var deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
694
+ if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
695
+ if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
696
+ checkResult = '有隐患'
697
+ this.result = '有隐患'
698
+ deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
699
+ }
700
+ }
692
701
  }
693
-
694
702
  //tag)
695
703
  //tag
696
704
  //tag
@@ -839,7 +847,7 @@ export default {
839
847
  },
840
848
  isred(val1, val2) {
841
849
  //tag
842
- if (val2 == '气量异常差值' || val2 == '金额异常差值') {
850
+ if (val2 === '气量异常差值' || val2 === '金额异常差值') {
843
851
  return
844
852
  }
845
853
  for (let i = 0; i < this.devicesAll.length; i++) {
package/src/main.js CHANGED
@@ -11,7 +11,7 @@ all()
11
11
  var Verificationfalg = false
12
12
  system(Verificationfalg)
13
13
  // system()
14
- safecheck('kelai')
14
+ safecheck('huaran')
15
15
  // safecheck('rizhao')
16
16
  require('./bootstrap/less/bootstrap.less')
17
17
  require('./expandcss.less')