safecheck-client 3.0.30-62 → 3.0.30-62-t4

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 (998) hide show
  1. package/docs/GridTree.md +47 -47
  2. package/docs/PrintFile.md +38 -38
  3. package/docs/tree.md +40 -40
  4. package/examples/ChangeConfig/comp.js +548 -548
  5. package/examples/PhoneSafePlan/comp.js +33 -33
  6. package/examples/SafePlan/App.vue +89 -89
  7. package/examples/SafePlan/comp.js +1527 -1527
  8. package/examples/SafePlan-aode/comp.js +1132 -1132
  9. package/examples/SafePlan-liaoyuan/App.vue +82 -82
  10. package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
  11. package/examples/SafePlan-shaoguan/comp.js +1190 -1190
  12. package/examples/SafePlan-tongchuan/App.vue +81 -81
  13. package/examples/SafePlan-tongchuan/comp.js +1480 -1480
  14. package/examples/SafePlan-wenxi/App.vue +80 -80
  15. package/examples/SafePlan-wenxi/comp.js +1545 -1545
  16. package/examples/SafePlan-zhoukou/App.vue +81 -81
  17. package/examples/SafePlan-zhoukou/comp.js +1525 -1525
  18. package/examples/SafePlanItem/comp.js +69 -69
  19. package/examples/SafePlanrongcheng/comp.js +1141 -1141
  20. package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
  21. package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
  22. package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
  23. package/examples/UserFiles/comp.js +227 -227
  24. package/index.html +6 -2
  25. package/package.json +4 -4
  26. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  27. package/src/assets/123.png +0 -0
  28. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  29. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  30. package/src/assets//345/234/260/345/235/200.png +0 -0
  31. package/src/assets//345/247/223/345/220/215.png +0 -0
  32. package/src/assets//345/260/217/345/214/272.png +0 -0
  33. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  34. package/src/assets//345/272/225/346/225/260.png +0 -0
  35. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  36. package/src/assets//346/245/274/345/217/267.png +0 -0
  37. package/src/assets//346/245/274/345/261/202.png +0 -0
  38. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  39. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  40. package/src/components/CheckerCount/CheckCountAreaList.vue +1 -1
  41. package/src/components/CheckerCount/CheckCountUserList.vue +4 -4
  42. package/src/components/CheckerCount/ZhouKouCheckCount.vue +4 -4
  43. package/src/components/DefectDealMain/DefectListNew.vue +11 -11
  44. package/src/components/DefectDealMain/DefectPaperNew.vue +13 -13
  45. package/src/components/ExportExcel.vue +4 -2
  46. package/src/components/LoadData.vue +62 -0
  47. package/src/components/NewDefectList/DefectListNew.vue +8 -7
  48. package/src/components/NewDefectList/DefectPaperNew.vue +13 -13
  49. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  50. package/src/components/Util/SafecheckUpload.vue +1 -1
  51. package/src/components/Util.js +7 -0
  52. package/src/components/android/AddGas.vue +2 -2
  53. package/src/components/android/AddPlanItem.vue +6 -6
  54. package/src/components/android/AddPlanItemYy.vue +451 -0
  55. package/src/components/android/AddSpecialPlanItem.vue +6 -6
  56. package/src/components/android/AdviseCommit.vue +1 -1
  57. package/src/components/android/AndroidCheckResult.vue +1 -1
  58. package/src/components/android/AndroidDefectDeal.vue +9 -8
  59. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  60. package/src/components/android/Announcement.vue +2 -2
  61. package/src/components/android/AreaPlan.vue +7 -12
  62. package/src/components/android/AreaSelect.vue +198 -0
  63. package/src/components/android/BlackUserOnLine.vue +5 -5
  64. package/src/components/android/BuildingSelect.vue +192 -0
  65. package/src/components/android/CheckNotice.vue +1 -1
  66. package/src/components/android/CheckPlan.vue +2 -2
  67. package/src/components/android/CheckPlanDown.vue +1 -1
  68. package/src/components/android/CheckPlanItems.vue +2 -2
  69. package/src/components/android/CheckPlanSelect.vue +229 -0
  70. package/src/components/android/CheckerMonthly.vue +1 -1
  71. package/src/components/android/CivilCurrentCreate.vue +7 -7
  72. package/src/components/android/ClockIn.vue +2 -2
  73. package/src/components/android/CurrentCreate.vue +7 -7
  74. package/src/components/android/CurrentCreateYy.vue +1051 -0
  75. package/src/components/android/CurrentCreate_new.vue +6 -6
  76. package/src/components/android/DailyworkloadQuery.vue +2 -2
  77. package/src/components/android/Devices.vue +1 -1
  78. package/src/components/android/Devicesm.vue +1 -1
  79. package/src/components/android/DoorService.vue +3 -3
  80. package/src/components/android/ExtractCheckPlan.vue +1 -1
  81. package/src/components/android/ExtractPlanItem.vue +5 -5
  82. package/src/components/android/ImgSelfAndroid.vue +1 -1
  83. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  84. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +2 -2
  85. package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
  86. package/src/components/android/Iotinstructionsview/IoTinstruction.vue +1 -1
  87. package/src/components/android/LcheckUnplan.vue +1 -1
  88. package/src/components/android/Login.vue +1 -1
  89. package/src/components/android/NewCheckpaperAndroid.vue +1 -1
  90. package/src/components/android/NoCivilCurrentCreate.vue +7 -7
  91. package/src/components/android/OnlineCheckByArea.vue +1 -1
  92. package/src/components/android/OnlineRepairSafe.vue +3 -3
  93. package/src/components/android/OnlineVindicate.vue +1 -1
  94. package/src/components/android/PaperFeedback.vue +47 -12
  95. package/src/components/android/PaperFeedbackTemp.vue +10 -10
  96. package/src/components/android/PaperFeedbackm.vue +4 -4
  97. package/src/components/android/PaperMeter.vue +1 -1
  98. package/src/components/android/PaperMeterNoncivil.vue +1 -1
  99. package/src/components/android/PaperSet.vue +2 -2
  100. package/src/components/android/PaperSetNoncivil.vue +2 -2
  101. package/src/components/android/PaperUser.vue +1 -1
  102. package/src/components/android/PaperUserNoncivil.vue +1 -1
  103. package/src/components/android/PhoneChangemeterInfo.vue +1 -1
  104. package/src/components/android/PhoneRecordInfo.vue +1 -1
  105. package/src/components/android/PhoneSellInfo.vue +1 -1
  106. package/src/components/android/PhoneState.vue +2 -2
  107. package/src/components/android/PhoneUpDetail.vue +8 -8
  108. package/src/components/android/PhoneUpUserinfo.vue +17 -11
  109. package/src/components/android/PhoneUserFind.vue +1 -1
  110. package/src/components/android/PrearrangedPlan.vue +1 -1
  111. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  112. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  113. package/src/components/android/RelieveRestrict.vue +3 -3
  114. package/src/components/android/RepairQuery.vue +1 -1
  115. package/src/components/android/ResAreaList.vue +1 -1
  116. package/src/components/android/Restriction.vue +3 -3
  117. package/src/components/android/SafePlanItem.vue +19 -7
  118. package/src/components/android/SafecheckDevices.vue +7 -3
  119. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  120. package/src/components/android/SafecheckOrderV.vue +90 -18
  121. package/src/components/android/SafecheckUser.vue +1 -1
  122. package/src/components/android/SwitchValve.vue +4 -4
  123. package/src/components/android/SystemSetting.vue +1 -1
  124. package/src/components/android/UploadPage.vue +1 -1
  125. package/src/components/android/UserinfoSelect.vue +714 -0
  126. package/src/components/android/YuYueAddPlanItem.vue +2 -2
  127. package/src/components/android/checkPlanResult.vue +2 -2
  128. package/src/components/android/examples/410.png +0 -0
  129. package/src/components/android/examples/SafeListExamples.vue +296 -0
  130. package/src/components/android/examples/UserExamples.vue +137 -0
  131. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  132. package/src/components/android/examples/touxiang.png +0 -0
  133. package/src/components/android/old/PaperFeedback.vue +4 -4
  134. package/src/components/android/recheck/Recheck.vue +5 -5
  135. package/src/components/android/safeHistoryLook.vue +2 -2
  136. package/src/components/android/userinfo/SafecheckUserInfo.vue +5 -5
  137. package/src/components/android/wasm/comp.js +1 -1
  138. package/src/components/attendance/DailyAttendance.vue +1 -1
  139. package/src/components/attendance/MonthlyAttendance.vue +4 -4
  140. package/src/components/callincheck/CallInCheckMain.vue +1 -1
  141. package/src/components/callincheck/CallInPlan.vue +1 -1
  142. package/src/components/callincheck/UserFileList.vue +1 -1
  143. package/src/components/checkAreaClassification.vue +2 -2
  144. package/src/components/checkerphonestate/Checker.vue +1 -1
  145. package/src/components/checkerphonestate/CheckerState.vue +1 -1
  146. package/src/components/checkplan/CheckDetail.vue +7 -7
  147. package/src/components/checkplan/SelectCheckPlan.vue +3 -3
  148. package/src/components/checkplan/SelectMessage.vue +1 -1
  149. package/src/components/checkplan/checkmsg.vue +2 -2
  150. package/src/components/checkplan/checkmsgZG.vue +1 -1
  151. package/src/components/createcheckplan/CreatePlan.vue +10 -10
  152. package/src/components/createcheckplan/CreatePlanWuan.vue +9 -9
  153. package/src/components/createcheckplan/DelPlanRepeat.vue +5 -5
  154. package/src/components/createcheckplan/PlanList.vue +4 -4
  155. package/src/components/createcheckplan/PlanUersList.vue +4 -4
  156. package/src/components/defect/DefectDetail.vue +1 -1
  157. package/src/components/defect/DefectDetailWeixiu.vue +1 -1
  158. package/src/components/defect/DefectList.vue +6 -6
  159. package/src/components/defect/DefectListWeixiu.vue +6 -6
  160. package/src/components/defect/DefectPaper.vue +9 -9
  161. package/src/components/defect/DefectPaperWeiXiu.vue +7 -7
  162. package/src/components/defects/AddDefectModal.vue +2 -2
  163. package/src/components/defects/AddDevice.vue +1 -1
  164. package/src/components/defects/CheckPaperItem.vue +1 -1
  165. package/src/components/defects/CheckPaperItems.vue +1 -1
  166. package/src/components/defects/CheckPaperSearch.vue +1 -1
  167. package/src/components/defects/DefectSeting.vue +2 -2
  168. package/src/components/defects/DefectsQuery.vue +1 -1
  169. package/src/components/defects/DevicesSeting.vue +1 -1
  170. package/src/components/equipment/BoilerUsage.vue +1 -1
  171. package/src/components/equipment/CheckRate.vue +7 -7
  172. package/src/components/equipment/CheckerRate.vue +6 -6
  173. package/src/components/equipment/CookerUsage.vue +1 -1
  174. package/src/components/equipment/DeviceUsage.vue +1 -1
  175. package/src/components/equipment/FurnaceUsage.vue +1 -1
  176. package/src/components/equipment/GasMeterUsage.vue +1 -1
  177. package/src/components/equipment/HeaterUsage.vue +1 -1
  178. package/src/components/equipment/MonthCheckRate.vue +6 -6
  179. package/src/components/filialCircle/AddCircleFiliale.vue +1 -1
  180. package/src/components/filialCircle/CircleList.vue +2 -2
  181. package/src/components/gasusage/GasUsage.vue +1 -1
  182. package/src/components/inspections/AddInspectPlanItem.vue +4 -4
  183. package/src/components/inspections/AddInspectPlanItems.vue +4 -4
  184. package/src/components/inspections/AddInspectPlanItemss.vue +3 -3
  185. package/src/components/inspections/Checked.vue +1 -1
  186. package/src/components/inspections/DisplayInspectionList.vue +2 -2
  187. package/src/components/inspections/InspectionList.vue +5 -5
  188. package/src/components/inspections/InspectionLists.vue +5 -5
  189. package/src/components/inspections/InspectionListss.vue +5 -5
  190. package/src/components/inspections/inspectionDevices.vue +1 -1
  191. package/src/components/inspections/inspectionFeedback.vue +7 -7
  192. package/src/components/inspections/inspectionOrderV.vue +2 -2
  193. package/src/components/inspections/inspectionOrderVs.vue +2 -2
  194. package/src/components/inspections/inspectionOrderVss.vue +2 -2
  195. package/src/components/inspections/inspectionUserInfo.vue +4 -4
  196. package/src/components/issueplan/IssuePlanAction.vue +2 -2
  197. package/src/components/issueplan/IssuePlanQuery.vue +1 -1
  198. package/src/components/levelplan/AdjustPlan.vue +3 -3
  199. package/src/components/levelplan/CheckerLeft.vue +2 -2
  200. package/src/components/levelplan/CheckerPlanAdjust.vue +3 -3
  201. package/src/components/levelplan/CheckerRight.vue +2 -2
  202. package/src/components/map/AMapTrailShow.vue +1 -1
  203. package/src/components/map/AMapTrailShowZk.vue +2 -2
  204. package/src/components/map/FootPrintList.vue +2 -2
  205. package/src/components/map/PersonTrack.vue +2 -2
  206. package/src/components/map/checkScreen.vue +30 -24
  207. package/src/components/metterfiles/AddUserfiles.vue +1 -1
  208. package/src/components/metterfiles/MetterFiles.vue +3 -3
  209. package/src/components/metterfiles/MetterfilesChange.vue +1 -1
  210. package/src/components/metterfiles/UserFiles.vue +2 -2
  211. package/src/components/metterfiles/Userfileschange.vue +3 -3
  212. package/src/components/noplan/NoPlanPaperList.vue +1 -1
  213. package/src/components/noplan/NoPlanSearchUser.vue +7 -7
  214. package/src/components/notice/NoticeQuery.vue +1 -1
  215. package/src/components/olddata/OldPaperList.vue +3 -3
  216. package/src/components/paper/PaperList.vue +21 -13
  217. package/src/components/paper/PaperVerify.vue +1 -1
  218. package/src/components/paper/PlanChooser.vue +5 -3
  219. package/src/components/paper/RepairVerify.vue +1 -1
  220. package/src/components/paper/RepairVerifyForm.vue +1 -1
  221. package/src/components/paper/VerifyForm.vue +3 -3
  222. package/src/components/paper/filialeCheckInfo.vue +3 -3
  223. package/src/components/pc/AddToCheckBook.vue +3 -3
  224. package/src/components/pc/AnnouncementPC.vue +6 -6
  225. package/src/components/pc/CheckBook.vue +4 -4
  226. package/src/components/pc/CheckBookArea.vue +1 -1
  227. package/src/components/pc/CheckBookCompany.vue +1 -1
  228. package/src/components/pc/CheckBookDetails.vue +1 -1
  229. package/src/components/pc/CheckBookList.vue +5 -5
  230. package/src/components/pc/CheckBookSearchArea.vue +6 -6
  231. package/src/components/pc/CheckBookSearchUnit.vue +2 -2
  232. package/src/components/pc/CheckBookSearchUser.vue +6 -6
  233. package/src/components/pc/CheckBookSearchUserList.vue +5 -5
  234. package/src/components/pc/CheckBookUser.vue +3 -3
  235. package/src/components/pc/CheckNoDetail.vue +4 -4
  236. package/src/components/pc/CheckPlanCountChart.vue +1 -1
  237. package/src/components/pc/DefectDeal.vue +11 -11
  238. package/src/components/pc/DefectList.vue +5 -5
  239. package/src/components/pc/DepSelector.vue +1 -1
  240. package/src/components/pc/DeviceChange.vue +1 -1
  241. package/src/components/pc/Edit.vue +1 -1
  242. package/src/components/pc/HiddenChart.vue +2 -2
  243. package/src/components/pc/NewCheckpaper.vue +49 -43
  244. package/src/components/pc/NewCheckpaperTemp.vue +4 -4
  245. package/src/components/pc/PaperChazhiMain.vue +5 -5
  246. package/src/components/pc/PaperDefectMain.vue +7 -7
  247. package/src/components/pc/PaperEdit.vue +4 -4
  248. package/src/components/pc/PaperVisitMain.vue +3 -3
  249. package/src/components/pc/SafeCheckOrder/SafeCheckOrderApplyDisposeBasics.vue +3 -3
  250. package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +2 -2
  251. package/src/components/pc/SafeVisitHistory.vue +4 -4
  252. package/src/components/pc/SafeVisitInfo.vue +261 -0
  253. package/src/components/pc/SafecheckDeviceList.vue +4 -4
  254. package/src/components/pc/SelectCheckNoPlan.vue +5 -5
  255. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -3
  256. package/src/components/phonestate/DailyTraffic.vue +1 -1
  257. package/src/components/phonestate/FootprintMap.vue +1 -1
  258. package/src/components/phonestate/LastKnownState.vue +1 -1
  259. package/src/components/plancheck/CheckPlanList.vue +1 -1
  260. package/src/components/planmanage/PlanManage.vue +21 -11
  261. package/src/components/planmanage/checkPlanList.vue +369 -368
  262. package/src/components/planmanage/checkUserList.vue +773 -739
  263. package/src/components/querycheckpaper/CheckPaperList.vue +1 -1
  264. package/src/components/querycheckpaper/CheckSearchUser.vue +11 -11
  265. package/src/components/querycheckpaper/CheckSearchUserNew.vue +11 -11
  266. package/src/components/querycheckpaper/PaperItems.vue +1 -1
  267. package/src/components/querycheckpaper/ShebeiPaperList.vue +1 -1
  268. package/src/components/querycheckpaper/ShebeiSearchUser.vue +9 -9
  269. package/src/components/report/CheckPlanAreaList.vue +5 -5
  270. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  271. package/src/components/report/CheckPlanUserList.vue +4 -4
  272. package/src/components/report/HiddenSituation.vue +4 -4
  273. package/src/components/report/ManageBusSummary.vue +3 -3
  274. package/src/components/report/NoCheckplanSafecheck.vue +4 -4
  275. package/src/components/report/YinHuanBiHuan.vue +1 -1
  276. package/src/components/rongcheng/AddPlanItem.vue +11 -3
  277. package/src/components/rongcheng/AreaPlan.vue +2 -2
  278. package/src/components/rongcheng/AspPaperFeedback.vue +7 -7
  279. package/src/components/rongcheng/AspiratedAreaPlan.vue +2 -2
  280. package/src/components/rongcheng/AspiratedCurrentCreate.vue +6 -6
  281. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  282. package/src/components/rongcheng/AspiratedDistribute.vue +2 -2
  283. package/src/components/rongcheng/AspiratedOrderV.vue +6 -6
  284. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1045 -1019
  285. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  286. package/src/components/rongcheng/AspiratedUploadPage.vue +1 -1
  287. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  288. package/src/components/rongcheng/CheckCurrentCreate.vue +13 -5
  289. package/src/components/rongcheng/CheckPaperList.vue +1 -1
  290. package/src/components/rongcheng/CheckPlanList.vue +1 -1
  291. package/src/components/rongcheng/CheckSearchArea.vue +8 -8
  292. package/src/components/rongcheng/CheckSearchUser.vue +53 -23
  293. package/src/components/rongcheng/CheckSearchUserNo.vue +5 -5
  294. package/src/components/rongcheng/CheckUserList.vue +4 -4
  295. package/src/components/rongcheng/CurrentCreateOnline.vue +11 -11
  296. package/src/components/rongcheng/DefectList.vue +5 -5
  297. package/src/components/rongcheng/DefectPaper.vue +12 -9
  298. package/src/components/rongcheng/PaperFeedback.vue +9 -9
  299. package/src/components/rongcheng/PaperListAJ.vue +4 -4
  300. package/src/components/rongcheng/PaperListNPAJ.vue +4 -4
  301. package/src/components/rongcheng/PaperListNPSQ.vue +40 -5
  302. package/src/components/rongcheng/PaperListSQ.vue +36 -15
  303. package/src/components/rongcheng/PaperStatem.vue +48 -2
  304. package/src/components/rongcheng/PhoneDevicesInfo.vue +20 -5
  305. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1241
  306. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  307. package/src/components/rongcheng/SafecheckOrderV.vue +2533 -2515
  308. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2632
  309. package/src/components/rongcheng/SafecheckUserInfo.vue +436 -0
  310. package/src/components/rongcheng/UploadPage.vue +1 -1
  311. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +3 -3
  312. package/src/components/rongcheng/report/CheckPlanAreaList.vue +435 -419
  313. package/src/components/rongcheng/report/CheckPlanUserList.vue +7 -7
  314. package/src/components/safecheckNew/PaperList.vue +785 -0
  315. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  316. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  317. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  318. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  319. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  320. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
  321. package/src/components/sendsingle/EquipmentManagement.vue +2 -2
  322. package/src/components/sendsingle/onlineChangeMeter.vue +4 -4
  323. package/src/components/sendsingle/onlineoperation.vue +3 -3
  324. package/src/components/sendsingle/onlinequeryuser.vue +3 -3
  325. package/src/components/shaoguan/CheckPlanUserList.vue +4 -4
  326. package/src/components/shaoguan/DefectDetail.vue +1 -1
  327. package/src/components/shaoguan/DefectList.vue +6 -6
  328. package/src/components/shaoguan/DefectPaper.vue +3 -3
  329. package/src/components/shaoguan/PaperList.vue +4 -4
  330. package/src/components/shaoguan/SafecheckOrderV.vue +2 -2
  331. package/src/components/task/RepairAnnual.vue +1 -1
  332. package/src/components/task/RepairAnnualDetail.vue +1 -1
  333. package/src/components/task/RepairMonthly.vue +1 -1
  334. package/src/components/task/TaskAnnual.vue +1 -1
  335. package/src/components/task/TaskAnnualDetail.vue +1 -1
  336. package/src/components/task/TaskMonthly.vue +1 -1
  337. package/src/components/tongcheng/AreaPlan.vue +2 -2
  338. package/src/components/tongcheng/CurrentCreate.vue +2 -2
  339. package/src/components/tongcheng/PaperFeedback.vue +4 -4
  340. package/src/components/tongcheng/PaperSet.vue +2 -2
  341. package/src/components/tongcheng/PaperUser.vue +1 -1
  342. package/src/components/userfile/SecurityAudit.vue +7 -7
  343. package/src/components/userfile/UserFile.vue +2 -2
  344. package/src/components/userfile/UserInfoAudit.vue +8 -8
  345. package/src/components/userfile/UserfileChange.vue +2 -2
  346. package/src/components/userfileNew/UserInfoAuditNew.vue +6 -6
  347. package/src/components/userfileNew/UserinfoModify.vue +6 -6
  348. package/src/components/userfileaudit/UserFileaudit.vue +1 -1
  349. package/src/components/userfileaudit/UserfileChangeaudit.vue +2 -2
  350. package/src/filiale/ALshan/pc/CheckSearchUser.vue +9 -9
  351. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +6 -6
  352. package/src/filiale/ALshan/pc/checkUserList.vue +9 -9
  353. package/src/filiale/Util.js +12 -0
  354. package/src/filiale/ancheng/android/NewCheckpaperAndroid.vue +1 -1
  355. package/src/filiale/ancheng/android/PaperFeedback.vue +6 -6
  356. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2 -2
  357. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +4 -4
  358. package/src/filiale/ancheng/pc/NewCheckpaper.vue +2 -2
  359. package/src/filiale/ancheng/pc/PaperList.vue +8 -8
  360. package/src/filiale/ancheng/pc/checkScreen.vue +2 -2
  361. package/src/filiale/ankangyihua/android/AddPlanItem.vue +6 -6
  362. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +4 -4
  363. package/src/filiale/ankangyihua/android/CurrentCreate.vue +7 -7
  364. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2 -2
  365. package/src/filiale/ankangyihua/android/UploadPage.vue +1 -1
  366. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +5 -5
  367. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +11 -11
  368. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +6 -6
  369. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +7 -7
  370. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +3 -3
  371. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +6 -6
  372. package/src/filiale/ankangyihua/pc/PaperList.vue +7 -7
  373. package/src/filiale/ankangyihua/pc/PlanManage.vue +7 -7
  374. package/src/filiale/ankangyihua/pc/checkUserList.vue +10 -9
  375. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  376. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  377. package/src/filiale/baiyin/android.js +11 -0
  378. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
  379. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
  380. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
  381. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
  382. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
  383. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  384. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  385. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  386. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  387. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  388. package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
  389. package/src/filiale/baiyin/pc.js +21 -0
  390. package/src/filiale/bayan/android/AddPlanItem.vue +26 -9
  391. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  392. package/src/filiale/bayan/android/CurrentCreate.vue +8 -8
  393. package/src/filiale/bayan/android/Edit.vue +132 -0
  394. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -1651
  395. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +53 -53
  396. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  397. package/src/filiale/bayan/android/SafecheckOrderV.vue +84 -68
  398. package/src/filiale/bayan/android/SafecheckUserInfo.vue +868 -806
  399. package/src/filiale/bayan/android.js +3 -1
  400. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  401. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  402. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  403. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  404. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  405. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  406. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  407. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  408. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  409. package/src/filiale/bayan/pc/NewCheckpaper.vue +86 -52
  410. package/src/filiale/bayan/pc/PaperList.vue +900 -792
  411. package/src/filiale/bayan/pc/PlanManage.vue +36 -15
  412. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  413. package/src/filiale/bayan/pc.js +7 -0
  414. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  415. package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -0
  416. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2684
  417. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  418. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -0
  419. package/src/filiale/dexin/android.js +5 -1
  420. package/src/filiale/dexin/pc/PaperList.vue +805 -0
  421. package/src/filiale/dexin/pc.js +12 -0
  422. package/src/filiale/fugou/android/AddPlanItem.vue +6 -6
  423. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  424. package/src/filiale/fugou/android.js +2 -1
  425. package/src/filiale/fugou/pc/AddToCheckBook.vue +97 -0
  426. package/src/filiale/fugou/pc/CheckBook.vue +303 -0
  427. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  428. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  429. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  430. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  431. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -0
  432. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  433. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  434. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  435. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -0
  436. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  437. package/src/filiale/fugou/pc/CheckBookUser.vue +158 -0
  438. package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
  439. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -0
  440. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -0
  441. package/src/filiale/fugou/pc/PaperList.vue +62 -8
  442. package/src/filiale/fugou/pc/PlanManage.vue +1061 -0
  443. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  444. package/src/filiale/fugou/pc/checkUserList.vue +904 -0
  445. package/src/filiale/fugou/pc.js +60 -1
  446. package/src/filiale/fugu/android/SafecheckOrderV.vue +2 -2
  447. package/src/filiale/fugu/pc/CheckSearchUser.vue +11 -11
  448. package/src/filiale/fugu/pc/NewCheckpaper.vue +1 -1
  449. package/src/filiale/fugu/pc/SelectCheckPlan.vue +3 -3
  450. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +9 -9
  451. package/src/filiale/ganquan/android/AddPlanItem.vue +6 -6
  452. package/src/filiale/ganquan/android/AndroidDefectDeal.vue +1 -1
  453. package/src/filiale/ganquan/android/PhoneUpUserinfo.vue +9 -9
  454. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2 -2
  455. package/src/filiale/ganquan/pc/DefectPaperNew.vue +11 -11
  456. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1 -1
  457. package/src/filiale/ganquan/pc/PaperList.vue +7 -7
  458. package/src/filiale/ganquan/pc/PaperVisitMain.vue +3 -3
  459. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +3 -3
  460. package/src/filiale/ganquan/pc/checkUserList.vue +9 -9
  461. package/src/filiale/gehua/android/CurrentCreate.vue +6 -6
  462. package/src/filiale/gehua/pc/PaperList.vue +6 -6
  463. package/src/filiale/gehua/pc/checkUserList.vue +10 -10
  464. package/src/filiale/guangxi/android/AreaPlan.vue +2 -2
  465. package/src/filiale/guangxi/android/CurrentCreate.vue +5 -5
  466. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +5 -5
  467. package/src/filiale/guangxi/pc/DefectListNew.vue +7 -7
  468. package/src/filiale/guangxi/pc/DefectPaperNew.vue +12 -12
  469. package/src/filiale/hanzhong/android/PaperFeedback.vue +10 -10
  470. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  471. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +5 -5
  472. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +5 -5
  473. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -703
  474. package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +2 -2
  475. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -563
  476. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -499
  477. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +24 -11
  478. package/src/filiale/hanzhong/pc/CheckUserList.vue +39 -20
  479. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -586
  480. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +4 -4
  481. package/src/filiale/hanzhong/pc/PaperList.vue +7 -7
  482. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  483. package/src/filiale/huaran/android.js +12 -0
  484. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  485. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  486. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  487. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  488. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  489. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  490. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  491. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  492. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  493. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  494. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  495. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  496. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  497. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  498. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  499. package/src/filiale/huaran/pc.js +27 -0
  500. package/src/filiale/huatong/android/AndroidDefectDeal.vue +1 -1
  501. package/src/filiale/huatong/android/CurrentCreate.vue +6 -6
  502. package/src/filiale/huatong/android/PaperFeedback.vue +9 -9
  503. package/src/filiale/huatong/android/SafecheckOrderV.vue +3 -3
  504. package/src/filiale/huatong/android/SafecheckUserInfo.vue +4 -4
  505. package/src/filiale/huatong/pc/PaperDefectMain.vue +7 -7
  506. package/src/filiale/huatong/pc/PaperList.vue +8 -8
  507. package/src/filiale/huayin/android/AreaPlan.vue +2 -2
  508. package/src/filiale/huayin/android/PaperFeedback.vue +9 -9
  509. package/src/filiale/huayin/android/SafecheckOrderV.vue +4 -4
  510. package/src/filiale/huayin/pc/NewCheckpaper.vue +1 -1
  511. package/src/filiale/huayin/pc/PaperList.vue +7 -7
  512. package/src/filiale/jiaocheng/android/AddPlanItem.vue +6 -6
  513. package/src/filiale/jiaocheng/android/PaperFeedback.vue +6 -6
  514. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +4 -4
  515. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +11 -11
  516. package/src/filiale/jiaocheng/pc/DefectListNew.vue +7 -7
  517. package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +2 -2
  518. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  519. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  520. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
  521. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  522. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  523. package/src/filiale/jiaxian/android.js +14 -0
  524. package/src/filiale/jiaxian/pc.js +12 -0
  525. package/src/filiale/jinbin/android/AndroidDefectDeal.vue +1 -1
  526. package/src/filiale/jinbin/android/DailyworkloadQuery.vue +1 -1
  527. package/src/filiale/jinbin/android/PhoneUpUserinfo.vue +9 -9
  528. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +5 -5
  529. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +6 -6
  530. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
  531. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
  532. package/src/filiale/jingyang/android/PaperFeedback.vue +10 -10
  533. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +12 -12
  534. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
  535. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -0
  536. package/src/filiale/jingyang/android.js +4 -0
  537. package/src/filiale/jingyang/pc/CheckSearchUser.vue +11 -11
  538. package/src/filiale/jingyang/pc/InfoModifyModal.vue +2 -2
  539. package/src/filiale/jingyang/pc/PaperList.vue +8 -8
  540. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  541. package/src/filiale/jingyang/pc/UserInfoAuditNew.vue +6 -6
  542. package/src/filiale/jingyang/pc.js +1 -0
  543. package/src/filiale/kelai/android/AddPlanItem.vue +6 -6
  544. package/src/filiale/kelai/android/AndroidDefectDeal.vue +5 -5
  545. package/src/filiale/kelai/android/CurrentCreate.vue +5 -5
  546. package/src/filiale/kelai/android/PaperFeedback.vue +9 -9
  547. package/src/filiale/kelai/android/PhoneUpUserinfo.vue +10 -10
  548. package/src/filiale/kelai/android/RelieveRestrict.vue +3 -3
  549. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  550. package/src/filiale/kelai/android/SafecheckOrderV.vue +4 -4
  551. package/src/filiale/kelai/android/SafecheckUserInfo.vue +5 -5
  552. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +4 -4
  553. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -488
  554. package/src/filiale/kelai/pc/CheckSearchUser.vue +11 -11
  555. package/src/filiale/kelai/pc/DefectListNew.vue +8 -8
  556. package/src/filiale/kelai/pc/DefectPaperNew.vue +13 -13
  557. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +7 -7
  558. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +9 -9
  559. package/src/filiale/kelai/pc/NewCheckpaper.vue +4 -4
  560. package/src/filiale/kelai/pc/PaperList.vue +7 -7
  561. package/src/filiale/kelai/pc/UserInfoAudit.vue +6 -6
  562. package/src/filiale/kelai/pc/checkUserList.vue +9 -9
  563. package/src/filiale/liaoyuan/android/AddPlanItem.vue +6 -6
  564. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  565. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +4 -4
  566. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +4 -4
  567. package/src/filiale/liaoyuan/android.js +1 -0
  568. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +6 -6
  569. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +6 -6
  570. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +11 -11
  571. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +2 -2
  572. package/src/filiale/liaoyuan/pc/PaperList.vue +4 -4
  573. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  574. package/src/filiale/liaoyuan/pc.js +2 -1
  575. package/src/filiale/lixian/android/CurrentCreate.vue +5 -5
  576. package/src/filiale/lixian/android/SafecheckOrderV.vue +2 -2
  577. package/src/filiale/lixian/android/SafecheckUserInfo.vue +4 -4
  578. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +5 -5
  579. package/src/filiale/lixian/pc/CheckSearchUser.vue +9 -9
  580. package/src/filiale/lixian/pc/NewCheckpaper.vue +2 -2
  581. package/src/filiale/lixian/pc/PaperChazhiMain.vue +5 -5
  582. package/src/filiale/lixian/pc/PaperDefectMain.vue +5 -5
  583. package/src/filiale/lixian/pc/PaperList.vue +8 -8
  584. package/src/filiale/lixian/pc/checkPlanList.vue +6 -6
  585. package/src/filiale/lixian/pc/checkUserList.vue +9 -9
  586. package/src/filiale/minsheng/android/AreaPlan.vue +2 -2
  587. package/src/filiale/minsheng/android/CurrentCreate.vue +6 -6
  588. package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +11 -11
  589. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +4 -4
  590. package/src/filiale/minsheng/android/SwitchValve.vue +7 -7
  591. package/src/filiale/minsheng/pc/CheckSearchUser.vue +11 -11
  592. package/src/filiale/minsheng/pc/DefectListNew.vue +7 -7
  593. package/src/filiale/minsheng/pc/checkUserList.vue +9 -9
  594. package/src/filiale/pingxiang/android/PaperFeedback.vue +10 -10
  595. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2 -2
  596. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +4 -4
  597. package/src/filiale/pingxiang/pc/DefectListNew.vue +7 -7
  598. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +12 -12
  599. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1 -1
  600. package/src/filiale/pingxiang/pc/PaperList.vue +7 -7
  601. package/src/filiale/qianneng/android/AddPlanItem.vue +5 -5
  602. package/src/filiale/qianneng/android/AreaPlan.vue +2 -2
  603. package/src/filiale/qianneng/android/CurrentCreate.vue +5 -5
  604. package/src/filiale/qianneng/android/PaperFeedback.vue +9 -9
  605. package/src/filiale/qianneng/android/PhoneUpUserinfo.vue +11 -11
  606. package/src/filiale/qianneng/android/SafecheckOrderV.vue +4 -4
  607. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +5 -5
  608. package/src/filiale/qianneng/android/SwitchValve.vue +4 -4
  609. package/src/filiale/qianneng/pc/DefectListNew.vue +7 -7
  610. package/src/filiale/qianneng/pc/DefectPaperNew.vue +13 -13
  611. package/src/filiale/qianneng/pc/NewCheckpaper.vue +2 -2
  612. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +4 -4
  613. package/src/filiale/qianneng/pc/PaperList.vue +777 -741
  614. package/src/filiale/qianneng/pc/PlanManage.vue +7 -7
  615. package/src/filiale/qianneng/pc/UserInfoAudit.vue +6 -6
  616. package/src/filiale/qianneng/pc/checkPlanList.vue +9 -9
  617. package/src/filiale/qianneng/pc/checkUserList.vue +13 -13
  618. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +18 -16
  619. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  620. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2778
  621. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +9 -5
  622. package/src/filiale/qingjian/pc/NewCheckpaper.vue +4 -4
  623. package/src/filiale/qingjian/pc/PaperDefectMain.vue +7 -7
  624. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  625. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  626. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  627. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +3 -3
  628. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  629. package/src/filiale/qingtongxia/android.js +4 -0
  630. package/src/filiale/qingtongxia/pc/DefectListNew.vue +7 -7
  631. package/src/filiale/qingtongxia/pc/NewCheckpaper.vue +4 -4
  632. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +7 -7
  633. package/src/filiale/rizhao/android/AddPlanItem.vue +6 -6
  634. package/src/filiale/rizhao/android/PaperFeedback.vue +9 -9
  635. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2 -2
  636. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +4 -4
  637. package/src/filiale/rizhao/pc/DefectList.vue +6 -6
  638. package/src/filiale/rizhao/pc/NewCheckpaper.vue +1 -1
  639. package/src/filiale/rizhao/pc/PaperList.vue +7 -7
  640. package/src/filiale/rongchuang/android/PaperFeedback.vue +9 -9
  641. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -0
  642. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2455
  643. package/src/filiale/rongchuang/android/checkpapermsg.vue +1 -1
  644. package/src/filiale/rongchuang/android.js +1 -0
  645. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -1290
  646. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  647. package/src/filiale/rongchuang/pc/checkUserList.vue +8 -8
  648. package/src/filiale/rongchuang/pc.js +1 -0
  649. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  650. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  651. package/src/filiale/ruihua/android.js +11 -0
  652. package/src/filiale/shanggao/android/PaperFeedback.vue +9 -9
  653. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2 -2
  654. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
  655. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +6 -6
  656. package/src/filiale/shanxian/android/CurrentCreate_new.vue +6 -6
  657. package/src/filiale/shanxian/android/PaperFeedback.vue +9 -9
  658. package/src/filiale/shanxian/android/PhoneUpUserinfo.vue +9 -9
  659. package/src/filiale/shanxian/android/SafecheckOrderV.vue +4 -4
  660. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +4 -4
  661. package/src/filiale/shanxian/android.js +1 -0
  662. package/src/filiale/shanxian/pc/CheckDetail.vue +7 -7
  663. package/src/filiale/shanxian/pc/CheckSearchUser.vue +11 -11
  664. package/src/filiale/shanxian/pc/DefectPaperNew.vue +14 -14
  665. package/src/filiale/shanxian/pc/HiddenSituation.vue +1 -1
  666. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1 -1
  667. package/src/filiale/shanxian/pc/PaperList.vue +785 -0
  668. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +3 -3
  669. package/src/filiale/shanxian/pc/checkUserList.vue +13 -13
  670. package/src/filiale/shanxian/pc.js +2 -2
  671. package/src/filiale/shaoguan/pc/PaperList.vue +6 -6
  672. package/src/filiale/shexian/android/AddPlanItem.vue +6 -6
  673. package/src/filiale/shexian/android/AndroidDefectDeal.vue +3 -3
  674. package/src/filiale/shexian/android/AreaPlan.vue +2 -2
  675. package/src/filiale/shexian/android/DailyworkloadQuery.vue +1 -1
  676. package/src/filiale/shexian/android/PaperFeedback.vue +9 -9
  677. package/src/filiale/shexian/android/PhoneUpUserinfo.vue +9 -9
  678. package/src/filiale/shexian/android/SafecheckOrderV.vue +2 -2
  679. package/src/filiale/shexian/pc/DefectListNew.vue +7 -7
  680. package/src/filiale/shexian/pc/DefectPaperNew.vue +13 -13
  681. package/src/filiale/shexian/pc/NewCheckpaper.vue +2 -2
  682. package/src/filiale/shexian/pc/PaperDefectMain.vue +7 -7
  683. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  684. package/src/filiale/shexian/pc.js +1 -0
  685. package/src/filiale/shimen/android/CurrentCreate.vue +6 -6
  686. package/src/filiale/shimen/android/PaperFeedback.vue +9 -9
  687. package/src/filiale/shimen/android/PhoneSellInfo.vue +1 -1
  688. package/src/filiale/shimen/android/SafecheckUserInfo.vue +4 -4
  689. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +5 -5
  690. package/src/filiale/shimen/pc/CheckSearchUser.vue +9 -9
  691. package/src/filiale/shimen/pc/DefectList.vue +6 -6
  692. package/src/filiale/shimen/pc/NewCheckpaper.vue +1 -1
  693. package/src/filiale/shimen/pc/PaperDefectMain.vue +5 -5
  694. package/src/filiale/shimen/pc/PaperList.vue +5 -5
  695. package/src/filiale/shiquan/android/AreaPlan.vue +2 -2
  696. package/src/filiale/shiquan/android/CurrentCreate.vue +6 -6
  697. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  698. package/src/filiale/shiquan/pc/checkUserList.vue +9 -9
  699. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  700. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  701. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  702. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  703. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  704. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  705. package/src/filiale/siyang/android.js +15 -0
  706. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  707. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  708. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  709. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  710. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  711. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
  712. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  713. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  714. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  715. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  716. package/src/filiale/siyang/pc/checkUserList.vue +790 -0
  717. package/src/filiale/siyang/pc.js +22 -0
  718. package/src/filiale/tianke/android/AddPlanItem.vue +6 -6
  719. package/src/filiale/tianke/android/CurrentCreate.vue +5 -5
  720. package/src/filiale/tianke/android/SafecheckOrderV.vue +2 -2
  721. package/src/filiale/tianke/android/SafecheckUserInfo.vue +4 -4
  722. package/src/filiale/tianke/pc/DefectListNew.vue +7 -7
  723. package/src/filiale/tianke/pc/PaperDefectMain.vue +7 -7
  724. package/src/filiale/tianke/pc/checkScreen.vue +786 -781
  725. package/src/filiale/tianke/pc/cq.jpg +0 -0
  726. package/src/filiale/tianke/pc/qy.jpg +0 -0
  727. package/src/filiale/tongchuan/android/AddPlanItem.vue +6 -6
  728. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +3 -3
  729. package/src/filiale/tongchuan/android/CurrentCreate.vue +6 -6
  730. package/src/filiale/tongchuan/android/PaperFeedback.vue +7 -7
  731. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +1 -1
  732. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +1 -1
  733. package/src/filiale/tongchuan/android/PhoneUpDetail.vue +3 -3
  734. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -1265
  735. package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
  736. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +10 -11
  737. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +5 -5
  738. package/src/filiale/tongchuan/android/Select.vue +421 -0
  739. package/src/filiale/tongchuan/android/SwitchValve.vue +4 -4
  740. package/src/filiale/tongchuan/android/UploadPage.vue +1 -1
  741. package/src/filiale/tongchuan/android.js +1 -0
  742. package/src/filiale/tongchuan/pc/CheckBookArea.vue +1 -1
  743. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +2 -2
  744. package/src/filiale/tongchuan/pc/CheckBookList.vue +5 -5
  745. package/src/filiale/tongchuan/pc/CheckDetail.vue +7 -7
  746. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +6 -6
  747. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +5 -3
  748. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +4 -4
  749. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +11 -11
  750. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +6 -6
  751. package/src/filiale/tongchuan/pc/DefectPaper.vue +7 -7
  752. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +13 -9
  753. package/src/filiale/tongchuan/pc/HiddenSituation.vue +4 -2
  754. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +15 -24
  755. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +4 -4
  756. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1095
  757. package/src/filiale/tongchuan/pc/PaperList.vue +8 -8
  758. package/src/filiale/tongchuan/pc/PlanManage.vue +7 -7
  759. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +8 -5
  760. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -609
  761. package/src/filiale/tongchuan/pc/repairScreen.vue +1 -1
  762. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  763. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  764. package/src/filiale/weinan/android/AddPlanItem.vue +6 -6
  765. package/src/filiale/weinan/android/AndroidDefectDeal.vue +1 -1
  766. package/src/filiale/weinan/android/AreaPlan.vue +2 -2
  767. package/src/filiale/weinan/android/CurrentCreate.vue +6 -6
  768. package/src/filiale/weinan/android/CurrentCreateOnline.vue +11 -11
  769. package/src/filiale/weinan/android/PaperFeedback.vue +17 -17
  770. package/src/filiale/weinan/android/PhoneUpDetail.vue +8 -8
  771. package/src/filiale/weinan/android/PhoneUpUserinfo.vue +8 -8
  772. package/src/filiale/weinan/android/SafePlanItem.vue +6 -6
  773. package/src/filiale/weinan/android/SafecheckDevices.vue +1086 -1025
  774. package/src/filiale/weinan/android/SafecheckOrderV.vue +98 -35
  775. package/src/filiale/weinan/android/SafecheckUserInfo.vue +11 -6
  776. package/src/filiale/weinan/pc/CheckBook.vue +4 -4
  777. package/src/filiale/weinan/pc/CheckBookArea.vue +1 -1
  778. package/src/filiale/weinan/pc/CheckBookCompany.vue +1 -1
  779. package/src/filiale/weinan/pc/CheckBookCompanyUser.vue +1 -1
  780. package/src/filiale/weinan/pc/CheckBookDetails.vue +1 -1
  781. package/src/filiale/weinan/pc/CheckBookList.vue +5 -5
  782. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +6 -6
  783. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
  784. package/src/filiale/weinan/pc/CheckBookUser.vue +3 -3
  785. package/src/filiale/weinan/pc/CheckDetail.vue +18 -18
  786. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +7 -7
  787. package/src/filiale/weinan/pc/CheckNoDetail.vue +7 -7
  788. package/src/filiale/weinan/pc/CheckPlanAreaList.vue +2 -2
  789. package/src/filiale/weinan/pc/CheckPlanUserList.vue +4 -4
  790. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  791. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  792. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  793. package/src/filiale/weinan/pc/DefectPaperNew.vue +49 -12
  794. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  795. package/src/filiale/weinan/pc/HiddenSituation.vue +1 -1
  796. package/src/filiale/weinan/pc/NewCheckpaper.vue +3 -3
  797. package/src/filiale/weinan/pc/PaperDefectMain.vue +6 -6
  798. package/src/filiale/weinan/pc/PaperList.vue +8 -8
  799. package/src/filiale/weinan/pc/PersonTrack.vue +2 -2
  800. package/src/filiale/weinan/pc/PlanManage.vue +8 -8
  801. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +5 -5
  802. package/src/filiale/weinan/pc/SelectCheckPlan.vue +4 -4
  803. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +5 -5
  804. package/src/filiale/weinan/pc/checkPlanList.vue +7 -7
  805. package/src/filiale/weinan/pc/checkScreen.vue +3 -3
  806. package/src/filiale/weinan/pc/checkUserList.vue +712 -776
  807. package/src/filiale/weinan/pc.js +3 -0
  808. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2 -2
  809. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1 -1
  810. package/src/filiale/weinanct/pc/PaperList.vue +7 -7
  811. package/src/filiale/wensu/android/AddPlanItem.vue +6 -6
  812. package/src/filiale/wensu/android/AndroidDefectDeal.vue +2 -2
  813. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +1 -1
  814. package/src/filiale/wensu/android/CurrentCreate.vue +6 -6
  815. package/src/filiale/wensu/android/PaperFeedback.vue +5 -5
  816. package/src/filiale/wensu/android/PhoneUpUserinfo.vue +1 -1
  817. package/src/filiale/wensu/android/SafecheckOrderV.vue +2 -2
  818. package/src/filiale/wensu/android/SafecheckUserInfo.vue +5 -5
  819. package/src/filiale/wensu/pc/CheckDetail.vue +7 -7
  820. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1167
  821. package/src/filiale/wensu/pc/DefectListNew.vue +7 -7
  822. package/src/filiale/wensu/pc/DefectPaperNew.vue +30 -24
  823. package/src/filiale/wensu/pc/NewCheckpaper.vue +4 -4
  824. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  825. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  826. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  827. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -302
  828. package/src/filiale/wensu/pc/checkUserList.vue +21 -17
  829. package/src/filiale/wensu/pc.js +1 -0
  830. package/src/filiale/wenxi/android/AddPlanItem.vue +6 -6
  831. package/src/filiale/wenxi/android/AndroidDefectDealHY.vue +1 -1
  832. package/src/filiale/wenxi/android/AndroidDefectDealWX.vue +1 -1
  833. package/src/filiale/wenxi/android/AreaPlan.vue +2 -2
  834. package/src/filiale/wenxi/android/CurrentCreate.vue +6 -6
  835. package/src/filiale/wenxi/android/DailyworkloadQuery.vue +1 -1
  836. package/src/filiale/wenxi/android/PaperFeedback.vue +15 -15
  837. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +10 -10
  838. package/src/filiale/wenxi/android/SafecheckOrderV.vue +17 -3
  839. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -651
  840. package/src/filiale/wenxi/android/UploadPage.vue +1 -1
  841. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +5 -5
  842. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +4 -4
  843. package/src/filiale/wenxi/pc/CheckSearchUser.vue +11 -11
  844. package/src/filiale/wenxi/pc/DefectList.vue +7 -7
  845. package/src/filiale/wenxi/pc/DefectPaper.vue +7 -7
  846. package/src/filiale/wenxi/pc/NewCheckpaper.vue +5 -5
  847. package/src/filiale/wenxi/pc/PaperDefectMain.vue +6 -6
  848. package/src/filiale/wenxi/pc/PaperList.vue +11 -11
  849. package/src/filiale/wenxi/pc/checkPlanList.vue +10 -10
  850. package/src/filiale/wenxi/pc/checkUserList.vue +9 -9
  851. package/src/filiale/wuan/android/AreaPlan.vue +2 -2
  852. package/src/filiale/wuan/android/CurrentCreate.vue +5 -5
  853. package/src/filiale/wuan/android/CurrentCreateSheBei.vue +5 -5
  854. package/src/filiale/wuan/android/PaperFeedback.vue +9 -9
  855. package/src/filiale/wuan/android/SafecheckOrderV.vue +7 -3
  856. package/src/filiale/wuan/android/SafecheckUserInfo.vue +14 -9
  857. package/src/filiale/wuan/pc/DefectListWeixiu.vue +7 -7
  858. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +7 -7
  859. package/src/filiale/wuan/pc/NewCheckpaper.vue +1 -1
  860. package/src/filiale/wuan/pc/PaperList.vue +5 -5
  861. package/src/filiale/wuhai/android/AreaPlan.vue +2 -2
  862. package/src/filiale/wuhai/android/CurrentCreate.vue +5 -5
  863. package/src/filiale/wuhai/android/PaperFeedback.vue +9 -9
  864. package/src/filiale/wuhai/android/PhoneUpUserinfo.vue +8 -8
  865. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2428
  866. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +4 -4
  867. package/src/filiale/wuhai/pc/CheckSearchUser.vue +10 -10
  868. package/src/filiale/wuhai/pc/NewCheckpaper.vue +27 -25
  869. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  870. package/src/filiale/wuhai/pc/checkUserList.vue +8 -8
  871. package/src/filiale/wuhai/pc.js +1 -0
  872. package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
  873. package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
  874. package/src/filiale/xilan/android.js +11 -0
  875. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  876. package/src/filiale/xilan/pc.js +12 -0
  877. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -1
  878. package/src/filiale/xinkang/android/CurrentCreate.vue +5 -5
  879. package/src/filiale/xinkang/android/OrderBacklog.vue +5 -5
  880. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2 -2
  881. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +4 -4
  882. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +5 -5
  883. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +4 -4
  884. package/src/filiale/xinkang/pc/CheckSearchUser.vue +10 -10
  885. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +6 -6
  886. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +7 -7
  887. package/src/filiale/xinkang/pc/NewCheckpaper.vue +2 -2
  888. package/src/filiale/xinkang/pc/PaperDefectMain.vue +5 -5
  889. package/src/filiale/xinkang/pc/PaperList.vue +7 -7
  890. package/src/filiale/xinkang/pc/checkUserList.vue +8 -8
  891. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +52 -7
  892. package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +3 -3
  893. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +65 -23
  894. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +12 -17
  895. package/src/filiale/yangchunboneng/android/DailyworkloadQueryNew.vue +3 -3
  896. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +21 -21
  897. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +13 -13
  898. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  899. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +17 -13
  900. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2797
  901. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +36 -18
  902. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +12 -16
  903. package/src/filiale/yangchunboneng/android.js +1 -0
  904. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +5 -5
  905. package/src/filiale/yangchunboneng/pc/CheckBook.vue +4 -4
  906. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +2 -2
  907. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +9 -9
  908. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +93 -37
  909. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -198
  910. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +101 -35
  911. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1018
  912. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +7 -7
  913. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +67 -16
  914. package/src/filiale/yangchunboneng/pc/NewCheckpaper.vue +2 -2
  915. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -849
  916. package/src/filiale/yangchunboneng/pc/PaperList.vue +54 -8
  917. package/src/filiale/yongzhou/android/PaperFeedback.vue +11 -11
  918. package/src/filiale/yongzhou/android/PhoneUpUserinfo.vue +11 -11
  919. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  920. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2809
  921. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +5 -5
  922. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  923. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  924. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  925. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +416 -111
  926. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  927. package/src/filiale/yongzhou/pc/PaperList.vue +8 -8
  928. package/src/filiale/yongzhou/pc/PlanManage.vue +7 -7
  929. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  930. package/src/filiale/yongzhou/pc/checkUserList.vue +9 -9
  931. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
  932. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +58 -127
  933. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -207
  934. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -248
  935. package/src/filiale/yongzhou/pc/safeStatistics.vue +175 -124
  936. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
  937. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
  938. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +135 -110
  939. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  940. package/src/filiale/yongzhou/pc.js +5 -0
  941. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  942. package/src/filiale/yuansheng/android/PaperFeedback.vue +9 -9
  943. package/src/filiale/yuansheng/android/PhoneUpUserinfo.vue +8 -8
  944. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  945. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2 -2
  946. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +4 -4
  947. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
  948. package/src/filiale/yuansheng/android.js +2 -0
  949. package/src/filiale/yuansheng/pc/DefectListNew.vue +7 -7
  950. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +11 -3
  951. package/src/filiale/yuansheng/pc/PaperList.vue +7 -7
  952. package/src/filiale/yuansheng/pc/checkmsg.vue +2 -2
  953. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  954. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +10 -10
  955. package/src/filiale/yunchengminsheng/android/PhoneUpUserinfo.vue +11 -11
  956. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +4 -1
  957. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2 -2
  958. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +5 -5
  959. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +3 -3
  960. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +27 -10
  961. package/src/filiale/zhongsheng/android/AreaPlan.vue +2 -2
  962. package/src/filiale/zhongsheng/android/BuyRecords.vue +2 -2
  963. package/src/filiale/zhongsheng/android/CurrentCreate.vue +12 -7
  964. package/src/filiale/zhongsheng/android/IgnitionInformation.vue +2 -2
  965. package/src/filiale/zhongsheng/android/PaperFeedback.vue +9 -9
  966. package/src/filiale/zhongsheng/android/PhoneUpUserinfo.vue +8 -8
  967. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2 -2
  968. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +4 -4
  969. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +5 -5
  970. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +7 -7
  971. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +13 -9
  972. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1 -1
  973. package/src/filiale/zhongsheng/pc/PaperList.vue +7 -7
  974. package/src/filiale/zhongsheng/pc/UserInfoAudit.vue +6 -6
  975. package/src/filiale/zhongyi/android/CurrentCreate.vue +5 -5
  976. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2 -2
  977. package/src/filiale/zhongyi/pc/DefectListNew.vue +12 -12
  978. package/src/filiale/zhongyi/pc/checkScreen.vue +1 -1
  979. package/src/filiale/zhoukou/android/AndroidDefectDeal.vue +1 -1
  980. package/src/filiale/zhoukou/android/AreaPlan.vue +2 -2
  981. package/src/filiale/zhoukou/android/CurrentCreate.vue +5 -5
  982. package/src/filiale/zhoukou/android/PaperFeedback.vue +9 -9
  983. package/src/filiale/zhoukou/android/PhoneUpUserinfo.vue +8 -8
  984. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2 -2
  985. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +4 -4
  986. package/src/filiale/zhoukou/android/UploadPage.vue +1 -1
  987. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +9 -9
  988. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +5 -5
  989. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  990. package/src/main.js +33 -33
  991. package/src/plugins/GetCheckParams.js +1 -1
  992. package/src/plugins/LoadCheckParams.js +1 -1
  993. package/src/rongcheng.js +3 -1
  994. package/src/safecheck-android.js +17 -0
  995. package/src/safecheck-page.js +12 -0
  996. package/src/safecheck.js +6 -0
  997. package/static/stretch_bottom.png +0 -0
  998. package/static/stretch_top.png +0 -0
