safecheck-client 4.0.0-1 → 4.0.0-100

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 (136) hide show
  1. package/package.json +2 -2
  2. package/src/App.vue +2 -2
  3. package/src/components/NewDefectList/DefectListNew.vue +660 -663
  4. package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
  5. package/src/components/Util/ImgSelfSafePlus.vue +13 -3
  6. package/src/components/Util/SafecheckUpload.vue +281 -281
  7. package/src/components/android/AndroidDefectDeal.vue +1 -1
  8. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  9. package/src/components/android/AndroidDefectDetails.vue +769 -0
  10. package/src/components/android/BlackUserOnLine.vue +2 -2
  11. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +175 -165
  12. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +108 -116
  13. package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
  14. package/src/components/android/NewCheckpaperAndroid.vue +28 -21
  15. package/src/components/android/PaperFeedback.vue +15 -13
  16. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  17. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  18. package/src/components/android/RelieveRestrict.vue +1 -1
  19. package/src/components/android/Restriction.vue +1 -1
  20. package/src/components/android/SafecheckDevices.vue +48 -6
  21. package/src/components/android/SafecheckOrderV.vue +3 -3
  22. package/src/components/android/SealBind.vue +392 -0
  23. package/src/components/android/SealManage.vue +250 -0
  24. package/src/components/inspections/inspectionFeedback.vue +2 -2
  25. package/src/components/paper/PaperList.vue +360 -332
  26. package/src/components/paper/RegionalList.vue +217 -0
  27. package/src/components/pc/AddToCheckBook.vue +100 -23
  28. package/src/components/pc/CheckBook.vue +2 -0
  29. package/src/components/pc/CheckBookDetails.vue +6 -39
  30. package/src/components/pc/CheckBookEntry.vue +6 -7
  31. package/src/components/pc/CheckBookList.vue +60 -69
  32. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  33. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  34. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  35. package/src/components/pc/CheckBookUser.vue +276 -44
  36. package/src/components/pc/DefectDeal.vue +1007 -1007
  37. package/src/components/pc/NewCheckpaper.vue +22 -14
  38. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  39. package/src/components/pc/PaperDefectMain.vue +1 -0
  40. package/src/components/pc/RoleSelectorDep.vue +2 -1
  41. package/src/components/planmanage/PlanManage.vue +825 -821
  42. package/src/components/planmanage/checkPlanList.vue +28 -0
  43. package/src/components/planmanage/checkUserList.vue +346 -346
  44. package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
  45. package/src/components/report/CheckPlanAreaList.vue +266 -266
  46. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  47. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  48. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  49. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  50. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  51. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  52. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  53. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  54. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  55. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  56. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  57. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  58. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  59. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  60. package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
  61. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -0
  62. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
  63. package/src/filiale/jinhong/android.js +11 -0
  64. package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
  65. package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
  66. package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
  67. package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
  68. package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
  69. package/src/filiale/jinhong/pc/PaperList.vue +844 -0
  70. package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
  71. package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
  72. package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
  73. package/src/filiale/jinhong/pc.js +13 -0
  74. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  75. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  76. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  77. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  78. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  79. package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
  80. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  81. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  82. package/src/filiale/meihekou/android/CurrentCreate.vue +1108 -0
  83. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  84. package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
  85. package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
  86. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
  87. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2414 -0
  88. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
  89. package/src/filiale/meihekou/android.js +21 -0
  90. package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
  91. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
  92. package/src/filiale/meihekou/pc.js +13 -0
  93. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  94. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  95. package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
  96. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  97. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  98. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  99. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  100. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  101. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  102. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  103. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  104. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  105. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  106. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  107. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  108. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  109. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  110. package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
  111. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
  112. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  113. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  114. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  115. package/src/filiale/xiangyuanzhongai/android.js +4 -0
  116. package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
  117. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
  118. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  119. package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
  120. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  121. package/src/filiale/xinkang/android.js +1 -0
  122. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  123. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  124. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  125. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  126. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  127. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  128. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
  129. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  130. package/src/filiale/yunchengminsheng/android.js +1 -0
  131. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
  132. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  133. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  134. package/src/main.js +1 -1
  135. package/src/safecheck-android.js +3 -0
  136. package/src/safecheck.js +3 -1
@@ -141,7 +141,7 @@ div {
141
141
  <tr>
142
142
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
143
143
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_entry_status }}</td>
144
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">燃气使用:</td>
144
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用气状态:</td>
145
145
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
146
146
  </tr>
147
147
  <tr>
@@ -543,7 +543,7 @@ div {
543
543
  paperdata.f_entry_status
544
544
  }}
545
545
  </td>
546
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">燃气使用:</td>
546
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用气状态:</td>
547
547
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
548
548
  </tr>
549
549
  <tr>
@@ -959,7 +959,7 @@ let asyncReady = async function (self) {
959
959
  }
960
960
  export default {
961
961
  title: '安检单',
962
- props: ['f_plan_id', 'item', 'role'],
962
+ props: ['f_plan_id', 'item', 'role','gotoitem'],
963
963
  data() {
964
964
  return {
965
965
  f_user_path:'',
@@ -1132,7 +1132,7 @@ export default {
1132
1132
  }).then((res) => {
1133
1133
  if (res.data.code == 200) {
1134
1134
  this.loading = false;
1135
- this.$back()
1135
+ this.$emit('showback')
1136
1136
  }
1137
1137
  })
1138
1138
  },
@@ -1159,7 +1159,7 @@ export default {
1159
1159
  this.loading = false;
1160
1160
  this.message = '';
1161
1161
  this.showModel = false;
1162
- this.$back()
1162
+ this.$emit('showback')
1163
1163
  }
1164
1164
  })
