safecheck-client 3.0.35-5 → 3.0.35-51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/package.json +1 -1
  2. package/src/bootstrap/less/pager.less +76 -76
  3. package/src/components/NewDefectList/DefectListNew.vue +617 -617
  4. package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
  5. package/src/components/Util/SafecheckUpload.vue +4 -0
  6. package/src/components/android/CheckPlanDown.vue +1 -1
  7. package/src/components/android/CivilCurrentCreate.vue +56 -41
  8. package/src/components/android/NoCivilCurrentCreate.vue +10 -0
  9. package/src/components/android/PaperFeedback.vue +1 -1
  10. package/src/components/android/PhoneUpUserinfo.vue +25 -6
  11. package/src/components/android/PhoneotherInfo.vue +0 -14
  12. package/src/components/android/PhoneotherInfov3.vue +118 -0
  13. package/src/components/android/SafecheckDevices.vue +1298 -1298
  14. package/src/components/android/SafecheckOrderV.vue +2 -529
  15. package/src/components/pc/AddPlanItemYyChange.vue +743 -0
  16. package/src/components/pc/NewCheckpaper.vue +1998 -1943
  17. package/src/components/pc/SecurityCheckLedger.vue +133 -0
  18. package/src/components/pc/SecurityCheckList.vue +160 -0
  19. package/src/components/pc/SecurityCheckManage.vue +106 -0
  20. package/src/components/planmanage/PlanManage.vue +47 -2
  21. package/src/components/report/CheckPlanAreaList.vue +25 -5
  22. package/src/components/rongcheng/AddPlanItem.vue +1 -1
  23. package/src/components/rongcheng/AspiratedAreaPlan.vue +1 -0
  24. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
  25. package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
  26. package/src/components/rongcheng/CheckSearchUser.vue +1 -1
  27. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  28. package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
  29. package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
  30. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -249
  31. package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
  32. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +908 -905
  33. package/src/filiale/bayan/android/SafecheckOrderV.vue +76 -20
  34. package/src/filiale/bayan/android/SafecheckUserInfo.vue +4 -0
  35. package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
  36. package/src/filiale/bayan/pc/PlanManage.vue +962 -962
  37. package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
  38. package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
  39. package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
  40. package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
  41. package/src/filiale/dexin/pc.js +1 -0
  42. package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
  43. package/src/filiale/huaran/android.js +1 -0
  44. package/src/filiale/huaran/pc/PaperList.vue +22 -1
  45. package/src/filiale/huaran/pc/PlanManage.vue +66 -7
  46. package/src/filiale/huaran/pc/checkUserList.vue +55 -22
  47. package/src/filiale/huaran/pc.js +1 -0
  48. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  49. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  50. package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
  51. package/src/filiale/rizhao/pc/NewCheckpaper.vue +9 -4
  52. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
  53. package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
  54. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
  55. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  56. package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
  57. package/src/filiale/siyang/android.js +1 -0
  58. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
  59. package/src/filiale/siyang/pc/checkUserList.vue +123 -148
  60. package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
  61. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
  62. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
  63. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  64. package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
  65. package/src/filiale/weinan/android/SafecheckOrderV.vue +2 -1
  66. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  67. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  68. package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
  69. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  70. package/src/filiale/xilan/android/CurrentCreate.vue +1053 -1067
  71. package/src/filiale/xilan/android.js +0 -1
  72. package/src/filiale/xilan/pc/PaperList.vue +795 -0
  73. package/src/filiale/xilan/pc.js +13 -12
  74. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
  75. package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
  76. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
  77. package/src/safecheck-android.js +1 -0
  78. package/src/safecheck.js +12 -0
  79. package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -303,6 +303,7 @@ export default {
303
303
  // let condition = ` uf.f_filialeid = '${this.filialeid}'`
304
304
  let condition = ` 1=1 `
305
305
  condition += this.condition
306
+ condition += ` and f_filialeid = '${this.filialeid}'`
306
307
  condition += this.f_meternumber ? ` and f_meternumber = '${this.f_meternumber}'` : ""
307
308
  condition += this.f_userinfo_code ? ` and f_userinfo_code = '${this.f_userinfo_code}'` : ""
308
309
  condition += this.f_enter_number ? ` and f_enter_number = '${this.f_enter_number}'` : ""
@@ -639,10 +639,15 @@ export default {
639
639
  //tag)
640
640
  //tag)
641
641
  //tag)
642
- if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]) {
642
+ if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]&& (items.isdefect && (items.isdefect == 'true' || items.isdefect == true))) {
643
643
  continue
644
644
  }
645
- let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
645
+ if (items.f_is_defect == 'true' || items.f_is_defect == true) {
646
+ checkResult = '有隐患'
647
+ this.result = '有隐患'
648
+ defects = `${defects}:${items.f_item_value}/`
649
+ }
650
+ /*let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
646
651
  for (let option in options) {
647
652
  if (options[option].data == f_item_value) {
648
653
  if (options[option].isdefect == 'true' || options[option].isdefect == true) {
@@ -652,13 +657,13 @@ export default {
652
657
  // let level = options[option].level
653
658
  }
654
659
  }
655
- }
660
+ }*/
656
661
  //tag)
657
662
  }
658
663
  if (defects != '') {
659
664
  deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
660
665
  }
661
- } else if (items.type === 'string') {
666
+ } else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
662
667
  checkResult = '有隐患'
663
668
  this.result = '有隐患'
664
669
  deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)