@@ -8,20 +8,29 @@
8
8
  <div class="panel panel-default auto repair-info-content">
9
9
  <div class="panel-body" style="padding: 0">
10
10
  <!-- 安检项内容 -->
11
- <div class="auto repair-info-content compatible" style="padding: 0">
11
+ <div class="auto repair-info-content compatible" style="padding: 0">
12
12
  <div class="row auto" style="padding: 0">
13
- <div v-show="false" class="{{shuclass}}" v-if=" device.device != '燃气表'">
14
- <button type="button" name="button" class="btn btn-primary" @click='adddetails()' :disabled="issee">增加</button>
13
+ <div v-if=" device.device != '燃气表'" v-show="false" class="{{shuclass}}">
14
+ <button :disabled="issee" class="btn btn-primary" name="button" type="button" @click='adddetails()'>增加
15
+ </button>
15
16
  </div>
16
17
  <!--<div class="{{shuclass}}" v-if="device.device != '燃气表' && candelete">-->
17
18
  <!--<button type="button" name="button" class="btn btn-primary" @click='deletedetails()' :disabled="issee">删除</button>-->
18
19
  <!--</div>-->
19
- <div class="shuclass1" v-show="row.isshow" v-for="(idxs,row) in f_items" style="padding: 4px; border:1px solid #D4D4D4;border-bottom: 0" >
20
- <label v-if="row.type != 'radio' && row.type != 'text' && row.type != 'picture' && row.type != 'checkbox'" v-show="row.isshow" class="fivelabel">{{row.f_item_name}}<span v-if="row.unit">({{row.unit}})</span><br/>{{row.remark}}</label>
21
- <label v-if="row.type == 'radio' && row.f_item_name!='连接方式'" v-show="row.isshow" class="radiolabel">{{row.f_item_name}}<span v-if="row.unit">({{row.unit}})</span><br/>{{row.remark}}</label>
22
- <label v-if="row.type == 'text'" v-show="row.isshow" class="textlabel1">{{row.f_item_name}}<span v-if="row.unit">({{row.unit}})</span><br/>{{row.remark}}</label>
23
- <label v-if="row.type == 'picture' || (row.type == 'radio' && row.f_item_name=='连接方式')" v-show="row.isshow" class="textlabel1">{{row.f_item_name}}<br/>{{row.remark}}</label>
24
- <label v-if="row.type == 'checkbox'" v-show="row.isshow" class="radiolabel">{{row.f_item_name}}<br/>{{row.remark}}</label>
20
+ <div v-for="(idxs,row) in f_items" v-show="row.isshow" class="shuclass1"
21
+ style="padding: 4px; border:1px solid #D4D4D4;border-bottom: 0">
22
+ <label v-if="row.type != 'radio' && row.type != 'text' && row.type != 'picture' && row.type != 'checkbox'"
23
+ v-show="row.isshow" class="fivelabel">{{ row.f_item_name }}<span
24
+ v-if="row.unit">({{ row.unit }})</span><br/>{{ row.remark }}</label>
25
+ <label v-if="row.type == 'radio' && row.f_item_name!='连接方式'" v-show="row.isshow"
26
+ class="radiolabel">{{ row.f_item_name }}<span
27
+ v-if="row.unit">({{ row.unit }})</span><br/>{{ row.remark }}</label>
28
+ <label v-if="row.type == 'text'" v-show="row.isshow" class="textlabel1">{{ row.f_item_name }}<span
29
+ v-if="row.unit">({{ row.unit }})</span><br/>{{ row.remark }}</label>
30
+ <label v-if="row.type == 'picture' || (row.type == 'radio' && row.f_item_name=='连接方式')"
31
+ v-show="row.isshow" class="textlabel1">{{ row.f_item_name }}<br/>{{ row.remark }}</label>
32
+ <label v-if="row.type == 'checkbox'" v-show="row.isshow"
33
+ class="radiolabel">{{ row.f_item_name }}<br/>{{ row.remark }}</label>
25
34
  <!--<span v-if="show" style="font-weight:bold">{{row.f_content}}</span>-->