1165
1165
  },
@@ -1217,7 +1217,7 @@ export default {
1217
1217
  if (items.f_is_defect == 'true' || items.f_is_defect == true) {
1218
1218
  checkResult = '有隐患'
1219
1219
  this.result = '有隐患'
1220
- defects = `${defects}:${items.f_item_value}/`
1220
+ defects = `${defects}:${f_item_value}/`
1221
1221
  }
1222
1222
  /*let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
1223
1223
  for (let option in options) {
@@ -1297,7 +1297,9 @@ export default {
1297
1297
  //tag)
1298
1298
  if (this.deviceCollect.name) {
1299
1299
  //tag
1300
- this.deviceCollects.push(JSON.parse(JSON.stringify(this.deviceCollect)))
1300
+ if(this.deviceCollect.value != '正常'){
1301
+ this.deviceCollects.push(JSON.parse(JSON.stringify(this.deviceCollect)))
1302
+ }
1301
1303
  }
1302
1304
 
1303
1305
  checkResult = '正常'
@@ -1349,9 +1351,11 @@ export default {
1349
1351
  }
1350
1352
  //tag
1351
1353
  //tag)
1352
- if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType) {
1354
+ if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType && Vue.config.safecheck.SafecheckType['年度普检']) {
1353
1355
  this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
1354
- } else if (Vue.config.safecheck.SafecheckType){
1356
+ }else if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType && Vue.config.safecheck.SafecheckType['年度安检']){
1357
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度安检'][this.item.f_check_type]])
1358
+ }else if (Vue.config.safecheck.SafecheckType && Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type]]){
1355
1359
  this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
1356
1360
  }else {
1357
1361
  if(this.item.f_check_type == '民用'){
@@ -1510,16 +1514,20 @@ export default {
1510
1514
  back() {
1511
1515
  if (this.role == 'inspect') {
1512
1516
  if (!this.isStrat) {
1513
- this.$back()
1517
+ this.$emit('showback')
1514
1518
  return
1515
1519
  } else {
1516
1520
  this.savePaper(true).then(() => {
1517
- this.$back()
1521
+ this.$emit('showback')
1518
1522
  this.isStrat = false
1519
1523
  })
1520
1524
  }
1521
1525
  } else {
1522
- this.$back()
1526
+ if(this.gotoitem){
1527
+ this.$back()
1528
+ return
1529
+ }
1530
+ this.$emit('showback')
1523
1531
  }
1524
1532
  },
1525
1533
  checkIsStart() {
@@ -1893,12 +1901,12 @@ export default {
1893
1901
  console.log('Vue.config.safecheck.DevicesConfig', Vue.config.safecheck.DevicesConfig)
1894
1902
  // 如果没有用户类型 默认按民用配置走
1895
1903
  if (this.data.f_check_type == '非民用') {
1896
- this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
1904
+ this.deviceconfig = JSON.parse(JSON.stringify(Vue.config.safecheck.DevicesSetConfig))
1897
1905
  if (typeof this.deviceconfig === 'string') {
1898
1906
  this.deviceconfig = JSON.parse(this.deviceconfig)
1899
1907
  }
1900
1908
  }else{
1901
- this.deviceconfig = Vue.config.safecheck.DevicesConfig
1909
+ this.deviceconfig = JSON.parse(JSON.stringify(Vue.config.safecheck.DevicesConfig))
1902
1910
  if (typeof this.deviceconfig === 'string') {
1903
1911
  this.deviceconfig = JSON.parse(this.deviceconfig)
1904
1912
  }
@@ -572,7 +572,7 @@
572
572
  }).then((res) => {
573
573
  if (res.data.code == 200) {
574
574
  this.loading = false;
575
- this.$back()
575
+ this.$emit('showback')
576
576
  }
577
577
  })
578
578
  },
@@ -599,7 +599,7 @@
599
599
  this.loading = false;
600
600
  this.message = '';
601
601
  this.showModel = false;
602
- this.$back()
602
+ this.$emit('showback')
603
603
  }
604
604
  })
605
605
  },
@@ -938,16 +938,16 @@
938
938
  back() {
939
939
  if (this.role == 'inspect') {
940
940
  if (!this.isStrat) {
941
- this.$back()
941
+ this.$emit('showback')
942
942
  return
943
943
  } else {
944
944
  this.savePaper(true).then(() => {
945
- this.$back()
945
+ this.$emit('showback')
946
946
  this.isStrat = false
947
947
  })
948
948
  }
949
949
  } else {
950
- this.$back()
950
+ this.$emit('showback')
951
951
  }
952
952
  },
953
953
  checkIsStart() {
@@ -642,6 +642,7 @@
642
642
  f_outlets: this.$login.f.deps,
643
643
  f_remarks: this.selectData.f_remarks,
644
644
  f_repairtype: this.selectData.f_repairtype,
645
+ dispatchType: this.selectData.dispatchType,
645
646
  toRepair: toRepair,
646
647
  activity:act
647
648
  }
@@ -127,11 +127,12 @@
127
127
  if (resids.length > 0 && typeof resids[0] == "object") {
128
128
  resids = resids[0]
129
129
  }
130
+ this.allUsers = []
131
+ this.users = []
130
132
  if (resids[0]) {
131
133
  this.source = `root.getResourceById($${resids[0]}$,$department$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`
132
134
  await this.search()
133
135
  }
134
- this.users = []
135
136
  this.allUsers.forEach(user => {
136
137
  this.users.push({label: user.name, value: user.name})
137
138
  })