26
35
  <!--<datepicker placeholder="请选择时间"-->
27
36
  <!--:value.sync="row.f_content"-->
@@ -30,86 +39,101 @@
30
39
  <!--v-if="!show && row.type == 'date'"-->
31
40
  <!--:readonly="true"-->
32
41
  <!--&gt;</datepicker>-->
33
- <div style="clear: both" v-if="row.type == 'picture'" class="form-group col-sm-12" >
34
- <div class="auto" >
42
+ <div v-if="row.type == 'picture'" class="form-group col-sm-12" style="clear: both">
43
+ <div class="auto">
35
44
  <div class="panel">
36
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
45
+ <div class="panel-body panel-self"
46
+ style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
37
47
  <div class="row" style="height: 160px;width:160px;overflow: scroll;top: 1px">
38
- <div class="col-sm-4" v-show="row.f_path">
39
- <img-self :src="row.f_path" :alt="row.f_item_name" width="140" height="140"></img-self>
48
+ <div v-show="row.f_path" class="col-sm-4">
49
+ <img-self :alt="row.f_item_name" :src="row.f_path" height="140" width="140"></img-self>
40
50
  </div>
41
- <div class="col-sm-4" v-show="!row.f_path" @click="takePic(idxs, row.f_item_name)">
42
- <img src="../../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
51
+ <div v-show="!row.f_path" class="col-sm-4" @click="takePic(idxs, row.f_item_name)">
52
+ <img :alt="点击拍摄照片" height="140" src="../../../assets/tackpic.png" width="140"></img>
43
53
  </div>
44
- <img v-show="row.f_path" src="../../../assets/remove.png" :class="style__" @click="delfile(idxs, row.f_path)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
54
+ <img v-if="role!='androidview'" v-show="row.f_path" :class="style__"
55
+ src="../../../assets/remove.png"
56
+ style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"
57
+ @click="delfile(idxs, row.f_path)"></img>
45
58
  </div>
46
59
  </div>
47
60
  </div>
48
61
  </div>
49
62
  </div>
50
- <div style="float: left;width:60%" class="form-group" v-if="row.type == 'string'" v-show="row.isshow">
51
- <input type="text" class="form-control" maxlength="100" v-model="row.f_item_value" :readonly="role == 'androidview' || row.readonly">
63
+ <div v-if="row.type == 'string'" v-show="row.isshow" class="form-group" style="float: left;width:60%">
64
+ <input v-model="row.f_item_value" :readonly="role == 'androidview' || row.readonly" class="form-control"
65
+ maxlength="100"
66
+ type="text">
52
67
  </div>
53
- <div style="float: left;width:60%" class="form-group col-sm-12" v-if="row.type == 'date'" v-show="row.isshow">
54
- <datepicker id="f_making_date" :placeholder= row.f_item_name
55
- :value.sync="row.f_item_value"
56
- v-if="row.type == 'date'"
57
- v-show="row.isshow"
68
+ <div v-if="row.type == 'date'" v-show="row.isshow" class="form-group col-sm-12"
69
+ style="float: left;width:60%">
70
+ <datepicker v-if="row.type == 'date'" v-show="row.isshow"
71
+ id="f_making_date"
58
72
  :disabled-days-of-Week="[]"
59
73
  :format="'yyyy-MM-dd 00:00:00'"
60
- :show-reset-button="reset" readonly="readonly">
74
+ :placeholder=row.f_item_name
75
+ :show-reset-button="reset"
76
+ :value.sync="row.f_item_value" readonly="readonly">
61
77
  </datepicker>
62
78
  </div>
63
79
 
64
- <div style="float: left;width:60%" class="form-group" v-if="!show && row.type == 'number'" v-show="row.isshow">
65
- <input type="number" class="form-control" maxlength="100" v-model="row.f_item_value" onkeyup="value=value.replace(/[^\d\.]/g,'')" :readonly="row.readonly">
80
+ <div v-if="!show && row.type == 'number'" v-show="row.isshow" class="form-group"
81
+ style="float: left;width:60%">
82
+ <input v-model="row.f_item_value" :readonly="row.readonly" class="form-control" maxlength="100"
83
+ onkeyup="value=value.replace(/[^\d\.]/g,'')" type="number">
66
84
  </div>
67
85
  <!--<input type="text" class="form-control" v-model="row.f_content" v-if="!show && row.type == 'string' && row.f_project != '表号'" :disabled="(!(ischecked == '有')) || issee" :readonly="issee">-->
68
86
  <!--<input type="text" class="form-control" v-model="meternum" v-if="!show && row.type == 'string' && row.f_project == '表号' " :disabled="(!(ischecked == '有')) || issee" :readonly="issee" >-->
69
87
  <!--<button type="button" name="button" class="btn btn-primary" @click="scan" v-if="!show && row.f_project == '表号' ">扫码</button>-->
70
- <input-select v-if="row.type == 'inputSelector'"
71
- v-show="row.isshow"
72
- :value.sync="row.selected"
73
- v-model="row.selected"
74
- :readonly="false"
75
- :options="row.options"
76
- @change="changse"
77
- @click="transelation(idxs)"></input-select>
78
- <v-select style="float: left" :value.sync="row.selected"
79
- v-model="row.selected"
80
- v-if="row.type == 'selector'"
81
- :search="false"
82
- v-show="row.isshow"
83
- placeholder='请选择'
84
- :options="row.options"
85
- :disabled="role == 'androidview' || row.readonly"
86
- @change="changse"
87
- @click="transelation(idxs)"
88
- :multiple="row.multiple"
89
- :close-on-select="!row.multiple" clear-button></v-select>
90
- <div style="float: left;width: 30%" class="form-group" v-if="!show && row.type == 'radio'">
91
- <div class=" col-sm-6 col-md-6" v-for="item in row.options">
88
+ <input-select v-if="row.type == 'inputSelector'"
89
+ v-show="row.isshow"
90
+ v-model="row.selected"
91
+ :options="row.options"
92
+ :readonly="false"
93
+ :value.sync="row.selected"
94
+ @change="changse"
95
+ @click="transelation(idxs)"></input-select>
96
+ <v-select v-if="row.type == 'selector'" v-show="row.isshow"
97
+ v-model="row.selected"
98
+ :close-on-select="!row.multiple"
99
+ :disabled="role == 'androidview' || row.readonly"
100
+ :multiple="row.multiple"
101
+ :options="row.options"
102
+ :search="false"
103
+ :value.sync="row.selected"
104
+ clear-button
105
+ placeholder='请选择'
106
+ style="float: left"
107
+ @change="changse" @click="transelation(idxs)"></v-select>
108
+ <div v-if="!show && row.type == 'radio'" class="form-group" style="float: left;width: 30%">
109
+ <div v-for="item in row.options" class=" col-sm-6 col-md-6">
92
110
  <!-- <input type="radio" :name="row.f_item_name" @click="disSelect($parent.idxs,item.value)" :value="item.value" :disabled="(!(ischecked == '有')) || issee" v-model="row.f_item_value" >-->
93
- <input type="radio" :name="row.f_item_name" :value="item.value" :disabled="(!(ischecked == '有')) || issee" v-model="row.f_item_value" >
94
- <span>{{item.label}}</span>
111
+ <input v-model="row.f_item_value" :disabled="(!(ischecked == '有')) || issee" :name="row.f_item_name"
112
+ :value="item.value" type="radio">
113
+ <span>{{ item.label }}</span>
95
114
  </div>
96
115
  </div>
97
- <div v-if="!show && row.type == 'checkbox'" style="white-space: nowrap" >
98
- <div style="" v-for="item in row.options">
99
- <input type="checkbox" :name="row.f_item_name" :value="item.value" :disabled="(!(ischecked == '有')) || issee" v-model="row.f_item_value">
100
- <span>{{item.label}}</span>
116
+ <div v-if="!show && row.type == 'checkbox'" style="white-space: nowrap">
117
+ <div v-for="item in row.options" style="">
118
+ <input v-model="row.f_item_value" :disabled="(!(ischecked == '有')) || issee" :name="row.f_item_name"
119
+ :value="item.value" type="checkbox">
120
+ <span>{{ item.label }}</span>
101
121
  </div>
102
122
  </div>
103
123
  <div style="clear: both">
104
124
  <label v-if="row.f_item_value.indexOf('其他') >-1" class="fivelabel">其他</label>
105
- <div style="float: left;width:60%" class="form-group" v-if="row.f_item_value.indexOf('其他') >-1">
106
- <input type="text" class="form-control" maxlength="100" v-model="row.f_else" :readonly="role == 'androidview' || row.readonly">
125
+ <div v-if="row.f_item_value.indexOf('其他') >-1" class="form-group" style="float: left;width:60%">
126
+ <input v-model="row.f_else" :readonly="role == 'androidview' || row.readonly" class="form-control"
127
+ maxlength="100"
128
+ type="text">
107
129
  </div>
108
130
  </div>
109
- <div style="clear: both" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '')">
110
- <label class="fivelabel">隐患备注</label>
111
- <div style="float: left;width:60%" class="form-group">
112
- <input type="text" class="form-control" maxlength="100" v-model="row.f_defect_remark">
131
+ <div
132
+ v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '')"
133
+ style="clear: both">
134
+ <label class="fivelabel">隐患备注</label>
135
+ <div class="form-group" style="float: left;width:60%">
136
+ <input v-model="row.f_defect_remark" class="form-control" maxlength="100" type="text">
113
137
  </div>
114
138
  </div>
115
139
  <div style="clear: both">
@@ -123,48 +147,82 @@
123
147
  @click="transelation(idxs)"
124
148
  close-on-select clear-button></v-select>
125
149
  </div>-->
126
- <div class="form-group" style="display: flex;flex-wrap: wrap" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '') && (dealdispose == 'true' || dealdispose == true) " >
150
+ <div
151
+ v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '') && (dealdispose == 'true' || dealdispose == true) "
152
+ class="form-group"
153
+ style="display: flex;flex-wrap: wrap">
127
154
  <label class="fivelabel">处理方式</label>
128
- <v-select :value="row.f_deal_dispose"
129
- :value-single="true"
130
- :options="deals"
131
- :disabled="role == 'androidview'"
132
- @change="changdeal"
133
- @click="transelation(idxs)"
134
- close-on-select clear-button></v-select>
155
+ <v-select :disabled="role == 'androidview'"
156
+ :options="deals"
157
+ :value="row.f_deal_dispose"
158
+ :value-single="true"
159
+ clear-button
160
+ close-on-select
161
+ @change="changdeal" @click="transelation(idxs)"></v-select>
135
162
  </div>
136
- <div style="margin-left: 10px" class="form-group col-sm-10" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && row.tooltip != undefined && row.tooltip != '' ">
137
- ☆{{row.tooltip}}
163
+ <div v-if="(row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改') && row.f_is_defect != '' " style="display: flex;flex-wrap: wrap">
164
+ <label class="fivelabel">处理时效:</label>
165
+ <!-- <datepicker-->
166
+ <!-- :value.sync="row.f_handle_date"-->
167
+ <!-- v-model="row.f_handle_date"-->
168
+ <!-- :format="'yyyy-MM-dd 00:00:00'"-->
169
+ <!-- placeholder="请选择"-->
170
+ <!-- style="width: 60%">-->
171
+ <!-- </datepicker>-->
172
+ <div class="form-group" style="float: left;width:60%">
173
+ <input v-model="row.f_lose_efficacy" class="form-control" maxlength="100" placeholder="单位:天" onkeyup="value=value.replace(/[^\d\.]/g,'')"
174
+ type="number">
175
+ </div>
176
+ </div>
177
+ <div
178
+ v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && row.tooltip != undefined && row.tooltip != '' "
179
+ class="form-group col-sm-10"
180
+ style="margin-left: 10px">
181
+ ☆{{ row.tooltip }}
138
182
  </div>
139
- <div class="form-group col-sm-12" style="display: flex;flex-wrap: wrap" v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '')">
183
+ <div
184
+ v-if="(row.type == 'selector' || row.type == 'radio' || row.type =='checkbox') && (row.f_path != '' || row.f_is_defect != '')"
185
+ class="form-group col-sm-12"
186
+ style="display: flex;flex-wrap: wrap">
140
187
  <div class="auto" style="margin:1px;">
141
188
  <div class="panel">
142
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
189
+ <div class="panel-body panel-self"
190
+ style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
143
191
  <div class="col-xs-6" style="height: 160px;width:160px;overflow: scroll;top: 1px">
144
- <div class="col-sm-4" v-show="row.f_path">
145
- <img-self :src="row.f_path" :alt="row.f_item_name" width="140" height="140"></img-self>
192
+ <div v-show="row.f_path" class="col-sm-4">
193
+ <img-self :alt="row.f_item_name" :src="row.f_path" height="140" width="140"></img-self>
146
194
  </div>
147
- <div class="col-sm-4" v-show="!row.f_path" @click="takePic(idxs, row.f_item_name)">
148
- <img src="../../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
195
+ <div v-show="!row.f_path" class="col-sm-4" @click="takePic(idxs, row.f_item_name)">
196
+ <img :alt="点击拍摄照片" height="140" src="../../../assets/tackpic.png" width="140"></img>
149
197
  </div>
150
- <img v-show="row.f_path" src="../../../assets/remove.png" :class="style__" @click="delfile(idxs, row.f_path)" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
198
+ <img v-if="role!='androidview'" v-show="row.f_path" :class="style__"
199
+ src="../../../assets/remove.png"
200
+ style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"
201
+ @click="delfile(idxs, row.f_path)"></img>
151
202
  </div>
152
203
  </div>
153
204
  </div>
154
205
  </div>
155
206
  <!--多张隐患照片-->
156
- <div class="auto" v-for="itemIndex in hiddenDangerImgNumber" style="margin: 1px;">
207
+ <div v-for="itemIndex in hiddenDangerImgNumber" class="auto" style="margin: 1px;">
157
208
  <div class="panel">
158
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
159
- <div class="col-xs-6" style="height: 160px;width:160px;overflow: scroll;top: 1px">
160
- <div class="col-sm-4" v-show="row['f_p' + (itemIndex+1) + '_path']">
161
- <img-self :src="row['f_p' + (itemIndex+1) + '_path']" :alt="row.f_item_name" width="140" height="140"></img-self>
209
+ <div class="panel-body panel-self"
210
+ style="background-color: #F8F8F8;width: 160px;height: 160px;position: relative">
211
+ <div class="col-xs-6" style="height: 160px;width:160px;overflow: scroll;top: 1px">
212
+ <div v-show="row['f_p' + (itemIndex+1) + '_path']" class="col-sm-4">
213
+ <img-self :alt="row.f_item_name" :src="row['f_p' + (itemIndex+1) + '_path']" height="140"
214
+ width="140"></img-self>
162
215
  </div>
163
- <div class="col-sm-4" v-show="!row['f_p' + (itemIndex+1) + '_path']" @click="takePic(idxs, row.f_item_name,'f_p' + (itemIndex+1)+ '_path')">
164
- <img src="../../../assets/tackpic.png" :alt="点击拍摄照片" width="140" height="140"></img>
216
+ <div v-show="!row['f_p' + (itemIndex+1) + '_path']" class="col-sm-4"
217
+ @click="takePic(idxs, row.f_item_name,'f_p' + (itemIndex+1)+ '_path')">
218
+ <img :alt="点击拍摄照片" height="140" src="../../../assets/tackpic.png" width="140"></img>
165
219
  </div>
166
- <img v-show="row['f_p' + (itemIndex+1)+'_path']" src="../../../assets/remove.png" :class="style__" @click="delfile(idxs,row['f_p' + (itemIndex+1)+'_path'],'f_p' + (itemIndex+1)+ '_path')" v-if="role!='androidview'" style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"></img>
167
- </div >
220
+ <img v-if="role!='androidview'" v-show="row['f_p' + (itemIndex+1)+'_path']"
221
+ :class="style__"
222
+ src="../../../assets/remove.png"
223
+ style="width: 40px;height: 40px;position: absolute;left:110px;top:110px"
224
+ @click="delfile(idxs,row['f_p' + (itemIndex+1)+'_path'],'f_p' + (itemIndex+1)+ '_path')"></img>
225
+ </div>
168
226
  </div>
169
227
  </div>
170
228
  </div>
@@ -191,370 +249,409 @@
191
249
  </div>
192
250
  </template>
193
251
  <script>
194
- import Vue from 'vue'
195
- import * as Util from '../../Util'
196
-
197
- export default {
198
- title: '维修列表信息',
199
- data() {
200
- return {
201
- // telphoneValid: '/^((0\\d{2,3}-\\d{7,8})|(1[3584]\\d{9}))$/',
202
- // meterstyle:[],
203
- hiddenDangerImgNumber:0,//隐患图片数
204
- shuclass:'col-xs-12 col-sm-12 col-md-12 form-input-group mg8',
205
- shuclass1:'col-xs-12 col-sm-12 col-md-12 mg8',
206
- // labels:[],
207
- meternum:'',
208
- ischecked:'有',
209
- gasmodel:'',
210
- textstyle:'color: red',
211
- paper: this.$parent.$parent.data,
212
- f_items:[],
213
- page:{},
214
- selectindex:null,
215
- lives:[{label: '是', value: '是'},{label: '否', value: '否'}],
216
- deals:[{label: '现场整改', value: '现场整改'},{label: '自行处理', value: '自行处理'},{label: '报修', value: '报修'},{label: '限时整改', value: '限时整改'}],
217
- f_live_dispose:'',
218
- f_deal_dispose:'报修',
219
- // 初始表底
220
- f_initial_base: {},
221
- // 气量异常差值 计算公式 => 气量异常差值 = 累计购气量 - (已用气量 - 初始表底) - 剩余气量
222
- f_gas_aberrant_number: {},
223
- // 金额异常差值 计算公式 => 金额异常差值 = 累计购金额 - 已用金额 - 剩余金额
224
- f_fee_aberrant_number: {},
225
- // 气表累购
226
- f_total_gas: {},
227
- // 累购金额
228
- f_total_fee: {},
229
- // 已用气量
230
- f_meter_base: {},
231
- // 表内剩余
232
- f_fee_base: {},
233
- //本次基数
234
- f_bc_jishu:{},
235
- //上次基数
236
- f_metergasnums:{},
237
- //周期用气
238
- f_sy_jishu:{},
239
- // 剩余气量
240
- f_gas_balance: {},
241
- // 系统金额
242
- f_balance_amount: {},
243
- // 气量异常差值允许误差
244
-
245
- //物联网表数据存储
246
- f_balance_amount:{},//物联网表剩余金额
247
- f_meter_base:{},//物联网表读数
248
- f_balance_amount1:{},//物联网表现场录入的表上剩余金额
249
- f_meter_base1:{},//物联网表现场录入的表字轮数
250
- f_meter_aberrant_number1: {},//物联网表 表数异常差值
251
- f_fee_aberrant_number1: {},//物联网 表金额异常差值
252
- gasDeviation: (
253
- function (_this) {
254
- let deviation = _this.$appdata.getSingleValue('气量异常差值允许误差')
255
- if (deviation && !isNaN(deviation)) {
256
- return deviation
257
- } else {
258
- return 0
259
- }
260
- }
261
- )(this),
262
- // 金额异常差值允许误差
263
- feeDeviation: (
264
- function (_this) {
265
- let deviation = _this.$appdata.getSingleValue('金额异常差值允许误差')
266
- if (deviation && !isNaN(deviation)) {
267
- return deviation
268
- } else {
269
- return 0
270
- }
271
- }
272
- )(this),
273
- // 字轮异常差值允许误差
274
- meterbase: (
275
- function (_this) {
276
- let deviation = _this.$appdata.getSingleValue('字轮异常差值允许误差')
277
- if (deviation && !isNaN(deviation)) {
278
- return deviation
279
- } else {
280
- return 0
281
- }
252
+ import Vue from 'vue'
253
+ import * as Util from '../../Util'
254
+
255
+ export default {
256
+ title: '维修列表信息',
257
+ data() {
258
+ return {
259
+ // telphoneValid: '/^((0\\d{2,3}-\\d{7,8})|(1[3584]\\d{9}))$/',
260
+ // meterstyle:[],
261
+ hiddenDangerImgNumber: 0,//隐患图片数
262
+ shuclass: 'col-xs-12 col-sm-12 col-md-12 form-input-group mg8',
263
+ shuclass1: 'col-xs-12 col-sm-12 col-md-12 mg8',
264
+ // labels:[],
265
+ meternum: '',
266
+ ischecked: '有',
267
+ gasmodel: '',
268
+ textstyle: 'color: red',
269
+ paper: this.$parent.$parent.data,
270
+ f_items: [],
271
+ page: {},
272
+ selectindex: null,
273
+ lives: [{label: '是', value: '是'}, {label: '否', value: '否'}],
274
+ deals: [{label: '现场整改', value: '现场整改'}, {label: '自行处理', value: '自行处理'}, {
275
+ label: '报修',
276
+ value: '报修'
277
+ }, {label: '限时整改', value: '限时整改'}, {label: '跟踪处置', value: '跟踪处置'}],
278
+ f_live_dispose: '否',
279
+ f_deal_dispose: '报修',
280
+ // 初始表底
281
+ f_initial_base: {},
282
+ // 气量异常差值 计算公式 => 气量异常差值 = 累计购气量 - (已用气量 - 初始表底) - 剩余气量
283
+ f_gas_aberrant_number: {},
284
+ // 金额异常差值 计算公式 => 金额异常差值 = 累计购金额 - 已用金额 - 剩余金额
285
+ f_fee_aberrant_number: {},
286
+ // 气表累购
287
+ f_total_gas: {},
288
+ // 累购金额
289
+ f_total_fee: {},
290
+ // 已用气量
291
+ f_meter_base: {},
292
+ // 表内剩余
293
+ f_fee_base: {},
294
+ //本次基数
295
+ f_bc_jishu: {},
296
+ //上次基数
297
+ f_metergasnums: {},
298
+ //周期用气
299
+ f_sy_jishu: {},
300
+ // 剩余气量
301
+ f_gas_balance: {},
302
+ // 系统金额
303
+ f_balance_amount: {},
304
+ f_balance_amount1: {},//物联网表现场录入的表上剩余金额
305
+ f_meter_base1: {},//物联网表现场录入的表字轮数
306
+ f_meter_aberrant_number1: {},//物联网表 表数异常差值
307
+ f_fee_aberrant_number1: {},//物联网 表金额异常差值
308
+ gasDeviation: (
309
+ function (_this) {
310
+ let deviation = _this.$appdata.getSingleValue('气量异常差值允许误差')
311
+ if (deviation && !isNaN(deviation)) {
312
+ return deviation
313
+ } else {
314
+ return 0
282
315
  }
283
- )(this),
284
- showElse:false, //控制其他选项是否显示
285
- }
286
- },
287
- props: ['config','device','idx','operation','role'],
288
- // props: {
289
- // // 维修对应的用户数据收集
290
- // model: {
291
- // type: Object
292
- // },
293
- // service:{
294
- // type: Object
295
- // },
296
- // show: {
297
- // type: Boolean,
298
- // default: false
299
- // },
300
- // repairitem:{
301
- // type: Object
302
- // },
303
- // shutype:'heng',
304
- // tabs:{
305
- // type: Object
306
- // },
307
- // repairdetails:{
308
- // type: Object
309
- // },
310
- // faultshow:{
311
- // type: Object
312
- // },
313
- // issee:''
314
- // },
315
- methods: {
316
- changse(val){
317
- if(val == undefined){
318
- return
319
316
  }
320
- if(this.selectindex != null) {
321
- if(this.f_items[this.selectindex].type == 'selector'){
322
- this.f_items[this.selectindex].f_item_value = val
323
- }else if(this.f_items[this.selectindex].type == 'inputSelector'){
324
- this.f_items[this.selectindex].f_item_value = val.target.value
317
+ )(this),
318
+ // 金额异常差值允许误差
319
+ feeDeviation: (
320
+ function (_this) {
321
+ let deviation = _this.$appdata.getSingleValue('金额异常差值允许误差')
322
+ if (deviation && !isNaN(deviation)) {
323
+ return deviation
324
+ } else {
325
+ return 0
325
326
  }
326
327
  }
327
- },
328
- changlive(val){
329
- if(val == undefined){
330
- return
331
- }
332
- if(this.selectindex != null) {
333
- this.f_items[this.selectindex].f_live_dispose = val
334
- }
335
- },
336
- changdeal(val){
337
- if(val == undefined){
338
- return
328
+ )(this),
329
+ // 字轮异常差值允许误差
330
+ meterbase: (
331
+ function (_this) {
332
+ let deviation = _this.$appdata.getSingleValue('字轮异常差值允许误差')
333
+ if (deviation && !isNaN(deviation)) {
334
+ return deviation
335
+ } else {
336
+ return 0
337
+ }
339
338
  }
340
- if(this.selectindex != null) {
341
- this.f_items[this.selectindex].f_deal_dispose = val
339
+ )(this),
340
+ showElse: false, //控制其他选项是否显示
341
+ }
342
+ },
343
+ props: ['config', 'device', 'idx', 'operation', 'role'],
344
+ // props: {
345
+ // // 维修对应的用户数据收集
346
+ // model: {
347
+ // type: Object
348
+ // },
349
+ // service:{
350
+ // type: Object
351
+ // },
352
+ // show: {
353
+ // type: Boolean,
354
+ // default: false
355
+ // },
356
+ // repairitem:{
357
+ // type: Object
358
+ // },
359
+ // shutype:'heng',
360
+ // tabs:{
361
+ // type: Object
362
+ // },
363
+ // repairdetails:{
364
+ // type: Object
365
+ // },
366
+ // faultshow:{
367
+ // type: Object
368
+ // },
369
+ // issee:''
370
+ // },
371
+ methods: {
372
+ changse(val) {
373
+ if (val == undefined) {
374
+ return
375
+ }
376
+ if (this.selectindex != null) {
377
+ if (this.f_items[this.selectindex].type == 'selector') {
378
+ this.f_items[this.selectindex].f_item_value = val
379
+ } else if (this.f_items[this.selectindex].type == 'inputSelector') {
380
+ this.f_items[this.selectindex].f_item_value = val.target.value
342
381
  }
343
- },
344
- switchDetails(detailsType, event){
345
- if (event.srcElement.checked) {
346
- for(var i = 0;i<this.Detail.details.length;i++){
347
- if(this.Detail.details[i].f_project == detailsType){
348
- this.Detail.details[i].f_content = '有'
349
- this.ischecked = '有'
350
- return
351
- }
382
+ }
383
+ },
384
+ changlive(val) {
385
+ if (val == undefined) {
386
+ return
387
+ }
388
+ if (this.selectindex != null) {
389
+ this.f_items[this.selectindex].f_live_dispose = val
390
+ }
391
+ },
392
+ changdeal(val) {
393
+ if (val == undefined) {
394
+ return
395
+ }
396
+ if (this.selectindex != null) {
397
+ this.f_items[this.selectindex].f_deal_dispose = val
398
+ }
399
+ },
400
+ switchDetails(detailsType, event) {
401
+ if (event.srcElement.checked) {
402
+ for (var i = 0; i < this.Detail.details.length; i++) {
403
+ if (this.Detail.details[i].f_project == detailsType) {
404
+ this.Detail.details[i].f_content = '有'
405
+ this.ischecked = '有'
406
+ return
352
407
  }
353
- } else {
354
- this.Detail.imgs = []
355
- for(var i = 0;i<this.Detail.details.length;i++){
356
- if(this.Detail.details[i].f_project == detailsType){
357
- this.Detail.details[i].f_content = '无'
358
- this.ischecked = '无'
359
- }else{
360
- this.Detail.details[i].f_content = ''
361
- }
408
+ }
409
+ } else {
410
+ this.Detail.imgs = []
411
+ for (var i = 0; i < this.Detail.details.length; i++) {
412
+ if (this.Detail.details[i].f_project == detailsType) {
413
+ this.Detail.details[i].f_content = '无'
414
+ this.ischecked = '无'
415
+ } else {
416
+ this.Detail.details[i].f_content = ''
362
417
  }
363
418
  }
364
- },
365
- getgasmodel(val){
366
- this.gasmodel = val
367
- },
368
- getradios(val,flag){
369
- let Reoptions = []
370
- for (let i = 0;i<this.repairdetails.length;i++) {
371
- var t = false
372
- if(this.repairdetails[i].f_type == this.repairitem.header ){
373
- for(var j =0;j<this.repairdetails[i].details.length;j++){
374
- if(this.repairdetails[i].details[j].f_project == val ){
375
- Reoptions = this.repairdetails[i].details[j].options
376
- t = true
377
- break
378
- }
419
+ }
420
+ },
421
+ getgasmodel(val) {
422
+ this.gasmodel = val
423
+ },
424
+ getradios(val, flag) {
425
+ let Reoptions = []
426
+ for (let i = 0; i < this.repairdetails.length; i++) {
427
+ var t = false
428
+ if (this.repairdetails[i].f_type == this.repairitem.header) {
429
+ for (var j = 0; j < this.repairdetails[i].details.length; j++) {
430
+ if (this.repairdetails[i].details[j].f_project == val) {
431
+ Reoptions = this.repairdetails[i].details[j].options
432
+ t = true
433
+ break
379
434
  }
380
435
  }
381
- if(t){
382
- break
383
- }
384
436
  }
385
- for(let j = 0;j<Reoptions.length;j++){
386
- if(Reoptions[j].data == flag){
387
- for(var e = 0;e<this.Detail.details.length;e++){
388
- if(this.Detail.details[e].f_project == val){
389
- this.Detail.details[e].f_status = Reoptions[j].f_status
390
- return
391
- }
437
+ if (t) {
438
+ break
439
+ }
440
+ }
441
+ for (let j = 0; j < Reoptions.length; j++) {
442
+ if (Reoptions[j].data == flag) {
443
+ for (var e = 0; e < this.Detail.details.length; e++) {
444
+ if (this.Detail.details[e].f_project == val) {
445
+ this.Detail.details[e].f_status = Reoptions[j].f_status
446
+ return
392
447
  }
393
- break
394
448
  }
449
+ break
395
450
  }
396
- },
397
- deletedetails(){
398
- this.$showMessage('该操作会删除所填信息,是否继续!', ['confirm', 'cancel']).then((res) => {
399
- if (res === 'confirm') {
400
- for(var i = 0;i<this.tabs.length;i++){
401
- if(this.tabs[i].number == this.repairitem.number){
402
- this.tabs.splice(i, 1)
403
- this.model.servicerepair.splice(this.repairitem.number, 1)
404
- for(let t = i;t < this.tabs.length;t++ ) {
405
- this.tabs[t].number -= 1
406
- }
407
- return
451
+ }
452
+ },
453
+ deletedetails() {
454
+ this.$showMessage('该操作会删除所填信息,是否继续!', ['confirm', 'cancel']).then((res) => {
455
+ if (res === 'confirm') {
456
+ for (var i = 0; i < this.tabs.length; i++) {
457
+ if (this.tabs[i].number == this.repairitem.number) {
458
+ this.tabs.splice(i, 1)
459
+ this.model.servicerepair.splice(this.repairitem.number, 1)
460
+ for (let t = i; t < this.tabs.length; t++) {
461
+ this.tabs[t].number -= 1
408
462
  }
463
+ return
409
464
  }
410
465
  }
411
- })
412
- },
413
- takePic(prop, title, pathname='null') {
414
- if (this.role == 'androidview') {
415
- return
416
466
  }
417
- HostApp.__callback__ = this.cameraCallBack
418
- HostApp.__this__ = this
419
- //tag
420
- let fileName
421
- if (pathname == 'null') {
422
- if (!this.f_items[prop].f_path || this.f_items[prop].f_path.includes("nopic.png")) {
423
- fileName = Util.guid() + '-' + 'device'+this.device.n + '-' + this.idx + '-'+'f_items'+prop+ '.jpg'
424
- } else {
425
- fileName = Util.getFileName(this.f_items[prop].f_path)
426
- }
467
+ })
468
+ },
469
+ takePic(prop, title, pathname = 'null') {
470
+ if (this.role == 'androidview') {
471
+ return
472
+ }
473
+ HostApp.__callback__ = this.cameraCallBack
474
+ HostApp.__this__ = this
475
+ //tag
476
+ let fileName
477
+ if (pathname == 'null') {
478
+ if (!this.f_items[prop].f_path || this.f_items[prop].f_path.includes("nopic.png")) {
479
+ fileName = Util.guid() + '-' + 'device' + this.device.n + '-' + this.idx + '-' + 'f_items' + prop + '.jpg'
427
480
  } else {
428
- if (!this.f_items[prop][pathname] || this.f_items[prop][pathname].includes("nopic.png")) {
429
- fileName = Util.guid() + '-' + 'device'+this.device.n + '-' + this.idx + '-'+'f_items'+prop+ '.jpg'
430
- } else {
431
- fileName = Util.getFileName(this.f_items[prop][pathname])
432
- }
481
+ fileName = Util.getFileName(this.f_items[prop].f_path)
482
+ }
483
+ } else {
484
+ if (!this.f_items[prop][pathname] || this.f_items[prop][pathname].includes("nopic.png")) {
485
+ fileName = Util.guid() + '-' + 'device' + this.device.n + '-' + this.idx + '-' + 'f_items' + prop + '.jpg'
486
+ } else {
487
+ fileName = Util.getFileName(this.f_items[prop][pathname])
433
488
  }
434
- console.log('fileName === >' + fileName)
435
- console.log('prop === >' + prop)
436
- let addressA = "未获取到地址";
437
- try {
438
- let posaddress= HostApp.getGpsDetailAddress(); //获取当前地址信息
439
- console.log("---------地址:"+JSON.stringify(addressA))
440
- addressA = posaddress.address
441
- this.f_items[prop].f_longitude=posaddress.longitude
442
- this.f_items[prop].f_latitude=posaddress.latitude
443
- } catch (e) {
444
- console.error('拍照时调用android端获取地址信息错误')
489
+ }
490
+ console.log('fileName === >' + fileName)
491
+ console.log('prop === >' + prop)
492
+ let addressA = "未获取到地址";
493
+ try {
494
+ let posaddress = HostApp.getGpsDetailAddress(); //获取当前地址信息
495
+ console.log("---------地址:" + JSON.stringify(addressA))
496
+ addressA = posaddress.address
497
+ this.f_items[prop].f_longitude = posaddress.longitude
498
+ this.f_items[prop].f_latitude = posaddress.latitude
499
+ } catch (e) {
500
+ console.error('拍照时调用android端获取地址信息错误')
501
+ }
502
+ HostApp._open_a_page({
503
+ type: 'boomerang',
504
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
505
+ param: {
506
+ file: fileName,
507
+ requestCode: 111,
508
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s","' + pathname + '");',
509
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
445
510
  }
446
- HostApp._open_a_page({type: 'boomerang',
447
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
448
- param: {file: fileName, requestCode: 111, callback:'javascript:HostApp.__callback__("'+ prop +'", "%s","'+pathname+'");', watermark: title + '\t时间:'+ Util.toStandardTimeString() + '\t' + Vue.user.name}
449
- })
450
- },
451
- cameraCallBack(prop, fileName,pathname) {
511
+ })
512
+ },
513
+ cameraCallBack(prop, fileName, pathname) {
514
+ //tag
515
+ if (pathname == 'null') {
516
+ //tag
517
+ HostApp.__this__.$set('f_items[' + prop + '].f_path', fileName + '?' + Math.random())
518
+ //tag
519
+ HostApp.__callback__ = null
520
+ HostApp.__this__ = null
521
+ } else {
522
+ //tag
523
+
524
+ HostApp.__this__.$set('f_items[' + prop + '].' + pathname + '', fileName + '?' + Math.random())
525
+ HostApp.__callback__ = null
526
+ HostApp.__this__ = null
527
+ }
528
+ },
529
+ delfile(prop, fileName, pathname = 'null') {
530
+ if (pathname == 'null') {
452
531
  //tag
453
- if (pathname == 'null') {
454
- //tag
455
- HostApp.__this__.$set( 'f_items['+prop+'].f_path', fileName + '?' + Math.random())
456
- //tag
457
- HostApp.__callback__ = null
458
- HostApp.__this__ = null
532
+
533
+ if (fileName == Vue.nopic) {
534
+
459
535
  } else {
460
- //tag
461
- //tag)
462
- HostApp.__this__.$set( 'f_items['+prop+'].'+pathname+'', fileName + '?' + Math.random())
463
- HostApp.__callback__ = null
464
- HostApp.__this__ = null
536
+ HostApp.delfile(fileName)
537
+ this.f_items[prop].f_path = Vue.nopic
465
538
  }
466
- },
467
- delfile(prop, fileName, pathname='null') {
468
- if (pathname == 'null') {
469
- //tag
470
- //tag)
471
- if(fileName == Vue.nopic){
472
- return
473
- } else {
474
- HostApp.delfile(fileName)
475
- this.f_items[prop].f_path = Vue.nopic
476
- }
477
- }else {
478
- //tag
479
- //tag)
480
- if(fileName == Vue.nopic){
481
- return
482
- } else {
483
- HostApp.delfile(fileName)
484
- this.f_items[prop][pathname] = Vue.nopic
485
- }
539
+ } else {
540
+ //tag
541
+
542
+ if (fileName == Vue.nopic) {
543
+
544
+ } else {
545
+ HostApp.delfile(fileName)
546
+ this.f_items[prop][pathname] = Vue.nopic
486
547
  }
487
- },
488
- adddetails(){
489
- // 下标作为序号,取值用。 增加 序号得依次增加
490
- if(this.tabs.length > 0){
491
- for(let i = this.tabs.length-1;i > 0 ;i-- ){
492
- if(this.tabs[i].header == this.repairitem.header){
493
- if(this.model.servicerepair.length > 0){
494
- for(let j = this.model.servicerepair.length -1;j > -1;j-- ){
495
- if(this.model.servicerepair[j].f_type == this.repairitem.header){
496
- this.model.servicerepair.splice(j+1, 0, Object.assign({}, JSON.parse(JSON.stringify(this.tabs[i].details))))
497
- this.tabs.splice(i+1, 0, {header: `${this.repairitem.header}`,details:this.tabs[i].details,complete:'repair-details',class:'repair-details-class',number:j+1,items:this.tabs[i].items})
498
- for(let t = i+2;t < this.tabs.length;t++ ) {
499
- this.tabs[t].number += 1
500
- }
501
- this.faultshow.number += this.faultshow.number + 1
502
- return
548
+ }
549
+ },
550
+ adddetails() {
551
+ // 下标作为序号,取值用。 增加 序号得依次增加
552
+ if (this.tabs.length > 0) {
553
+ for (let i = this.tabs.length - 1; i > 0; i--) {
554
+ if (this.tabs[i].header == this.repairitem.header) {
555
+ if (this.model.servicerepair.length > 0) {
556
+ for (let j = this.model.servicerepair.length - 1; j > -1; j--) {
557
+ if (this.model.servicerepair[j].f_type == this.repairitem.header) {
558
+ this.model.servicerepair.splice(j + 1, 0, Object.assign({}, JSON.parse(JSON.stringify(this.tabs[i].details))))
559
+ this.tabs.splice(i + 1, 0, {
560
+ header: `${this.repairitem.header}`,
561
+ details: this.tabs[i].details,
562
+ complete: 'repair-details',
563
+ class: 'repair-details-class',
564
+ number: j + 1,
565
+ items: this.tabs[i].items
566
+ })
567
+ for (let t = i + 2; t < this.tabs.length; t++) {
568
+ this.tabs[t].number += 1
503
569
  }
570
+ this.faultshow.number += this.faultshow.number + 1
571
+ return
504
572
  }
505
573
  }
506
574
  }
507
575
  }
508
576
  }
509
- },
510
- transelation(val){
511
- this.selectindex = val
512
- },
513
- towatch(){
514
- for(let n in this.f_items){
515
- if(typeof this.f_items[n]=='function'){
516
- continue
517
- }
518
- if(this.f_items[n].type == 'selector' || this.f_items[n].type == 'inputSelector'){
519
- // 监听下拉框,如果有隐患,需要拍照
520
- this.$watch('f_items['+n+'].selected',function(val) {
521
- // 下拉框值
522
- //tag)
523
- // 下拉框所属设备
524
- //tag
525
- // 下拉框所属项
526
- //tag
527
- let shImage = false
528
- if(val.indexOf('其他') == -1){
529
- this.f_items[n].f_else = ''
577
+ }
578
+ },
579
+ transelation(val) {
580
+ this.selectindex = val
581
+ },
582
+ towatch() {
583
+ for (let n in this.f_items) {
584
+ if (typeof this.f_items[n] == 'function') {
585
+ continue
586
+ }
587
+ if (this.f_items[n].type == 'selector' || this.f_items[n].type == 'inputSelector') {
588
+ // 监听下拉框,如果有隐患,需要拍照
589
+ this.$watch('f_items[' + n + '].selected', function (val) {
590
+ // 下拉框值
591
+
592
+ // 下拉框所属设备
593
+ //tag
594
+ // 下拉框所属项
595
+ //tag
596
+ let shImage = false
597
+ if (val.indexOf('其他') == -1) {
598
+ this.f_items[n].f_else = ''
599
+ }
600
+ // if(this.config[this.device.device].items[item].type == 'selector'){
601
+ // this.f_items[n].f_item_value = val
602
+ // }else if(this.config[this.device.device].items[item].type == 'inputSelector'){
603
+ // this.f_items[n].f_item_value = val[0]
604
+ // }
605
+ // 在配置中查找该项
606
+ for (let item in this.config[this.device.device].items) {
607
+ if (typeof this.config[this.device.device].items[item] == 'function') {
608
+ continue
530
609
  }
531
- // if(this.config[this.device.device].items[item].type == 'selector'){
532
- // this.f_items[n].f_item_value = val
533
- // }else if(this.config[this.device.device].items[item].type == 'inputSelector'){
534
- // this.f_items[n].f_item_value = val[0]
535
- // }
536
- // 在配置中查找该项
537
- for (let item in this.config[this.device.device].items) {
538
- if(typeof this.config[this.device.device].items[item]=='function'){
539
- continue
540
- }
541
- let type = this.config[this.device.device].items[item].type
542
- let multiple = this.config[this.device.device].items[item].multiple?this.config[this.device.device].items[item].multiple:false
543
- let options = this.config[this.device.device].items[item].options
544
- if ((this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') && item == this.f_items[n].f_item_name) {
545
- for (let i in options) {
546
- if(typeof options[i]=='function'){
547
- continue
610
+ let type = this.config[this.device.device].items[item].type
611
+ let multiple = this.config[this.device.device].items[item].multiple ? this.config[this.device.device].items[item].multiple : false
612
+ let options = this.config[this.device.device].items[item].options
613
+ if ((this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') && item == this.f_items[n].f_item_name) {
614
+ for (let i in options) {
615
+ if (typeof options[i] == 'function') {
616
+ continue
617
+ }
618
+ let value
619
+ if (this.config[this.device.device].items[item].type == 'selector' && this.config[this.device.device].items[item].multiple == false) {
620
+ value = val[0]
621
+ } else if (this.config[this.device.device].items[item].type == 'inputSelector') {
622
+ value = val
623
+ }
624
+
625
+ // 如果未选择,清空图片、隐患信息等
626
+ if ((type == 'selector' && val.length == 0) || (type == 'inputSelector' && val == '')) {
627
+ this.f_items[n].f_path = ''
628
+ this.f_items[n].f_is_defect = ''
629
+ this.f_items[n].f_defect_level = ''
630
+ this.f_items[n].f_live_dispose = ''
631
+ this.f_items[n].f_deal_dispose = ''
632
+ this.f_items[n].tooltip = ''
633
+ }
634
+ if ((type == 'selector' && multiple == false && options[i].data == val[0]) || (type == 'inputSelector' && options[i].data == val) || (type == 'selector' && multiple == true && val.indexOf(options[i].data) > -1)) {
635
+ // 找到选中的项了
636
+ //tag
637
+ if (options[i].isdefect == true) {
638
+ shImage = true
548
639
  }
549
- let value
550
- if(this.config[this.device.device].items[item].type == 'selector' && this.config[this.device.device].items[item].multiple == false){
551
- value = val[0]
552
- }else if (this.config[this.device.device].items[item].type == 'inputSelector'){
553
- value = val
640
+ if (options[i].isdefect == false || this.f_items[n].f_item_value == '') {
641
+ shImage = false
554
642
  }
555
- //tag)
556
- // 如果未选择,清空图片、隐患信息等
557
- if((type == 'selector' && val.length == 0) || (type == 'inputSelector' && val == '')){
643
+ //tag
644
+ if (shImage) {
645
+ this.f_items[n].f_is_defect = true
646
+ this.f_items[n].f_defect_level = options[i].level
647
+ this.f_items[n].f_path = Vue.nopic
648
+ this.f_items[n].f_live_dispose = '否'
649
+ this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
650
+ //tag
651
+ this.f_items[n].tooltip = options[i].tooltip
652
+ //todo
653
+ this.takePic(n, this.f_items[n].f_item_name)
654
+ } else {
558
655
  this.f_items[n].f_path = ''
559
656
  this.f_items[n].f_is_defect = ''
560
657
  this.f_items[n].f_defect_level = ''
@@ -562,673 +659,637 @@
562
659
  this.f_items[n].f_deal_dispose = ''
563
660
  this.f_items[n].tooltip = ''
564
661
  }
565
- if((type == 'selector' && multiple == false && options[i].data == val[0]) || (type == 'inputSelector' && options[i].data == val) || (type == 'selector' && multiple == true && val.indexOf(options[i].data) > -1)){
566
- // 找到选中的项了
567
- //tag
568
- if(options[i].isdefect == true ){
569
- shImage = true
570
- }
571
- if(options[i].isdefect == false || this.f_items[n].f_item_value == ''){
572
- shImage = false
573
- }
574
- //tag
575
- if(shImage){
576
- this.f_items[n].f_is_defect =true
577
- this.f_items[n].f_defect_level = options[i].level
578
- this.f_items[n].f_path = Vue.nopic
579
- this.f_items[n].f_live_dispose = '否'
580
- this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal:'报修'
581
- //tag
582
- this.f_items[n].tooltip= options[i].tooltip
583
- }else{
584
- this.f_items[n].f_path = ''
585
- this.f_items[n].f_is_defect = ''
586
- this.f_items[n].f_defect_level = ''
587
- this.f_items[n].f_live_dispose = ''
588
- this.f_items[n].f_deal_dispose = ''
589
- this.f_items[n].tooltip = ''
590
- }
591
- }
592
662
  }
593
663
  }
594
664
  }
595
665
  }
596
- )
597
- // this.$watch('other',function(val){
598
- // //tag
599
- // if(this.selectindex != null) {
600
- // let index = this.f_items[this.selectindex].f_item_value.indexOf('其他')
601
- // if(index > -1){
602
- // this.f_items[this.selectindex].f_item_value.splice(index,1,this.other)
603
- // }
604
- // }
605
- //
606
- // })
607
- }else if(this.f_items[n].type == 'radio') {
608
- // 监听单选框,如果有隐患,需要拍照
609
- this.$watch('f_items[' + n + '].f_item_value', function (val) {
610
- //tag)
611
- let options = this.f_items[n].options
612
- //tag)
613
- for (let i = 0; i < options.length; i++) {
614
- //tag)
615
- // 找到选中的项了
616
- if (options[i].value == val) {
617
- // 如果有隐患,拍图片
618
- if (options[i].isdefect) {
619
- this.f_items[n].f_is_defect = true
620
- this.f_items[n].f_defect_level = options[i].level
621
- this.f_items[n].f_path = Vue.nopic
622
- this.f_items[n].f_live_dispose = '否'
623
- this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal:'报修'
624
- this.f_items[n].tooltip = options[i].tooltip
625
- //tag)
626
- return
627
- }
628
- }
629
- }
630
- this.f_items[n].f_path = ''
631
- this.f_items[n].f_is_defect = ''
632
- this.f_items[n].f_defect_level = ''
633
- this.f_items[n].f_live_dispose = ''
634
- this.f_items[n].f_deal_dispose = ''
635
- this.f_items[n].tooltip = ''
636
- })
637
- }else if(this.f_items[n].type == 'checkbox') {
638
- // 监听单选框,如果有隐患,需要拍照
639
- this.$watch('f_items[' + n + '].f_item_value', function (val) {
640
- //tag)
641
- // 如果是手动赋值,不执行下面逻辑
642
- if (this.f_items[n].isReSet) {
643
- this.f_items[n].isReSet = false
644
- return
645
- }
646
- let options = this.f_items[n].options
647
- //tag)
648
- // 取出选中项中有隐患的详细信息
649
- let selected = options.filter(item => { return val.indexOf(item.value) != -1 && item.isdefect })
650
-
651
- if(selected.length > 0){
652
- // 防止赋值无限调用
653
- this.f_items[n].isReSet = true
654
- let selectList = selected.map(item => {return item.value})
655
- // 如果选中的是非隐患项,取消选中isdefect为true的
656
- if (selectList.indexOf(val[val.length - 1]) == -1) {
657
- this.f_items[n].f_item_value = val.filter(item => {return selectList.indexOf(item) == -1})
658
- this.f_items[n].f_path = ''
659
- this.f_items[n].f_is_defect = ''
660
- this.f_items[n].f_defect_level = ''
661
- this.f_items[n].f_live_dispose = ''
662
- this.f_items[n].f_deal_dispose = ''
663
- this.f_items[n].tooltip = ''
664
- return
665
- }
666
- // 如果选中的是隐患项,取消选中isdefect为false的
667
- this.f_items[n].f_item_value = selectList
668
- // 如果第一次选择隐患项,初始化
669
- if (!this.f_items[n].f_is_defect) {
666
+ }
667
+ )
668
+ // this.$watch('other',function(val){
669
+ // //tag
670
+ // if(this.selectindex != null) {
671
+ // let index = this.f_items[this.selectindex].f_item_value.indexOf('其他')
672
+ // if(index > -1){
673
+ // this.f_items[this.selectindex].f_item_value.splice(index,1,this.other)
674
+ // }
675
+ // }
676
+ //
677
+ // })
678
+ } else if (this.f_items[n].type == 'radio') {
679
+ // 监听单选框,如果有隐患,需要拍照
680
+ this.$watch('f_items[' + n + '].f_item_value', function (val) {
681
+
682
+ let options = this.f_items[n].options
683
+
684
+ for (let i = 0; i < options.length; i++) {
685
+
686
+ // 找到选中的项了
687
+ if (options[i].value == val) {
688
+ // 如果有隐患,拍图片
689
+ if (options[i].isdefect) {
670
690
  this.f_items[n].f_is_defect = true
671
- this.f_items[n].f_defect_level = selected[0].level
691
+ this.f_items[n].f_defect_level = options[i].level
672
692
  this.f_items[n].f_path = Vue.nopic
673
693
  this.f_items[n].f_live_dispose = '否'
674
- this.f_items[n].f_deal_dispose = selected[0].deal ? selected[0].deal:'报修'
675
- //tag
676
- this.f_items[n].tooltip = selected[0].tooltip
694
+ this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
695
+ this.f_items[n].tooltip = options[i].tooltip
696
+ //todo
697
+ this.takePic(n, this.f_items[n].f_item_name)
698
+ return
677
699
  }
678
- //tag)
679
- return
680
700
  }
681
- this.f_items[n].f_path = ''
682
- this.f_items[n].f_is_defect = ''
683
- this.f_items[n].f_defect_level = ''
684
- this.f_items[n].f_live_dispose = ''
685
- this.f_items[n].f_deal_dispose = ''
686
- this.f_items[n].tooltip = ''
701
+ }
702
+ this.f_items[n].f_path = ''
703
+ this.f_items[n].f_is_defect = ''
704
+ this.f_items[n].f_defect_level = ''
705
+ this.f_items[n].f_live_dispose = ''
706
+ this.f_items[n].f_deal_dispose = ''
707
+ this.f_items[n].tooltip = ''
708
+ })
709
+ } else if (this.f_items[n].type == 'checkbox') {
710
+ // 监听单选框,如果有隐患,需要拍照
711
+ this.$watch('f_items[' + n + '].f_item_value', function (val) {
712
+
713
+ // 如果是手动赋值,不执行下面逻辑
714
+ if (this.f_items[n].isReSet) {
715
+ this.f_items[n].isReSet = false
716
+ return
717
+ }
718
+ let options = this.f_items[n].options
719
+
720
+ // 取出选中项中有隐患的详细信息
721
+ let selected = options.filter(item => {
722
+ return val.indexOf(item.value) != -1 && item.isdefect
687
723
  })
688
- }
689
- }
690
- //tag)
691
- },
692
- getjishuNumber(val){
693
- if(!this.f_bc_jishu.index || !this.f_metergasnums.index){
694
- return
724
+
725
+ if (selected.length > 0) {
726
+ // 防止赋值无限调用
727
+ this.f_items[n].isReSet = true
728
+ let selectList = selected.map(item => {
729
+ return item.value
730
+ })
731
+ // 如果选中的是非隐患项,取消选中isdefect为true的
732
+ if (selectList.indexOf(val[val.length - 1]) == -1) {
733
+ this.f_items[n].f_item_value = val.filter(item => {
734
+ return selectList.indexOf(item) == -1
735
+ })
736
+ this.f_items[n].f_path = ''
737
+ this.f_items[n].f_is_defect = ''
738
+ this.f_items[n].f_defect_level = ''
739
+ this.f_items[n].f_live_dispose = ''
740
+ this.f_items[n].f_deal_dispose = ''
741
+ this.f_items[n].tooltip = ''
742
+ return
743
+ }
744
+ // 如果选中的是隐患项,取消选中isdefect为false的
745
+ this.f_items[n].f_item_value = selectList
746
+ // 如果第一次选择隐患项,初始化
747
+ if (!this.f_items[n].f_is_defect) {
748
+ this.f_items[n].f_is_defect = true
749
+ this.f_items[n].f_defect_level = selected[0].level
750
+ this.f_items[n].f_path = Vue.nopic
751
+ this.f_items[n].f_live_dispose = '否'
752
+ this.f_items[n].f_deal_dispose = selected[0].deal ? selected[0].deal : '报修'
753
+ //tag
754
+ this.f_items[n].tooltip = selected[0].tooltip
755
+ this.takePic(n, this.f_items[n].f_item_name)
756
+ }
757
+
758
+ return
759
+ }
760
+ this.f_items[n].f_path = ''
761
+ this.f_items[n].f_is_defect = ''
762
+ this.f_items[n].f_defect_level = ''
763
+ this.f_items[n].f_live_dispose = ''
764
+ this.f_items[n].f_deal_dispose = ''
765
+ this.f_items[n].tooltip = ''
766
+ })
695
767
  }
696
- // 先清空
697
- this.f_items[this.f_sy_jishu.index].f_item_value = null
698
- if(val=='本次基数'){
699
- //周期用气 = 本次基数-上次基数
700
- this.f_items[this.f_sy_jishu.index].f_item_value= this.f_items[this.f_bc_jishu.index].f_item_value-this.f_items[this.f_metergasnums.index].f_item_value
701
- if (isNaN(this.f_items[this.f_sy_jishu.index].f_item_value)) {
702
- this.f_items[this.f_sy_jishu.index].f_item_value = null
703
- }
768
+ }
769
+
770
+ },
771
+ getjishuNumber(val) {
772
+ if (!this.f_bc_jishu.index || !this.f_metergasnums.index) {
773
+ return
774
+ }
775
+ // 先清空
776
+ this.f_items[this.f_sy_jishu.index].f_item_value = null
777
+ if (val == '本次基数') {
778
+ //周期用气 = 本次基数-上次基数
779
+ this.f_items[this.f_sy_jishu.index].f_item_value = this.f_items[this.f_bc_jishu.index].f_item_value - this.f_items[this.f_metergasnums.index].f_item_value
780
+ if (isNaN(this.f_items[this.f_sy_jishu.index].f_item_value)) {
781
+ this.f_items[this.f_sy_jishu.index].f_item_value = null
704
782
  }
705
- },
706
- getGasAberrantNumber(val) {
783
+ }
784
+ },
785
+ getGasAberrantNumber(val) {
786
+ //tag
787
+ if (!this.f_meter_base.index || !this.f_gas_balance.index) {
707
788
  //tag
708
- if(!this.f_meter_base.index || !this.f_gas_balance.index){
709
- //tag
710
- return
711
- }
712
- // 先清空
713
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
714
- this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
715
- if(val=='已用气量'){
716
- //剩余气量 = 累购-已用
717
- 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_meter_base.index].f_item_value
718
- if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
719
- this.f_items[this.f_gas_balance.index].f_item_value = null
720
- }
789
+ return
790
+ }
791
+ // 先清空
792
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
793
+ this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
794
+ if (val == '已用气量') {
795
+ //剩余气量 = 累购-已用
796
+ 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_meter_base.index].f_item_value
797
+ if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
798
+ this.f_items[this.f_gas_balance.index].f_item_value = null
721
799
  }
800
+ }
722
801
 
723
- // 只有两个值都填了才会计算
724
- if (!this.f_items[this.f_fee_base.index].f_item_value || !this.f_items[this.f_gas_balance.index].f_item_value) {
725
- return
726
- }
727
- //tag)
728
- //tag
729
- //tag
802
+ // 只有两个值都填了才会计算
803
+ if (!this.f_items[this.f_fee_base.index].f_item_value || !this.f_items[this.f_gas_balance.index].f_item_value) {
804
+ return
805
+ }
806
+
807
+ //tag
808
+ //tag
809
+
810
+ // 计算公式 => 气量异常差值 = 剩余气量 - 表内剩余
811
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_balance.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
812
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_aberrant_number.index].f_item_value.toFixed(3)
813
+ // 如果数值有误,清空结果s
814
+ if (isNaN(this.f_items[this.f_gas_aberrant_number.index].f_item_value)) {
815
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
816
+ }
817
+ //tag ===> ' + Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
818
+ //tag ===> ' + JSON.stringify(Number(this.gasDeviation)))
819
+ // 计算差值是否在范围内
820
+ // if (Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value) > Number(this.gasDeviation)) {
821
+ // this.f_items[this.f_gas_aberrant_number.index].f_is_defect = true
822
+ // }
730
823
 
731
- // 计算公式 => 气量异常差值 = 剩余气量 - 表内剩余
732
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_balance.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
733
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_aberrant_number.index].f_item_value.toFixed(3)
734
- // 如果数值有误,清空结果s
735
- if (isNaN(this.f_items[this.f_gas_aberrant_number.index].f_item_value)) {
736
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
737
- }
738
- //tag ===> ' + Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
739
- //tag ===> ' + JSON.stringify(Number(this.gasDeviation)))
740
- // 计算差值是否在范围内
741
- // if (Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value) > Number(this.gasDeviation)) {
742
- // this.f_items[this.f_gas_aberrant_number.index].f_is_defect = true
743
- // }
744
824
 
745
- //tag)
746
- },
747
- getFeeAberrantNumber(val) {
825
+ },
826
+ getFeeAberrantNumber(val) {
827
+ //tag
828
+ // 只有两个值都填了才会计算
829
+ if (!this.f_fee_base.index || !this.f_balance_amount.index) {
748
830
  //tag
749
- // 只有两个值都填了才会计算
750
- if(!this.f_fee_base.index || !this.f_balance_amount.index ){
751
- //tag
752
- if(this.f_meter_base.index || this.f_gas_balance.index || this.f_fee_base.index){
831
+ if (this.f_meter_base.index || this.f_gas_balance.index || this.f_fee_base.index) {
832
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
833
+ this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
834
+ // if(val=='已用气量'){
835
+ // //剩余气量 = 累购-已用
836
+ // 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_prior_reading.index].f_item_value
837
+ // if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
838
+ // this.f_items[this.f_gas_balance.index].f_item_value = null
839
+ // }
840
+ // }
841
+ // 只有两个值都填了才会计算
842
+ // if (!this.f_items[this.f_table_base.index].f_item_value || !this.f_items[this.f_gas_balance.index].f_item_value) {
843
+ // return
844
+ // }
845
+ // 计算公式 => 气量异常差值 = 剩余气量 - 表内剩余
846
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_total_gas.index].f_item_value - this.f_items[this.f_meter_base.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
847
+ this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_aberrant_number.index].f_item_value.toFixed(3)
848
+ // 如果数值有误,清空结果s
849
+ if (isNaN(this.f_items[this.f_gas_aberrant_number.index].f_item_value)) {
753
850
  this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
754
- this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
755
- // if(val=='已用气量'){
756
- // //剩余气量 = 累购-已用
757
- // 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_prior_reading.index].f_item_value
758
- // if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
759
- // this.f_items[this.f_gas_balance.index].f_item_value = null
760
- // }
761
- // }
762
- // 只有两个值都填了才会计算
763
- // if (!this.f_items[this.f_table_base.index].f_item_value || !this.f_items[this.f_gas_balance.index].f_item_value) {
764
- // return
765
- // }
766
- // 计算公式 => 气量异常差值 = 剩余气量 - 表内剩余
767
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_meter_base.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
768
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = this.f_items[this.f_gas_aberrant_number.index].f_item_value.toFixed(3)
769
- // 如果数值有误,清空结果s
770
- if (isNaN(this.f_items[this.f_gas_aberrant_number.index].f_item_value)) {
771
- this.f_items[this.f_gas_aberrant_number.index].f_item_value = null
772
- }
773
- return
774
- }else{
775
- return
776
851
  }
852
+ return
853
+ } else {
854
+ return
777
855
  }
778
- // 先清空
856
+ }
857
+ // 先清空
858
+ this.f_items[this.f_fee_aberrant_number.index].f_item_value = null
859
+ this.f_items[this.f_fee_aberrant_number.index].f_is_defect = false
860
+ //
861
+ // if(val=='表内剩余'){
862
+ // this.f_items[this.f_fee_balance.index].f_item_value=this.f_items[this.f_total_fee.index].f_item_value-this.f_items[this.f_fee_base.index].f_item_value
863
+ // if (isNaN(this.f_items[this.f_fee_balance.index].f_item_value)) {
864
+ // this.f_items[this.f_fee_balance.index].f_item_value = null
865
+ // }
866
+ // }
867
+ //
868
+ // if (!this.f_items[this.f_fee_base.index].f_item_value || !this.f_items[this.f_fee_balance.index].f_item_value) {
869
+ // return
870
+ // }
871
+
872
+ // 计算公式 => 金额异常差值 = 系统金额 (f_balance_amount 系统已有)- 表内剩余(f_fee_base 客户填)
873
+ this.f_items[this.f_fee_aberrant_number.index].f_item_value = this.f_items[this.f_balance_amount.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
874
+ this.f_items[this.f_fee_aberrant_number.index].f_item_value = this.f_items[this.f_fee_aberrant_number.index].f_item_value.toFixed(3)
875
+ if (isNaN(this.f_items[this.f_fee_aberrant_number.index].f_item_value)) {
779
876
  this.f_items[this.f_fee_aberrant_number.index].f_item_value = null
780
- this.f_items[this.f_fee_aberrant_number.index].f_is_defect = false
781
- //
782
- // if(val=='表内剩余'){
783
- // this.f_items[this.f_fee_balance.index].f_item_value=this.f_items[this.f_total_fee.index].f_item_value-this.f_items[this.f_fee_base.index].f_item_value
784
- // if (isNaN(this.f_items[this.f_fee_balance.index].f_item_value)) {
785
- // this.f_items[this.f_fee_balance.index].f_item_value = null
786
- // }
787
- // }
788
- //
789
- // if (!this.f_items[this.f_fee_base.index].f_item_value || !this.f_items[this.f_fee_balance.index].f_item_value) {
790
- // return
791
- // }
877
+ }
878
+ //tag ===> ' + Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value))
879
+ //tag ===> ' + JSON.stringify(Number(this.feeDeviation)))
880
+ // 计算差值是否在范围内
881
+ // if (Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value) > Number(this.feeDeviation)) {
882
+ // this.f_items[this.f_fee_aberrant_number.index].f_is_defect = true
883
+ // }
792
884
 
793
- // 计算公式 => 金额异常差值 = 系统金额 (f_balance_amount 系统已有)- 表内剩余(f_fee_base 客户填)
794
- this.f_items[this.f_fee_aberrant_number.index].f_item_value = this.f_items[this.f_balance_amount.index].f_item_value - this.f_items[this.f_fee_base.index].f_item_value
795
- this.f_items[this.f_fee_aberrant_number.index].f_item_value = this.f_items[this.f_fee_aberrant_number.index].f_item_value.toFixed(3)
796
- if (isNaN(this.f_items[this.f_fee_aberrant_number.index].f_item_value)) {
797
- this.f_items[this.f_fee_aberrant_number.index].f_item_value = null
798
- }
799
- //tag ===> ' + Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value))
800
- //tag ===> ' + JSON.stringify(Number(this.feeDeviation)))
801
- // 计算差值是否在范围内
802
- // if (Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value) > Number(this.feeDeviation)) {
803
- // this.f_items[this.f_fee_aberrant_number.index].f_is_defect = true
804
- // }
805
885
 
806
- //tag)
807
- },
808
- //物联网表字轮数改变触发
809
- getmeteraberrantnumber() {
810
- //tag
886
+ },
887
+ //物联网表字轮数改变触发
888
+ getmeteraberrantnumber() {
889
+ //tag
811
890
 
812
- // 先清空
891
+ // 先清空
892
+ this.f_items[this.f_meter_aberrant_number1.index].f_item_value = null
893
+ this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = false
894
+ //tag
895
+ // 只有两个值都填了才会计算
896
+ if (!this.f_items[this.f_meter_base.index].f_item_value || !this.f_items[this.f_meter_base1.index].f_item_value) {
897
+ return
898
+ }
899
+ //tag
900
+ // 计算公式 => 表数异常差值= - 字轮数 - 后台表读数
901
+ this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_base1.index].f_item_value - this.f_items[this.f_meter_base.index].f_item_value
902
+ this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_aberrant_number1.index].f_item_value.toFixed(3)
903
+ if (isNaN(this.f_items[this.f_meter_aberrant_number1.index].f_item_value)) {
813
904
  this.f_items[this.f_meter_aberrant_number1.index].f_item_value = null
814
- this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = false
815
- //tag
816
- // 只有两个值都填了才会计算
817
- if (!this.f_items[this.f_meter_base.index].f_item_value || !this.f_items[this.f_meter_base1.index].f_item_value) {
818
- return
819
- }
820
- //tag
821
- // 计算公式 => 表数异常差值= - 字轮数 - 后台表读数
822
- this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_base1.index].f_item_value - this.f_items[this.f_meter_base.index].f_item_value
823
- this.f_items[this.f_meter_aberrant_number1.index].f_item_value = this.f_items[this.f_meter_aberrant_number1.index].f_item_value.toFixed(3)
824
- if (isNaN(this.f_items[this.f_meter_aberrant_number1.index].f_item_value)) {
825
- this.f_items[this.f_meter_aberrant_number1.index].f_item_value = null
826
- }
827
- //tag ===> ' + Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value))
828
- // 计算差值是否在范围内
829
- //tag)
830
- if (Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value) > Number(this.meterbase)){
831
- this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = true
832
- }
905
+ }
906
+ //tag ===> ' + Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value))
907
+ // 计算差值是否在范围内
908
+
909
+ if (Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value) > Number(this.meterbase)) {
910
+ this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = true
911
+ }
912
+
913
+
914
+ },
915
+
916
+ disSelect(index, itemValue) {
833
917
 
834
- //tag)
835
- },
836
918
 
837
- disSelect(index, itemValue) {
838
- //tag)
839
- //tag)
840
- if (this.f_items[index].f_item_value == itemValue) {
841
- this.$set(`f_items[${index}].f_item_value`, '')
919
+ if (this.f_items[index].f_item_value == itemValue) {
920
+ this.$set(`f_items[${index}].f_item_value`, '')
921
+ }
922
+ }
923
+ },
924
+ ready() {
925
+ //tag
926
+ //tag
927
+ if (Vue.config.safecheck != undefined) {
928
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
929
+ if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
930
+ this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
931
+ }
932
+ if (Vue.config.safecheck.ApproveConfig.dealdispose != undefined) {
933
+ this.dealdispose = Vue.config.safecheck.ApproveConfig.dealdispose
934
+ }
935
+ if (Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
936
+ if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
937
+ this.hiddenDangerImgNumber = 3
938
+ } else {
939
+ this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
940
+ }
842
941
  }
843
942
  }
844
- },
845
- ready() {
846
- //tag
847
- //tag
848
- if(Vue.config.safecheck != undefined){
849
- if(Vue.config.safecheck.ApproveConfig != undefined){
850
- if(Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
851
- this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
943
+ }
944
+ //创建页面所需数据
945
+ this.$set('piece', this.paper['device' + this.device.n][this.idx])
946
+ let n = 0
947
+ for (let item in this.config[this.device.device].items) {
948
+ if (typeof this.config[this.device.device].items[item] == 'function') {
949
+ continue
950
+ }
951
+ let index = this.config[this.device.device].items[item].index - 1
952
+ this.$set('page.options' + index, [])
953
+ // 先根据配置组接页面
954
+ let f_item_value
955
+ if (this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'checkbox') {
956
+ f_item_value = []
957
+ // 判断选项的默认值
958
+ for (let defitem in this.config[this.device.device].items[item].options) {
959
+ if (typeof this.config[this.device.device].items[item].options[defitem] == 'function') {
960
+ continue
852
961
  }
853
- if(Vue.config.safecheck.ApproveConfig.dealdispose != undefined) {
854
- this.dealdispose = Vue.config.safecheck.ApproveConfig.dealdispose
962
+ let defopt = this.config[this.device.device].items[item].options[defitem]
963
+ if (defopt.isdefault) {
964
+ //tag
965
+ f_item_value[0] = defopt.data
855
966
  }
856
- if(Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
857
- if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
858
- this.hiddenDangerImgNumber = 3
859
- }else {
860
- this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
861
- }
967
+ }
968
+ // if(this.config[this.device.device].items[item].data){
969
+ // f_item_value.push(this.config[this.device.device].items[item].data)
970
+ // }
971
+ } else if (this.config[this.device.device].items[item].type == 'radio') {
972
+ //为radio添加默认值
973
+ f_item_value = ''
974
+
975
+ for (let defitem in this.config[this.device.device].items[item].options) {
976
+ if (typeof this.config[this.device.device].items[item].options[defitem] == 'function') {
977
+ continue
978
+ }
979
+
980
+ let defopt = this.config[this.device.device].items[item].options[defitem]
981
+ if (defopt.isdefault) {
982
+
983
+ f_item_value = defopt.data
862
984
  }
863
985
  }
986
+ } else {
987
+ f_item_value = this.config[this.device.device].items[item].data ? this.config[this.device.device].items[item].data : ''
864
988
  }
865
- //tag
866
- //tag)
867
- //tag)
868
- //tag)
869
- //创建页面所需数据
870
- this.$set('piece', this.paper['device'+this.device.n][this.idx])
871
- //tag)
872
- //tag)
873
- let n = 0
874
- for (let item in this.config[this.device.device].items) {
875
- if(typeof this.config[this.device.device].items[item]=='function'){
876
- continue
989
+
990
+ let it = {
991
+ type: this.config[this.device.device].items[item].type,
992
+ f_item_name: item,
993
+ checkmust: this.config[this.device.device].items[item].checkmust,
994
+ f_item_value: f_item_value,
995
+ f_is_defect: '',
996
+ multiple: this.config[this.device.device].items[item].multiple == true ? this.config[this.device.device].items[item].multiple : false,
997
+ f_repair_department: this.config[this.device.device].items[item].repairDepartment ? this.config[this.device.device].items[item].repairDepartment : '',
998
+ f_deal_dispose: this.config[this.device.device].items[item].dealDispose ? this.config[this.device.device].items[item].dealDispose : '',
999
+ f_handle_date: '',
1000
+ f_block_pitfall: this.config[this.device.device].items[item].blockPitfall ? this.config[this.device.device].items[item].blockPitfall : '否',
1001
+ f_lose_efficacy: this.config[this.device.device].items[item].loseEfficacy ? this.config[this.device.device].items[item].loseEfficacy : '',
1002
+ isshow: this.config[this.device.device].items[item].isshow == false ? this.config[this.device.device].items[item].isshow : true,
1003
+ readonly: this.config[this.device.device].items[item].readonly == true ? true : false,
1004
+ remark: this.config[this.device.device].items[item].remark ? this.config[this.device.device].items[item].remark : '',
1005
+ f_path: '',
1006
+ unit: this.config[this.device.device].items[item].unit ? this.config[this.device.device].items[item].unit : '',
1007
+ tooltip: '',
1008
+ f_live_dispose: '',
1009
+ f_else: '',
1010
+ f_p1_path: '',
1011
+ f_p2_path: '',
1012
+ f_p3_path: '',
1013
+ f_longitude: '',
1014
+ f_defect_remark: '',
1015
+ f_latitude: ''
1016
+ }
1017
+ this.$set('f_items[' + index + ']', it)
1018
+ if (this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') {
1019
+ if (this.config[this.device.device].items[item].type == 'selector') {
1020
+ this.page['options' + index].push({
1021
+ label: "请选择",
1022
+ value: ''
1023
+ })
877
1024
  }
878
- let index = this.config[this.device.device].items[item].index-1
879
- this.$set('page.options' + index, [])
880
- //tag)
881
- //tag)
882
- //tag)
883
- // 先根据配置组接页面
884
- let f_item_value
885
- if(this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'checkbox'){
886
- f_item_value = []
887
- // 判断选项的默认值
888
- for (let defitem in this.config[this.device.device].items[item].options) {
889
- if(typeof this.config[this.device.device].items[item].options[defitem]=='function'){
890
- continue
891
- }
892
- let defopt = this.config[this.device.device].items[item].options[defitem]
893
- if (defopt.isdefault) {
894
- //tag
895
- f_item_value[0] = defopt.data
896
- }
1025
+ for (let i in this.config[this.device.device].items[item].options) {
1026
+ if (typeof this.config[this.device.device].items[item].options[i] == 'function') {
1027
+ continue
897
1028
  }
898
- // if(this.config[this.device.device].items[item].data){
899
- // f_item_value.push(this.config[this.device.device].items[item].data)
900
- // }
901
- }else if(this.config[this.device.device].items[item].type == 'radio'){
902
- //为radio添加默认值
903
- f_item_value=''
904
- //tag)
905
- for (let defitem in this.config[this.device.device].items[item].options) {
906
- if(typeof this.config[this.device.device].items[item].options[defitem]=='function'){
907
- continue
908
- }
909
- //tag)
910
- let defopt = this.config[this.device.device].items[item].options[defitem]
911
- if (defopt.isdefault) {
912
- //tag)
913
- f_item_value = defopt.data
914
- }
1029
+ this.page['options' + index].push({
1030
+ label: this.config[this.device.device].items[item].options[i].data,
1031
+ value: this.config[this.device.device].items[item].options[i].data,
1032
+ tooltip: this.config[this.device.device].items[item].options[i].tooltip,
1033
+ deal: this.config[this.device.device].items[item].options[i].deal
1034
+ })
1035
+ }
1036
+ if (this.config[this.device.device].items[item].type == 'selector') {
1037
+ this.$set('f_items[' + index + '].selected', f_item_value)
1038
+ } else if (this.config[this.device.device].items[item].type == 'inputSelector') {
1039
+ this.$set('f_items[' + index + '].selected', f_item_value)
1040
+ }
1041
+ this.$set('f_items[' + index + '].options', this.page['options' + index])
1042
+ } else if (this.config[this.device.device].items[item].type == 'radio' || this.config[this.device.device].items[item].type == 'checkbox') {
1043
+ for (let i in this.config[this.device.device].items[item].options) {
1044
+ if (typeof this.config[this.device.device].items[item].options[i] == 'function') {
1045
+ continue
915
1046
  }
916
- }else{
917
- f_item_value = this.config[this.device.device].items[item].data ? this.config[this.device.device].items[item].data : ''
1047
+ this.page['options' + index].push({
1048
+ label: this.config[this.device.device].items[item].options[i].data,
1049
+ value: this.config[this.device.device].items[item].options[i].data,
1050
+ isdefect: this.config[this.device.device].items[item].options[i].isdefect,
1051
+ level: this.config[this.device.device].items[item].options[i].level,
1052
+ tooltip: this.config[this.device.device].items[item].options[i].tooltip,
1053
+ deal: this.config[this.device.device].items[item].options[i].deal
1054
+ })
918
1055
  }
919
- //tag)
920
- let it = {
921
- type: this.config[this.device.device].items[item].type,
922
- f_item_name: item,
923
- checkmust: this.config[this.device.device].items[item].checkmust,
924
- f_item_value: f_item_value,
925
- f_is_defect: '',
926
- multiple:this.config[this.device.device].items[item].multiple == true?this.config[this.device.device].items[item].multiple:false,
927
- isshow:this.config[this.device.device].items[item].isshow == false?this.config[this.device.device].items[item].isshow:true,
928
- readonly: this.config[this.device.device].items[item].readonly == true?true:false,
929
- remark: this.config[this.device.device].items[item].remark ? this.config[this.device.device].items[item].remark : '',
930
- f_path: '',
931
- unit: this.config[this.device.device].items[item].unit ? this.config[this.device.device].items[item].unit : '',
932
- tooltip:'',
933
- f_live_dispose:'',
934
- f_deal_dispose:'',
935
- f_else: '',
936
- f_p1_path: '',
937
- f_p2_path: '',
938
- f_p3_path: '',
939
- f_longitude:'',
940
- f_defect_remark:'',
941
- f_latitude:''
1056
+ this.$set('f_items[' + index + '].options', this.page['options' + index])
1057
+ this.$set('f_items[' + index + '].f_item_value', f_item_value)
1058
+ }
1059
+ n = n + 1
1060
+ }
1061
+ if (JSON.stringify(this.piece) == '{}') {
1062
+ // 如果没有,则新建
1063
+ this.$set('piece.f_items', this.f_items)
1064
+ this.$set('piece.f_device_type', this.device.device)
1065
+ } else {
1066
+ // 已经存在,把之前的数据重新填入
1067
+ for (let f in this.f_items) {
1068
+ if (typeof this.f_items[f] == 'function') {
1069
+ continue
942
1070
  }
943
- //tag)
944
- //tag)
945
- this.$set('f_items['+index+']',it)
946
- if (this.config[this.device.device].items[item].type == 'selector' ||this.config[this.device.device].items[item].type == 'inputSelector') {
947
- if(this.config[this.device.device].items[item].type == 'selector'){
948
- this.page['options' + index].push({
949
- label: "请选择",
950
- value: ''
951
- })
1071
+ for (let p in this.piece.f_items) {
1072
+ if (typeof this.piece.f_items[p] == 'function') {
1073
+ continue
952
1074
  }
953
- for (let i in this.config[this.device.device].items[item].options) {
954
- if(typeof this.config[this.device.device].items[item].options[i]=='function'){
955
- continue
1075
+ if (this.f_items[f].f_item_name == this.piece.f_items[p].f_item_name) {
1076
+ this.f_items[f] = Object.assign(this.f_items[f], this.piece.f_items[p])
1077
+ if (this.f_items[f].type == 'selector' || this.f_items[f].type == 'inputSelector') {
1078
+ this.f_items[f].selected = this.piece.f_items[p].f_item_value
956
1079
  }
957
- this.page['options' + index].push({
958
- label: this.config[this.device.device].items[item].options[i].data,
959
- value: this.config[this.device.device].items[item].options[i].data,
960
- tooltip: this.config[this.device.device].items[item].options[i].tooltip,
961
- deal:this.config[this.device.device].items[item].options[i].deal
962
- })
963
- }
964
- if(this.config[this.device.device].items[item].type == 'selector'){
965
- this.$set('f_items['+index+'].selected', f_item_value)
966
- }else if(this.config[this.device.device].items[item].type == 'inputSelector'){
967
- this.$set('f_items['+index+'].selected', f_item_value)
968
- }
1080
+ // 取出特殊值
1081
+ if (this.f_items[f].f_item_name == '初始表底') {
1082
+
1083
+ this.f_initial_base.index = f
1084
+ } else if (this.f_items[f].f_item_name == '气表累购') {
1085
+
1086
+ this.f_total_gas.index = f
1087
+ } else if (this.f_items[f].f_item_name == '上次基数') {
1088
+
1089
+ this.f_metergasnums.index = f
1090
+ } else if (this.f_items[f].f_item_name == '本次基数') {
1091
+
1092
+ this.f_bc_jishu.index = f
1093
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1094
+ this.getjishuNumber('本次基数')
1095
+ })
1096
+ } else if (this.f_items[f].f_item_name == '周期用气') {
1097
+
1098
+ this.f_sy_jishu.index = f
1099
+ } else if (this.f_items[f].f_item_name == '已用气量') {
1100
+
1101
+ this.f_meter_base.index = f
1102
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1103
+ this.getGasAberrantNumber('已用气量')
1104
+ })
1105
+ } else if (this.f_items[f].f_item_name == '剩余气量') {
1106
+
1107
+ this.f_gas_balance.index = f
1108
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1109
+ this.getGasAberrantNumber('')
1110
+ })
1111
+ } else if (this.f_items[f].f_item_name == '气量异常差值') {
1112
+
1113
+ this.f_gas_aberrant_number.index = f
1114
+ } else if (this.f_items[f].f_item_name == '累购金额') {
1115
+
1116
+ this.f_total_fee.index = f
1117
+ } else if (this.f_items[f].f_item_name == '表内剩余') {
969
1118
 
970
- this.$set('f_items['+index+'].options',this.page['options' + index])
1119
+ this.f_fee_base.index = f
1120
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1121
+ this.getFeeAberrantNumber('表内剩余')
1122
+ })
1123
+ } else if (this.f_items[f].f_item_name == '系统金额') {
971
1124
 
972
- //tag)
973
- } else if (this.config[this.device.device].items[item].type == 'radio' || this.config[this.device.device].items[item].type == 'checkbox') {
974
- //tag)
975
- //tag
976
- //tag)
977
- for (let i in this.config[this.device.device].items[item].options) {
978
- if(typeof this.config[this.device.device].items[item].options[i]=='function'){
979
- continue
1125
+ this.f_balance_amount.index = f
1126
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1127
+ this.getFeeAberrantNumber('')
1128
+ })
1129
+ } else if (this.f_items[f].f_item_name == '金额异常差值') {
1130
+
1131
+ this.f_fee_aberrant_number.index = f
1132
+ } else if (this.f_items[f].f_item_name == '表读数') {
1133
+
1134
+ this.f_meter_base.index = f
1135
+ } else if (this.f_items[f].f_item_name == '表剩余金额') {
1136
+
1137
+ this.f_balance_amount.index = f
1138
+ } else if (this.f_items[f].f_item_name == '字轮数') {
1139
+
1140
+ this.f_meter_base1.index = f
1141
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1142
+ this.getmeteraberrantnumber()
1143
+ })
1144
+ } else if (this.f_items[f].f_item_name == '表余额') {
1145
+
1146
+ this.f_balance_amount1.index = f
1147
+ this.$watch('f_items[' + f + '].f_item_value', function () {
1148
+ this.getfeeaberrantnumber1()
1149
+ })
1150
+ } else if (this.f_items[f].f_item_name == '表数异常差值') {
1151
+
1152
+ this.f_meter_aberrant_number1.index = f
1153
+ } else if (this.f_items[f].f_item_name == '表金额异常差值') {
1154
+
1155
+ this.f_fee_aberrant_number1.index = f
980
1156
  }
981
- //tag
982
- this.page['options' + index].push({
983
- label: this.config[this.device.device].items[item].options[i].data,
984
- value: this.config[this.device.device].items[item].options[i].data,
985
- isdefect: this.config[this.device.device].items[item].options[i].isdefect,
986
- level: this.config[this.device.device].items[item].options[i].level,
987
- tooltip: this.config[this.device.device].items[item].options[i].tooltip,
988
- deal:this.config[this.device.device].items[item].options[i].deal
989
- })
990
- //tag)
991
1157
  }
992
- //tag)
993
- this.$set('f_items[' + index + '].options', this.page['options' + index])
994
- this.$set('f_items[' + index + '].f_item_value', f_item_value)
995
- //tag)
996
1158
  }
997
- n = n + 1
998
- }
999
- if(JSON.stringify(this.piece) == '{}') {
1000
- // 如果没有,则新建
1001
- this.$set('piece.f_items',this.f_items)
1002
- this.$set('piece.f_device_type',this.device.device)
1003
- } else {
1004
- // 已经存在,把之前的数据重新填入
1005
- for (let f in this.f_items){
1006
- if(typeof this.f_items[f]=='function'){
1159
+ for (let em in this.config[this.device.device].items) {
1160
+ if (typeof this.config[this.device.device].items[em] == 'function') {
1007
1161
  continue
1008
1162
  }
1009
- for(let p in this.piece.f_items) {
1010
- if(typeof this.piece.f_items[p]=='function'){
1011
- continue
1012
- }
1013
- if (this.f_items[f].f_item_name == this.piece.f_items[p].f_item_name) {
1014
- //tag)
1015
- //tag)
1016
- this.f_items[f] = Object.assign(this.f_items[f], this.piece.f_items[p])
1017
- //tag)
1018
- if (this.f_items[f].type == 'selector' || this.f_items[f].type == 'inputSelector') {
1019
- //tag)
1020
- //tag)
1021
- this.f_items[f].selected = this.piece.f_items[p].f_item_value
1022
- //tag)
1023
- }
1024
- // 取出特殊值
1025
- if (this.f_items[f].f_item_name == '初始表底') {
1026
- //tag)
1027
- this.f_initial_base.index = f
1028
- } else if (this.f_items[f].f_item_name == '气表累购') {
1029
- //tag)
1030
- this.f_total_gas.index = f
1031
- } else if (this.f_items[f].f_item_name == '上次基数') {
1032
- //tag)
1033
- this.f_metergasnums.index = f
1034
- } else if (this.f_items[f].f_item_name == '本次基数') {
1035
- //tag)
1036
- this.f_bc_jishu.index = f
1037
- this.$watch('f_items[' + f + '].f_item_value', function () {
1038
- this.getjishuNumber('本次基数')
1039
- })
1040
- } else if (this.f_items[f].f_item_name == '周期用气') {
1041
- //tag)
1042
- this.f_sy_jishu.index = f
1043
- } else if (this.f_items[f].f_item_name == '已用气量') {
1044
- //tag)
1045
- this.f_meter_base.index = f
1046
- this.$watch('f_items[' + f + '].f_item_value', function () {
1047
- this.getGasAberrantNumber('已用气量')
1048
- })
1049
- } else if (this.f_items[f].f_item_name == '剩余气量') {
1050
- //tag)
1051
- this.f_gas_balance.index = f
1052
- this.$watch('f_items[' + f + '].f_item_value', function () {
1053
- this.getGasAberrantNumber('')
1054
- })
1055
- } else if (this.f_items[f].f_item_name == '气量异常差值') {
1056
- //tag)
1057
- this.f_gas_aberrant_number.index = f
1058
- } else if (this.f_items[f].f_item_name == '累购金额') {
1059
- //tag)
1060
- this.f_total_fee.index = f
1061
- } else if (this.f_items[f].f_item_name == '表内剩余') {
1062
- //tag)
1063
- this.f_fee_base.index = f
1064
- this.$watch('f_items[' + f + '].f_item_value', function () {
1065
- this.getFeeAberrantNumber('表内剩余')
1066
- })
1067
- } else if (this.f_items[f].f_item_name == '系统金额') {
1068
- //tag)
1069
- this.f_balance_amount.index = f
1070
- this.$watch('f_items[' + f + '].f_item_value', function () {
1071
- this.getFeeAberrantNumber('')
1072
- })
1073
- } else if (this.f_items[f].f_item_name == '金额异常差值') {
1074
- //tag)
1075
- this.f_fee_aberrant_number.index = f
1076
- }else if (this.f_items[f].f_item_name == '表读数') {
1077
- //tag)
1078
- this.f_meter_base.index = f
1079
- }else if (this.f_items[f].f_item_name == '表剩余金额') {
1080
- //tag)
1081
- this.f_balance_amount.index = f
1082
- }else if (this.f_items[f].f_item_name == '字轮数') {
1083
- //tag)
1084
- this.f_meter_base1.index = f
1085
- this.$watch('f_items[' + f + '].f_item_value', function () {
1086
- this.getmeteraberrantnumber()
1087
- })
1088
- }else if (this.f_items[f].f_item_name == '表余额') {
1089
- //tag)
1090
- this.f_balance_amount1.index = f
1091
- this.$watch('f_items[' + f + '].f_item_value', function () {
1092
- this.getfeeaberrantnumber1()
1093
- })
1094
- }else if (this.f_items[f].f_item_name == '表数异常差值') {
1095
- //tag)
1096
- this.f_meter_aberrant_number1.index = f
1097
- }else if (this.f_items[f].f_item_name == '表金额异常差值') {
1098
- //tag)
1099
- this.f_fee_aberrant_number1.index = f
1100
- }
1101
- }
1102
- }
1103
- for (let em in this.config[this.device.device].items) {
1104
- if(typeof this.config[this.device.device].items[em]=='function'){
1105
- continue
1106
- }
1107
- if (this.config[this.device.device].items[em].type == 'selector' && em == this.f_items[f].f_item_name) {
1108
- this.f_items[f].options =[]
1109
- for (let k in this.config[this.device.device].items[em].options) {
1110
- if(typeof this.config[this.device.device].items[em].options[k]=='function'){
1111
- continue
1112
- }
1113
- this.f_items[f].options.push({
1114
- label: this.config[this.device.device].items[em].options[k].data,
1115
- value: this.config[this.device.device].items[em].options[k].data
1116
- })
1163
+ if (this.config[this.device.device].items[em].type == 'selector' && em == this.f_items[f].f_item_name) {
1164
+ this.f_items[f].options = []
1165
+ for (let k in this.config[this.device.device].items[em].options) {
1166
+ if (typeof this.config[this.device.device].items[em].options[k] == 'function') {
1167
+ continue
1117
1168
  }
1169
+ this.f_items[f].options.push({
1170
+ label: this.config[this.device.device].items[em].options[k].data,
1171
+ value: this.config[this.device.device].items[em].options[k].data
1172
+ })
1118
1173
  }
1119
1174
  }
1120
1175
  }
1121
- //tag)
1122
- this.$set('piece.f_items',this.f_items)
1123
1176
  }
1124
- this.towatch()
1125
- // for (let i = 0; i < this.f_items.length; i++) {
1126
- // if (this.f_items[i].f_item_name == '连接方式'){
1127
- // this.f_items[i].type = 'radio'
1128
- // }
1129
- // }
1130
- },
1131
- destroyed(){
1132
- let nullCount = 0
1133
- let metertitles
1134
- //判断当前是否有选中项
1135
- for (let row in this.f_items){
1136
- if(typeof this.f_items[row]=='function'){
1137
- continue
1138
- }
1139
- if(this.f_items[row].selected && this.f_items[row].selected != '' && this.f_items[row].selected instanceof Array){
1140
- //tag
1141
- this.f_items[row].f_item_value = this.f_items[row].selected
1142
- }else if(this.f_items[row].selected && this.f_items[row].selected != ''){
1143
- //tag
1144
- this.f_items[row].f_item_value = this.f_items[row].selected
1145
- }
1146
- // if(this.f_items[row].f_item_value instanceof Array && this.f_items[row].f_item_value.length != 0 ){
1147
- // nullCount = nullCount+1
1148
- // }else if(this.f_items[row].f_item_value != ''){
1149
- // nullCount = nullCount+1
1150
- // }
1177
+
1178
+ this.$set('piece.f_items', this.f_items)
1179
+ }
1180
+ this.towatch()
1181
+ // for (let i = 0; i < this.f_items.length; i++) {
1182
+ // if (this.f_items[i].f_item_name == '连接方式'){
1183
+ // this.f_items[i].type = 'radio'
1184
+ // }
1185
+ // }
1186
+ },
1187
+ destroyed() {
1188
+ let nullCount = 0
1189
+ let metertitles
1190
+ //判断当前是否有选中项
1191
+ for (let row in this.f_items) {
1192
+ if (typeof this.f_items[row] == 'function') {
1193
+ continue
1151
1194
  }
1152
- let picture = []
1153
- // for (let row in this.f_items){
1154
- // let a={}
1155
- // a.f_path = this.f_items[row].f_path
1156
- // a.name = this.f_items[row].f_item_name
1195
+ if (this.f_items[row].selected && this.f_items[row].selected != '' && this.f_items[row].selected instanceof Array) {
1196
+ //tag
1197
+ this.f_items[row].f_item_value = this.f_items[row].selected
1198
+ } else if (this.f_items[row].selected && this.f_items[row].selected != '') {
1199
+ //tag
1200
+ this.f_items[row].f_item_value = this.f_items[row].selected
1201
+ }
1202
+ // if(this.f_items[row].f_item_value instanceof Array && this.f_items[row].f_item_value.length != 0 ){
1203
+ // nullCount = nullCount+1
1204
+ // }else if(this.f_items[row].f_item_value != ''){
1205
+ // nullCount = nullCount+1
1157
1206
  // }
1158
- // picture.push(a)
1159
- this.$set(`paper['device${this.device.n}'][${this.idx}]`, this.piece)
1160
- //tag
1161
- },
1162
- computed:{
1163
-
1164
1207
  }
1165
- }
1208
+ let picture = []
1209
+ // for (let row in this.f_items){
1210
+ // let a={}
1211
+ // a.f_path = this.f_items[row].f_path
1212
+ // a.name = this.f_items[row].f_item_name
1213
+ // }
1214
+ // picture.push(a)
1215
+ this.$set(`paper['device${this.device.n}'][${this.idx}]`, this.piece)
1216
+ //tag
1217
+ },
1218
+ computed: {}
1219
+ }
1166
1220
  </script>
1167
1221
  <style lang="less" scoped>
1168
- .class-erro {
1169
- color: #a94442;
1170
- }
1171
- .fivelabel{
1172
- border: none;
1173
- border-left: 5px solid #A2C2EB;
1174
- float: left;
1175
- width: 35%;
1176
- margin-bottom: 3px;
1177
- text-align: left;
1178
- word-wrap: break-word;
1179
- white-space: normal;
1180
- }
1181
- .radiolabel{
1182
- border: none;
1183
- border-left: 5px solid #A2C2EB;
1184
- float: left;
1185
- width: 65%;
1186
- margin-bottom: 3px;
1187
- text-align: left;
1188
- word-wrap: break-word;
1189
- white-space: normal;
1190
- }
1191
-
1192
- .textlabel {
1193
- border: none;
1194
- border-left: 5px solid #A2C2EB;
1195
- width: 100%;
1196
- margin-bottom: 3px;
1197
- text-align: left;
1198
- word-wrap: break-word;
1199
- white-space: normal;
1200
- }
1201
- .textlabel1 {
1202
- border: none;
1203
- border-left: 5px solid #f7cb32;
1204
- width: 100%;
1205
- margin-bottom: 3px;
1206
- text-align: left;
1207
- word-wrap: break-word;
1208
- white-space: normal;
1209
- }
1210
- .spanrodio{
1211
- margin-right: 10px;
1212
- }
1213
- .div-photo{
1214
- width: auto;
1215
- height: auto;
1216
- /* margin-top: 10px; */
1217
- position: absolute;
1218
- bottom: 10px;
1219
- right: 10px;
1220
- }
1221
- .panel-self{
1222
- border-radius: 5px;
1223
- border:1px solid #c5e1f7;
1224
- //background-color: #F2F6FA;
1225
- }
1226
- .btn-photo{
1227
- border: 0;
1228
- border-radius: 7px;
1229
- background-color: #7dc1f4;
1230
- font: 15px PingFang-SC-Bold;
1231
- height: 20%;
1232
- }
1222
+ .class-erro {
1223
+ color: #a94442;
1224
+ }
1225
+
1226
+ .fivelabel {
1227
+ border: none;
1228
+ border-left: 5px solid #A2C2EB;
1229
+ float: left;
1230
+ width: 35%;
1231
+ margin-bottom: 3px;
1232
+ text-align: left;
1233
+ word-wrap: break-word;
1234
+ white-space: normal;
1235
+ }
1236
+
1237
+ .radiolabel {
1238
+ border: none;
1239
+ border-left: 5px solid #A2C2EB;
1240
+ float: left;
1241
+ width: 65%;
1242
+ margin-bottom: 3px;
1243
+ text-align: left;
1244
+ word-wrap: break-word;
1245
+ white-space: normal;
1246
+ }
1247
+
1248
+ .textlabel {
1249
+ border: none;
1250
+ border-left: 5px solid #A2C2EB;
1251
+ width: 100%;
1252
+ margin-bottom: 3px;
1253
+ text-align: left;
1254
+ word-wrap: break-word;
1255
+ white-space: normal;
1256
+ }
1257
+
1258
+ .textlabel1 {
1259
+ border: none;
1260
+ border-left: 5px solid #f7cb32;
1261
+ width: 100%;
1262
+ margin-bottom: 3px;
1263
+ text-align: left;
1264
+ word-wrap: break-word;
1265
+ white-space: normal;
1266
+ }
1267
+
1268
+ .spanrodio {
1269
+ margin-right: 10px;
1270
+ }
1271
+
1272
+ .div-photo {
1273
+ width: auto;
1274
+ height: auto;
1275
+ /* margin-top: 10px; */
1276
+ position: absolute;
1277
+ bottom: 10px;
1278
+ right: 10px;
1279
+ }
1280
+
1281
+ .panel-self {
1282
+ border-radius: 5px;
1283
+ border: 1px solid #c5e1f7;
1284
+ //background-color: #F2F6FA;
1285
+ }
1286
+
1287
+ .btn-photo {
1288
+ border: 0;
1289
+ border-radius: 7px;
1290
+ background-color: #7dc1f4;
1291
+ font: 15px PingFang-SC-Bold;
1292
+ height: 20%;
1293
+ }
1233
1294
  </style>
1234
1295