safecheck-client 3.0.34-gongyi → 3.0.35-2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1282) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.project +23 -0
  3. package/README.md +5 -1
  4. package/build/webpack.base.conf.js +91 -50
  5. package/build/webpack.dev.conf.js +20 -16
  6. package/build/webpack.prod.conf.js +37 -39
  7. package/examples/ChangeConfig/App.vue +3 -3
  8. package/examples/ChangeConfig/comp.js +67 -67
  9. package/examples/CheckAdvise/App.vue +1 -1
  10. package/examples/PhoneSafePlan/App.vue +2 -2
  11. package/examples/PhoneSafePlan/TestData.js +3 -3
  12. package/examples/SafePlan/App.vue +11 -5
  13. package/examples/SafePlan/TestData.js +3 -3
  14. package/examples/SafePlan/comp.js +67 -61
  15. package/examples/SafePlan-aode/App.vue +2 -2
  16. package/examples/SafePlan-aode/TestData.js +3 -3
  17. package/examples/SafePlan-aode/comp.js +40 -40
  18. package/examples/SafePlan-liaoyuan/App.vue +33 -4
  19. package/examples/SafePlan-liaoyuan/TestData.js +3 -3
  20. package/examples/SafePlan-liaoyuan/comp.js +67 -54
  21. package/examples/SafePlan-shaoguan/App.vue +2 -2
  22. package/examples/SafePlan-shaoguan/TestData.js +3 -3
  23. package/examples/SafePlan-shaoguan/comp.js +46 -46
  24. package/examples/SafePlan-tongchuan/App.vue +4 -4
  25. package/examples/SafePlan-tongchuan/TestData.js +3 -3
  26. package/examples/SafePlan-tongchuan/comp.js +50 -50
  27. package/examples/SafePlan-wenxi/App.vue +4 -4
  28. package/examples/SafePlan-wenxi/TestData.js +3 -3
  29. package/examples/SafePlan-wenxi/comp.js +54 -54
  30. package/examples/SafePlan-zhoukou/App.vue +4 -4
  31. package/examples/SafePlan-zhoukou/TestData.js +3 -3
  32. package/examples/SafePlan-zhoukou/comp.js +57 -57
  33. package/examples/SafePlanItem/App.vue +3 -3
  34. package/examples/SafePlanItem/TestData.js +3 -3
  35. package/examples/SafePlanItem/comp.js +1 -1
  36. package/examples/SafePlanrongcheng/App.vue +4 -3
  37. package/examples/SafePlanrongcheng/TestData.js +3 -3
  38. package/examples/SafePlanrongcheng/comp.js +47 -39
  39. package/examples/SafePlanrongcheng-gs/App.vue +2 -2
  40. package/examples/SafePlanrongcheng-gs/TestData.js +3 -3
  41. package/examples/SafePlanrongcheng-gs/comp.js +47 -39
  42. package/examples/SafePlanrongcheng-gssq/App.vue +2 -2
  43. package/examples/SafePlanrongcheng-gssq/TestData.js +3 -3
  44. package/examples/SafePlanrongcheng-gssq/comp.js +47 -39
  45. package/examples/SafePlanrongcheng-mysq/App.vue +2 -2
  46. package/examples/SafePlanrongcheng-mysq/TestData.js +3 -3
  47. package/examples/SafePlanrongcheng-mysq/comp.js +48 -40
  48. package/examples/Test/App.vue +1 -1
  49. package/examples/Test/TestData.js +5 -5
  50. package/examples/UserFiles/App.vue +4 -4
  51. package/examples/UserFiles/TestData.js +3 -3
  52. package/examples/UserFiles/comp.js +17 -17
  53. package/index.html +6 -2
  54. package/package.json +23 -9
  55. package/settings.gradle +2 -0
  56. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  57. package/src/App.vue +31 -27
  58. package/src/android.js +1 -2
  59. package/src/assets/123.png +0 -0
  60. package/src/assets/alarm.png +0 -0
  61. package/src/assets/anjince.png +0 -0
  62. package/src/assets/city_proper.png +0 -0
  63. package/src/assets/echarts6.png +0 -0
  64. package/src/assets/endPng.png +0 -0
  65. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  66. package/src/assets/firstPng.png +0 -0
  67. package/src/assets/township.png +0 -0
  68. package/src/assets/wensu/1.jpg +0 -0
  69. package/src/assets/wensu/2.jpg +0 -0
  70. package/src/assets/wensu/3.jpg +0 -0
  71. package/src/assets/wensu/4.jpg +0 -0
  72. package/src/assets/wensu/5.jpg +0 -0
  73. package/src/assets//344/270/213/350/275/275_.png +0 -0
  74. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  75. package/src/assets//345/226/207/345/217/255.png +0 -0
  76. package/src/assets//345/234/260/345/235/200.png +0 -0
  77. package/src/assets//345/234/260/345/235/200/344/277/256/346/224/271.png +0 -0
  78. package/src/assets//345/247/223/345/220/215.png +0 -0
  79. package/src/assets//345/260/217/345/214/272.png +0 -0
  80. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  81. package/src/assets//345/267/241/346/243/200/344/272/272/345/221/230.png +0 -0
  82. package/src/assets//345/272/225/346/225/260.png +0 -0
  83. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  84. package/src/assets//346/245/274/345/217/267.png +0 -0
  85. package/src/assets//346/245/274/345/261/202.png +0 -0
  86. package/src/assets//347/273/210/347/202/271.png +0 -0
  87. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  88. package/src/assets//350/265/267/347/202/271.png +0 -0
  89. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  90. package/src/bus.js +2 -0
  91. package/src/components/CheckerCount/CheckCountAreaList.vue +19 -18
  92. package/src/components/CheckerCount/CheckCountAreaManage.vue +2 -2
  93. package/src/components/CheckerCount/CheckCountUserList.vue +5 -5
  94. package/src/components/DefectDealMain/DefectListNew.vue +597 -0
  95. package/src/components/DefectDealMain/DefectMainNew.vue +63 -0
  96. package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -0
  97. package/src/components/ExportExcel.vue +17 -11
  98. package/src/components/ExportExcelOld.vue +203 -0
  99. package/src/components/LoadData.vue +62 -0
  100. package/src/components/Login.vue +4 -4
  101. package/src/components/NewDefectList/DefectListNew.vue +617 -0
  102. package/src/components/NewDefectList/DefectMainNew.vue +60 -0
  103. package/src/components/NewDefectList/DefectPaperNew.vue +1079 -0
  104. package/src/components/Test.vue +1 -1
  105. package/src/components/Util/FileUpload.vue +4 -4
  106. package/src/components/Util/ImgSelfSafe.vue +6 -6
  107. package/src/components/Util/ImgSelfSafePlus.vue +218 -0
  108. package/src/components/Util/RightTreeSafe.vue +348 -348
  109. package/src/components/Util/RightTreeSafeDep.vue +350 -0
  110. package/src/components/Util/SafecheckUpload.vue +6 -6
  111. package/src/components/Util.js +50 -8
  112. package/src/components/android/AddPlanItem.vue +242 -207
  113. package/src/components/android/AddPlanItemYy.vue +451 -0
  114. package/src/components/android/AddSpecialPlanItem.vue +426 -0
  115. package/src/components/android/AndroidDefectDeal.vue +461 -224
  116. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  117. package/src/components/android/Announcement.vue +2 -2
  118. package/src/components/android/AreaPlan.vue +83 -20
  119. package/src/components/android/AreaSelect.vue +198 -0
  120. package/src/components/android/BlackUserOnLine.vue +318 -0
  121. package/src/components/android/BuildingSelect.vue +192 -0
  122. package/src/components/android/CheckNotice.vue +3 -3
  123. package/src/components/android/CheckPlan.vue +6 -6
  124. package/src/components/android/CheckPlanDown.vue +4 -6
  125. package/src/components/android/CheckPlanItems.vue +1 -1
  126. package/src/components/android/CheckPlanList.vue +188 -0
  127. package/src/components/android/CheckPlanSelect.vue +229 -0
  128. package/src/components/android/Checkpage.vue +1 -1
  129. package/src/components/android/CivilCurrentCreate.vue +1026 -0
  130. package/src/components/android/ClockIn.vue +94 -0
  131. package/src/components/android/CurrentCreate.vue +229 -149
  132. package/src/components/android/CurrentCreateYy.vue +1051 -0
  133. package/src/components/android/CurrentCreate_new.vue +1021 -0
  134. package/src/components/android/DailyworkloadQuery.vue +287 -211
  135. package/src/components/android/Defect.vue +5 -5
  136. package/src/components/android/DeviceDefect.vue +5 -5
  137. package/src/components/android/Devices.vue +16 -16
  138. package/src/components/android/DevicesItem.vue +30 -30
  139. package/src/components/android/DevicesItemm.vue +29 -29
  140. package/src/components/android/Devicesm.vue +26 -26
  141. package/src/components/android/DoorService.vue +1 -1
  142. package/src/components/android/ExtractCheckPlan.vue +5 -5
  143. package/src/components/android/ExtractPlanItem.vue +207 -198
  144. package/src/components/android/ImgSelfAndroid.vue +181 -0
  145. package/src/components/android/Insurance/PhoneInsuranceManage.vue +44 -0
  146. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +282 -0
  147. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +288 -0
  148. package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +285 -0
  149. package/src/components/android/Insurance/TabButton.vue +149 -0
  150. package/src/components/android/Insurance/Tabs.vue +67 -0
  151. package/src/components/android/Iotinstructionsview/IoTinstruction.vue +183 -0
  152. package/src/components/android/LocalPagedList.js +3 -3
  153. package/src/components/android/LocalPathList.js +2 -2
  154. package/src/components/android/Login.vue +16 -16
  155. package/src/components/android/NewCheckpaperAndroid.vue +1362 -0
  156. package/src/components/android/NoCivilCurrentCreate.vue +1023 -0
  157. package/src/components/android/OnlineCheckByArea.vue +172 -0
  158. package/src/components/android/OnlineRepairSafe.vue +394 -0
  159. package/src/components/android/OnlineVindicate.vue +322 -0
  160. package/src/components/android/PaperAlarmNoncivil.vue +3 -3
  161. package/src/components/android/PaperCooker.vue +4 -4
  162. package/src/components/android/PaperDefect.vue +1 -1
  163. package/src/components/android/PaperDevice.vue +1 -1
  164. package/src/components/android/PaperFeedback.vue +176 -106
  165. package/src/components/android/PaperFeedbackTemp.vue +1470 -0
  166. package/src/components/android/PaperFeedbackm.vue +42 -42
  167. package/src/components/android/PaperFurnace.vue +3 -3
  168. package/src/components/android/PaperFurnaceNoncivil.vue +3 -3
  169. package/src/components/android/PaperHeater.vue +3 -3
  170. package/src/components/android/PaperInnerPlumb.vue +3 -3
  171. package/src/components/android/PaperMessage.vue +77 -77
  172. package/src/components/android/PaperMessageNocivil.vue +57 -57
  173. package/src/components/android/PaperMeter.vue +3 -3
  174. package/src/components/android/PaperMeterNoncivil.vue +3 -3
  175. package/src/components/android/PaperPieceNoncivil.vue +3 -3
  176. package/src/components/android/PaperPlumb.vue +3 -3
  177. package/src/components/android/PaperPlumbNoncivil.vue +3 -3
  178. package/src/components/android/PaperSet.vue +196 -196
  179. package/src/components/android/PaperSetNoncivil.vue +160 -160
  180. package/src/components/android/PaperState.vue +7 -7
  181. package/src/components/android/PaperStateNoncivil.vue +4 -4
  182. package/src/components/android/PaperStateNoncivilm.vue +4 -4
  183. package/src/components/android/PaperStatem.vue +10 -10
  184. package/src/components/android/PaperUser.vue +133 -157
  185. package/src/components/android/PaperUserNoncivil.vue +5 -5
  186. package/src/components/android/PaperUserm.vue +169 -159
  187. package/src/components/android/PaperValve.vue +3 -3
  188. package/src/components/android/PaperValveNoncivil.vue +3 -3
  189. package/src/components/android/PhoneChangemeterInfo.vue +5 -5
  190. package/src/components/android/PhoneRecordInfo.vue +113 -0
  191. package/src/components/android/PhoneSellInfo.vue +2 -2
  192. package/src/components/android/PhoneState.vue +1 -1
  193. package/src/components/android/PhoneUpDetail.vue +1040 -0
  194. package/src/components/android/PhoneUpUserinfo.vue +736 -435
  195. package/src/components/android/PhoneUserFind.vue +3 -3
  196. package/src/components/android/PhoneotherInfo.vue +132 -0
  197. package/src/components/android/PrearrangedPlan.vue +3 -3
  198. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  199. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  200. package/src/components/android/RelieveRestrict.vue +293 -0
  201. package/src/components/android/RepairAreaList.vue +1 -1
  202. package/src/components/android/RepairList.vue +2 -2
  203. package/src/components/android/RepairQuery.vue +2 -2
  204. package/src/components/android/ResAreaList.vue +1 -1
  205. package/src/components/android/Restriction.vue +351 -0
  206. package/src/components/android/RightTree.vue +2 -2
  207. package/src/components/android/SafePlanItem.vue +509 -0
  208. package/src/components/android/SafecheckDevices.vue +295 -140
  209. package/src/components/android/SafecheckDevicesTemp.vue +1333 -0
  210. package/src/components/android/SafecheckOrderV.vue +2805 -2408
  211. package/src/components/android/SafecheckOrderVTemp.vue +1233 -0
  212. package/src/components/android/SafecheckState.vue +9 -9
  213. package/src/components/android/SafecheckUser.vue +9 -9
  214. package/src/components/android/ShebeiDevices.vue +77 -77
  215. package/src/components/android/SwitchValve.vue +178 -85
  216. package/src/components/android/SystemSetting.vue +2 -2
  217. package/src/components/android/ToolsPage.vue +1 -1
  218. package/src/components/android/TrackState.vue +3 -3
  219. package/src/components/android/UploadPage.vue +13 -123
  220. package/src/components/android/UserinfoSelect.vue +714 -0
  221. package/src/components/android/YuYueAddPlanItem.vue +257 -0
  222. package/src/components/android/checkPlanResult.vue +1 -1
  223. package/src/components/android/examples/410.png +0 -0
  224. package/src/components/android/examples/SafeListExamples.vue +296 -0
  225. package/src/components/android/examples/UserExamples.vue +136 -0
  226. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  227. package/src/components/android/examples/touxiang.png +0 -0
  228. package/src/components/android/old/PaperFeedback.vue +41 -41
  229. package/src/components/android/recheck/Recheck.vue +402 -0
  230. package/src/components/android/safeHistoryLook.vue +474 -0
  231. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -611
  232. package/src/components/android/wasm/PhoneSafePlan.vue +4 -4
  233. package/src/components/android/wasm/TestData.js +3 -3
  234. package/src/components/attendance/DailyAttendance.vue +2 -2
  235. package/src/components/attendance/MonthlyAttendance.vue +12 -12
  236. package/src/components/callincheck/CallInCheckMain.vue +1 -1
  237. package/src/components/callincheck/CallInPlan.vue +3 -3
  238. package/src/components/callincheck/UserFileList.vue +1 -1
  239. package/src/components/checkAreaClassification.vue +13 -13
  240. package/src/components/checkplan/CheckDetail.vue +110 -110
  241. package/src/components/checkplan/CheckPlan.vue +2 -2
  242. package/src/components/checkplan/SelectCheckPlan.vue +221 -134
  243. package/src/components/checkplan/SelectMessage.vue +7 -7
  244. package/src/components/checkplan/checkmsg.vue +30 -30
  245. package/src/components/checkplan/checkmsgZG.vue +26 -26
  246. package/src/components/createcheckplan/CreatePlan.vue +31 -109
  247. package/src/components/createcheckplan/CreatePlanWuan.vue +23 -100
  248. package/src/components/createcheckplan/DelPlanRepeat.vue +13 -13
  249. package/src/components/createcheckplan/DistributePlan.vue +1 -1
  250. package/src/components/createcheckplan/PlanList.vue +14 -14
  251. package/src/components/defect/DefectDetail.vue +6 -6
  252. package/src/components/defect/DefectDetailWeixiu.vue +6 -6
  253. package/src/components/defect/DefectList.vue +24 -6
  254. package/src/components/defect/DefectListWeixiu.vue +484 -479
  255. package/src/components/defect/DefectMain.vue +2 -2
  256. package/src/components/defect/DefectMainWeixiu.vue +2 -2
  257. package/src/components/defect/DefectPaper.vue +16 -14
  258. package/src/components/defect/DefectPaperWeiXiu.vue +508 -580
  259. package/src/components/defect/ImageViewer.vue +7 -7
  260. package/src/components/defect/ImgButton.vue +162 -104
  261. package/src/components/defect/ImgButtons.vue +159 -0
  262. package/src/components/defect/ImgsButton.vue +2 -2
  263. package/src/components/defects/CheckPaperItems.vue +2 -2
  264. package/src/components/defects/CheckPaperSearch.vue +12 -12
  265. package/src/components/defects/CheckPaperSearchMain.vue +1 -1
  266. package/src/components/defects/DefectCondition.vue +1 -1
  267. package/src/components/equipment/CheckRate.vue +3 -3
  268. package/src/components/equipment/MonthCheckRate.vue +1 -1
  269. package/src/components/filialCircle/AddCircleFiliale.vue +1 -1
  270. package/src/components/inspections/AddInspectPlanItem.vue +12 -12
  271. package/src/components/inspections/AddInspectPlanItems.vue +12 -12
  272. package/src/components/inspections/AddInspectPlanItemss.vue +14 -14
  273. package/src/components/inspections/Checked.vue +3 -3
  274. package/src/components/inspections/DisplayInspectionList.vue +50 -50
  275. package/src/components/inspections/InsUploadPage.vue +12 -12
  276. package/src/components/inspections/InspectionList.vue +12 -78
  277. package/src/components/inspections/InspectionLists.vue +12 -78
  278. package/src/components/inspections/InspectionListss.vue +12 -79
  279. package/src/components/inspections/inspectionDevices.vue +65 -65
  280. package/src/components/inspections/inspectionFeedback.vue +43 -43
  281. package/src/components/inspections/inspectionOrderV.vue +193 -193
  282. package/src/components/inspections/inspectionOrderVs.vue +193 -193
  283. package/src/components/inspections/inspectionOrderVss.vue +194 -194
  284. package/src/components/inspections/inspectionUserInfo.vue +23 -23
  285. package/src/components/issueplan/IssuePlanAction.vue +1 -1
  286. package/src/components/issueplan/IssuePlanQuery.vue +2 -2
  287. package/src/components/json-editor/SafeJsonEditor.vue +26 -26
  288. package/src/components/json-editor/assets/jsoneditor-minimalist.js +35 -35
  289. package/src/components/json-editor/assets/jsoneditor.js +492 -492
  290. package/src/components/json-editor/example/App.vue +9 -9
  291. package/src/components/levelplan/AdjustPlan.vue +2 -2
  292. package/src/components/levelplan/CheckerLeft.vue +1 -1
  293. package/src/components/levelplan/CheckerPlanAdjust.vue +8 -8
  294. package/src/components/levelplan/CheckerRight.vue +2 -2
  295. package/src/components/map/AMap.vue +3 -3
  296. package/src/components/map/AMapTrailShowZk.vue +11 -4
  297. package/src/components/map/AMapTrajectory.vue +436 -0
  298. package/src/components/map/AMapTrajectoryNew.vue +390 -0
  299. package/src/components/map/FootPrintList.vue +1 -1
  300. package/src/components/map/MapCriteriaData.vue +3 -3
  301. package/src/components/map/PersonTrack.vue +224 -0
  302. package/src/components/map/checkScreen.vue +706 -547
  303. package/src/components/map/douglasPeuckerForAMap.js +88 -0
  304. package/src/components/metterfiles/MetterfilesAdd.vue +1 -1
  305. package/src/components/metterfiles/MetterfilesChange.vue +1 -1
  306. package/src/components/metterfiles/UserFiles.vue +1 -1
  307. package/src/components/metterfiles/Userfileschange.vue +1 -1
  308. package/src/components/noplan/NoPlanPaperList.vue +123 -0
  309. package/src/components/noplan/NoPlanSearchUser.vue +300 -0
  310. package/src/components/noplan/NoPlanUserInfo.vue +67 -0
  311. package/src/components/olddata/OldPaperList.vue +340 -0
  312. package/src/components/paper/PaperList.vue +790 -757
  313. package/src/components/paper/PaperVerify.vue +2 -2
  314. package/src/components/paper/PlanChooser.vue +20 -12
  315. package/src/components/pc/AddToCheckBook.vue +160 -0
  316. package/src/components/pc/AnnouncementPC.vue +9 -9
  317. package/src/components/pc/CheckBook.vue +247 -13
  318. package/src/components/pc/CheckBookArea.vue +146 -0
  319. package/src/components/pc/CheckBookCompany.vue +144 -0
  320. package/src/components/pc/CheckBookDetails.vue +194 -0
  321. package/src/components/pc/CheckBookEntry.vue +61 -0
  322. package/src/components/pc/CheckBookList.vue +375 -553
  323. package/src/components/pc/CheckBookSearchArea.vue +564 -0
  324. package/src/components/pc/CheckBookSearchUnit.vue +229 -0
  325. package/src/components/pc/CheckBookSearchUser.vue +604 -0
  326. package/src/components/pc/CheckBookSearchUserList.vue +675 -0
  327. package/src/components/pc/CheckBookUser.vue +28 -4
  328. package/src/components/pc/CheckNoDetail.vue +209 -0
  329. package/src/components/pc/CheckNoPlan.vue +55 -0
  330. package/src/components/pc/CheckPlanCountChart.vue +201 -0
  331. package/src/components/pc/DefectDeal.vue +997 -0
  332. package/src/components/pc/DefectList.vue +742 -0
  333. package/src/components/pc/DepSelector.vue +55 -0
  334. package/src/components/pc/DeviceChange.vue +82 -82
  335. package/src/components/pc/Edit.vue +126 -0
  336. package/src/components/pc/HiddenChart.vue +9 -9
  337. package/src/components/pc/LodopFuncs.js +159 -0
  338. package/src/components/pc/NewCheckpaper.vue +1943 -1306
  339. package/src/components/pc/NewCheckpaperTemp.vue +1295 -0
  340. package/src/components/pc/PaperChazhiMain.vue +12 -78
  341. package/src/components/pc/PaperDefectMain.vue +422 -140
  342. package/src/components/pc/PaperEdit.vue +151 -0
  343. package/src/components/pc/PaperVisitMain.vue +179 -0
  344. package/src/components/pc/PrintData.vue +243 -0
  345. package/src/components/pc/PrintMaterialBill.vue +155 -0
  346. package/src/components/pc/PrintTable.vue +241 -0
  347. package/src/components/pc/RoleSelector.vue +87 -49
  348. package/src/components/pc/RoleSelectorDep.vue +158 -0
  349. package/src/components/pc/SafeCheckOrder/SafeCheckOrder.vue +62 -0
  350. package/src/components/pc/SafeCheckOrder/SafeCheckOrderApplyDisposeBasics.vue +200 -0
  351. package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +214 -0
  352. package/src/components/pc/SafeCheckTree.vue +118 -0
  353. package/src/components/pc/SafeVisitHistory.vue +208 -0
  354. package/src/components/pc/SafeVisitInfo.vue +261 -0
  355. package/src/components/pc/SafecheckDeviceList.vue +260 -0
  356. package/src/components/pc/SelectCheckNoPlan.vue +278 -0
  357. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -0
  358. package/src/components/phonestate/FootprintMap.vue +5 -5
  359. package/src/components/plancheck/CheckPlanAreaManage.vue +3 -3
  360. package/src/components/plancheck/CheckPlanList.vue +5 -5
  361. package/src/components/planmanage/PlanManage.vue +843 -782
  362. package/src/components/planmanage/checkPlanList.vue +182 -154
  363. package/src/components/planmanage/checkUserList.vue +773 -691
  364. package/src/components/querycheckpaper/CheckPaperList.vue +11 -3
  365. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +12 -5
  366. package/src/components/querycheckpaper/CheckPaperSearchUserNew.vue +67 -0
  367. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1035
  368. package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -0
  369. package/src/components/querycheckpaper/PaperItems.vue +2 -2
  370. package/src/components/querycheckpaper/PaperSearchMain.vue +3 -3
  371. package/src/components/querycheckpaper/ShebeiPaperList.vue +3 -3
  372. package/src/components/querycheckpaper/ShebeiPaperSearchUser.vue +3 -3
  373. package/src/components/querycheckpaper/ShebeiSearchUser.vue +13 -13
  374. package/src/components/report/CheckByPlan.vue +118 -0
  375. package/src/components/report/CheckPlanAreaList.vue +485 -479
  376. package/src/components/report/CheckPlanAreaManage.vue +2 -2
  377. package/src/components/report/CheckPlanAreaReport.vue +122 -0
  378. package/src/components/report/CheckPlanCountChartArea.vue +120 -0
  379. package/src/components/report/CheckPlanUserList.vue +5 -5
  380. package/src/components/report/HazardStatistics.vue +114 -0
  381. package/src/components/report/HiddenSituation.vue +75 -22
  382. package/src/components/report/NoCheckplanSafecheck.vue +212 -0
  383. package/src/components/report/SafePlanSale.vue +4 -4
  384. package/src/components/report/SafePlanStatistics.vue +5 -5
  385. package/src/components/report/YinHuanBiHuan.vue +150 -0
  386. package/src/components/rongcheng/AddPlanItem.vue +13 -5
  387. package/src/components/rongcheng/AreaPlan.vue +4 -4
  388. package/src/components/rongcheng/AspPaperFeedback.vue +56 -56
  389. package/src/components/rongcheng/AspPaperStatem.vue +8 -8
  390. package/src/components/rongcheng/AspiratedAreaPlan.vue +310 -200
  391. package/src/components/rongcheng/AspiratedCurrentCreate.vue +682 -639
  392. package/src/components/rongcheng/AspiratedDevices.vue +110 -77
  393. package/src/components/rongcheng/AspiratedDistribute.vue +240 -0
  394. package/src/components/rongcheng/AspiratedOrderV.vue +209 -208
  395. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +70 -44
  396. package/src/components/rongcheng/AspiratedPaperMessage.vue +78 -78
  397. package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +57 -57
  398. package/src/components/rongcheng/AspiratedUploadPage.vue +12 -12
  399. package/src/components/rongcheng/AspiratedUserInfo.vue +12 -12
  400. package/src/components/rongcheng/CheckCurrentCreate.vue +54 -30
  401. package/src/components/rongcheng/CheckPaperAreaUser.vue +51 -0
  402. package/src/components/rongcheng/CheckPaperList.vue +3 -3
  403. package/src/components/rongcheng/CheckPaperSearchUser.vue +1 -1
  404. package/src/components/rongcheng/CheckPaperSearchUserNo.vue +1 -1
  405. package/src/components/rongcheng/CheckPlanList.vue +256 -0
  406. package/src/components/rongcheng/CheckSearchArea.vue +703 -0
  407. package/src/components/rongcheng/CheckSearchUser.vue +635 -525
  408. package/src/components/rongcheng/CheckSearchUserNo.vue +455 -434
  409. package/src/components/rongcheng/CheckUserList.vue +205 -0
  410. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -0
  411. package/src/components/rongcheng/Datepicker.vue +825 -0
  412. package/src/components/rongcheng/DefectList.vue +7 -7
  413. package/src/components/rongcheng/DefectPaper.vue +57 -19
  414. package/src/components/rongcheng/EventListener.js +29 -0
  415. package/src/components/rongcheng/ImgSelf.vue +122 -0
  416. package/src/components/rongcheng/PaperFeedback.vue +61 -61
  417. package/src/components/rongcheng/PaperListAJ.vue +5 -72
  418. package/src/components/rongcheng/PaperListNPAJ.vue +5 -72
  419. package/src/components/rongcheng/PaperListNPSQ.vue +43 -73
  420. package/src/components/rongcheng/PaperListSQ.vue +45 -84
  421. package/src/components/rongcheng/PaperMessage.vue +78 -78
  422. package/src/components/rongcheng/PaperMessageNocivil.vue +57 -57
  423. package/src/components/rongcheng/PaperStateNoncivilm.vue +35 -25
  424. package/src/components/rongcheng/PaperStatem.vue +103 -27
  425. package/src/components/rongcheng/PhoneDevicesInfo.vue +22 -7
  426. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -0
  427. package/src/components/rongcheng/SafecheckDevices.vue +128 -95
  428. package/src/components/rongcheng/SafecheckOrderV.vue +2193 -2136
  429. package/src/components/rongcheng/SafecheckOrderVCli.vue +259 -212
  430. package/src/components/rongcheng/SafecheckUserInfo.vue +587 -21
  431. package/src/components/rongcheng/UploadPage.vue +16 -16
  432. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +16 -30
  433. package/src/components/rongcheng/report/CheckPlanAreaList.vue +33 -17
  434. package/src/components/rongcheng/report/CheckPlanUserList.vue +8 -8
  435. package/src/components/safecheck/common/TabButton.vue +3 -3
  436. package/src/components/safecheck/queryManage/CheckBookAll.vue +15 -19
  437. package/src/components/safecheck/queryManage/SafeCheckManage.vue +3 -3
  438. package/src/components/safecheckNew/PaperList.vue +785 -0
  439. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  440. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  441. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  442. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  443. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  444. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
  445. package/src/components/sendsingle/EquipmentManagement.vue +27 -27
  446. package/src/components/sendsingle/onlineChangeMeter.vue +60 -60
  447. package/src/components/sendsingle/onlineoperation.vue +26 -26
  448. package/src/components/sendsingle/onlinequeryuser.vue +29 -29
  449. package/src/components/shaoguan/CheckPlanUserList.vue +6 -6
  450. package/src/components/shaoguan/DefectDetail.vue +6 -6
  451. package/src/components/shaoguan/DefectList.vue +6 -6
  452. package/src/components/shaoguan/DefectPaper.vue +2 -2
  453. package/src/components/shaoguan/PaperList.vue +12 -79
  454. package/src/components/shaoguan/SafecheckOrderV.vue +202 -202
  455. package/src/components/tongcheng/AreaPlan.vue +4 -4
  456. package/src/components/tongcheng/CurrentCreate.vue +13 -13
  457. package/src/components/tongcheng/PaperFeedback.vue +48 -48
  458. package/src/components/tongcheng/PaperMessage.vue +79 -79
  459. package/src/components/tongcheng/PaperMessageNocivil.vue +57 -57
  460. package/src/components/tongcheng/PaperSet.vue +196 -196
  461. package/src/components/tongcheng/PaperUser.vue +9 -9
  462. package/src/components/userfile/InfoModifyModal.vue +5 -3
  463. package/src/components/userfile/SecurityAudit.vue +243 -0
  464. package/src/components/userfile/UserInfoAudit.vue +106 -42
  465. package/src/components/userfile/UserinfoModify.vue +4 -0
  466. package/src/components/userfileNew/InfoModifyModal.vue +122 -0
  467. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -0
  468. package/src/components/userfileNew/UserinfoModify.vue +283 -0
  469. package/src/components/userfileNew/UserinfoModifyOld.vue +117 -0
  470. package/src/filiale/ALshan/pc/CheckSearchUser.vue +15 -15
  471. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +10 -7
  472. package/src/filiale/ALshan/pc/RoleSelector.vue +140 -0
  473. package/src/filiale/ALshan/pc/checkUserList.vue +714 -0
  474. package/src/filiale/ALshan/pc.js +2 -0
  475. package/src/filiale/Util.js +20 -8
  476. package/src/filiale/ancheng/android/NewCheckpaperAndroid.vue +1358 -0
  477. package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -0
  478. package/src/filiale/ancheng/android/SafecheckDevices.vue +1267 -0
  479. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -0
  480. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -0
  481. package/src/filiale/ancheng/android.js +14 -0
  482. package/src/filiale/ancheng/pc/NewCheckpaper.vue +1744 -0
  483. package/src/filiale/ancheng/pc/PaperList.vue +659 -0
  484. package/src/filiale/ancheng/pc/checkScreen.vue +923 -0
  485. package/src/filiale/ancheng/pc.js +15 -0
  486. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -0
  487. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +648 -0
  488. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1039 -0
  489. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -0
  490. package/src/filiale/ankangyihua/android/UploadPage.vue +306 -0
  491. package/src/filiale/ankangyihua/android.js +14 -0
  492. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -0
  493. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -0
  494. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -0
  495. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -0
  496. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1420 -0
  497. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -0
  498. package/src/filiale/ankangyihua/pc/PaperList.vue +656 -0
  499. package/src/filiale/ankangyihua/pc/PdfUtil.js +872 -0
  500. package/src/filiale/ankangyihua/pc/PlanManage.vue +830 -0
  501. package/src/filiale/ankangyihua/pc/RoleSelector.vue +160 -0
  502. package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -0
  503. package/src/filiale/ankangyihua/pc.js +22 -0
  504. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  505. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  506. package/src/filiale/baiyin/android.js +11 -0
  507. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
  508. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
  509. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
  510. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
  511. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
  512. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  513. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  514. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  515. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  516. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  517. package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
  518. package/src/filiale/baiyin/pc.js +21 -0
  519. package/src/filiale/bayan/android/AddPlanItem.vue +430 -0
  520. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  521. package/src/filiale/bayan/android/CurrentCreate.vue +1057 -0
  522. package/src/filiale/bayan/android/Edit.vue +132 -0
  523. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -0
  524. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1377 -0
  525. package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -0
  526. package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -0
  527. package/src/filiale/bayan/android/SafecheckUserInfo.vue +868 -0
  528. package/src/filiale/bayan/android.js +18 -0
  529. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  530. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  531. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +601 -0
  532. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  533. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  534. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  535. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  536. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  537. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -0
  538. package/src/filiale/bayan/pc/NewCheckpaper.vue +1992 -0
  539. package/src/filiale/bayan/pc/PaperList.vue +900 -0
  540. package/src/filiale/bayan/pc/PlanManage.vue +960 -0
  541. package/src/filiale/bayan/pc/SelectCheckPlan.vue +391 -0
  542. package/src/filiale/bayan/pc.js +22 -0
  543. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  544. package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -0
  545. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -0
  546. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  547. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -0
  548. package/src/filiale/dexin/android.js +14 -0
  549. package/src/filiale/dexin/pc/PaperList.vue +805 -0
  550. package/src/filiale/dexin/pc.js +12 -0
  551. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  552. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  553. package/src/filiale/fugou/android.js +11 -0
  554. package/src/filiale/fugou/pc/AddToCheckBook.vue +97 -0
  555. package/src/filiale/fugou/pc/CheckBook.vue +303 -0
  556. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  557. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  558. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  559. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  560. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -0
  561. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  562. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  563. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  564. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -0
  565. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  566. package/src/filiale/fugou/pc/CheckBookUser.vue +158 -0
  567. package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
  568. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -0
  569. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -0
  570. package/src/filiale/fugou/pc/PaperList.vue +911 -0
  571. package/src/filiale/fugou/pc/PlanManage.vue +1061 -0
  572. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  573. package/src/filiale/fugou/pc/checkUserList.vue +904 -0
  574. package/src/filiale/fugou/pc.js +72 -0
  575. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -0
  576. package/src/filiale/fugu/android.js +10 -0
  577. package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -0
  578. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -0
  579. package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -0
  580. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -0
  581. package/src/filiale/fugu/pc.js +18 -0
  582. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -0
  583. package/src/filiale/ganquan/android/AndroidDefectDeal.vue +570 -0
  584. package/src/filiale/ganquan/android/NoPlanDaofang.vue +241 -0
  585. package/src/filiale/ganquan/android/PhoneUpUserinfo.vue +986 -0
  586. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -0
  587. package/src/filiale/ganquan/android.js +25 -0
  588. package/src/filiale/ganquan/pc/CheckPlan.vue +47 -0
  589. package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -0
  590. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -0
  591. package/src/filiale/ganquan/pc/PaperList.vue +654 -0
  592. package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -0
  593. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -0
  594. package/src/filiale/ganquan/pc/checkUserList.vue +681 -0
  595. package/src/filiale/ganquan/pc.js +20 -0
  596. package/src/filiale/gehua/android/CurrentCreate.vue +1009 -0
  597. package/src/filiale/gehua/android.js +12 -0
  598. package/src/filiale/gehua/pc/PaperList.vue +558 -0
  599. package/src/filiale/gehua/pc/checkUserList.vue +720 -0
  600. package/src/filiale/gehua/pc/checkmsg.vue +241 -0
  601. package/src/filiale/gehua/pc.js +15 -0
  602. package/src/filiale/guangxi/android/AreaPlan.vue +547 -0
  603. package/src/filiale/guangxi/android/CurrentCreate.vue +1037 -0
  604. package/src/filiale/guangxi/android.js +13 -0
  605. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -0
  606. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -0
  607. package/src/filiale/guangxi/pc/DefectMainNew.vue +63 -0
  608. package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -0
  609. package/src/filiale/guangxi/pc.js +14 -0
  610. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
  611. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
  612. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
  613. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -0
  614. package/src/filiale/hanzhong/android.js +16 -0
  615. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -0
  616. package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +499 -0
  617. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -0
  618. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -0
  619. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -0
  620. package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -0
  621. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -0
  622. package/src/filiale/hanzhong/pc/HomeEcharts.vue +153 -0
  623. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  624. package/src/filiale/hanzhong/pc/PaperList.vue +702 -0
  625. package/src/filiale/hanzhong/pc.js +46 -0
  626. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  627. package/src/filiale/huaran/android.js +12 -0
  628. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  629. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  630. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  631. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  632. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  633. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  634. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  635. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  636. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  637. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  638. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  639. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  640. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  641. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  642. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  643. package/src/filiale/huaran/pc.js +27 -0
  644. package/src/filiale/huatong/android/AndroidDefectDeal.vue +396 -0
  645. package/src/filiale/huatong/android/CurrentCreate.vue +1023 -0
  646. package/src/filiale/huatong/android/PaperFeedback.vue +1433 -0
  647. package/src/filiale/huatong/android/SafecheckDevices.vue +68 -68
  648. package/src/filiale/huatong/android/SafecheckOrderV.vue +250 -222
  649. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -0
  650. package/src/filiale/huatong/android.js +5 -2
  651. package/src/filiale/huatong/pc/ExportExcelOld.vue +203 -0
  652. package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -0
  653. package/src/filiale/huatong/pc/PaperList.vue +789 -0
  654. package/src/filiale/huatong/pc.js +3 -1
  655. package/src/filiale/huayin/android/AreaPlan.vue +535 -0
  656. package/src/filiale/huayin/android/PaperFeedback.vue +1422 -0
  657. package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -0
  658. package/src/filiale/huayin/android.js +14 -0
  659. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -0
  660. package/src/filiale/huayin/pc/PaperList.vue +621 -0
  661. package/src/filiale/huayin/pc.js +14 -0
  662. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -0
  663. package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -0
  664. package/src/filiale/jiaocheng/android/SafecheckDevices.vue +1267 -0
  665. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -0
  666. package/src/filiale/jiaocheng/android.js +13 -0
  667. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -0
  668. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -0
  669. package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +1417 -0
  670. package/src/filiale/jiaocheng/pc.js +14 -0
  671. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  672. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  673. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
  674. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  675. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  676. package/src/filiale/jiaxian/android.js +14 -0
  677. package/src/filiale/jiaxian/pc.js +12 -0
  678. package/src/filiale/jinbin/android/AndroidDefectDeal.vue +403 -0
  679. package/src/filiale/jinbin/android/DailyworkloadQuery.vue +395 -0
  680. package/src/filiale/jinbin/android/PhoneUpUserinfo.vue +878 -0
  681. package/src/filiale/jinbin/android.js +12 -0
  682. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -0
  683. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -0
  684. package/src/filiale/jinbin/pc.js +15 -0
  685. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
  686. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
  687. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -0
  688. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +1234 -0
  689. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
  690. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -0
  691. package/src/filiale/jingyang/android.js +15 -0
  692. package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -0
  693. package/src/filiale/jingyang/pc/InfoModifyModal.vue +151 -0
  694. package/src/filiale/jingyang/pc/PaperList.vue +793 -0
  695. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  696. package/src/filiale/jingyang/pc/UserInfoAuditNew.vue +272 -0
  697. package/src/filiale/jingyang/pc/UserinfoModify.vue +133 -0
  698. package/src/filiale/jingyang/pc.js +15 -0
  699. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  700. package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -0
  701. package/src/filiale/kelai/android/CheckPlanList.vue +203 -0
  702. package/src/filiale/kelai/android/CurrentCreate.vue +1008 -0
  703. package/src/filiale/kelai/android/PaperFeedback.vue +1539 -0
  704. package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1053 -0
  705. package/src/filiale/kelai/android/RelieveRestrict.vue +304 -0
  706. package/src/filiale/kelai/android/SafecheckDevices.vue +1232 -0
  707. package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -0
  708. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -0
  709. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -0
  710. package/src/filiale/kelai/android.js +21 -0
  711. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -0
  712. package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -0
  713. package/src/filiale/kelai/pc/DefectListNew.vue +688 -0
  714. package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -0
  715. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGas.vue +60 -0
  716. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -0
  717. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -0
  718. package/src/filiale/kelai/pc/InfoModifyModal.vue +123 -0
  719. package/src/filiale/kelai/pc/MeterModify.vue +46 -0
  720. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -0
  721. package/src/filiale/kelai/pc/PaperList.vue +596 -0
  722. package/src/filiale/kelai/pc/UserInfoAudit.vue +254 -0
  723. package/src/filiale/kelai/pc/UserinfoModify.vue +124 -0
  724. package/src/filiale/kelai/pc/checkUserList.vue +698 -0
  725. package/src/filiale/kelai/pc/checkmsg.vue +275 -0
  726. package/src/filiale/kelai/pc.js +25 -0
  727. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -0
  728. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  729. package/src/filiale/liaoyuan/android/SafecheckDevices.vue +68 -68
  730. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +232 -227
  731. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +30 -23
  732. package/src/filiale/liaoyuan/android.js +2 -0
  733. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -0
  734. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +13 -7
  735. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +550 -514
  736. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +54 -54
  737. package/src/filiale/liaoyuan/pc/PaperList.vue +66 -86
  738. package/src/filiale/liaoyuan/pc/RoleSelector.vue +160 -0
  739. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  740. package/src/filiale/liaoyuan/pc.js +4 -1
  741. package/src/filiale/lixian/android/CurrentCreate.vue +997 -0
  742. package/src/filiale/lixian/android/SafecheckDevices.vue +82 -82
  743. package/src/filiale/lixian/android/SafecheckOrderV.vue +215 -214
  744. package/src/filiale/lixian/android/SafecheckUserInfo.vue +30 -38
  745. package/src/filiale/lixian/android.js +2 -1
  746. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +25 -19
  747. package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -0
  748. package/src/filiale/lixian/pc/NewCheckpaper.vue +58 -58
  749. package/src/filiale/lixian/pc/PaperChazhiMain.vue +13 -80
  750. package/src/filiale/lixian/pc/PaperDefectMain.vue +14 -80
  751. package/src/filiale/lixian/pc/PaperList.vue +21 -87
  752. package/src/filiale/lixian/pc/checkPlanList.vue +366 -0
  753. package/src/filiale/lixian/pc/checkUserList.vue +761 -0
  754. package/src/filiale/lixian/pc.js +4 -2
  755. package/src/filiale/minsheng/android/AreaPlan.vue +537 -0
  756. package/src/filiale/minsheng/android/CurrentCreate.vue +1028 -0
  757. package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +1269 -0
  758. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -0
  759. package/src/filiale/minsheng/android/SwitchValve.vue +497 -0
  760. package/src/filiale/minsheng/android.js +16 -0
  761. package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -0
  762. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -0
  763. package/src/filiale/minsheng/pc/DefectMainNew.vue +63 -0
  764. package/src/filiale/minsheng/pc/checkUserList.vue +806 -0
  765. package/src/filiale/minsheng/pc.js +15 -0
  766. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -0
  767. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -0
  768. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -0
  769. package/src/filiale/pingxiang/android.js +11 -0
  770. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -0
  771. package/src/filiale/pingxiang/pc/DefectMainNew.vue +62 -0
  772. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -0
  773. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -0
  774. package/src/filiale/pingxiang/pc/PaperList.vue +595 -0
  775. package/src/filiale/pingxiang/pc.js +15 -0
  776. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -0
  777. package/src/filiale/qianneng/android/AreaPlan.vue +536 -0
  778. package/src/filiale/qianneng/android/CurrentCreate.vue +1003 -0
  779. package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -0
  780. package/src/filiale/qianneng/android/PhoneUpUserinfo.vue +1127 -0
  781. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -0
  782. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -0
  783. package/src/filiale/qianneng/android/SwitchValve.vue +369 -0
  784. package/src/filiale/qianneng/android.js +18 -0
  785. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -0
  786. package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -0
  787. package/src/filiale/qianneng/pc/InfoModifyModal.vue +135 -0
  788. package/src/filiale/qianneng/pc/MeterModify.vue +46 -0
  789. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -0
  790. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -0
  791. package/src/filiale/qianneng/pc/PaperList.vue +777 -0
  792. package/src/filiale/qianneng/pc/PlanManage.vue +857 -0
  793. package/src/filiale/qianneng/pc/UserInfoAudit.vue +286 -0
  794. package/src/filiale/qianneng/pc/UserinfoModify.vue +125 -0
  795. package/src/filiale/qianneng/pc/checkPlanList.vue +429 -0
  796. package/src/filiale/qianneng/pc/checkUserList.vue +871 -0
  797. package/src/filiale/qianneng/pc.js +22 -0
  798. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -0
  799. package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -0
  800. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -0
  801. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -0
  802. package/src/filiale/qingjian/android.js +13 -0
  803. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1876 -0
  804. package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -0
  805. package/src/filiale/qingjian/pc.js +15 -0
  806. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  807. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  808. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  809. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -0
  810. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  811. package/src/filiale/qingtongxia/android.js +14 -0
  812. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -0
  813. package/src/filiale/qingtongxia/pc/NewCheckpaper.vue +1908 -0
  814. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -0
  815. package/src/filiale/qingtongxia/pc.js +15 -0
  816. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -0
  817. package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -0
  818. package/src/filiale/rizhao/android/SafecheckDevices.vue +1169 -0
  819. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -0
  820. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -0
  821. package/src/filiale/rizhao/android.js +14 -0
  822. package/src/filiale/rizhao/pc/DefectList.vue +489 -0
  823. package/src/filiale/rizhao/pc/NewCheckpaper.vue +1346 -0
  824. package/src/filiale/rizhao/pc/PaperList.vue +714 -0
  825. package/src/filiale/rizhao/pc.js +15 -0
  826. package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -0
  827. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -0
  828. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -0
  829. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -0
  830. package/src/filiale/rongchuang/android.js +13 -0
  831. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -0
  832. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  833. package/src/filiale/rongchuang/pc/checkUserList.vue +42 -15
  834. package/src/filiale/rongchuang/pc.js +3 -1
  835. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  836. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  837. package/src/filiale/ruihua/android.js +11 -0
  838. package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -0
  839. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -0
  840. package/src/filiale/shanggao/android.js +12 -0
  841. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
  842. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +755 -0
  843. package/src/filiale/shanxian/android/CurrentCreate_new.vue +1027 -0
  844. package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -0
  845. package/src/filiale/shanxian/android/PhoneUpUserinfo.vue +939 -0
  846. package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -0
  847. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -0
  848. package/src/filiale/shanxian/android.js +18 -0
  849. package/src/filiale/shanxian/pc/CheckDetail.vue +205 -0
  850. package/src/filiale/shanxian/pc/CheckPlan.vue +55 -0
  851. package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -0
  852. package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -0
  853. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -0
  854. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -0
  855. package/src/filiale/shanxian/pc/PaperList.vue +785 -0
  856. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +303 -0
  857. package/src/filiale/shanxian/pc/checkUserList.vue +700 -0
  858. package/src/filiale/shanxian/pc.js +20 -0
  859. package/src/filiale/shaoguan/android.js +10 -0
  860. package/src/filiale/shaoguan/pc/PaperList.vue +589 -0
  861. package/src/filiale/shaoguan/pc.js +11 -0
  862. package/src/filiale/shexian/android/AddPlanItem.vue +444 -0
  863. package/src/filiale/shexian/android/AndroidDefectDeal.vue +634 -0
  864. package/src/filiale/shexian/android/AreaPlan.vue +540 -0
  865. package/src/filiale/shexian/android/DailyworkloadQuery.vue +418 -0
  866. package/src/filiale/shexian/android/PaperFeedback.vue +1448 -0
  867. package/src/filiale/shexian/android/PhoneUpUserinfo.vue +1153 -0
  868. package/src/filiale/shexian/android/SafecheckDevices.vue +1279 -0
  869. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -0
  870. package/src/filiale/shexian/android.js +17 -0
  871. package/src/filiale/shexian/pc/DefectListNew.vue +593 -0
  872. package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -0
  873. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -0
  874. package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -0
  875. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  876. package/src/filiale/shexian/pc.js +16 -0
  877. package/src/filiale/shimen/android/CurrentCreate.vue +29 -29
  878. package/src/filiale/shimen/android/PaperFeedback.vue +66 -66
  879. package/src/filiale/shimen/android/PhoneSellInfo.vue +2 -2
  880. package/src/filiale/shimen/android/SafecheckUserInfo.vue +24 -24
  881. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +18 -18
  882. package/src/filiale/shimen/pc/CheckSearchUser.vue +14 -14
  883. package/src/filiale/shimen/pc/DefectList.vue +6 -6
  884. package/src/filiale/shimen/pc/NewCheckpaper.vue +54 -54
  885. package/src/filiale/shimen/pc/PaperDefectMain.vue +17 -84
  886. package/src/filiale/shimen/pc/PaperList.vue +12 -78
  887. package/src/filiale/shimen/pc/checkmsg.vue +7 -7
  888. package/src/filiale/shiquan/android/AreaPlan.vue +526 -0
  889. package/src/filiale/shiquan/android/CurrentCreate.vue +1014 -0
  890. package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -0
  891. package/src/filiale/shiquan/android.js +12 -0
  892. package/src/filiale/shiquan/pc/checkUserList.vue +755 -0
  893. package/src/filiale/shiquan/pc.js +13 -0
  894. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  895. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  896. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  897. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  898. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  899. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  900. package/src/filiale/siyang/android.js +15 -0
  901. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  902. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  903. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  904. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  905. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  906. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
  907. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  908. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  909. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  910. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  911. package/src/filiale/siyang/pc/checkUserList.vue +790 -0
  912. package/src/filiale/siyang/pc.js +22 -0
  913. package/src/filiale/tianke/android/AddPlanItem.vue +455 -0
  914. package/src/filiale/tianke/android/CurrentCreate.vue +988 -0
  915. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -0
  916. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -0
  917. package/src/filiale/tianke/android.js +16 -0
  918. package/src/filiale/tianke/pc/DefectListNew.vue +538 -0
  919. package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -0
  920. package/src/filiale/tianke/pc/checkScreen.vue +786 -0
  921. package/src/filiale/tianke/pc/cq.jpg +0 -0
  922. package/src/filiale/tianke/pc/qy.jpg +0 -0
  923. package/src/filiale/tianke/pc.js +15 -0
  924. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -0
  925. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +647 -0
  926. package/src/filiale/tongchuan/android/CurrentCreate.vue +1001 -0
  927. package/src/filiale/tongchuan/android/PaperFeedback.vue +129 -163
  928. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -0
  929. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -0
  930. package/src/filiale/tongchuan/android/PhoneUpDetail.vue +707 -0
  931. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -0
  932. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1207 -1112
  933. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3035 -2575
  934. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +119 -39
  935. package/src/filiale/tongchuan/android/Select.vue +421 -0
  936. package/src/filiale/tongchuan/android/SwitchValve.vue +284 -0
  937. package/src/filiale/tongchuan/android/UploadPage.vue +26 -14
  938. package/src/filiale/tongchuan/android.js +10 -2
  939. package/src/filiale/tongchuan/pc/CheckBookArea.vue +145 -0
  940. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -0
  941. package/src/filiale/tongchuan/pc/CheckBookEntry.vue +61 -0
  942. package/src/filiale/tongchuan/pc/CheckBookList.vue +377 -0
  943. package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -0
  944. package/src/filiale/tongchuan/pc/CheckPlan.vue +55 -0
  945. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -0
  946. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +137 -0
  947. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +6 -5
  948. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1053 -956
  949. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -0
  950. package/src/filiale/tongchuan/pc/DefectPaper.vue +17 -17
  951. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +96 -12
  952. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -0
  953. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +69 -73
  954. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -0
  955. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +676 -250
  956. package/src/filiale/tongchuan/pc/PaperList.vue +77 -84
  957. package/src/filiale/tongchuan/pc/PlanManage.vue +901 -0
  958. package/src/filiale/tongchuan/pc/RoleSelector.vue +172 -0
  959. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -0
  960. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -593
  961. package/src/filiale/tongchuan/pc/repairScreen.vue +767 -0
  962. package/src/filiale/tongchuan/pc.js +16 -1
  963. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  964. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  965. package/src/filiale/weinan/android/AddPlanItem.vue +438 -0
  966. package/src/filiale/weinan/android/AndroidDefectDeal.vue +450 -0
  967. package/src/filiale/weinan/android/AreaPlan.vue +693 -0
  968. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -0
  969. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -0
  970. package/src/filiale/weinan/android/PaperFeedback.vue +1410 -0
  971. package/src/filiale/weinan/android/PhoneUpDetail.vue +968 -0
  972. package/src/filiale/weinan/android/PhoneUpUserinfo.vue +1038 -0
  973. package/src/filiale/weinan/android/SafePlanItem.vue +440 -0
  974. package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -0
  975. package/src/filiale/weinan/android/SafecheckOrderV.vue +3339 -0
  976. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -0
  977. package/src/filiale/weinan/android.js +21 -0
  978. package/src/filiale/weinan/pc/CheckBook.vue +332 -0
  979. package/src/filiale/weinan/pc/CheckBookAll.vue +67 -0
  980. package/src/filiale/weinan/pc/CheckBookArea.vue +180 -0
  981. package/src/filiale/weinan/pc/CheckBookCompany.vue +144 -0
  982. package/src/filiale/weinan/pc/CheckBookCompanyUser.vue +86 -0
  983. package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -0
  984. package/src/filiale/weinan/pc/CheckBookList.vue +446 -0
  985. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +604 -0
  986. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -0
  987. package/src/filiale/weinan/pc/CheckBookUser.vue +101 -0
  988. package/src/filiale/weinan/pc/CheckDetail.vue +278 -0
  989. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -0
  990. package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -0
  991. package/src/filiale/weinan/pc/CheckNoPlan.vue +59 -0
  992. package/src/filiale/weinan/pc/CheckPlan.vue +57 -0
  993. package/src/filiale/weinan/pc/CheckPlanAreaList.vue +472 -0
  994. package/src/filiale/weinan/pc/CheckPlanAreaManage.vue +111 -0
  995. package/src/filiale/weinan/pc/CheckPlanOutHelp.vue +57 -0
  996. package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -0
  997. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  998. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  999. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -0
  1000. package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -0
  1001. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  1002. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -0
  1003. package/src/filiale/weinan/pc/NewCheckpaper.vue +1459 -0
  1004. package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -0
  1005. package/src/filiale/weinan/pc/PaperList.vue +674 -0
  1006. package/src/filiale/weinan/pc/PersonTrack.vue +246 -0
  1007. package/src/filiale/weinan/pc/PlanManage.vue +986 -0
  1008. package/src/filiale/weinan/pc/PrintMaterialBillNoplan.vue +161 -0
  1009. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -0
  1010. package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -0
  1011. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -0
  1012. package/src/filiale/weinan/pc/checkPlanList.vue +456 -0
  1013. package/src/filiale/weinan/pc/checkScreen.vue +1094 -0
  1014. package/src/filiale/weinan/pc/checkUserList.vue +712 -0
  1015. package/src/filiale/weinan/pc.js +47 -0
  1016. package/src/filiale/weinanct/android/SafecheckDevices.vue +1225 -0
  1017. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -0
  1018. package/src/filiale/weinanct/android.js +14 -0
  1019. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -0
  1020. package/src/filiale/weinanct/pc/PaperList.vue +593 -0
  1021. package/src/filiale/weinanct/pc/checkmsg.vue +248 -0
  1022. package/src/filiale/weinanct/pc.js +14 -0
  1023. package/src/filiale/wensu/android/AddPlanItem.vue +495 -0
  1024. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -0
  1025. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  1026. package/src/filiale/wensu/android/CurrentCreate.vue +998 -0
  1027. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -0
  1028. package/src/filiale/wensu/android/PhoneUpUserinfo.vue +314 -0
  1029. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -0
  1030. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -0
  1031. package/src/filiale/wensu/android.js +16 -0
  1032. package/src/filiale/wensu/pc/CheckDetail.vue +205 -0
  1033. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -0
  1034. package/src/filiale/wensu/pc/DefectListNew.vue +735 -0
  1035. package/src/filiale/wensu/pc/DefectMainNew.vue +63 -0
  1036. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -0
  1037. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  1038. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  1039. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -0
  1040. package/src/filiale/wensu/pc/RoleSelector.vue +150 -0
  1041. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -0
  1042. package/src/filiale/wensu/pc/checkUserList.vue +650 -0
  1043. package/src/filiale/wensu/pc.js +20 -0
  1044. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -0
  1045. package/src/filiale/wenxi/android/AndroidDefectDealHY.vue +606 -0
  1046. package/src/filiale/wenxi/android/AndroidDefectDealWX.vue +502 -0
  1047. package/src/filiale/wenxi/android/AreaPlan.vue +519 -0
  1048. package/src/filiale/wenxi/android/CurrentCreate.vue +37 -29
  1049. package/src/filiale/wenxi/android/DailyworkloadQuery.vue +398 -0
  1050. package/src/filiale/wenxi/android/PaperFeedback.vue +1173 -944
  1051. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -0
  1052. package/src/filiale/wenxi/android/SafecheckDevices.vue +1066 -780
  1053. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2334 -2135
  1054. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +177 -88
  1055. package/src/filiale/wenxi/android/UploadPage.vue +13 -13
  1056. package/src/filiale/wenxi/android.js +10 -2
  1057. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -0
  1058. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -0
  1059. package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -0
  1060. package/src/filiale/wenxi/pc/DefectList.vue +653 -0
  1061. package/src/filiale/wenxi/pc/DefectPaper.vue +136 -135
  1062. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1194 -1005
  1063. package/src/filiale/wenxi/pc/PaperDefectMain.vue +365 -209
  1064. package/src/filiale/wenxi/pc/PaperList.vue +243 -154
  1065. package/src/filiale/wenxi/pc/checkPlanList.vue +517 -0
  1066. package/src/filiale/wenxi/pc/checkUserList.vue +695 -0
  1067. package/src/filiale/wenxi/pc/checkmsg.vue +9 -9
  1068. package/src/filiale/wenxi/pc/checkmsgdeal.vue +132 -0
  1069. package/src/filiale/wenxi/pc.js +9 -2
  1070. package/src/filiale/wuan/android/AreaPlan.vue +6 -6
  1071. package/src/filiale/wuan/android/CurrentCreate.vue +25 -25
  1072. package/src/filiale/wuan/android/CurrentCreateSheBei.vue +25 -25
  1073. package/src/filiale/wuan/android/PaperFeedback.vue +1433 -0
  1074. package/src/filiale/wuan/android/SafecheckDevices.vue +101 -101
  1075. package/src/filiale/wuan/android/SafecheckOrderV.vue +221 -217
  1076. package/src/filiale/wuan/android/SafecheckUserInfo.vue +94 -69
  1077. package/src/filiale/wuan/android.js +3 -2
  1078. package/src/filiale/wuan/pc/DefectListWeixiu.vue +8 -8
  1079. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +11 -10
  1080. package/src/filiale/wuan/pc/NewCheckpaper.vue +54 -54
  1081. package/src/filiale/wuan/pc/PaperList.vue +12 -78
  1082. package/src/filiale/wuhai/android/AreaPlan.vue +7 -7
  1083. package/src/filiale/wuhai/android/CurrentCreate.vue +1005 -0
  1084. package/src/filiale/wuhai/android/PaperFeedback.vue +67 -67
  1085. package/src/filiale/wuhai/android/PhoneUpUserinfo.vue +926 -0
  1086. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -0
  1087. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -0
  1088. package/src/filiale/wuhai/android.js +4 -1
  1089. package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -0
  1090. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -0
  1091. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  1092. package/src/filiale/wuhai/pc/checkUserList.vue +48 -31
  1093. package/src/filiale/wuhai/pc.js +5 -1
  1094. package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
  1095. package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
  1096. package/src/filiale/xilan/android.js +11 -0
  1097. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  1098. package/src/filiale/xilan/pc.js +12 -0
  1099. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +449 -0
  1100. package/src/filiale/xinkang/android/CurrentCreate.vue +997 -0
  1101. package/src/filiale/xinkang/android/OrderBacklog.vue +997 -0
  1102. package/src/filiale/xinkang/android/SafecheckDevices.vue +1183 -0
  1103. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -0
  1104. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -0
  1105. package/src/filiale/xinkang/android.js +14 -0
  1106. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -0
  1107. package/src/filiale/xinkang/pc/CheckPlanAreaManage.vue +111 -0
  1108. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -0
  1109. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -0
  1110. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -0
  1111. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -0
  1112. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -0
  1113. package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -0
  1114. package/src/filiale/xinkang/pc/PaperList.vue +603 -0
  1115. package/src/filiale/xinkang/pc/checkUserList.vue +639 -0
  1116. package/src/filiale/xinkang/pc.js +22 -0
  1117. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -0
  1118. package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +238 -0
  1119. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -0
  1120. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -0
  1121. package/src/filiale/yangchunboneng/android/DailyworkloadQueryNew.vue +480 -0
  1122. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -0
  1123. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -0
  1124. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  1125. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -0
  1126. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -0
  1127. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -0
  1128. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -0
  1129. package/src/filiale/yangchunboneng/android.js +21 -0
  1130. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +237 -0
  1131. package/src/filiale/yangchunboneng/pc/CheckBook.vue +301 -0
  1132. package/src/filiale/yangchunboneng/pc/CheckBookAll.vue +66 -0
  1133. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -0
  1134. package/src/filiale/yangchunboneng/pc/CheckBookEntry.vue +61 -0
  1135. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +347 -0
  1136. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +659 -0
  1137. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -0
  1138. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -0
  1139. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -0
  1140. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -0
  1141. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -0
  1142. package/src/filiale/yangchunboneng/pc/NewCheckpaper.vue +1816 -0
  1143. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -0
  1144. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -0
  1145. package/src/filiale/yangchunboneng/pc.js +26 -0
  1146. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -0
  1147. package/src/filiale/yongzhou/android/PhoneUpUserinfo.vue +1257 -0
  1148. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -0
  1149. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -0
  1150. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -0
  1151. package/src/filiale/yongzhou/android.js +16 -0
  1152. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  1153. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  1154. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  1155. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  1156. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -0
  1157. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  1158. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  1159. package/src/filiale/yongzhou/pc/PlanManage.vue +842 -0
  1160. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  1161. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  1162. package/src/filiale/yongzhou/pc/RoleSelector.vue +161 -0
  1163. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  1164. package/src/filiale/yongzhou/pc/checkUserList.vue +752 -0
  1165. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -0
  1166. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -0
  1167. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -0
  1168. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -0
  1169. package/src/filiale/yongzhou/pc/safeStatistics.vue +175 -0
  1170. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -0
  1171. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -0
  1172. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +135 -0
  1173. package/src/filiale/yongzhou/pc/safeTable.vue +136 -0
  1174. package/src/filiale/yongzhou/pc.js +32 -0
  1175. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  1176. package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -0
  1177. package/src/filiale/yuansheng/android/PaperState.vue +403 -0
  1178. package/src/filiale/yuansheng/android/PhoneUpUserinfo.vue +942 -0
  1179. package/src/filiale/yuansheng/android/SafecheckDevices.vue +1258 -0
  1180. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -0
  1181. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -0
  1182. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
  1183. package/src/filiale/yuansheng/android.js +17 -0
  1184. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -0
  1185. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -0
  1186. package/src/filiale/yuansheng/pc/PaperList.vue +621 -0
  1187. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -0
  1188. package/src/filiale/yuansheng/pc.js +15 -0
  1189. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -0
  1190. package/src/filiale/yunchengminsheng/android/LdapHelper.js +75 -0
  1191. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -0
  1192. package/src/filiale/yunchengminsheng/android/PhoneUpUserinfo.vue +1198 -0
  1193. package/src/filiale/yunchengminsheng/android/RightTree.vue +217 -0
  1194. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -0
  1195. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2849 -0
  1196. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -0
  1197. package/src/filiale/yunchengminsheng/android.js +14 -0
  1198. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +1538 -0
  1199. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -0
  1200. package/src/filiale/yunchengminsheng/pc.js +14 -0
  1201. package/src/filiale/zhongsheng/android/AreaPlan.vue +526 -0
  1202. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -0
  1203. package/src/filiale/zhongsheng/android/CurrentCreate.vue +999 -0
  1204. package/src/filiale/zhongsheng/android/IgnitionInformation.vue +170 -0
  1205. package/src/filiale/zhongsheng/android/PaperFeedback.vue +96 -96
  1206. package/src/filiale/zhongsheng/android/PhoneSellInfoXin.vue +68 -0
  1207. package/src/filiale/zhongsheng/android/PhoneUpUserinfo.vue +53 -53
  1208. package/src/filiale/zhongsheng/android/SafecheckDevices.vue +1214 -0
  1209. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +253 -239
  1210. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +177 -78
  1211. package/src/filiale/zhongsheng/android.js +8 -2
  1212. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +463 -0
  1213. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +9 -9
  1214. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +13 -9
  1215. package/src/filiale/zhongsheng/pc/InfoModifyModal.vue +2 -2
  1216. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +68 -54
  1217. package/src/filiale/zhongsheng/pc/PaperList.vue +644 -0
  1218. package/src/filiale/zhongsheng/pc/UserInfoAudit.vue +10 -10
  1219. package/src/filiale/zhongsheng/pc.js +4 -1
  1220. package/src/filiale/zhongyi/android/CurrentCreate.vue +988 -0
  1221. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -0
  1222. package/src/filiale/zhongyi/android.js +14 -0
  1223. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -0
  1224. package/src/filiale/zhongyi/pc/checkScreen.vue +781 -0
  1225. package/src/filiale/zhongyi/pc.js +14 -0
  1226. package/src/filiale/zhoukou/android/AndroidDefectDeal.vue +11 -11
  1227. package/src/filiale/zhoukou/android/AreaPlan.vue +6 -6
  1228. package/src/filiale/zhoukou/android/CurrentCreate.vue +26 -26
  1229. package/src/filiale/zhoukou/android/PaperFeedback.vue +66 -66
  1230. package/src/filiale/zhoukou/android/PhoneUpUserinfo.vue +51 -51
  1231. package/src/filiale/zhoukou/android/SafecheckDevices.vue +95 -95
  1232. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +210 -210
  1233. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +27 -27
  1234. package/src/filiale/zhoukou/android/UploadPage.vue +15 -15
  1235. package/src/filiale/zhoukou/android.js +1 -1
  1236. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +14 -14
  1237. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +11 -77
  1238. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  1239. package/src/main.js +33 -33
  1240. package/src/plugins/EmojiData.js +4 -4
  1241. package/src/plugins/GerJsonObjectConfig.js +1 -1
  1242. package/src/plugins/GetCheckParams.js +45 -0
  1243. package/src/plugins/LoadCheckParams.js +59 -0
  1244. package/src/plugins/LocalPagedList.js +3 -3
  1245. package/src/plugins/LocalPathList.js +2 -2
  1246. package/src/rongcheng-android.js +14 -2
  1247. package/src/rongcheng.js +15 -3
  1248. package/src/safecheck-android.js +84 -2
  1249. package/src/safecheck-page.js +12 -0
  1250. package/src/safecheck.js +195 -20
  1251. package/src/shaoguan.js +2 -2
  1252. package/src/tongchengsafe-android.js +2 -2
  1253. package/src/tongchengsafecheck.js +2 -2
  1254. package/src/utils/GerJsonObjectConfig.js +1 -1
  1255. package/src/utils/LdapHelper.js +1 -1
  1256. package/src/utils/htmlToPdf.js +40 -0
  1257. package/static/images/DownLoadQRCode.png +0 -0
  1258. package/static/images/meterBook/down.png +0 -0
  1259. package/static/images/meterBook/drag.png +0 -0
  1260. package/static/images/meterBook/up.png +0 -0
  1261. package/static/images//346/204/237/345/217/271/345/217/267.png +0 -0
  1262. package/static/images//347/272/242/345/217/211/345/217/211.png +0 -0
  1263. package/static/layui/css/layui.css +1 -0
  1264. package/static/layui/css/modules/code.css +1 -0
  1265. package/static/layui/css/modules/laydate/default/laydate.css +1 -0
  1266. package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
  1267. package/static/layui/css/modules/layer/default/icon.png +0 -0
  1268. package/static/layui/css/modules/layer/default/layer.css +1 -0
  1269. package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
  1270. package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
  1271. package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
  1272. package/static/layui/font/iconfont.eot +0 -0
  1273. package/static/layui/font/iconfont.svg +554 -0
  1274. package/static/layui/font/iconfont.ttf +0 -0
  1275. package/static/layui/font/iconfont.woff +0 -0
  1276. package/static/layui/font/iconfont.woff2 +0 -0
  1277. package/static/layui/layui.js +1 -0
  1278. package/static/stretch_bottom.png +0 -0
  1279. package/static/stretch_top.png +0 -0
  1280. package/src/components/cockpit/Splash.vue +0 -85
  1281. package/src/components/cockpit/SplashDetail.vue +0 -66
  1282. package/src/components/pc/CheckBookManage.vue +0 -910
@@ -36,32 +36,32 @@
36
36
  <!--<label>请输入超期原因:</label><br/>-->
37
37
  <!--<textarea style="width: 100%;" v-model=""></textarea>-->
38
38
  <!--</div>-->
39
- <div class="col-xs-3 col-sm-3 col-md-3">
39
+ <div class="col-xs-3 col-sm-3 col-md-3">
40
40
  <button class="col-sm-2 btn btn-primary" @click="save('temp')" >
41
- 临时保存
42
- </button>
43
- </div>
44
- <div class="col-xs-3 col-sm-3 col-md-3">
45
- <button class="col-sm-2 btn btn-primary" @click="save('finish')" >
46
- 本地缓存
47
- </button>
48
- </div>
49
- <div class="col-xs-3 col-sm-3 col-md-3">
50
- <button type="button" name="button" class="col-sm-2 btn btn-primary" @click="uploadCheckPaper" :disabled="isdisable">
51
- 上传
52
- </button>
53
- </div>
54
- <div class="col-xs-3 col-sm-3 col-md-3">
55
- <button type="button" name="button" class="col-sm-2 btn btn-primary" @click="showRepair" :disabled="isdisable">
56
- 转维修
57
- </button>
58
- </div>
59
-
41
+ 临时保存
42
+ </button>
43
+ </div>
44
+ <div class="col-xs-3 col-sm-3 col-md-3">
45
+ <button class="col-sm-2 btn btn-primary" @click="save('finish')" >
46
+ 本地缓存
47
+ </button>
48
+ </div>
49
+ <div class="col-xs-3 col-sm-3 col-md-3">
50
+ <button type="button" name="button" class="col-sm-2 btn btn-primary" @click="uploadCheckPaper" :disabled="isdisable">
51
+ 上传
52
+ </button>
53
+ </div>
54
+ <div class="col-xs-3 col-sm-3 col-md-3">
55
+ <button type="button" name="button" class="col-sm-2 btn btn-primary" @click="showRepair" :disabled="isdisable">
56
+ 转维修
57
+ </button>
60
58
  </div>
59
+
61
60
  </div>
62
61
  </div>
63
62
  </div>
64
63
  </div>
64
+ </div>
65
65
  </ul>
66
66
  </div>
67
67
  <modal :show.sync="showModal2" :backdrop="false">
@@ -88,449 +88,457 @@
88
88
  </template>
89
89
 
90
90
  <script>
91
- // 户内维修
92
- import Vue from 'vue'
93
- import * as Util from '../Util'
94
- import $ from 'jquery'
95
- // import DoorService from './DoorService'
96
- // import Pipeline from './Pipeline'
97
- // import DeviceService from './DeviceService'
98
- // import TroubleRemoval from './TroubleRemoval'
99
- // import FirstGasCheck from './FirstGasCheck'
100
- // import RepairMatterInfo from './RepairMatterInfo'
101
- // import TelChangeMatter from './TelChangeMatter'
102
- import { HttpResetClass } from 'vue-client'
103
- import co from 'co'
104
- let loadParamGem = async function (self) {
105
- await self.$LoadParams.loadParam()
106
- }
91
+ // 户内维修
92
+ import Vue from 'vue'
93
+ import * as Util from '../Util'
94
+ import $ from 'jquery'
95
+ // import DoorService from './DoorService'
96
+ // import Pipeline from './Pipeline'
97
+ // import DeviceService from './DeviceService'
98
+ // import TroubleRemoval from './TroubleRemoval'
99
+ // import FirstGasCheck from './FirstGasCheck'
100
+ // import RepairMatterInfo from './RepairMatterInfo'
101
+ // import TelChangeMatter from './TelChangeMatter'
102
+ import { HttpResetClass } from 'vue-client'
103
+ import co from 'co'
104
+ let loadParamGem = async function (self) {
105
+ await self.$LoadParams.loadParam()
106
+ }
107
107
 
108
- export default {
109
- title: '安检单',
110
- props: ['f_plan_id', 'item', 'role'],
111
- // props: ['f_plan_id', 'role'],
112
- data() {
113
- return {
114
- //测试数据
115
- // f_plan_id:'',
116
- // role:'inspect',
117
- // item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
118
- // "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
119
- // "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
120
- // "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
121
- // "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
122
- // "f_unit":"1","f_user_spare_phone":null,"f_last_check_date":null,"f_userproperties":null,"f_userfile_id":null,"f_prearranged_date":null,"f_filialeid":"453",
123
- // "f_branch":null,"f_orgstr":null,"f_plan_year":2020,"f_orgid":null,"f_approval_notified":null,"f_plan_month":4,"f_approved_note":null,"f_filialeids":null,
124
- // "f_floor":"1","f_flag":null,"f_repair_approved_note":null,"f_userinfo_code":"00000002","f_create_time":"2020-05-10 18:56:03","f_meter_no":"","f_station":null,
125
- // "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
126
- // "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
127
- // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
128
- // "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
129
- // },
108
+ export default {
109
+ title: '安检单',
110
+ props: ['f_plan_id', 'item', 'role','source'],
111
+ // props: ['f_plan_id', 'role'],
112
+ data() {
113
+ return {
114
+ //测试数据
115
+ // f_plan_id:'',
116
+ // role:'inspect',
117
+ // item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
118
+ // "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
119
+ // "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
120
+ // "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
121
+ // "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
122
+ // "f_unit":"1","f_user_spare_phone":null,"f_last_check_date":null,"f_userproperties":null,"f_userfile_id":null,"f_prearranged_date":null,"f_filialeid":"453",
123
+ // "f_branch":null,"f_orgstr":null,"f_plan_year":2020,"f_orgid":null,"f_approval_notified":null,"f_plan_month":4,"f_approved_note":null,"f_filialeids":null,
124
+ // "f_floor":"1","f_flag":null,"f_repair_approved_note":null,"f_userinfo_code":"00000002","f_create_time":"2020-05-10 18:56:03","f_meter_no":"","f_station":null,
125
+ // "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
126
+ // "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
127
+ // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
128
+ // "f_plan_meters":[{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2119035714","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":3,"f_maker":null,"f_metergasnums":0,"f_total_fee":100,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663},{"f_weizhi":null,"f_flow_direction":"右表","f_metertitles":"","f_prior_reading":0,"f_meter_no":"2118999901","f_collection_type":"按金额","f_aliasname":"先锋系统结算物联网表","f_meter_type":"物联网表","version":1,"f_maker":null,"f_metergasnums":0,"f_total_fee":0,"f_diaphgram_size":"G2.5","f_total_gas":0,"id":18663}]
129
+ // },
130
130
 
131
- data: {
132
- f_devices: [],
133
- f_defect_content:''
134
- },
135
- showModal2:false,
136
- deviceinfo:{},
137
- cremarks:"",
138
- isUpload:false,
139
- onlySave:true, //判断保存还是保存并上传
140
- livedispose:'',
141
- startClick:false, //开始安检按钮是否可点击
142
- isStrat: false, //是否开始安检
143
- checkResult:{},//查询结果
144
- newcheckResult:{},
145
- timer: null,
146
- showModal: false,
147
- pic_to_be_viewed: '',
148
- showBack:true,
149
- devices: [],
150
- isdisable:false,
151
- f_devices : [],
152
- isToRepair:false,
153
- clickBack:true, //是否点击返回按钮
154
- isSafeCheckToRepair:false,//是否转维修
155
- Url:this.$androidUtil.getProxyUrl(),
156
- detail:{},
157
- defectDevice:{},
158
- user:{},
159
- model: { //转维修数据
160
- // 一次派单
161
- serviceacitivity: [{
162
- f_service_acitivity_type: '派单'
163
- }],
164
- f_source:'安检',
165
- f_service_id: '',
166
- f_contact_phone: '',
167
- f_meetunit: '',
168
- f_phone: '',
169
- f_user_name: '',
170
- f_address: '',
171
- f_repair_date: Util.toStandardTimeString(),
172
- f_card_id: '',
173
- // f_department: '', 站点选择
174
- f_reciever:'',
175
- f_remarks: '',
176
- f_user_type: '',
177
- f_area: '',
178
- f_unit_name:'',
179
- f_street: '',
180
- f_residential_area: '',
181
- f_building: '',
182
- f_unit: '',
183
- f_floor: '',
184
- f_room: '',
185
- aState: null,
186
- f_repairtype: '',
187
- f_repairitems:{},
188
- },
189
- repairitems:[],
190
- meading:'转站点',
191
- config: {
192
- "燃气表":{
193
- "checkmust":true,
194
- "index":1,
195
- "items":{
196
- //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
197
- "基表编号":{"index":1,"type":"string","readonly":false,"checkmust":true},
198
- "气表型号":{"index":2,"type":"string","readonly":true},
199
- "气表品牌":{"index":3,"type":"string","readonly":true},
200
- "进气方向":{"index":4,"type":"selector",
201
- "multiple": false,
202
- "checkmust":true,
203
- "options": [
204
- {
205
- "data": "左表",
206
- "isdefect": false,
207
- "isdefault": false
208
- },
209
- {
210
- "data": "右表",
211
- "isdefect": false,
212
- "isdefault": false
213
- }
214
- ]
215
- },
216
- "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
217
- "上期表读数":{"index":6,"type":"number","readonly":true,"isshow":true},
218
- "本期表读数":{"index":7,"type":"number","checkmust":true},
219
- "累购气量":{"index":8,"type":"number","readonly":true},
220
- "累购金额":{"index":8,"type":"number","readonly":true},
221
- "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
222
- "已用金额":{"index":9,"type":"number","checkmust": false},
223
- "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
224
- //显示屏数 --实际剩余气量
225
- "剩余金额":{"index":10,"type":"number","checkmust": false},
226
- "气量异常差值":{"index":11,"type":"number","readonly": true,"isshow":false},
227
- "金额异常差值":{"index":11,"type":"number","readonly": true,"isshow":false}
228
- }
229
- // 注意,配置项的index必须与上面的固定配置保持'顺序'
230
- },
231
- // "燃气表2":{
232
- // "checkmust":true,
233
- // "index":2,src
234
- // "items":{
235
- // "燃气表照片":{"index":1,"type":"picture"},
236
- // "表品牌":{"index":2,"type":"string","readonly":true},
237
- // "表号":{"index":3,"type":"string","readonly":true},
238
- // "表封号":{"index":4,"type":"number","readonly":true},
239
- // "表型号":{"index":5,"type":"string","readonly":true},
240
- // "位置":{"index":6,"type":"string","readonly":true},
241
- // "表底数":{"index":7,"type":"number","readonly":true},
242
- // "累购气量":{"index":8,"type":"number","readonly":true},
243
- // "累购金额":{"index":8,"type":"number","readonly":true}
244
- // }
245
- // }
131
+ data: {
132
+ f_devices: [],
133
+ f_defect_content:''
134
+ },
135
+ showModal2:false,
136
+ deviceinfo:{},
137
+ cremarks:"",
138
+ isUpload:false,
139
+ onlySave:true, //判断保存还是保存并上传
140
+ livedispose:'',
141
+ startClick:false, //开始安检按钮是否可点击
142
+ isStrat: false, //是否开始安检
143
+ checkResult:{},//查询结果
144
+ newcheckResult:{},
145
+ timer: null,
146
+ showModal: false,
147
+ pic_to_be_viewed: '',
148
+ showBack:true,
149
+ devices: [],
150
+ isdisable:false,
151
+ f_devices : [],
152
+ isToRepair:false,
153
+ clickBack:true, //是否点击返回按钮
154
+ isSafeCheckToRepair:false,//是否转维修
155
+ Url:this.$androidUtil.getProxyUrl(),
156
+ detail:{},
157
+ defectDevice:{},
158
+ user:{},
159
+ model: { //转维修数据
160
+ // 一次派单
161
+ serviceacitivity: [{
162
+ f_service_acitivity_type: '派单'
163
+ }],
164
+ f_source:'安检',
165
+ f_service_id: '',
166
+ f_contact_phone: '',
167
+ f_meetunit: '',
168
+ f_phone: '',
169
+ f_user_name: '',
170
+ f_address: '',
171
+ f_repair_date: Util.toStandardTimeString(),
172
+ f_card_id: '',
173
+ // f_department: '', 站点选择
174
+ f_reciever:'',
175
+ f_remarks: '',
176
+ f_user_type: '',
177
+ f_area: '',
178
+ f_unit_name:'',
179
+ f_street: '',
180
+ f_residential_area: '',
181
+ f_building: '',
182
+ f_unit: '',
183
+ f_floor: '',
184
+ f_room: '',
185
+ aState: null,
186
+ f_repairtype: '',
187
+ f_repairitems:{},
188
+ },
189
+ repairitems:[],
190
+ meading:'转站点',
191
+ config: {
192
+ "燃气表":{
193
+ "checkmust":true,
194
+ "index":1,
195
+ "items":{
196
+ //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
197
+ "基表编号":{"index":1,"type":"string","readonly":false,"checkmust":true},
198
+ "气表型号":{"index":2,"type":"string","readonly":true},
199
+ "气表品牌":{"index":3,"type":"string","readonly":true},
200
+ "进气方向":{"index":4,"type":"selector",
201
+ "multiple": false,
202
+ "checkmust":true,
203
+ "options": [
204
+ {
205
+ "data": "左表",
206
+ "isdefect": false,
207
+ "isdefault": false
208
+ },
209
+ {
210
+ "data": "右表",
211
+ "isdefect": false,
212
+ "isdefault": false
213
+ }
214
+ ]
215
+ },
216
+ "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
217
+ "上期表读数":{"index":6,"type":"number","readonly":true,"isshow":true},
218
+ "本期表读数":{"index":7,"type":"number","checkmust":true},
219
+ "累购气量":{"index":8,"type":"number","readonly":true},
220
+ "累购金额":{"index":8,"type":"number","readonly":true},
221
+ "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
222
+ "已用金额":{"index":9,"type":"number","checkmust": false,"isshow":false},
223
+ "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
224
+ //显示屏数 --实际剩余气量
225
+ "剩余金额":{"index":10,"type":"number","checkmust": false},
226
+ "气量异常差值":{"index":11,"type":"number","readonly": true,"isshow":false},
227
+ "金额异常差值":{"index":11,"type":"number","readonly": true,"isshow":false}
228
+ }
229
+ // 注意,配置项的index必须与上面的固定配置保持'顺序'
246
230
  },
247
- // 维修项
248
- isneedDate:'',
249
- routeShow:true,
250
- number:0,
251
- shupingshow:false,
252
- pipeline: {},
253
- details: [],
254
- ids: '',
255
- savevalid: {
256
- uservalid: false,
257
- doorvalid: true,
258
- changetable: false
231
+ // "燃气表2":{
232
+ // "checkmust":true,
233
+ // "index":2,src
234
+ // "items":{
235
+ // "燃气表照片":{"index":1,"type":"picture"},
236
+ // "表品牌":{"index":2,"type":"string","readonly":true},
237
+ // "表号":{"index":3,"type":"string","readonly":true},
238
+ // "表封号":{"index":4,"type":"number","readonly":true},
239
+ // "表型号":{"index":5,"type":"string","readonly":true},
240
+ // "位置":{"index":6,"type":"string","readonly":true},
241
+ // "表底数":{"index":7,"type":"number","readonly":true},
242
+ // "累购气量":{"index":8,"type":"number","readonly":true},
243
+ // "累购金额":{"index":8,"type":"number","readonly":true}
244
+ // }
245
+ // }
246
+ },
247
+ // 维修项
248
+ isneedDate:'',
249
+ routeShow:true,
250
+ number:0,
251
+ shupingshow:false,
252
+ pipeline: {},
253
+ details: [],
254
+ ids: '',
255
+ savevalid: {
256
+ uservalid: false,
257
+ doorvalid: true,
258
+ changetable: false
259
+ },
260
+ doordetails: {},
261
+ devicedetails: {},
262
+ cookdetails: {},
263
+ componentName: 'safecheck-userinfo',
264
+ header:'客户信息',
265
+ tabs: [
266
+
267
+ // 参数全部设置成空,在ready时,等model处理好了,再添加
268
+ {
269
+ header: '客户信息',complete:'safecheck-userinfo',class: 'repair-info-class', props: null
259
270
  },
260
- doordetails: {},
261
- devicedetails: {},
262
- cookdetails: {},
263
- componentName: 'safecheck-userinfo',
264
- header:'客户信息',
265
- tabs: [
271
+ {
272
+ header: '拍照签名',complete:'paper-feedback', class: 'outlay-class', props: null
273
+ }
274
+ ],
275
+ changeinfo:'',
276
+ faultshow:{
277
+ number : 8
278
+ } // 控制 故障汇总 在 菜单里显示与否,
279
+ }
280
+ },
281
+ computed: {
282
+ actionEnabled: {
283
+ get() {
284
+ return this.role == 'inspect'
285
+ }
286
+ }
287
+ },
288
+ methods: {
289
+ saveNoclick() {
290
+ // 禁用点击事件
291
+ $("#savebut").addClass("noclickbut");
292
+ //tag
266
293
 
267
- // 参数全部设置成空,在ready时,等model处理好了,再添加
268
- {
269
- header: '客户信息',complete:'safecheck-userinfo',class: 'repair-info-class', props: null
270
- },
271
- {
272
- header: '拍照签名',complete:'paper-feedback', class: 'outlay-class', props: null
273
- }
274
- ],
275
- faultshow:{
276
- number : 8
277
- } // 控制 故障汇总 在 菜单里显示与否,
294
+ // 5秒后启用点击事件
295
+ setTimeout(function(){
296
+ $("#savebut").removeClass("noclickbut");
297
+ },5000);
298
+ },
299
+ showRepair(){
300
+ this.showModal2=true
301
+ },
302
+ cancelRepair(){
303
+ this.showModal2=false
304
+ },
305
+ ToRepair(){
306
+ this.isToRepair=true
307
+ //this.data.f_repaired='未派维修单'
308
+ this.uploadCheckPaper()
309
+ },
310
+ timeSet(val){
311
+ if (!val){
312
+ return
313
+ }
314
+ let time =new Date(val).getTime()
315
+ let time2=new Date().getTime()
316
+ if (time2>time) {
317
+ return true
278
318
  }
279
319
  },
280
- computed: {
281
- actionEnabled: {
282
- get() {
283
- return this.role == 'inspect'
284
- }
320
+ imgback(val,isheader){
321
+ if(val && this.routeShow && isheader){
322
+ return require('../../assets/xiangxia1.png')
323
+ }else{
324
+ return require('../../assets/xiangyou1.png')
285
325
  }
286
326
  },
287
- methods: {
288
- saveNoclick() {
289
- // 禁用点击事件
290
- $("#savebut").addClass("noclickbut");
291
- console.log("进入禁用按钮事件")
292
-
293
- // 5秒后启用点击事件
294
- setTimeout(function(){
295
- $("#savebut").removeClass("noclickbut");
296
- },10000);
297
- },
298
- showRepair(){
299
- this.showModal2=true
300
- },
301
- cancelRepair(){
302
- this.showModal2=false
303
- },
304
- ToRepair(){
305
- this.isToRepair=true
306
- //this.data.f_repaired='未派维修单'
307
- this.uploadCheckPaper()
308
- },
309
- timeSet(val){
310
- if (!val){
311
- return
312
- }
313
- let time =new Date(val).getTime()
314
- let time2=new Date().getTime()
315
- if (time2>time) {
316
- return true
317
- }
318
- },
319
- imgback(val,isheader){
320
- if(val && this.routeShow && isheader){
321
- return require('../../assets/xiangxia1.png')
322
- }else{
323
- return require('../../assets/xiangyou1.png')
324
- }
325
- },
326
- changediv(val){
327
- console.log(val)
328
- return val
329
- },
330
- // 选择tab
331
- tabSelect (item,number) {
332
- this.header = item.header
333
- console.log('item',item)
334
- console.log('number',number)
335
- console.log('this.routeShow',this.routeShow)
336
- console.log('this.number',this.number)
337
- // 处理关闭/显示 内容
338
- if(this.number == number && !this.routeShow ){
339
- this.routeShow = true
340
- }else if(this.number == number && this.routeShow){
341
- this.routeShow = false
342
- }else if(this.number != item.complete){
343
- this.routeShow = true
327
+ changediv(val){
328
+ //tag
329
+ return val
330
+ },
331
+ // 选择tab
332
+ tabSelect (item,number) {
333
+ this.header = item.header
334
+ //tag
335
+ //tag
336
+ //tag
337
+ //tag
338
+ // 处理关闭/显示 内容
339
+ if(this.number == number && !this.routeShow ){
340
+ this.routeShow = true
341
+ }else if(this.number == number && this.routeShow){
342
+ this.routeShow = false
343
+ }else if(this.number != item.complete){
344
+ this.routeShow = true
345
+ }
346
+ this.number = number
347
+ this.componentName = item.complete
348
+ //tag
349
+ if(item.complete == 'safecheck-devices'){
350
+ //tag
351
+ if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
352
+ this.data['device' + item.number].push({})
344
353
  }
345
- this.number = number
346
- this.componentName = item.complete
347
- console.log('跳转前this.routeShow',this.routeShow)
348
- if(item.complete == 'safecheck-devices'){
349
- console.log('this.data', this.data)
350
- if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
351
- this.data['device' + item.number].push({})
352
- }
353
- console.log('length', this.data['device' + item.number])
354
- console.log('this.data[\'device\' + item.number] ===> ' + JSON.stringify(this.data['device' + item.number]))
355
- let idx=this.data['device' + item.number].length - 1
356
- let itemprops = {
357
- config:this.config,
358
- device:this.devices[item.number-1],
359
- idx:idx,
360
- item:this.item,
361
- role:'inspect'
362
- }
363
- console.log('tabSelect函数中赋值')
364
- console.log(JSON.stringify(itemprops))
365
- console.log('itemprops.device ===> ' + JSON.stringify(itemprops.device))
366
- console.log('item.complete',item.complete)
367
- if(this.routeShow){
368
- this.$goto(item.complete, itemprops, 'repair')
369
- console.log('跳转完成')
370
- }
371
- }else{
372
- console.log('页面跳转==》',this.tabs[number])
373
- if(this.routeShow){
374
- this.$goto(item.complete, {userinfo:this.data}, 'repair')
375
- }
354
+ //tag
355
+ //tag)
356
+ let idx=this.data['device' + item.number].length - 1
357
+ let itemprops = {
358
+ config:this.config,
359
+ device:this.devices[item.number-1],
360
+ idx:idx,
361
+ item:this.item,
362
+ role:'inspect'
376
363
  }
377
- this.shupingshow = true
378
- },
379
- // 给组件添加参数
380
- getImgPath() {
381
- for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
382
- this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
364
+ //tag
365
+ //tag)
366
+ //tag)
367
+ //tag
368
+ if(this.routeShow){
369
+ this.$goto(item.complete, itemprops, 'repair')
370
+ //tag
383
371
  }
384
- this.ids = this.ids.substring(0, this.ids.length - 1)
385
- if(this.ids){
386
- this.getImgGen();
372
+ }else{
373
+ //tag
374
+ if(this.routeShow){
375
+ this.$goto(item.complete, {userinfo:this.data}, 'repair')
387
376
  }
388
- },
389
- getImgGen(){
390
- let http = new HttpResetClass()
391
- http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
392
- items: '*',
393
- tablename: 't_files',
394
- condition: `id in (${this.ids})`,
395
- orderitem: 'id'
396
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
397
- for (let i = 0; i < res.data.length; i++) {
398
- for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
399
- console.log(res.data[i].id.toString())
400
- console.log(this.model.serviceacitivity[0].imgs[j].imgid)
401
- if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
402
- this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
403
- }
377
+ }
378
+ this.shupingshow = true
379
+ },
380
+ // 给组件添加参数
381
+ getImgPath() {
382
+ for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
383
+ this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
384
+ }
385
+ this.ids = this.ids.substring(0, this.ids.length - 1)
386
+ if(this.ids){
387
+ this.getImgGen();
388
+ }
389
+ },
390
+ getImgGen(){
391
+ let http = new HttpResetClass()
392
+ http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
393
+ items: '*',
394
+ tablename: 't_files',
395
+ condition: `id in (${this.ids})`,
396
+ orderitem: 'id'
397
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
398
+ for (let i = 0; i < res.data.length; i++) {
399
+ for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
400
+ //tag)
401
+ //tag
402
+ if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
403
+ this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
404
404
  }
405
-
406
405
  }
407
- })
408
- },
409
406
 
410
- sortDetails(){
411
- for (let i = 0; i < this.details.length; i++) {
412
- if (this.details[i].details.length) {
413
- for (let j = 0; j < this.details[i].details.length; j++) {
414
- if (this.details[i].details[j].f_type === 'a') {
415
- this.doordetails = {details: this.details[i].details}
416
- break
417
- }
418
- if (this.details[i].details[j].f_type === 'b') {
419
- this.devicedetails = {details: this.details[i].details}
420
- break
421
- }
422
- if (this.details[i].details[j].f_type === 'c') {
423
- this.cookdetails = {details: this.details[i].details}
424
- break
425
- }
407
+ }
408
+ })
409
+ },
410
+
411
+ sortDetails(){
412
+ for (let i = 0; i < this.details.length; i++) {
413
+ if (this.details[i].details.length) {
414
+ for (let j = 0; j < this.details[i].details.length; j++) {
415
+ if (this.details[i].details[j].f_type === 'a') {
416
+ this.doordetails = {details: this.details[i].details}
417
+ break
418
+ }
419
+ if (this.details[i].details[j].f_type === 'b') {
420
+ this.devicedetails = {details: this.details[i].details}
421
+ break
422
+ }
423
+ if (this.details[i].details[j].f_type === 'c') {
424
+ this.cookdetails = {details: this.details[i].details}
425
+ break
426
426
  }
427
427
  }
428
428
  }
429
- },
430
- // 复制数据
431
- back () {
432
- let _this = this
433
- if(this.issee){
429
+ }
430
+ },
431
+ // 复制数据
432
+ back () {
433
+ let _this = this
434
+ if(this.issee){
435
+ _this.$back()
436
+ return
437
+ }
438
+ this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
439
+ if (res === 'confirm') {
434
440
  _this.$back()
435
- return
436
441
  }
437
- this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
438
- if (res === 'confirm') {
439
- _this.$back()
440
- }
441
- })
442
- },
443
- confirm(){
444
- this.$dispatch('confirm')
445
- },
446
- tick() {
447
- this.timer = null
448
- this.data.f_offsite_time = Util.toStandardTimeString()
449
- this.timer = window.setTimeout(this.tick, 1000)
450
- },
451
- getRepairState() {
452
- let repaired = true
453
- this.data.f_defects.forEach((defect) => {
454
- repaired = repaired & (defect.f_ratification == '已处理')
455
- })
456
- return repaired
457
- },
458
- verifyRepairDefects() {
459
- this.data.f_repair_date = Util.toStandardTimeString()
460
- this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
461
- },
462
- errorVerify() {
463
- let hasError = this.verifyState()
464
- if(hasError)
465
- return hasError
442
+ })
443
+ },
444
+ confirm(){
445
+ this.$dispatch('confirm')
446
+ },
447
+ tick() {
448
+ this.timer = null
449
+ this.data.f_offsite_time = Util.toStandardTimeString()
450
+ this.timer = window.setTimeout(this.tick, 1000)
451
+ },
452
+ getRepairState() {
453
+ let repaired = true
454
+ this.data.f_defects.forEach((defect) => {
455
+ repaired = repaired & (defect.f_ratification == '已处理')
456
+ })
457
+ return repaired
458
+ },
459
+ verifyRepairDefects() {
460
+ this.data.f_repair_date = Util.toStandardTimeString()
461
+ this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
462
+ },
463
+ errorVerify() {
464
+ let hasError = this.verifyState()
465
+ if(hasError)
466
+ return hasError
466
467
 
467
- if(this.data.f_entry_status != '入户')
468
- return null
469
- /*hasError = this.verifyUser()
470
- if(hasError)
471
- return hasError*/
472
- hasError = this.verifyDevices()
473
- if(hasError)
474
- return hasError
475
- hasError = this.verifyFeedback()
476
- if(hasError)
477
- return hasError
478
- },
479
- verifyState() {
480
- if(Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
481
- return '未使用天然气则必须拍照'
482
- if(Vue.android && this.data.f_entry_status == '到访不遇' && this.data.f_noanswer_path == Vue.nopic)
483
- return '到访不遇必须拍照'
484
- },
485
- verifyUser() {
486
- let prefix = '用户基本信息:'
487
- if(Util.required(this.data.f_user_name))
488
- return prefix + '用户名必须输入'
489
- if(Util.required(this.data.f_user_phone))
490
- return prefix + '用户电话必须输入'
491
- // if(Util.required(this.data.f_residential_area))
492
- // return prefix + '小区名称必须输入'
493
- if(Util.required(this.data.f_address))
494
- return prefix + '地址必须输入'
495
- },
496
- verifyDevices() {
497
- for (let dev in this.config) {
498
- if (this.config[dev].checkmust == true) {
499
- let error = true
500
- for(let device in this.data) {
501
- if (device.startsWith("device")) {
502
- for (let item in this.data[device]) {
503
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
504
- error = false
505
- }
468
+ if(this.data.f_entry_status != '入户')
469
+ return null
470
+ /*hasError = this.verifyUser()
471
+ if(hasError)
472
+ return hasError*/
473
+ hasError = this.verifyDevices()
474
+ if(hasError)
475
+ return hasError
476
+ hasError = this.verifyFeedback()
477
+ if(hasError)
478
+ return hasError
479
+ },
480
+ verifyState() {
481
+ if(Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
482
+ return '未使用天然气则必须拍照'
483
+ if(Vue.android && this.data.f_entry_status == '到访不遇' && this.data.f_noanswer_path == Vue.nopic)
484
+ return '到访不遇必须拍照'
485
+
486
+ if(Vue.android && this.data.f_entry_status == '激光检漏' && this.data.f_detection_path == Vue.nopic)
487
+ return '激光检漏必须拍照'
488
+ if(Vue.android && this.data.f_entry_status == '立杠保压' && this.data.f_pressure_path == Vue.nopic)
489
+ return '立杠保压必须拍照'
490
+ if(Vue.android && this.data.f_entry_status == '室外关阀' && this.data.f_outdoor_path == Vue.nopic)
491
+ return '室外关阀必须拍照'
492
+
493
+ },
494
+ verifyUser() {
495
+ let prefix = '用户基本信息:'
496
+ if(Util.required(this.data.f_user_name))
497
+ return prefix + '用户名必须输入'
498
+ if(Util.required(this.data.f_user_phone))
499
+ return prefix + '用户电话必须输入'
500
+ // if(Util.required(this.data.f_residential_area))
501
+ // return prefix + '小区名称必须输入'
502
+ if(Util.required(this.data.f_address))
503
+ return prefix + '地址必须输入'
504
+ },
505
+ verifyDevices() {
506
+ for (let dev in this.config) {
507
+ if (this.config[dev].checkmust == true) {
508
+ let error = true
509
+ for(let device in this.data) {
510
+ if (device.startsWith("device")) {
511
+ for (let item in this.data[device]) {
512
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
513
+ error = false
506
514
  }
507
515
  }
508
516
  }
509
- if (error) {
510
- return "请检查" + dev
511
- }
517
+ }
518
+ if (error) {
519
+ return "请检查" + dev
512
520
  }
513
521
  }
522
+ }
514
523
 
515
- for (let dev in this.config) {
516
- for(let device in this.data) {
517
- if (device.startsWith("device")) {
518
- for (let item in this.data[device]) {
519
- //检查每一条安检结果
520
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
521
- for (let i in this.data[device][item].f_items) {
522
- for (let it in this.config[dev].items) {
523
- if (it == this.data[device][item].f_items[i].f_item_name) {
524
- if (this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_item_value && parseFloat(this.data[device][item].f_items[i].f_item_value).toString() == "NaN") {
525
- return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
526
- }
524
+ for (let dev in this.config) {
525
+ for(let device in this.data) {
526
+ if (device.startsWith("device")) {
527
+ for (let item in this.data[device]) {
528
+ //检查每一条安检结果
529
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
530
+ for (let i in this.data[device][item].f_items) {
531
+ for (let it in this.config[dev].items) {
532
+ if (it == this.data[device][item].f_items[i].f_item_name) {
533
+ if (this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_item_value && parseFloat(this.data[device][item].f_items[i].f_item_value).toString() == "NaN") {
534
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
527
535
  }
528
536
  }
529
- //检查安检下拉结果
530
- if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
531
- if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
532
- return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
533
- }
537
+ }
538
+ //检查安检下拉结果
539
+ if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
540
+ if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
541
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
534
542
  }
535
543
  }
536
544
  }
@@ -538,496 +546,810 @@
538
546
  }
539
547
  }
540
548
  }
541
- },
549
+ }
550
+ },
542
551
 
543
552
 
544
- verifyFeedback() {
545
- let prefix = '拍照签名:'
546
- console.log('this.data.f_overall_imgs==>'+JSON.stringify(this.data.f_overall_imgs))
547
- if(Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
548
- return prefix + '必须有安检总体照片'
549
- /*if(Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
550
- return prefix + '必须有用户签名'*/
551
- if(Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
552
- return prefix + '下发安检通知书则必须给通知书拍照'
553
- /*if(!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
554
- return prefix + '请选择服务评价'*/
555
- },
553
+ verifyFeedback() {
554
+ let prefix = '拍照签名:'
555
+ //tag)
556
+ if(Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
557
+ return prefix + '必须有安检总体照片'
558
+ /*if(Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
559
+ return prefix + '必须有用户签名'*/
560
+ if(Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
561
+ return prefix + '下发安检通知书则必须给通知书拍照'
562
+ /*if(!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
563
+ return prefix + '请选择服务评价'*/
564
+ },
556
565
 
557
- getAllDefect() {
558
- let checkResults = {
559
- result: '正常',
560
- data: []
561
- }
562
- let value = ''
563
- let codata = JSON.parse(JSON.stringify(this.data))
564
- console.log('config =====> ' + JSON.stringify(this.config))
565
- console.log('codata =====> ' + JSON.stringify(codata))
566
- codata.f_devices = []
567
- this.f_devices = []
568
- for (let device in codata) {
569
- let f_device_type
570
- if (device.startsWith("device")) {
571
- console.log('codata[device] =====> ' + JSON.stringify(codata[device]))
572
- let hasOther = ''
573
- let otherValue = null
574
- for (let item in codata[device]) {
575
- codata[device][item].f_create_time = Util.toStandardTimeString()
576
- // if (codata[device].length > 1) {
577
- // let j = Number.parseInt(item) + 1
578
- // f_device_type = `${codata[device][item].f_device_type}${j}`
579
- // } else {
580
- // f_device_type = codata[device][item].f_device_type
566
+ getAllDefect() {
567
+ let checkResults = {
568
+ result: '正常',
569
+ data: []
570
+ }
571
+ let f_fist_count=0
572
+ let f_fist_content=''
573
+ let f_second_count=0
574
+ let f_second_content=''
575
+ let f_third_count=0
576
+ let f_third_content=''
577
+ let f_defect_text=''
578
+ let value = ''
579
+ let codata = JSON.parse(JSON.stringify(this.data))
580
+ //tag)
581
+ //tag)
582
+ codata.f_devices = []
583
+ this.f_devices = []
584
+ for (let device in codata) {
585
+ let f_device_type
586
+ if (device.startsWith("device")) {
587
+ //tag)
588
+ let hasOther = ''
589
+ let otherValue = null
590
+ for (let item in codata[device]) {
591
+ codata[device][item].f_create_time = Util.toStandardTimeString()
592
+ // if (codata[device].length > 1) {
593
+ // let j = Number.parseInt(item) + 1
594
+ // f_device_type = `${codata[device][item].f_device_type}${j}`
595
+ // } else {
596
+ // f_device_type = codata[device][item].f_device_type
597
+ // }
598
+ // //tag
599
+ for (let i = 0; i < codata[device][item].f_items.length ; i++) {
600
+ //tag
601
+ if(i == 'sum'){
602
+ continue
603
+ }
604
+ //tag)
605
+ var items = codata[device][item].f_items[i]
606
+ items.f_create_time = Util.toStandardTimeString()
607
+ //tag)
608
+ items.f_item_lists = []
609
+ //tag)
610
+ // //tag)
611
+ // //tag} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
612
+ // console.log(`f_is_defect => ${this.config[codata[device][item]
613
+ // .f_device_type]
614
+ // .items[items.f_item_name]
615
+ // .options
616
+ // .find((option)=>option.data === items.f_item_value)
617
+ // .map((option)=>option.f_is_defect)}`)
618
+ // if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
619
+ // //tag
620
+ // checkResults.result = '有隐患'
621
+ // //tag)
622
+ // //tag)
623
+ // // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
624
+ // this.checkResult[items.f_item_name] = items.f_item_value
625
+ // //tag)
626
+ // // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
627
+ // // //tag)
581
628
  // }
582
- // console.log('codata[device][item]=>',codata[device][item])
583
- for (let i = 0; i < codata[device][item].f_items.length ; i++) {
584
- console.log('i' + i)
585
- if(i == 'sum'){
586
- continue
587
- }
588
- console.log('codata[device][item].f_items' + JSON.stringify(codata[device][item].f_items))
589
- var items = codata[device][item].f_items[i]
590
- items.f_create_time = Util.toStandardTimeString()
591
- console.log('之前items' + JSON.stringify(items))
592
- items.f_item_lists = []
593
- console.log('之后items' + JSON.stringify(items))
594
- // console.log('items' + JSON.stringify(items))
595
- // console.log(`type => ${JSON.stringify(codata[device][item].f_device_type)} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
596
- // console.log(`f_is_defect => ${this.config[codata[device][item]
597
- // .f_device_type]
598
- // .items[items.f_item_name]
599
- // .options
600
- // .find((option)=>option.data === items.f_item_value)
601
- // .map((option)=>option.f_is_defect)}`)
602
- // if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
603
- // console.log('进入有隐患')
604
- // checkResults.result = '有隐患'
605
- // console.log('有隐患items.f_item_name==》' + JSON.stringify(items.f_item_name))
606
- // console.log('有隐患items.f_item_value==》' + JSON.stringify(items.f_item_value))
607
- // // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
608
- // this.checkResult[items.f_item_name] = items.f_item_value
609
- // console.log('有隐患checkResult==》' + JSON.stringify(this.checkResult))
610
- // // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
611
- // // console.log('有隐患checkResultsss==》' + JSON.stringify(this.checkResultsss))
612
- // }
613
- if (items.type == 'selector') {
614
- items.selected = []
615
- } else if (items.type == 'inputSelector') {
616
- items.selected = ''
617
- }
618
- //遍历配置项 将所选隐患项的配置信息放入保存的数据中
619
- let f_is_defect //是否是隐患
620
- let f_defect_level //是否是隐患
621
- let f_item_name = items.f_item_name
622
- let f_item_value
623
- let f_is_eliminate //隐患是否消除
624
- let f_meternumber = ''
625
- let f_user_defects = [] // 用户所有隐患
626
- console.log('f_item_name=====>' + f_item_name)
627
- console.log('items.type=====>' + items.type)
628
- if (items.type == 'selector' || items.type == 'checkbox') {
629
- for (let i in items.f_item_value) {
630
- let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
631
- console.log('configItems=====>' + JSON.stringify(configItems))
632
- for (let k in configItems.options) {
633
- console.log('configItems.options[k]==>' + JSON.stringify(configItems.options[k]))
634
- if (items.f_item_value[i] === configItems.options[k].data) {
635
-
636
- f_is_defect = configItems.options[k].isdefect
637
- f_item_value = items.f_item_value[i]
638
- f_defect_level = configItems.options[k].level
629
+ if (items.type == 'selector') {
630
+ items.selected = []
631
+ } else if (items.type == 'inputSelector') {
632
+ items.selected = ''
633
+ }
634
+ //遍历配置项 将所选隐患项的配置信息放入保存的数据中
635
+ let f_is_defect //是否是隐患
636
+ let f_defect_level //是否是隐患
637
+ let f_item_name = items.f_item_name
638
+ let f_item_value
639
+ let f_is_eliminate //隐患是否消除
640
+ let f_meternumber = ''
641
+ let f_user_defects = [] // 用户所有隐患
642
+ //tag
643
+ //tag
644
+ if (items.type == 'selector' || items.type == 'checkbox') {
645
+ for (let i in items.f_item_value) {
646
+ let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
647
+ //tag)
648
+ for (let k in configItems.options) {
649
+ //tag)
650
+ if (items.f_item_value[i] === configItems.options[k].data) {
639
651
 
640
- console.log('f_is_defect=====>' + f_is_defect)
641
- console.log('f_item_value=====>' + f_item_value)
642
- console.log('f_defect_level=====>' + f_defect_level)
652
+ f_is_defect = configItems.options[k].isdefect
653
+ f_item_value = items.f_item_value[i]
654
+ f_defect_level = configItems.options[k].level
643
655
 
644
- if (f_is_defect) {
645
- if (checkResults.result !== '有隐患') {
646
- checkResults.result = '有隐患'
647
- }
648
- if (!this.checkResult.hasOwnProperty(f_item_name)) {
649
- console.log(`The ${f_item_name} initialized`)
650
- this.checkResult[f_item_name] = []
651
- }
656
+ //tag
657
+ //tag
658
+ //tag
652
659
 
653
- console.log(`The ${f_item_name} was pushed ${f_item_value}`)
654
- this.checkResult[f_item_name].push(f_item_value)
660
+ if (f_is_defect) {
661
+ if (checkResults.result !== '有隐患') {
662
+ checkResults.result = '有隐患'
663
+ }
664
+ if (!this.checkResult.hasOwnProperty(f_item_name)) {
665
+ //tag
666
+ this.checkResult[f_item_name] = []
667
+ }
655
668
 
669
+ //tag
670
+ this.checkResult[f_item_name].push(f_item_value)
671
+ if(codata[device][item].f_device_type == '一级隐患'){
672
+ f_fist_content += `${f_item_name}:${f_item_value},`
673
+ f_fist_count = f_fist_count+1
674
+ }else if(codata[device][item].f_device_type == '二级隐患'){
675
+ f_second_content += `${f_item_name}:${f_item_value},`
676
+ f_second_count = f_second_count+1
677
+ }else if(codata[device][item].f_device_type == '三级隐患'){
678
+ f_third_content += `${f_item_name}:${f_item_value},`
679
+ f_third_count = f_third_count+1
656
680
  }
681
+ f_defect_text += `${f_item_name}:${f_item_value},`
682
+ }
657
683
 
658
- let items_list = {
659
- f_is_defect: f_is_defect,
660
- f_item_value: f_item_value,
661
- f_defect_level: f_defect_level,
662
- f_is_eliminate: null,
663
- f_create_time: Util.toStandardTimeString()
684
+ let items_list = {
685
+ f_is_defect: f_is_defect,
686
+ f_item_value: f_item_value,
687
+ f_defect_level: f_defect_level,
688
+ f_is_eliminate: null,
689
+ f_create_time: Util.toStandardTimeString()
690
+ }
691
+ if (!items.f_item_lists) {
692
+ //tag
693
+ items.f_item_lists = []
694
+ //tag)
695
+ if (JSON.stringify(items_list) !== '{}') {
696
+ //tag
697
+ items.f_item_lists.push(items_list)
664
698
  }
665
- if (!items.f_item_lists) {
666
- console.log('f_item_lists未定义')
667
- items.f_item_lists = []
668
- console.log('items_list=========>' + JSON.stringify(items_list))
669
- if (JSON.stringify(items_list) !== '{}') {
670
- console.log('放了')
671
- items.f_item_lists.push(items_list)
672
- }
673
- } else {
674
- console.log('items_list=========>' + JSON.stringify(items_list))
675
- if (JSON.stringify(items_list) !== '{}') {
676
- console.log('也放了')
677
- items.f_item_lists.push(items_list)
678
- }
699
+ } else {
700
+ //tag)
701
+ if (JSON.stringify(items_list) !== '{}') {
702
+ //tag
703
+ items.f_item_lists.push(items_list)
679
704
  }
680
705
  }
681
706
  }
682
707
  }
683
- } else {
684
- let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
685
- console.log('configItems===>' + JSON.stringify(configItems))
686
- f_is_defect = configItems.isdefect
687
- f_defect_level = configItems.level
688
- f_item_value = items.f_item_value
689
- console.log('else f_is_defect=====>' + f_is_defect)
690
- console.log('else f_defect_level=====>' + f_defect_level)
691
- console.log('items.f_item_value==>' + items.f_item_value)
692
- let items_list = {
693
- f_is_defect: f_is_defect,
694
- f_item_value: f_item_value,
695
- f_defect_level: f_defect_level,
696
- f_create_time: Util.toStandardTimeString()
708
+ }
709
+ } else {
710
+ let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
711
+ //tag)
712
+ f_is_defect = configItems.isdefect
713
+ f_defect_level = configItems.level
714
+ f_item_value = items.f_item_value
715
+ //tag
716
+ //tag
717
+ //tag
718
+ let items_list = {
719
+ f_is_defect: f_is_defect,
720
+ f_item_value: f_item_value,
721
+ f_defect_level: f_defect_level,
722
+ f_create_time: Util.toStandardTimeString()
723
+ }
724
+ if (f_is_defect && f_item_value) {
725
+ items.f_is_defect = true
726
+ if (checkResults.result !== '有隐患') {
727
+ checkResults.result = '有隐患'
728
+ }
729
+ if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
730
+ //tag
731
+ this.checkResult[items.f_item_name] = []
697
732
  }
698
- if (f_is_defect && f_item_value) {
699
- items.f_is_defect = true
700
- if (checkResults.result !== '有隐患') {
701
- checkResults.result = '有隐患'
702
- }
703
- if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
704
- console.log(`The ${items.f_item_name} initialized`)
705
- this.checkResult[items.f_item_name] = []
706
- }
707
733
 
708
- console.log(`The ${items.f_item_name} was pushed ${f_item_value}`)
709
- this.checkResult[items.f_item_name].push(f_item_value)
734
+ //tag
735
+ this.checkResult[items.f_item_name].push(f_item_value)
710
736
 
737
+ }
738
+ //tag)
739
+ //tag)
740
+ if (!items.f_item_lists) {
741
+ //tag
742
+ items.f_item_lists = []
743
+ if (JSON.stringify(items_list) != '{}') {
744
+ //tag
745
+ items.f_item_lists.push(items_list)
711
746
  }
712
- console.log('items_list=========>' + JSON.stringify(items_list))
713
- console.log('items.f_item_lists' + JSON.stringify(items.f_item_lists))
714
- if (!items.f_item_lists) {
715
- console.log('f_item_lists未定义')
716
- items.f_item_lists = []
717
- if (JSON.stringify(items_list) != '{}') {
718
- console.log('else放了')
719
- items.f_item_lists.push(items_list)
720
- }
721
- } else {
722
- // items.f_item_lists[0].f_item_value = f_item_value
723
- if (JSON.stringify(items_list) != '{}') {
724
- console.log('else也放了')
725
- console.log('放之后items_list=========>' + JSON.stringify(items_list))
726
- console.log('放之后items.f_item_lists' + JSON.stringify(items.f_item_lists))
727
- console.log('type=>items.f_item_lists' + typeof items.f_item_lists)
728
- items.f_item_lists.push(items_list)
729
- }
747
+ } else {
748
+ // items.f_item_lists[0].f_item_value = f_item_value
749
+ if (JSON.stringify(items_list) != '{}') {
750
+ //tag
751
+ //tag)
752
+ //tag)
753
+ //tag
754
+ items.f_item_lists.push(items_list)
730
755
  }
731
756
  }
732
- if (hasOther !== '' && otherValue !== null) {
733
- console.log(`The other value was pushed.`)
734
- this.checkResult[hasOther].push(otherValue)
735
- hasOther = ''
736
- otherValue = null
737
- }
738
- items.f_item_value = ''
739
757
  }
740
- console.log('安检结果checkResult' + JSON.stringify(this.checkResult))
741
- this.f_devices.push(codata[device][item])
758
+ if (hasOther !== '' && otherValue !== null) {
759
+ //tag
760
+ this.checkResult[hasOther].push(otherValue)
761
+ hasOther = ''
762
+ otherValue = null
763
+ }
764
+ items.f_item_value = ''
742
765
  }
766
+ //tag)
767
+ this.f_devices.push(codata[device][item])
743
768
  }
744
769
  }
745
- if (this.checkResult) {
746
- for (let key in this.checkResult) {
747
- // 上次安检结果数据组织
748
- console.log('key=>' + key)
749
- console.log('value=>' + this.checkResult[key])
750
- let temp = {}
751
- temp[key] = this.checkResult[key].join(',')
752
- checkResults.data.push(temp)
753
- // this.newcheckResult[key] = this.checkResult[key]
754
- // checkResults.data.push(this.newcheckResult)
755
- console.log('checkResults.data==>' + JSON.stringify(checkResults))
756
- // this.newcheckResult = {}
757
- }
758
- this.checkResult = {}
770
+ }
771
+ if (this.checkResult) {
772
+ for (let key in this.checkResult) {
773
+ // 上次安检结果数据组织
774
+ //tag
775
+ //tag
776
+ let temp = {}
777
+ temp[key] = this.checkResult[key].join(',')
778
+ checkResults.data.push(temp)
779
+ // this.newcheckResult[key] = this.checkResult[key]
780
+ // checkResults.data.push(this.newcheckResult)
781
+ //tag)
782
+ // this.newcheckResult = {}
759
783
  }
760
- console.log(`typeof-checkResults-->${typeof checkResults}`)
761
- console.log('checkResults ==> ' + JSON.stringify(checkResults))
762
- codata.f_defect_content = JSON.stringify(checkResults)
763
- this.data.f_defect_content = JSON.stringify(checkResults)
764
- console.log('f_defect_content' + codata.f_defect_content)
765
- return codata
766
- },
767
- uploadCheckPaper(){
768
- console.log('进入上传')
769
- this.saveNoclick()
784
+ this.checkResult = {}
785
+ }
786
+ //tag
787
+ //tag)
788
+ codata.f_fist_count = f_fist_count
789
+ codata.f_fist_content = f_fist_content
790
+ codata.f_second_count = f_second_count
791
+ codata.f_second_content = f_second_content
792
+ codata.f_third_count = f_third_count
793
+ codata.f_third_content = f_third_content
794
+ codata.f_defect_text = f_defect_text
795
+ codata.f_defect_content = JSON.stringify(checkResults)
796
+ this.data.f_defect_content = JSON.stringify(checkResults)
797
+ //tag
798
+ return codata
799
+ },
800
+ uploadCheckPaper(){
801
+ //tag
802
+ this.saveNoclick()
803
+ let errString = this.errorVerify()
804
+ this.isdisable = true
805
+ if (errString) {
806
+ //tag
807
+ //tag
808
+ //tag
809
+ if (Vue.android){
810
+ // if(this.isUpload){
811
+ // this.isUpload = false
812
+ // }
813
+ this.$showMessage(errString)
814
+ }
815
+ this.isdisable = false
816
+ return
817
+ } else {
818
+ this.$set('data.f_offsite_time', Util.toStandardTimeString())
819
+ this.$set('data.f_upload_time', Util.toStandardTimeString())
820
+ this.$set('data.f_upload_date', Util.toStandardTimeString())
821
+ //tag
822
+ this.data.f_complete = '已完成'
823
+ this.disableTimer()
824
+ }
825
+ if(this.item.f_user_type=='民用' && this.item.f_plan_meters[0].f_meter_type=='机表' && this.data.f_entry_status=='入户' && this.data.f_is_meterreadding=='未抄表'){
826
+ /*this.$showMessage('该用户为机表用户,未进行抄表!', ['confirm', 'cancel']).then((res) => {
827
+ if (res !== 'confirm') {
828
+ this.baseinfo.base.f_user_state = ['正常']
829
+ }
830
+ })*/
831
+ this.$showMessage("检测到当前机表用户未进行抄表,请先进行抄表再上传!")
832
+ this.isdisable = false
833
+ return
834
+ }
835
+ //tag
836
+ this.onlySave = false
837
+ let res = this.save()
838
+ // if(res) {
839
+ // try {
840
+ // let codata = this.getAllDefect()
841
+ // //获取微信推送内容
842
+ // let WxResult = this.getWeixin(codata)
843
+ // let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
844
+ // f_check_item_id: this.data.f_check_item_id
845
+ // })
846
+ // //如果是转维修上传,则不做校验,上传完成后自动转维修
847
+ // //tag
848
+ // //tag
849
+ // if(!this.isToRepair){
850
+ // if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
851
+ // //tag
852
+ // //tag
853
+ // if(!this.isSafeCheckToRepair){
854
+ // this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
855
+ // return
856
+ // }
857
+ // }
858
+ // }
859
+ // //tag
860
+ // for (let key in codata){
861
+ // if(key.startsWith("device")){
862
+ // codata[key] = []
863
+ // }
864
+ // }
865
+ // //tag}`)
866
+ //
867
+ // //tag
868
+ // let isStart = true
869
+ // let res
870
+ // for (let i in this.f_devices){
871
+ // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
872
+ // if(res.code == 200){
873
+ // isStart = false
874
+ // }else{
875
+ // this.$showMessage("保存失败!")
876
+ // }
877
+ // }
878
+ // let result = HostApp.organizeJSON({
879
+ // isStart:false,
880
+ // isJSON:true,
881
+ // jsonstr:{
882
+ // f_check_item_id: this.data.f_check_item_id,
883
+ // f_checker_id: this.data.f_checker_id,
884
+ // row: codata
885
+ // }
886
+ // })
887
+ // if(result.code == 200){
888
+ // HostApp.__this__ = this
889
+ // this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
890
+ // }
891
+ //
892
+ //
893
+ // // let response = this.$androidUtil.bzLogic('上传安检信息', {
894
+ // // f_check_item_id: this.data.f_check_item_id,
895
+ // // f_checker_id: this.data.f_checker_id,
896
+ // // row: codata
897
+ // // })
898
+ // // if (response.code == 200) {
899
+ // // //tag
900
+ // // //tag)
901
+ // // let f_paper_id
902
+ // // if(response.data != '' && response.data != null){
903
+ // // f_paper_id = JSON.parse(response.data).id
904
+ // // }
905
+ // // this.$set('data.f_paper_id', f_paper_id)
906
+ // // //tag
907
+ // // //tag)
908
+ // // //tag
909
+ // // //tag)
910
+ // // for (let device in this.data){
911
+ // // //tag
912
+ // // //tag)
913
+ // // if(device.startsWith("device")){
914
+ // // for(let devices of this.data[device]) {
915
+ // // devices.f_paper_id = f_paper_id
916
+ // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
917
+ // // row: devices
918
+ // // })
919
+ // // //tag}`)
920
+ // // if(ret.code == 200){
921
+ // // //tag
922
+ // // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
923
+ // // }
924
+ // // //tag
925
+ // // //tag)
926
+ // // if (ret.code != 200) {
927
+ // // //TODO 失败后处理
928
+ // // // this.isUpload = false
929
+ // // this.$showMessage("上传失败!")
930
+ // // return false
931
+ // // }
932
+ // // }
933
+ // // }
934
+ // // }
935
+ // // // for (let device of this.f_devices) {
936
+ // // // device.f_paper_id = f_paper_id
937
+ // // // //tag
938
+ // // // //tag)
939
+ // // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
940
+ // // // row: device
941
+ // // // })
942
+ // // // //tag
943
+ // // // if (ret.code != 200) {
944
+ // // // //TODO 失败后处理
945
+ // // // HostApp.alert("上传失败!")
946
+ // // // return false
947
+ // // // }
948
+ // // // }
949
+ // // let result = this.$androidUtil.bzLogic('FinishUpload',
950
+ // // {
951
+ // // f_check_item_id: this.data.f_check_item_id,
952
+ // // f_userinfo_id: codata.f_userinfoid,
953
+ // // f_last_check_result: codata.f_defect_content
954
+ // // })
955
+ // // if(result.code == 200){
956
+ // // // this.$showAlert('上传成功!', 'success', 2000)
957
+ // // this.$showMessage('上传成功!')
958
+ // // this.isStrat=false
959
+ // // if(url != "" ){
960
+ // // this.$resetpost(`${url}`,{data:WxResult})
961
+ // // }
962
+ // // return true
963
+ // // }else{
964
+ // // // this.isUpload = false
965
+ // // this.$showMessage("上传失败!")
966
+ // // return false
967
+ // // }
968
+ // // }else{
969
+ // // // this.isUpload = false
970
+ // // this.$showMessage("上传失败!")
971
+ // // return false
972
+ // // }
973
+ // }catch (e) {
974
+ // //tag)
975
+ // // this.isUpload = false
976
+ // this.$showMessage("上传失败!")
977
+ // }
978
+ // }
979
+ },
980
+ save(type) {
981
+ this.saveNoclick()
982
+ //tag
983
+ if(type == 'temp'){
984
+ this.data.f_complete = '未完成'
985
+ this.disableTimer()
986
+ }else {
770
987
  let errString = this.errorVerify()
771
- this.isdisable = true
772
988
  if (errString) {
773
- console.log(errString)
774
- console.log('Vue.android',Vue.android)
775
- console.log('this.isUpload',this.isUpload)
989
+ //tag
990
+ //tag
991
+ //tag
776
992
  if (Vue.android){
777
- // if(this.isUpload){
778
- // this.isUpload = false
779
- // }
780
993
  this.$showMessage(errString)
781
994
  }
782
- this.isdisable = false
783
995
  return
784
996
  } else {
785
- this.$set('data.f_offsite_time', Util.toStandardTimeString())
786
- this.$set('data.f_upload_time', Util.toStandardTimeString())
787
- this.$set('data.f_upload_date', Util.toStandardTimeString())
788
- console.log('赋值后',this.data)
789
997
  this.data.f_complete = '已完成'
998
+ this.$set('data.f_offsite_time', Util.toStandardTimeString())
790
999
  this.disableTimer()
791
1000
  }
792
- if(this.item.f_user_type=='民用' && this.item.f_plan_meters[0].f_meter_type=='机表' && this.data.f_entry_status=='入户' && this.data.f_is_meterreadding=='未抄表'){
793
- /*this.$showMessage('该用户为机表用户,未进行抄表!', ['confirm', 'cancel']).then((res) => {
794
- if (res !== 'confirm') {
795
- this.baseinfo.base.f_user_state = ['正常']
796
- }
797
- })*/
798
- this.$showMessage("检测到当前机表用户未进行抄表,请先进行抄表再上传!")
799
- this.isdisable = false
800
- return
1001
+ }
1002
+ if (this.data.f_entry_status == '入户') {
1003
+ this.data.f_rejectcheck_path = null
1004
+ this.data.f_noanswer_path = null
1005
+ this.data.f_noanswertwo_path = null
1006
+ }else if (this.data.f_entry_status == '到访不遇') {
1007
+ this.data.f_rejectcheck_path = null
1008
+ }else if (this.data.f_entry_status == '拒检') {
1009
+ this.data.f_noanswer_path = null
1010
+ this.data.f_noanswertwo_path = null
1011
+ }
1012
+ // try {
1013
+ let codata = this.getAllDefect()
1014
+ if(this.isToRepair && JSON.parse(this.data.f_defect_content).result != '有隐患'){
1015
+ this.$showMessage("未发现隐患,请点击上传")
1016
+ this.isToRepair=false
1017
+ this.isdisable = false
1018
+ return
1019
+ }
1020
+ //tag
1021
+ //tag}`)
1022
+ for (let key in codata) {
1023
+ if (key.startsWith("device")) {
1024
+ //tag)
1025
+ codata[key] = []
801
1026
  }
802
- console.log('uploadCheckPaper-->isUpload'+this.isUpload)
803
- this.onlySave = false
804
- let res = this.save()
805
- // if(res) {
806
- // try {
807
- // let codata = this.getAllDefect()
808
- // //获取微信推送内容
809
- // let WxResult = this.getWeixin(codata)
810
- // let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
811
- // f_check_item_id: this.data.f_check_item_id
812
- // })
813
- // //如果是转维修上传,则不做校验,上传完成后自动转维修
814
- // console.log('this.isToRepair=======》'+this.isToRepair)
815
- // console.log('this.livedispose=======》'+this.livedispose)
816
- // if(!this.isToRepair){
817
- // if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
818
- // console.log('是否已转维修')
819
- // console.log(this.isSafeCheckToRepair)
820
- // if(!this.isSafeCheckToRepair){
821
- // this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
822
- // return
823
- // }
824
- // }
825
- // }
826
- // console.log(`codata类型-->${typeof codata}`)
827
- // for (let key in codata){
828
- // if(key.startsWith("device")){
829
- // codata[key] = []
830
- // }
831
- // }
832
- // console.log(`codata内容-->${JSON.stringify(codata)}`)
833
- //
834
- // console.log('遮挡上传')
835
- // let isStart = true
836
- // let res
837
- // for (let i in this.f_devices){
838
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
839
- // if(res.code == 200){
840
- // isStart = false
841
- // }else{
842
- // this.$showMessage("保存失败!")
843
- // }
844
- // }
845
- // let result = HostApp.organizeJSON({
846
- // isStart:false,
847
- // isJSON:true,
848
- // jsonstr:{
849
- // f_check_item_id: this.data.f_check_item_id,
850
- // f_checker_id: this.data.f_checker_id,
851
- // row: codata
852
- // }
853
- // })
854
- // if(result.code == 200){
855
- // HostApp.__this__ = this
856
- // this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
857
- // }
858
- //
859
- //
860
- // // let response = this.$androidUtil.bzLogic('上传安检信息', {
861
- // // f_check_item_id: this.data.f_check_item_id,
862
- // // f_checker_id: this.data.f_checker_id,
863
- // // row: codata
864
- // // })
865
- // // if (response.code == 200) {
866
- // // console.log('=============response.data==================')
867
- // // console.log(JSON.stringify(response.data))
868
- // // let f_paper_id
869
- // // if(response.data != '' && response.data != null){
870
- // // f_paper_id = JSON.parse(response.data).id
871
- // // }
872
- // // this.$set('data.f_paper_id', f_paper_id)
873
- // // console.log('=============f_paper_id==================')
874
- // // console.log(JSON.stringify(f_paper_id))
875
- // // console.log(this.data.f_paper_id)
876
- // // console.log("===data"+JSON.stringify(this.data))
877
- // // for (let device in this.data){
878
- // // console.log("上传设备信息device=======>"+device)
879
- // // console.log("上传设备信息device=======>"+JSON.stringify(this.data[device]))
880
- // // if(device.startsWith("device")){
881
- // // for(let devices of this.data[device]) {
882
- // // devices.f_paper_id = f_paper_id
883
- // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
884
- // // row: devices
885
- // // })
886
- // // console.log(`上传设备信息结果res======${JSON.stringify(ret.data)}`)
887
- // // if(ret.code == 200){
888
- // // console.log(`设备信息id======${ret.data.f_device_id}`)
889
- // // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
890
- // // }
891
- // // console.log('上传设备信息device======')
892
- // // console.log(JSON.stringify(devices))
893
- // // if (ret.code != 200) {
894
- // // //TODO 失败后处理
895
- // // // this.isUpload = false
896
- // // this.$showMessage("上传失败!")
897
- // // return false
898
- // // }
899
- // // }
900
- // // }
901
- // // }
902
- // // // for (let device of this.f_devices) {
903
- // // // device.f_paper_id = f_paper_id
904
- // // // console.log('上传设备信息device======')
905
- // // // console.log(JSON.stringify(device))
906
- // // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
907
- // // // row: device
908
- // // // })
909
- // // // console.log(`上传设备信息结果res======${ret}`)
910
- // // // if (ret.code != 200) {
911
- // // // //TODO 失败后处理
912
- // // // HostApp.alert("上传失败!")
913
- // // // return false
914
- // // // }
915
- // // // }
916
- // // let result = this.$androidUtil.bzLogic('FinishUpload',
917
- // // {
918
- // // f_check_item_id: this.data.f_check_item_id,
919
- // // f_userinfo_id: codata.f_userinfoid,
920
- // // f_last_check_result: codata.f_defect_content
921
- // // })
922
- // // if(result.code == 200){
923
- // // // this.$showAlert('上传成功!', 'success', 2000)
924
- // // this.$showMessage('上传成功!')
925
- // // this.isStrat=false
926
- // // if(url != "" ){
927
- // // this.$resetpost(`${url}`,{data:WxResult})
928
- // // }
929
- // // return true
930
- // // }else{
931
- // // // this.isUpload = false
932
- // // this.$showMessage("上传失败!")
933
- // // return false
934
- // // }
935
- // // }else{
936
- // // // this.isUpload = false
937
- // // this.$showMessage("上传失败!")
938
- // // return false
939
- // // }
940
- // }catch (e) {
941
- // console.log('上传失败==='+JSON.stringify(e))
942
- // // this.isUpload = false
943
- // this.$showMessage("上传失败!")
944
- // }
945
- // }
946
- },
947
- save(type) {
948
- this.saveNoclick()
949
- console.log('进入保存')
950
- if(type == 'temp'){
951
- this.data.f_complete = '未完成'
952
- this.disableTimer()
953
- }else {
954
- let errString = this.errorVerify()
955
- if (errString) {
956
- console.log(errString)
957
- console.log('Vue.android',Vue.android)
958
- console.log('this.isUpload',this.isUpload)
959
- if (Vue.android){
960
- this.$showMessage(errString)
961
- }
962
- return
963
- } else {
964
- this.data.f_complete = '已完成'
965
- this.$set('data.f_offsite_time', Util.toStandardTimeString())
966
- this.disableTimer()
1027
+ }
1028
+ //tag}`)
1029
+ //tag}`)
1030
+ //tag
1031
+ if (Vue.android) {
1032
+ //tag
1033
+ let value = this.$androidUtil.path({
1034
+ alias: 'getUserinfomation',
1035
+ data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1036
+ })
1037
+ //tag)
1038
+ if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
1039
+ // let result = this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1040
+ // f_check_item_id: this.data.f_check_item_id,
1041
+ // f_checker_id: this.data.f_checker_id,
1042
+ // f_upload_state:'未传',
1043
+ // row: codata
1044
+ // })
1045
+ //tag
1046
+ let isStart = true
1047
+ // let res
1048
+ // for (let i in this.f_devices) {
1049
+ // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1050
+ // if (res.code == 200) {
1051
+ // isStart = false
1052
+ // } else {
1053
+ // this.$showMessage("保存失败!")
1054
+ // }
1055
+ // }
1056
+ // let result = HostApp.organizeJSON({
1057
+ // isStart: false,
1058
+ // isJSON: true,
1059
+ // jsonstr: {
1060
+ // f_check_item_id: this.data.f_check_item_id,
1061
+ // f_checker_id: this.data.f_checker_id,
1062
+ // f_upload_state: '未传',
1063
+ // row: codata
1064
+ // }
1065
+ // })
1066
+ codata.f_devices = this.f_devices
1067
+ this.changeinfo=codata
1068
+ let param = {
1069
+ f_check_item_id: this.data.f_check_item_id,
1070
+ f_checker_id: this.data.f_checker_id,
1071
+ f_upload_state: '未传',
1072
+ row: codata
967
1073
  }
968
- }
969
- // try {
970
- let codata = this.getAllDefect()
971
- if(this.isToRepair && JSON.parse(this.data.f_defect_content).result != '有隐患'){
972
- this.$showMessage("未发现隐患,请点击上传")
973
- this.isToRepair=false
974
- this.isdisable = false
975
- return
976
- }
977
- console.log(`codata类型-->${typeof codata}`)
978
- console.log(`codata内容-->${JSON.stringify(codata)}`)
979
- for (let key in codata) {
980
- if (key.startsWith("device")) {
981
- console.log('this.data.' + key + JSON.stringify(codata[key]))
982
- codata[key] = []
1074
+ //tag)
1075
+ let paramStr = JSON.stringify(param)
1076
+ // 多长截断一次
1077
+ let subLength = 800
1078
+ for (let i = 0; i < paramStr.length; i += subLength) {
1079
+ HostApp.param_cache(paramStr.substr(i, subLength))
1080
+ }
1081
+ HostApp.__this__ = this
1082
+ HostApp.syncLogic({
1083
+ // logic别名,key必须为logic
1084
+ 'logic': 'SafeSaveNoPaper',
1085
+ // 回调执行方法名,key必须为callback
1086
+ 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1087
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1088
+ // 执行回调方法传入key为backresult
1089
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1090
+ 'backresult': 1
1091
+ })
1092
+ } else {
1093
+ //tag
1094
+ let isStart = true
1095
+ let res
1096
+ //tag)
1097
+ // for (let i in this.f_devices) {
1098
+ // //tag)
1099
+ // for (let j = 0; j < this.f_devices[i].f_items.length; j++) {
1100
+ // //tag)
1101
+ // }
1102
+ // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1103
+ // //tag)
1104
+ // if (res.code == 200) {
1105
+ // isStart = false
1106
+ // } else {
1107
+ // this.$showMessage("保存失败!")
1108
+ // }
1109
+ // }
1110
+ //tag)
1111
+ //tag)
1112
+ //tag)
1113
+ // let result = HostApp.organizeJSON({
1114
+ // isStart: false,
1115
+ // isJSON: true,
1116
+ // jsonstr: {
1117
+ // f_check_item_id: this.data.f_check_item_id,
1118
+ // f_checker_id: this.data.f_checker_id,
1119
+ // row: codata
1120
+ // }
1121
+ // })
1122
+ codata.f_devices = this.f_devices
1123
+ this.changeinfo=codata
1124
+ let param = {
1125
+ f_check_item_id: this.data.f_check_item_id,
1126
+ f_checker_id: this.data.f_checker_id,
1127
+ row: codata
1128
+ }
1129
+ //tag)
1130
+ let paramStr = JSON.stringify(param)
1131
+ // 多长截断一次
1132
+ let subLength = 800
1133
+ for (let i = 0; i < paramStr.length; i += subLength) {
1134
+ HostApp.param_cache(paramStr.substr(i, subLength))
983
1135
  }
1136
+ HostApp.__this__ = this
1137
+ HostApp.syncLogic({
1138
+ // logic别名,key必须为logic
1139
+ 'logic': '保存安检单信息',
1140
+ // 回调执行方法名,key必须为callback
1141
+ 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1142
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1143
+ // 执行回调方法传入key为backresult
1144
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1145
+ 'backresult': 1
1146
+ })
984
1147
  }
985
- console.log(`codata内容-->${JSON.stringify(codata)}`)
986
- console.log(`codata内容-->${JSON.stringify(codata.f_user_defects)}`)
987
- console.log('安卓环境?=》' + Vue.android)
988
- if (Vue.android) {
989
- console.log('Vue.android is true')
990
- let value = this.$androidUtil.path({
991
- alias: 'getUserinfomation',
992
- data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1148
+
1149
+ } else {
1150
+ //tag
1151
+ let value = this.$androidUtil.path({
1152
+ alias: 'getUserinfomation',
1153
+ data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1154
+ })
1155
+
1156
+ if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
1157
+ this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1158
+ f_check_item_id: this.data.f_check_item_id,
1159
+ f_checker_id: this.data.f_checker_id,
1160
+ f_upload_state: '未传',
1161
+ row: codata
1162
+ }).then((res) => {
1163
+ if (res.data.code == 200) {
1164
+ //保存devices
1165
+ this.$androidUtil.bzLogic('getPaperInfo', {
1166
+ f_check_item_id: this.data.f_check_item_id
1167
+ }).then((res) => {
1168
+ //tag
1169
+ if (res.data.code == 200) {
1170
+
1171
+ let f_paper_id = res.data.data[0].id
1172
+ for (let device of this.f_devices) {
1173
+ device.f_paper_id = f_paper_id
1174
+ //tag
1175
+ this.$androidUtil.bzLogic('saveDevice', {
1176
+ row: device
1177
+ }).then((ret) => {
1178
+ //tag
1179
+ if (ret.code != 200) {
1180
+ // if(this.isUpload){
1181
+ // this.isUpload = false
1182
+ // }
1183
+ //TODO 失败后处理
1184
+ this.$showMessage("保存失败!")
1185
+ return false
1186
+ }
1187
+ })
1188
+ }
1189
+ }
1190
+ })
1191
+ // this.$showAlert('保存成功!', 'success', 2000)
1192
+ this.$showMessage('保存成功!')
1193
+ return true
1194
+ } else {
1195
+ // if(this.isUpload){
1196
+ // this.isUpload = false
1197
+ // }
1198
+ this.$showMessage("保存失败!")
1199
+ return false
1200
+ }
993
1201
  })
994
- console.log('getUserinfomation value ==> ' + JSON.stringify(value))
995
- if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
996
- // let result = this.$androidUtil.bzLogic('SafeSaveNoPaper', {
997
- // f_check_item_id: this.data.f_check_item_id,
998
- // f_checker_id: this.data.f_checker_id,
999
- // f_upload_state:'未传',
1000
- // row: codata
1001
- // })
1002
- console.log('无计划安检保存')
1003
- let isStart = true
1202
+ } else {
1203
+ this.$androidUtil.bzLogic('保存安检单信息', {
1204
+ f_check_item_id: this.data.f_check_item_id,
1205
+ f_checker_id: this.data.f_checker_id,
1206
+ row: codata
1207
+ }).then((res) => {
1208
+ //tag
1209
+ if (res.data.code == 200) {
1210
+ //保存devices
1211
+ this.$androidUtil.bzLogic('getPaperInfo', {
1212
+ f_check_item_id: this.data.f_check_item_id
1213
+ }).then((res) => {
1214
+ //tag
1215
+ if (res.data.code == 200) {
1216
+
1217
+ let f_paper_id = res.data.data[0].id
1218
+ for (let device of this.f_devices) {
1219
+ device.f_paper_id = f_paper_id
1220
+ //tag
1221
+ this.$androidUtil.bzLogic('saveDevice', {
1222
+ row: device
1223
+ }).then((ret) => {
1224
+ //tag
1225
+ if (ret.code != 200) {
1226
+ // if(this.isUpload){
1227
+ // this.isUpload = false
1228
+ // }
1229
+ //TODO 失败后处理
1230
+ this.$showMessage("保存失败!")
1231
+ return false
1232
+ }
1233
+ })
1234
+ }
1235
+ }
1236
+ })
1237
+ // this.$showAlert('保存成功!', 'success', 2000)
1238
+ this.$showMessage('保存成功!')
1239
+ return true
1240
+ } else {
1241
+ // if(this.isUpload){
1242
+ // this.isUpload = false
1243
+ // }
1244
+ this.$showMessage("保存失败!")
1245
+ return false
1246
+ }
1247
+ })
1248
+ }
1249
+ }
1250
+ // }catch (e) {
1251
+ // //tag)
1252
+ // // this.isUpload = false
1253
+ // this.$showMessage("保存失败!")
1254
+ // }
1255
+ },
1256
+ runSyncLogic(logic,callback,backresult){
1257
+ HostApp.runSyncLogic({
1258
+ // logic别名,key必须为logic
1259
+ 'logic': logic,
1260
+ // 回调执行方法名,key必须为callback
1261
+ 'callback': callback,
1262
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1263
+ // 执行回调方法传入key为backresult
1264
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1265
+ 'backresult':backresult
1266
+ })
1267
+ },
1268
+ logicWithHint(logic,data,callback,backresult){
1269
+ HostApp.logicWithHint({
1270
+ // logic别名,key必须为logic
1271
+ 'logic': logic,
1272
+ // 回调执行方法名,key必须为callback
1273
+ 'callback': callback,
1274
+ // logic执行需要的业务参数
1275
+ 'data': data,
1276
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1277
+ // 执行回调方法传入key为backresult
1278
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1279
+ 'backresult':backresult
1280
+ })
1281
+ },
1282
+ changeinfos(){
1283
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/changeuserinfo`, {data:this.changeinfo
1284
+ }).then(res4 =>{
1285
+ })
1286
+ },
1287
+ saveCallBack(jo){
1288
+ //tag)
1289
+ this.isdisable = false
1290
+ if(jo.state == 'ok'){
1291
+ let res = JSON.parse(jo.result)
1292
+ //tag)
1293
+ if(res.code == 200){
1294
+ //tag
1295
+ this.changeinfos()
1296
+ if(!this.onlySave){
1297
+ let codata = this.getAllDefect()
1298
+ //获取微信推送内容
1299
+ // let WxResult = this.getWeixin(codata)
1300
+ let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1301
+ f_check_item_id: this.data.f_check_item_id
1302
+ })
1303
+ //如果是转维修上传,则不做校验,上传完成后自动转维修
1304
+ //tag
1305
+ //tag
1306
+ if(!this.isToRepair){
1307
+ if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
1308
+ //tag
1309
+ //tag
1310
+ if(!this.isSafeCheckToRepair){
1311
+
1312
+ }
1313
+ }
1314
+ }
1315
+ //tag
1316
+ for (let key in codata){
1317
+ if(key.startsWith("device")){
1318
+ codata[key] = []
1319
+ }
1320
+ }
1321
+ //tag}`)
1322
+
1323
+ //tag
1324
+ // let isStart = true
1004
1325
  // let res
1005
- // for (let i in this.f_devices) {
1006
- // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1007
- // if (res.code == 200) {
1326
+ // for (let i in this.f_devices){
1327
+ // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1328
+ // if(res.code == 200){
1008
1329
  // isStart = false
1009
- // } else {
1010
- // this.$showMessage("保存失败!")
1330
+ // }else{
1331
+ // this.$showMessage("上传失败!")
1332
+ // return
1011
1333
  // }
1012
1334
  // }
1013
1335
  // let result = HostApp.organizeJSON({
1014
- // isStart: false,
1015
- // isJSON: true,
1016
- // jsonstr: {
1336
+ // isStart:false,
1337
+ // isJSON:true,
1338
+ // jsonstr:{
1017
1339
  // f_check_item_id: this.data.f_check_item_id,
1018
1340
  // f_checker_id: this.data.f_checker_id,
1019
- // f_upload_state: '未传',
1020
1341
  // row: codata
1021
1342
  // }
1022
1343
  // })
1023
1344
  codata.f_devices = this.f_devices
1345
+ codata.isTorepair = this.isToRepair
1346
+ codata.cremarks=this.cremarks
1024
1347
  let param = {
1025
1348
  f_check_item_id: this.data.f_check_item_id,
1026
1349
  f_checker_id: this.data.f_checker_id,
1027
- f_upload_state: '未传',
1028
1350
  row: codata
1029
1351
  }
1030
- console.log('codata ===> ' + JSON.stringify(codata))
1352
+ //tag)
1031
1353
  let paramStr = JSON.stringify(param)
1032
1354
  // 多长截断一次
1033
1355
  let subLength = 800
@@ -1037,1000 +1359,672 @@
1037
1359
  HostApp.__this__ = this
1038
1360
  HostApp.syncLogic({
1039
1361
  // logic别名,key必须为logic
1040
- 'logic': 'SafeSaveNoPaper',
1362
+ 'logic': 'rc_upCheckPaper',
1041
1363
  // 回调执行方法名,key必须为callback
1042
- 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1364
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1043
1365
  // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1044
1366
  // 执行回调方法传入key为backresult
1045
1367
  // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1046
1368
  'backresult': 1
1047
1369
  })
1048
- } else {
1049
- console.log('非无计划安检保存')
1050
- let isStart = true
1051
- let res
1052
- console.log('this.f_devices' + JSON.stringify(this.f_devices))
1053
- // for (let i in this.f_devices) {
1054
- // console.log('this.f_devices[i] ====>' + JSON.stringify(this.f_devices[i]))
1055
- // for (let j = 0; j < this.f_devices[i].f_items.length; j++) {
1056
- // console.log(`this.f_devices[i].f_items[${j}] ===> ` + JSON.stringify(this.f_devices[i].f_items[j]))
1057
- // }
1058
- // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1059
- // console.log('f_devices organizeJSON ==> ' + JSON.stringify(res))
1060
- // if (res.code == 200) {
1061
- // isStart = false
1062
- // } else {
1063
- // this.$showMessage("保存失败!")
1064
- // }
1065
- // }
1066
- console.log('this.data ==> ' + JSON.stringify(this.data))
1067
- console.log('f_check_item_id ==> ' + JSON.stringify(this.data.f_check_item_id))
1068
- console.log('f_checker_id ==> ' + JSON.stringify(this.data.f_checker_id))
1069
- // let result = HostApp.organizeJSON({
1070
- // isStart: false,
1071
- // isJSON: true,
1072
- // jsonstr: {
1073
- // f_check_item_id: this.data.f_check_item_id,
1074
- // f_checker_id: this.data.f_checker_id,
1075
- // row: codata
1076
- // }
1077
- // })
1078
- codata.f_devices = this.f_devices
1079
- let param = {
1080
- f_check_item_id: this.data.f_check_item_id,
1081
- f_checker_id: this.data.f_checker_id,
1082
- row: codata
1083
- }
1084
- console.log('codata ===> ' + JSON.stringify(codata))
1085
- let paramStr = JSON.stringify(param)
1086
- // 多长截断一次
1087
- let subLength = 800
1088
- for (let i = 0; i < paramStr.length; i += subLength) {
1089
- HostApp.param_cache(paramStr.substr(i, subLength))
1090
- }
1091
- HostApp.__this__ = this
1092
- HostApp.syncLogic({
1093
- // logic别名,key必须为logic
1094
- 'logic': '保存安检单信息',
1095
- // 回调执行方法名,key必须为callback
1096
- 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1097
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1098
- // 执行回调方法传入key为backresult
1099
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1100
- 'backresult': 1
1101
- })
1102
- }
1103
-
1104
- } else {
1105
- console.log("保存的值", codata)
1106
- let value = this.$androidUtil.path({
1107
- alias: 'getUserinfomation',
1108
- data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1109
- })
1110
-
1111
- if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
1112
- this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1113
- f_check_item_id: this.data.f_check_item_id,
1114
- f_checker_id: this.data.f_checker_id,
1115
- f_upload_state: '未传',
1116
- row: codata
1117
- }).then((res) => {
1118
- if (res.data.code == 200) {
1119
- //保存devices
1120
- this.$androidUtil.bzLogic('getPaperInfo', {
1121
- f_check_item_id: this.data.f_check_item_id
1122
- }).then((res) => {
1123
- console.log(`查询paper结果res======${res}`)
1124
- if (res.data.code == 200) {
1125
-
1126
- let f_paper_id = res.data.data[0].id
1127
- for (let device of this.f_devices) {
1128
- device.f_paper_id = f_paper_id
1129
- console.log('设备信息device======', device)
1130
- this.$androidUtil.bzLogic('saveDevice', {
1131
- row: device
1132
- }).then((ret) => {
1133
- console.log(`保存设备信息结果res======`, ret)
1134
- if (ret.code != 200) {
1135
- // if(this.isUpload){
1136
- // this.isUpload = false
1137
- // }
1138
- //TODO 失败后处理
1139
- this.$showMessage("保存失败!")
1140
- return false
1141
- }
1142
- })
1143
- }
1144
- }
1145
- })
1146
- // this.$showAlert('保存成功!', 'success', 2000)
1147
- this.$showMessage('保存成功!')
1148
- return true
1149
- } else {
1150
- // if(this.isUpload){
1151
- // this.isUpload = false
1152
- // }
1153
- this.$showMessage("保存失败!")
1154
- return false
1155
- }
1156
- })
1157
- } else {
1158
- this.$androidUtil.bzLogic('保存安检单信息', {
1159
- f_check_item_id: this.data.f_check_item_id,
1160
- f_checker_id: this.data.f_checker_id,
1161
- row: codata
1162
- }).then((res) => {
1163
- console.log('asdddddddddddddddddddddddddddddd')
1164
- if (res.data.code == 200) {
1165
- //保存devices
1166
- this.$androidUtil.bzLogic('getPaperInfo', {
1167
- f_check_item_id: this.data.f_check_item_id
1168
- }).then((res) => {
1169
- console.log(`查询paper结果res======${res}`)
1170
- if (res.data.code == 200) {
1171
-
1172
- let f_paper_id = res.data.data[0].id
1173
- for (let device of this.f_devices) {
1174
- device.f_paper_id = f_paper_id
1175
- console.log(`设备信息device======${device}`)
1176
- this.$androidUtil.bzLogic('saveDevice', {
1177
- row: device
1178
- }).then((ret) => {
1179
- console.log(`保存设备信息结果res======${ret}`)
1180
- if (ret.code != 200) {
1181
- // if(this.isUpload){
1182
- // this.isUpload = false
1183
- // }
1184
- //TODO 失败后处理
1185
- this.$showMessage("保存失败!")
1186
- return false
1187
- }
1188
- })
1189
- }
1190
- }
1191
- })
1192
- // this.$showAlert('保存成功!', 'success', 2000)
1193
- this.$showMessage('保存成功!')
1194
- return true
1195
- } else {
1196
- // if(this.isUpload){
1197
- // this.isUpload = false
1198
- // }
1199
- this.$showMessage("保存失败!")
1200
- return false
1201
- }
1202
- })
1203
- }
1204
- }
1205
- // }catch (e) {
1206
- // console.log('保存失败==='+JSON.stringify(e))
1207
- // // this.isUpload = false
1208
- // this.$showMessage("保存失败!")
1209
- // }
1210
- },
1211
- runSyncLogic(logic,callback,backresult){
1212
- HostApp.runSyncLogic({
1213
- // logic别名,key必须为logic
1214
- 'logic': logic,
1215
- // 回调执行方法名,key必须为callback
1216
- 'callback': callback,
1217
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1218
- // 执行回调方法传入key为backresult
1219
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1220
- 'backresult':backresult
1221
- })
1222
- },
1223
- logicWithHint(logic,data,callback,backresult){
1224
- HostApp.logicWithHint({
1225
- // logic别名,key必须为logic
1226
- 'logic': logic,
1227
- // 回调执行方法名,key必须为callback
1228
- 'callback': callback,
1229
- // logic执行需要的业务参数
1230
- 'data': data,
1231
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1232
- // 执行回调方法传入key为backresult
1233
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1234
- 'backresult':backresult
1235
- })
1236
- },
1237
- saveCallBack(jo){
1238
- console.log(JSON.stringify(jo))
1239
- this.isdisable = false
1240
- if(jo.state == 'ok'){
1241
- let res = JSON.parse(jo.result)
1242
- console.log('保存结果===》'+JSON.stringify(res))
1243
- if(res.code == 200){
1244
- console.log('onlySave=====>'+this.onlySave)
1245
- if(!this.onlySave){
1246
- let codata = this.getAllDefect()
1247
- //获取微信推送内容
1248
- // let WxResult = this.getWeixin(codata)
1249
- let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1250
- f_check_item_id: this.data.f_check_item_id
1251
- })
1252
- //如果是转维修上传,则不做校验,上传完成后自动转维修
1253
- console.log('this.isToRepair=======》'+this.isToRepair)
1254
- console.log('this.livedispose=======》'+this.livedispose)
1255
- if(!this.isToRepair){
1256
- if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
1257
- console.log('是否已转维修')
1258
- console.log(this.isSafeCheckToRepair)
1259
- if(!this.isSafeCheckToRepair){
1260
-
1261
- }
1262
- }
1263
- }
1264
- console.log(`codata类型-->${typeof codata}`)
1265
- for (let key in codata){
1266
- if(key.startsWith("device")){
1267
- codata[key] = []
1268
- }
1269
- }
1270
- console.log(`codata内容-->${JSON.stringify(codata)}`)
1271
-
1272
- console.log('遮挡上传')
1273
- // let isStart = true
1274
- // let res
1275
- // for (let i in this.f_devices){
1276
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1277
- // if(res.code == 200){
1278
- // isStart = false
1279
- // }else{
1280
- // this.$showMessage("上传失败!")
1281
- // return
1282
- // }
1283
- // }
1284
- // let result = HostApp.organizeJSON({
1285
- // isStart:false,
1286
- // isJSON:true,
1287
- // jsonstr:{
1288
- // f_check_item_id: this.data.f_check_item_id,
1289
- // f_checker_id: this.data.f_checker_id,
1290
- // row: codata
1291
- // }
1292
- // })
1293
- codata.f_devices = this.f_devices
1294
- codata.isTorepair = this.isToRepair
1295
- codata.cremarks=this.cremarks
1296
- let param = {
1297
- f_check_item_id: this.data.f_check_item_id,
1298
- f_checker_id: this.data.f_checker_id,
1299
- row: codata
1300
- }
1301
- console.log('codata ===> ' + JSON.stringify(codata))
1302
- let paramStr = JSON.stringify(param)
1303
- // 多长截断一次
1304
- let subLength = 800
1305
- for (let i = 0; i < paramStr.length; i += subLength) {
1306
- HostApp.param_cache(paramStr.substr(i, subLength))
1307
- }
1308
- HostApp.__this__ = this
1309
- HostApp.syncLogic({
1310
- // logic别名,key必须为logic
1311
- 'logic': 'rc_upCheckPaper',
1312
- // 回调执行方法名,key必须为callback
1313
- 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1314
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1315
- // 执行回调方法传入key为backresult
1316
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1317
- 'backresult': 1
1318
- })
1319
- }else{
1320
- this.$showMessage('保存成功!')
1321
- if(this.clickBack){
1322
- this.isStrat = false
1323
- this.$dispatch('confirm')
1324
- //this.$back()
1325
- }
1326
- }
1327
1370
  }else{
1328
- this.$showMessage('保存失败!')
1329
- return
1371
+ this.$showMessage('保存成功!')
1372
+ if(this.clickBack){
1373
+ this.isStrat = false
1374
+ this.$dispatch('confirm')
1375
+ //this.$back()
1376
+ }
1330
1377
  }
1331
1378
  }else{
1332
- this.$showMessage('服务器内部错误,保存失败!')
1379
+ this.$showMessage('保存失败!')
1333
1380
  return
1334
1381
  }
1382
+ }else{
1383
+ this.$showMessage('服务器内部错误,保存失败!')
1384
+ return
1385
+ }
1335
1386
 
1336
- },
1337
- uploadCallBack(jo){
1338
- //获取微信推送路径
1339
- let url = ""
1340
- if(Vue.config.safecheck != undefined) {
1341
- if (Vue.config.safecheck.ApproveConfig != undefined) {
1342
- if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
1343
- url = Vue.config.safecheck.ApproveConfig.weixinurl
1344
- }
1387
+ },
1388
+ uploadCallBack(jo){
1389
+ //获取微信推送路径
1390
+ let url = ""
1391
+ if(Vue.config.safecheck != undefined) {
1392
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1393
+ if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
1394
+ url = Vue.config.safecheck.ApproveConfig.weixinurl
1345
1395
  }
1346
1396
  }
1347
- console.log(JSON.stringify(jo))
1348
- console.log('jo ===> ' + JSON.stringify(jo))
1349
- this.isdisable = false
1350
- if(jo.state == 'ok'){
1351
- let res = JSON.parse(jo.result)
1352
- console.log('上传结果===》'+JSON.stringify(res))
1353
- console.log('上传结果的f_paper_id===》'+JSON.stringify(res.id))
1354
- if(res.code == 200){
1355
- //上传抄表信息
1356
- if(this.item.f_user_type=='民用' && this.item.f_safecheck_type=='年度普检' && this.data.f_entry_status=='入户' && this.data.f_is_meterreadding=='未抄表'){
1357
- //let codata = this.getAllDefect()
1358
- let res3= this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,{
1359
- data:{
1360
- items:" f_userfiles_id",
1361
- tablename:"t_userfiles",
1362
- condition:`f_userinfo_id=${this.item.f_userinfoid} and (f_table_state='正常' or f_table_state='停用')`,
1363
- orderitem:"f_userfiles_id"
1397
+ }
1398
+ //tag)
1399
+ //tag)
1400
+ this.isdisable = false
1401
+ if(jo.state == 'ok'){
1402
+ let res = JSON.parse(jo.result)
1403
+ //tag)
1404
+ //tag)
1405
+ if(res.code == 200){
1406
+ //上传抄表信息
1407
+ if(this.item.f_user_type=='民用' && this.item.f_safecheck_type=='年度普检' && this.data.f_entry_status=='入户' && this.data.f_is_meterreadding=='未抄表'){
1408
+ //let codata = this.getAllDefect()
1409
+ let res3= this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,{
1410
+ data:{
1411
+ items:" f_userfiles_id",
1412
+ tablename:"t_userfiles",
1413
+ condition:`f_userinfo_id=${this.item.f_userinfoid} and (f_table_state='正常' or f_table_state='停用')`,
1414
+ orderitem:"f_userfiles_id"
1415
+ }
1416
+ }).then(res3 => {
1417
+ //tag)
1418
+ let f_tablebase1=''
1419
+ this.f_devices.forEach(row=>{
1420
+ if(row.f_device_type=='燃气表'){
1421
+ row.f_items.forEach(item =>{
1422
+ if(item.f_item_name=='本期表读数'){
1423
+ f_tablebase1=item.f_item_lists[0].f_item_value
1424
+ }
1425
+ })
1364
1426
  }
1365
- }).then(res3 => {
1366
- console.log("res---"+JSON.stringify(res3))
1367
- let f_tablebase1=''
1368
- this.f_devices.forEach(row=>{
1369
- if(row.f_device_type=='燃气表'){
1370
- row.f_items.forEach(item =>{
1371
- if(item.f_item_name=='本期表读数'){
1372
- f_tablebase1=item.f_item_lists[0].f_item_value
1373
- }
1374
- })
1375
- }
1376
- })
1427
+ })
1377
1428
 
1378
- console.log("抄表底数!"+f_tablebase1+"------userfilesid"+res3.data[0].f_userfiles_id +'------'+this.data.f_checker_name+this.data.f_checker_id+this.data.f_checker_name)
1379
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/handCommonEnter`, {data:{
1380
- f_userfiles_id:res3.data[0].f_userfiles_id,
1381
- f_operator:this.data.f_checker_name,
1382
- f_operatorid:this.data.f_checker_id,
1383
- f_inputtor:this.data.f_checker_name,
1384
- f_tablebase:f_tablebase1,
1385
- isAudit:false,f_meter_source:''
1386
- }
1387
- }).then(res4 =>{
1388
- console.log("抄表上传成功!"+JSON.stringify(res4))
1389
- if(res4.data.status==200){
1390
- console.log("开始修改状态!!!!"+this.item.id)
1391
- let param={
1392
- itemid:res.id
1393
- }
1394
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperHandMeterState`, {data:param})
1429
+ //tag
1430
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/handCommonEnter`, {data:{
1431
+ f_userfiles_id:res3.data[0].f_userfiles_id,
1432
+ f_operator:this.data.f_checker_name,
1433
+ f_operatorid:this.data.f_checker_id,
1434
+ f_inputtor:this.data.f_checker_name,
1435
+ f_tablebase:f_tablebase1,
1436
+ isAudit:false,f_meter_source:''
1437
+ }
1438
+ }).then(res4 =>{
1439
+ //tag)
1440
+ if(res4.data.status==200){
1441
+ //tag
1442
+ let param={
1443
+ itemid:res.id
1395
1444
  }
1396
- })
1397
-
1445
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperHandMeterState`, {data:param})
1446
+ }
1398
1447
  })
1399
- }
1400
- this.$set('data.f_paper_id', res.id)
1401
- this.isStrat=false
1402
- if(url != ""){
1403
- this.$resetpost(`${url}`,{data:WxResult})
1404
- }
1405
- console.log('this.isToRepair==============>'+this.isToRepair)
1406
- if(this.isToRepair){
1407
- /*let defect=JSON.parse(this.data.f_defect_content)
1408
- let repairContent=''
1409
- defect.data.forEach(de =>{
1410
- let arr=Object.keys(de)
1411
- console.log("defect----------"+JSON.stringify(arr))
1412
- arr.forEach(key=>{
1413
- repairContent += key+':'+de[key]+' '
1414
- })
1448
+
1449
+ })
1450
+ }
1451
+ this.$set('data.f_paper_id', res.id)
1452
+ this.isStrat=false
1453
+ if(url != ""){
1454
+ this.$resetpost(`${url}`,{data:WxResult})
1455
+ }
1456
+ //tag
1457
+ if(this.isToRepair){
1458
+ /*let defect=JSON.parse(this.data.f_defect_content)
1459
+ let repairContent=''
1460
+ defect.data.forEach(de =>{
1461
+ let arr=Object.keys(de)
1462
+ //tag)
1463
+ arr.forEach(key=>{
1464
+ repairContent += key+':'+de[key]+' '
1415
1465
  })
1416
- console.log("defect----------"+repairContent)
1417
- let repair={
1418
- "sn": res.id,
1419
- "caseType": "客户问题",
1420
- "callerPhone": "",
1421
- "caseTime": Util.toStandardTimeString(),
1422
- "orderSource": "安检转维修",
1423
- "orderSourceUserID": "",
1424
- "customerNo": this.item.f_userinfo_code,
1425
- "customerName": this.item.f_user_name,
1426
- "customerAddress": this.item.f_address,
1427
- "customerDistrictCode": "",
1428
- "customerDistrict": "",
1429
- "callerName": this.item.checker,
1430
- "callerSex": "",
1431
- "phone": this.item.f_user_phone,
1432
- "repairAddress": this.item.f_address,
1433
- "repairContent": repairContent,
1434
- "company": Vue.user.orgs,
1435
- "orderType": "报修",
1436
- "faultCategory": "安检隐患",
1437
- "processingLevel": "普通",
1438
- "remarks": "" }*/
1439
- /*console.log('开始转维修!4'+JSON.stringify(repair))
1440
- new HttpResetClass().load('POST','http://39.101.182.117:8909/api/cc/workorder.ashx?sign=5F27F9CA-2793-40CE-9834-0F033F71EDD2&method=postpreorder',repair,{resolveMsg: null, rejectMsg: null}).then(res =>{
1441
- console.log('调维修接口返回的结果!'+JSON.stringify(res))
1442
- if(res.data.success){
1443
- console.log('调维修接口成功!'+JSON.stringify(res))
1444
- let param={
1445
- itemid:res.id,
1446
- gid:res.data.gid
1447
- }
1448
- new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperRepairState`,{data:param},{resolveMsg: null, rejectMsg: null})
1449
- this.$showMessage('转维修成功!')
1450
- }else{
1451
- this.$showMessage('转维修失败!')
1466
+ })
1467
+ //tag
1468
+ let repair={
1469
+ "sn": res.id,
1470
+ "caseType": "客户问题",
1471
+ "callerPhone": "",
1472
+ "caseTime": Util.toStandardTimeString(),
1473
+ "orderSource": "安检转维修",
1474
+ "orderSourceUserID": "",
1475
+ "customerNo": this.item.f_userinfo_code,
1476
+ "customerName": this.item.f_user_name,
1477
+ "customerAddress": this.item.f_address,
1478
+ "customerDistrictCode": "",
1479
+ "customerDistrict": "",
1480
+ "callerName": this.item.checker,
1481
+ "callerSex": "",
1482
+ "phone": this.item.f_user_phone,
1483
+ "repairAddress": this.item.f_address,
1484
+ "repairContent": repairContent,
1485
+ "company": Vue.user.orgs,
1486
+ "orderType": "报修",
1487
+ "faultCategory": "安检隐患",
1488
+ "processingLevel": "普通",
1489
+ "remarks": "" }*/
1490
+ /*//tag)
1491
+ new HttpResetClass().load('POST','http://39.101.182.117:8909/api/cc/workorder.ashx?sign=5F27F9CA-2793-40CE-9834-0F033F71EDD2&method=postpreorder',repair,{resolveMsg: null, rejectMsg: null}).then(res =>{
1492
+ //tag)
1493
+ if(res.data.success){
1494
+ //tag)
1495
+ let param={
1496
+ itemid:res.id,
1497
+ gid:res.data.gid
1452
1498
  }
1453
- this.isToRepair=false
1454
- this.$dispatch('confirm')
1455
- })*/
1456
- this.$showMessage('转维修成功!')
1499
+ new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperRepairState`,{data:param},{resolveMsg: null, rejectMsg: null})
1500
+ this.$showMessage('转维修成功!')
1501
+ }else{
1502
+ this.$showMessage('转维修失败!')
1503
+ }
1457
1504
  this.isToRepair=false
1458
1505
  this.$dispatch('confirm')
1459
- //this.todo()
1460
- }else{
1461
- this.$showMessage('上传成功!')
1462
- console.log('上传结束back')
1463
- this.$dispatch('confirm')
1464
- // this.$back()
1465
- }
1466
- }else if(res.code == 309){
1467
- this.$showMessage('该安检单已作废!')
1468
- console.log('该安检单已作废')
1469
- this.$dispatch('confirm')
1470
- }else if(res.code == 310){
1471
- this.$showMessage('该安检单已上传,请勿重复上传!')
1472
- console.log('该安检单已上传')
1473
- this.$dispatch('confirm')
1474
- }else if(res.code == 500){
1475
- this.$showMessage('图片上传失败,请检查图片,确认无误后再次进行上传!')
1476
- this.onlySave = true
1506
+ })*/
1507
+ this.$showMessage('转维修成功!')
1477
1508
  this.isToRepair=false
1509
+ this.$dispatch('confirm')
1510
+ //this.todo()
1478
1511
  }else{
1479
- this.$showMessage('上传失败,请检查手机本地网络是否正常,如无问题请再次尝试上传(多次失败请联系管理员)!')
1480
- this.onlySave = true
1481
- this.isToRepair=false
1512
+ this.$showMessage('上传成功!')
1513
+ //tag
1514
+ this.$dispatch('confirm')
1515
+ // this.$back()
1482
1516
  }
1483
- }else {
1484
- this.$showMessage('服务器内部错误,上传失败!')
1517
+ }else if(res.code == 309){
1518
+ this.$showMessage('该安检单已作废!')
1519
+ //tag
1520
+ this.$dispatch('confirm')
1521
+ }else if(res.code == 310){
1522
+ this.$showMessage('该安检单已上传,请勿重复上传!')
1523
+ //tag
1524
+ this.$dispatch('confirm')
1525
+ }else if(res.code == 500){
1526
+ this.$showMessage('图片上传失败,请检查图片,确认无误后再次进行上传!')
1527
+ this.onlySave = true
1528
+ this.isToRepair=false
1529
+ }else{
1530
+ this.$showMessage('上传失败,请检查手机本地网络是否正常,如无问题请再次尝试上传(多次失败请联系管理员)!')
1485
1531
  this.onlySave = true
1486
1532
  this.isToRepair=false
1487
1533
  }
1488
- },
1489
- safecheckToRepairCallBack(jo){
1490
- //获取微信推送路径
1491
- if(jo.state == 'ok'){
1492
- let res = JSON.parse(jo.result)
1493
- console.log('安检转维修===》'+JSON.stringify(res))
1494
- if(res.code == 200){
1495
- console.log('安检转维修成功')
1496
- if(res.data.code == 200){
1497
- this.$showMessage('上传并转维修成功!')
1498
- }else{
1499
- this.$showMessage('上传并转维修成功,回写安检单失败!')
1500
- }
1501
- this.$dispatch('confirm')
1502
- // this.$back()
1534
+ }else {
1535
+ this.$showMessage('服务器内部错误,上传失败!')
1536
+ this.onlySave = true
1537
+ this.isToRepair=false
1538
+ }
1539
+ },
1540
+ safecheckToRepairCallBack(jo){
1541
+ //获取微信推送路径
1542
+ if(jo.state == 'ok'){
1543
+ let res = JSON.parse(jo.result)
1544
+ //tag)
1545
+ if(res.code == 200){
1546
+ //tag
1547
+ if(res.data.code == 200){
1548
+ this.$showMessage('上传并转维修成功!')
1503
1549
  }else{
1504
- this.$showMessage('上传失败!')
1505
- this.onlySave = true
1550
+ this.$showMessage('上传并转维修成功,回写安检单失败!')
1506
1551
  }
1552
+ this.$dispatch('confirm')
1553
+ // this.$back()
1507
1554
  }else{
1508
- this.$showMessage('遇到意外错误!'+JSON.stringify(jo))
1555
+ this.$showMessage('上传失败!')
1509
1556
  this.onlySave = true
1510
1557
  }
1511
- },
1512
- todo(){
1513
- let gen = getRepairParam(this)
1514
- co(gen)
1515
- },
1516
- undo(){
1517
- this.showCheckToRepair = !this.showCheckToRepair
1518
- this.model.serviceacitivity[0].f_reciever = ''
1519
- this.model.serviceacitivity[0].f_meetunit = ''
1520
- this.model.f_repairtype = ''
1521
- this.meading = '转站点'
1522
- },
1523
- disableTimer() {
1524
- if(this.timer) {
1525
- window.clearTimeout(this.timer)
1526
- this.timer = null
1558
+ }else{
1559
+ this.$showMessage('遇到意外错误!'+JSON.stringify(jo))
1560
+ this.onlySave = true
1561
+ }
1562
+ },
1563
+ todo(){
1564
+ let gen = getRepairParam(this)
1565
+ co(gen)
1566
+ },
1567
+ undo(){
1568
+ this.showCheckToRepair = !this.showCheckToRepair
1569
+ this.model.serviceacitivity[0].f_reciever = ''
1570
+ this.model.serviceacitivity[0].f_meetunit = ''
1571
+ this.model.f_repairtype = ''
1572
+ this.meading = '转站点'
1573
+ },
1574
+ disableTimer() {
1575
+ if(this.timer) {
1576
+ window.clearTimeout(this.timer)
1577
+ this.timer = null
1578
+ }
1579
+ },
1580
+ loaded(paper) {
1581
+ if(!paper.hasOwnProperty('id')) {
1582
+ this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
1583
+ this.init()
1584
+ } else {
1585
+ Util.booleanFilter(paper)
1586
+ HostApp.__this__.$set('data', paper)
1587
+ HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
1588
+ // 如果打回重检则重新计时
1589
+ //tag
1590
+ if(HostApp.__this__.role == 'inspect'
1591
+ && HostApp.__this__.data.f_approved
1592
+ && HostApp.__this__.data.f_approved == '打回') {
1593
+ //tag
1594
+ HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1595
+ HostApp.__this__.tick()
1527
1596
  }
1528
- },
1529
- loaded(paper) {
1530
- if(!paper.hasOwnProperty('id')) {
1531
- this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
1532
- this.init()
1533
- } else {
1534
- Util.booleanFilter(paper)
1535
- HostApp.__this__.$set('data', paper)
1536
- HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
1537
- // 如果打回重检则重新计时
1538
- console.log('HostApp.__this__.role' + HostApp.__this__.role + ' HostApp.__this__.f_approved:' + HostApp.__this__.data.f_approved)
1539
- if(HostApp.__this__.role == 'inspect'
1540
- && HostApp.__this__.data.f_approved
1541
- && HostApp.__this__.data.f_approved == '打回') {
1542
- console.log('打回')
1543
- HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1544
- HostApp.__this__.tick()
1545
- }
1597
+ }
1598
+ HostApp.__callback__ = null
1599
+ HostApp.__this__ = null
1600
+ },
1601
+ S4() {
1602
+ return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
1603
+ },
1604
+ extend(initalObj, finalObj) {
1605
+ var obj = finalObj || {};
1606
+ for (var i in initalObj) {
1607
+ var prop = initalObj[i];
1608
+
1609
+ // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1610
+ if (prop === obj) {
1611
+ continue;
1546
1612
  }
1547
- HostApp.__callback__ = null
1548
- HostApp.__this__ = null
1549
- },
1550
- S4() {
1551
- return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
1552
- },
1553
- extend(initalObj, finalObj) {
1554
- var obj = finalObj || {};
1555
- for (var i in initalObj) {
1556
- var prop = initalObj[i];
1557
1613
 
1558
- // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1559
- if (prop === obj) {
1560
- continue;
1614
+ if (typeof prop === 'object') {
1615
+ if (obj[i]) {
1616
+ this.extend(obj[i], prop)
1617
+ } else {
1618
+ obj[i] = prop;
1561
1619
  }
1620
+ }
1621
+ }
1622
+ return obj;
1623
+ },
1624
+ async isoverDate(){
1625
+ //tag
1626
+ let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
1627
+ condition:"ti.id='"+this.item.id+"'"
1628
+ }
1629
+ })
1562
1630
 
1563
- if (typeof prop === 'object') {
1564
- if (obj[i]) {
1565
- this.extend(obj[i], prop)
1566
- } else {
1567
- obj[i] = prop;
1568
- }
1631
+ this.isneedDate=res.data.length>0?res.data[0]["f_subscribe_date"]:''
1632
+ },
1633
+ putDevices() {
1634
+ //tag)
1635
+ //tag)
1636
+ this.$set('data.approve', "true")
1637
+ this.$set('data.writeback', "false")
1638
+ if (Vue.config.safecheck != undefined) {
1639
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1640
+ if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
1641
+ this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
1569
1642
  }
1570
- }
1571
- return obj;
1572
- },
1573
- async isoverDate(){
1574
- console.log('123456')
1575
- let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
1576
- condition:"ti.id='"+this.item.id+"'"
1643
+ if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
1644
+ this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
1577
1645
  }
1578
- })
1646
+ if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
1647
+ this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
1648
+ }
1649
+ }
1650
+ //tag
1651
+ //tag)
1652
+ //tag)
1653
+ //tag
1654
+ if(this.item.f_user_type == '民用'){
1655
+ // 民用户
1579
1656
 
1580
- this.isneedDate=res.data.length>0?res.data[0]["f_subscribe_date"]:''
1581
- },
1582
- putDevices() {
1583
- console.log('Vue.config => ' + JSON.stringify(Vue.config))
1584
- console.log('Vue.config.DevicesConfig => ' + JSON.stringify(Vue.config.DevicesConfig))
1585
- this.$set('data.approve', "true")
1586
- this.$set('data.writeback', "false")
1587
- if (Vue.config.safecheck != undefined) {
1588
- if (Vue.config.safecheck.ApproveConfig != undefined) {
1589
- if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
1590
- this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
1591
- }
1592
- if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
1593
- this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
1594
- }
1595
- if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
1596
- this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
1657
+ if (Vue.config.safecheck.DevicesConfig != undefined){
1658
+ if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1659
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1660
+ }else{
1661
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1597
1662
  }
1598
- }
1599
- console.log(Vue.config)
1600
- console.log('Vue.config.safecheck.DevicesConfig=>' + JSON.stringify(Vue.config.safecheck.DevicesConfig))
1601
- console.log('赋值前的config=>' + JSON.stringify(this.config))
1602
- console.log("当前用户类型"+this.item.f_user_type)
1603
- if(this.item.f_user_type == '民用'){
1604
- // 民用户
1605
1663
 
1606
- if (Vue.config.safecheck.DevicesConfig != undefined){
1607
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1608
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1609
- }else{
1610
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1611
- }
1612
1664
 
1665
+ // this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1666
+ }
1667
+ }else {
1668
+ // 非民用
1669
+ if (Vue.config.safecheck.DevicesSetConfig != undefined){
1613
1670
 
1614
- // this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1671
+ if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1672
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1673
+ }else{
1674
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1615
1675
  }
1616
- }else {
1617
- // 非民用
1618
- if (Vue.config.safecheck.DevicesSetConfig != undefined){
1619
-
1620
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1621
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1622
- }else{
1623
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1624
- }
1625
- let dev={
1626
- index: 3,
1627
- items:{}}
1628
- if(this.deviceinfo.data.length>0){
1629
- for (let i=0;i<this.deviceinfo.data.length;i++){
1630
- dev.items[this.deviceinfo.data[i].f_devices_model+'数量']={index: i*3+1,type:"number",f_item_value: this.deviceinfo.data[i].f_devices_num}
1631
- dev.items[this.deviceinfo.data[i].f_devices_model+'品牌']={index: i*3+2,type:"string",f_item_value: this.deviceinfo.data[i].f_brand}
1632
- dev.items[this.deviceinfo.data[i].f_devices_model+'检查情况']={index: i*3+3,type:"string"}
1633
- }
1676
+ let dev={
1677
+ index: 3,
1678
+ items:{}}
1679
+ if(this.deviceinfo.data.length>0){
1680
+ for (let i=0;i<this.deviceinfo.data.length;i++){
1681
+ dev.items[this.deviceinfo.data[i].f_devices_model+(i+1)+'数量']={index: i*3+1,type:"number",f_item_value: this.deviceinfo.data[i].f_devices_num}
1682
+ dev.items[this.deviceinfo.data[i].f_devices_model+(i+1)+'品牌']={index: i*3+2,type:"string",f_item_value: this.deviceinfo.data[i].f_brand}
1683
+ dev.items[this.deviceinfo.data[i].f_devices_model+(i+1)+'检查情况']={index: i*3+3,type:"string"}
1634
1684
  }
1635
- console.log("dev:"+JSON.stringify(dev))
1636
- this.config["燃气具检查"]=dev
1637
- //this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1638
1685
  }
1686
+ //tag)
1687
+ this.config["燃气具检查"]=dev
1688
+ //this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1639
1689
  }
1640
-
1641
1690
  }
1642
- console.log('赋值后的config=>' + JSON.stringify(this.config))
1643
- // 预留设备项位置
1644
- for (let i in this.config) {
1645
- this.tabs.splice(1,0,null)
1691
+
1692
+ }
1693
+ //tag)
1694
+ // 预留设备项位置
1695
+ for (let i in this.config) {
1696
+ this.tabs.splice(1,0,null)
1697
+ }
1698
+ //遍历安检项配置
1699
+ for (let i in this.config) {
1700
+ //取得安检项索引值
1701
+ let n = this.config[i].index
1702
+ //tag
1703
+ this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1704
+ this.$set('data.' + 'device' + n, [])
1705
+ //tag
1706
+ // this.tabs.splice(2 + n - 1, 0,
1707
+ // {
1708
+ // header:i,
1709
+ // complete:'safecheck-devices',
1710
+ // class:'repair-details-class',
1711
+ // number:n
1712
+ // })
1713
+ this.tabs[n] = {
1714
+ header: i,
1715
+ complete: 'safecheck-devices',
1716
+ class: 'repair-details-class',
1717
+ number: n
1646
1718
  }
1647
- //遍历安检项配置
1648
- for (let i in this.config) {
1649
- //取得安检项索引值
1650
- let n = this.config[i].index
1651
- console.log('type '+ typeof n)
1652
- this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1653
- this.$set('data.' + 'device' + n, [])
1654
- console.log('data.device'+ n,this.data)
1655
- // this.tabs.splice(2 + n - 1, 0,
1656
- // {
1657
- // header:i,
1658
- // complete:'safecheck-devices',
1659
- // class:'repair-details-class',
1660
- // number:n
1661
- // })
1662
- this.tabs[n] = {
1663
- header: i,
1664
- complete: 'safecheck-devices',
1665
- class: 'repair-details-class',
1666
- number: n
1667
- }
1668
1719
 
1669
- if(this.config[i].quantity && this.config[i].quantity >0){
1670
- let items = []
1671
- for (let it in this.config[i].items) {
1672
- //赋值下拉选项
1673
- if (this.config[i].items[it].type == 'selector') {
1674
- for (let op in this.config[i].items[it].options) {
1675
- if (this.config[i].items[it].options[op].isdefault == true) {
1676
- items.push({
1677
- f_defect_level: this.config[i].items[it].options[op].level,
1678
- f_is_defect: this.config[i].items[it].options[op].isdefect,
1679
- f_item_name: it,
1680
- f_item_value: this.config[i].items[it].options[op].data,
1681
- f_path: "",
1682
- type: "selector"
1683
- })
1684
- }
1720
+ if(this.config[i].quantity && this.config[i].quantity >0){
1721
+ let items = []
1722
+ for (let it in this.config[i].items) {
1723
+ //赋值下拉选项
1724
+ if (this.config[i].items[it].type == 'selector') {
1725
+ for (let op in this.config[i].items[it].options) {
1726
+ if (this.config[i].items[it].options[op].isdefault == true) {
1727
+ items.push({
1728
+ f_defect_level: this.config[i].items[it].options[op].level,
1729
+ f_is_defect: this.config[i].items[it].options[op].isdefect,
1730
+ f_item_name: it,
1731
+ f_item_value: this.config[i].items[it].options[op].data,
1732
+ f_path: "",
1733
+ type: "selector"
1734
+ })
1685
1735
  }
1686
1736
  }
1687
1737
  }
1688
- for(let q =0;q<this.config[i].quantity;q++) {
1689
- this.data['device' + n].push(
1690
- {f_device_type: i, f_items:items}
1691
- )
1692
- }
1693
1738
  }
1694
- // this.data['device' + n].push(
1695
- // {f_device_type: i, f_items: items}
1696
- // )
1697
- n = n + 1
1698
- }
1699
- console.log('tbs合并数组')
1700
- this.faultshow.number = this.tabs.length
1701
- },
1702
- init () {
1703
- console.log("123456789")
1704
- // this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
1705
- this.data.ename = Vue.user.ename
1706
- this.data.f_outlets = Vue.user.f_parentname
1707
- this.data.f_meetunit = Vue.user.orgpathnames
1708
- this.data.orgpathstr = Vue.user.orgpathstr
1709
- this.data.f_check_item_id = this.item.id
1710
- this.data.f_check_plan_id = this.f_plan_id
1711
- this.data.f_checker_id = Vue.user.id
1712
- this.data.f_checker_name = Vue.user.name
1713
- this.data.f_check_type = this.item.f_user_type
1714
- this.data.f_safecheck_type = this.item.f_safecheck_type ? this.item.f_safecheck_type:'年度普检'
1715
- //this.data.f_exceed_reason = ''//存放送气超期原因
1716
- console.log('设置参数2')
1717
- this.data.f_subcompany = this.item.f_subcompany
1718
- this.data.f_approved = this.item.f_approved
1719
- this.data.f_repair_approved = this.item.f_repair_approved
1720
- this.data.f_no_checkplan = this.item.f_no_checkplan
1721
- this.data.f_approved = this.item.f_approved
1722
- this.data.f_filialeid = this.item.f_filialeid
1723
- this.data.f_orgstr = this.item.f_orgstr
1724
- this.data.version = this.item.version
1725
- this.$set('data.f_meters', this.item.f_plan_meters)
1726
- this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1727
- // 安检状态
1728
- this.$set('data.f_entry_status', '入户')
1729
- this.$set('data.f_laser_check', null)
1730
- this.$set('data.f_is_meterreadding', '未抄表')
1731
- this.$set('data.f_usegas', '已使用')
1732
- this.$set('data.f_state',this.item.f_state)
1733
- console.log('设置参数3')
1734
- // 用户信息
1735
- this.$set('data.f_user_name', this.item.f_user_name)
1736
- this.$set('data.f_user_phone', this.item.f_user_phone)
1737
- this.$set('data.f_userinfoid', this.item.f_userinfoid)
1738
- this.$set('data.f_address', this.item.f_address)
1739
- this.$set('data.f_small_area', this.item.f_small_area)
1740
- this.$set('data.f_card_id', this.item.f_card_id)
1741
- this.$set('data.f_area', this.item.f_area)
1742
- this.$set('data.f_street', this.item.f_street)
1743
- this.$set('data.f_room', this.item.f_room)
1744
- this.$set('data.f_building', this.item.f_building)
1745
- this.$set('data.f_unit', this.item.f_unit)
1746
- console.log('设置参数4')
1747
- this.$set('data.f_floor', this.item.f_floor)
1748
- this.$set('data.f_residential_area' , this.item.f_residential_area)
1749
- this.$set('data.f_idnumber', this.item.f_idnumber)
1750
- this.$set('data.f_comments', this.item.f_comments)
1751
- this.$set('data.f_userproperties', this.item.f_userproperties)
1752
- // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
1753
- // this.$set('data.f_user_check_time', this.item.f_user_check_time)
1754
- // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
1755
- // this.$set('data.f_user_family_remarks', this.item.f_user_family_remarks)
1756
- // this.$set('data.f_user_equipment_remarks', this.item.f_user_equipment_remarks)
1757
- // 处置方式
1758
- console.log('设置参数5')
1759
- this.$set('data.f_no_gas_device', false)
1760
- this.$set('data.f_close_valve', false)
1761
- this.$set('data.f_unload_battery', false)
1762
- console.log('设置参数6')
1763
- if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
1764
- this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
1739
+ for(let q =0;q<this.config[i].quantity;q++) {
1740
+ this.data['device' + n].push(
1741
+ {f_device_type: i, f_items:items}
1742
+ )
1743
+ }
1765
1744
  }
1766
- console.log("item.f_plan_meters",this.item.f_plan_meters)
1767
- if(this.item.f_plan_meters) {
1768
- for (let de in this.devices) {
1769
- this.$set('data.device' + this.devices[de].n, [])
1770
- for (let i = 0; i < this.item.f_plan_meters.length; i++) {
1771
- if (this.item.f_plan_meters[i].f_meter_type) {
1772
- console.log('this.item.f_plan_meters[i] ===> ' + JSON.stringify(this.item.f_plan_meters[i])+"------------"+this.devices[de].device)
1773
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1774
- console.log("是机表")
1775
- this.data['device' + this.devices[de].n].push({
1776
- f_device_type: "燃气表",
1777
- f_items: [
1778
- {
1779
- f_defect_level: null,
1780
- f_device_id: "",
1781
- f_is_defect: "",
1782
- f_item_name: "基表编号",
1783
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1784
- f_path: "",
1785
- type: "string"
1786
- },
1787
- {
1788
- f_defect_level: null,
1789
- f_device_id: "",
1790
- f_is_defect: "",
1791
- f_item_name: "气表型号",
1792
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1793
- f_path: "",
1794
- type: "string"
1795
- },
1796
- {
1797
- f_defect_level: null,
1798
- f_device_id: "",
1799
- f_is_defect: "",
1800
- f_item_name: "气表品牌",
1801
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1802
- f_path: "",
1803
- type: "string"
1804
- },
1805
- {
1806
- f_defect_level: null,
1807
- f_device_id: "",
1808
- f_is_defect: "",
1809
- f_item_name: "进气方向",
1810
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1811
- f_path: "",
1812
- type: "selector"
1813
- },
1814
- {
1815
- f_defect_level: null,
1816
- f_device_id: "",
1817
- f_is_defect: "",
1818
- f_item_name: "上期表读数",
1819
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1820
- f_path: "",
1821
- type: "number"
1822
- },
1823
- {
1824
- f_defect_level: null,
1825
- f_device_id: "",
1826
- f_is_defect: "",
1827
- f_item_name: "本期表读数",
1828
- f_item_value: '',
1829
- f_path: "",
1830
- type: "number"
1831
- }
1832
- ]
1833
- })
1834
- } else if (this.devices[de].device == "燃气表") {
1835
- console.log("不是是机表")
1836
- // delete this.config['燃气表']['items']['表底数']
1837
- this.data['device' + this.devices[de].n].push({
1838
- f_device_type: "燃气表",
1839
- f_items: [
1840
- {
1841
- f_defect_level: null,
1842
- f_device_id: "",
1843
- f_is_defect: "",
1844
- f_item_name: "基表编号",
1845
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1846
- f_path: "",
1847
- type: "string"
1848
- },
1849
- {
1850
- f_defect_level: null,
1851
- f_device_id: "",
1852
- f_is_defect: "",
1853
- f_item_name: "气表型号",
1854
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1855
- f_path: "",
1856
- type: "string"
1857
- },
1858
- {
1859
- f_defect_level: null,
1860
- f_device_id: "",
1861
- f_is_defect: "",
1862
- f_item_name: "气表品牌",
1863
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1864
- f_path: "",
1865
- type: "string"
1866
- },
1867
- {
1868
- f_defect_level: null,
1869
- f_device_id: "",
1870
- f_is_defect: "",
1871
- f_item_name: "进气方向",
1872
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1873
- f_path: "",
1874
- type: "selector"
1875
- },
1876
- {
1877
- f_defect_level: null,
1878
- f_device_id: "",
1879
- f_is_defect: "",
1880
- f_item_name: "上期表读数",
1881
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1882
- f_path: "",
1883
- type: "number"
1884
- },
1885
- {
1886
- f_defect_level: null,
1887
- f_device_id: "",
1888
- f_is_defect: "",
1889
- f_item_name: "本期表读数",
1890
- f_item_value: '',
1891
- f_path: "",
1892
- type: "number"
1893
- }
1894
- ]
1895
- })
1896
- }
1897
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1898
- console.log("有this.item.f_plan_meters[i].f_collection_type")
1899
- this.data['device' + this.devices[de].n].forEach(device => {
1900
- console.log('device ===> ' + JSON.stringify(device))
1901
- console.log('this.item.f_plan_meters[i].f_collection_type ===> ' + JSON.stringify(this.item.f_plan_meters[i].f_collection_type))
1902
- /*
1903
- "累购气量":{"index":8,"type":"number","readonly":true},
1904
- "累购金额":{"index":8,"type":"number","readonly":true},
1905
- "字轮读数":{"index":9,"type":"number","checkmust": true},
1906
- "已用金额":{"index":9,"type":"number","checkmust": true},
1907
- "剩余气量":{"index":10,"type":"number","checkmust": true},
1908
- "剩余金额":{"index":10,"type":"number","checkmust": true},
1909
- "气量异常差值":{"index":11,"type":"number","readonly": true},
1910
- "金额异常差值":{"index":11,"type":"number","readonly": true}
1911
- */
1912
- if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
1913
- if (!this.data.f_collection_type) {
1914
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1915
- delete this.config['燃气表']['items']['累购气量']
1916
- delete this.config['燃气表']['items']['已用气量']
1917
- delete this.config['燃气表']['items']['剩余气量']
1918
- delete this.config['燃气表']['items']['气量异常差值']
1919
- device.f_items.push(
1920
- {
1921
- f_defect_level: null,
1922
- f_device_id: "",
1923
- f_is_defect: "",
1924
- f_item_name: "初始表底",
1925
- isshow: false,
1926
- f_item_value: '',
1927
- f_path: "",
1928
- type: "number"
1929
- },
1930
- {
1931
- f_defect_level: null,
1932
- f_device_id: "",
1933
- f_is_defect: "",
1934
- f_item_name: "累购金额",
1935
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
1936
- f_path: "",
1937
- type: "number"
1938
- },
1939
- {
1940
- f_defect_level: null,
1941
- f_device_id: "",
1942
- f_is_defect: "",
1943
- f_item_name: "已用金额",
1944
- f_item_value: null,
1945
- f_path: "",
1946
- type: "number"
1947
- },
1948
- {
1949
- f_defect_level: null,
1950
- f_device_id: "",
1951
- f_is_defect: "",
1952
- f_item_name: "剩余金额",
1953
- f_item_value: null,
1954
- f_path: "",
1955
- type: "number"
1956
- },
1957
- {
1958
- f_defect_level: null,
1959
- f_device_id: "",
1960
- f_is_defect: "",
1961
- f_item_name: "金额异常差值",
1962
- isshow:false,
1963
- f_item_value: null,
1964
- f_path: "",
1965
- type: "number"
1966
- }
1967
- )
1968
- console.log('this.config[\'燃气表\'][\'items\'] ===> ' + JSON.stringify(this.config['燃气表']['items']))
1969
- }
1970
- } else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
1971
- if (!this.data.f_collection_type) {
1972
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1973
- delete this.config['燃气表']['items']['累购金额']
1974
- delete this.config['燃气表']['items']['已用金额']
1975
- delete this.config['燃气表']['items']['剩余金额']
1976
- delete this.config['燃气表']['items']['金额异常差值']
1977
- device.f_items.push(
1978
- {
1979
- f_defect_level: null,
1980
- f_device_id: "",
1981
- f_is_defect: "",
1982
- f_item_name: "初始表底",
1983
- isshow: true,
1984
- f_item_value: this.item.f_plan_meters[i].f_initial_base,
1985
- f_path: "",
1986
- type: "number"
1987
- },
1988
- {
1989
- f_defect_level: null,
1990
- f_device_id: "",
1991
- f_is_defect: "",
1992
- f_item_name: "累购气量",
1993
- f_item_value: this.item.f_plan_meters[i].f_total_gas,
1994
- f_path: "",
1995
- type: "number"
1996
- },
1997
- {
1998
- f_defect_level: null,
1999
- f_device_id: "",
2000
- f_is_defect: "",
2001
- f_item_name: "已用气量",
2002
- f_item_value: this.item.f_plan_meters[i].f_meter_base,
2003
- f_path: "",
2004
- type: "number"
2005
- },
2006
- {
2007
- f_defect_level: null,
2008
- f_device_id: "",
2009
- f_is_defect: "",
2010
- f_item_name: "剩余气量",
2011
- f_item_value: '',
2012
- f_path: "",
2013
- type: "number"
2014
- },
2015
- {
2016
- f_defect_level: null,
2017
- f_device_id: "",
2018
- f_is_defect: "",
2019
- f_item_name: "气量异常差值",
2020
- isshow:false,
2021
- f_item_value: null,
2022
- f_path: "",
2023
- type: "number"
2024
- }
2025
- )
2026
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
2027
- }
1745
+ // this.data['device' + n].push(
1746
+ // {f_device_type: i, f_items: items}
1747
+ // )
1748
+ n = n + 1
1749
+ }
1750
+ //tag
1751
+ this.faultshow.number = this.tabs.length
1752
+ },
1753
+ init () {
1754
+ //tag
1755
+ // this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
1756
+ this.data.ename = Vue.user.ename
1757
+ this.data.f_outlets = Vue.user.f_parentname
1758
+ this.data.f_meetunit = Vue.user.orgpathnames
1759
+ this.data.orgpathstr = Vue.user.orgpathstr
1760
+ this.data.f_check_item_id = this.item.id
1761
+ this.data.f_check_plan_id = this.f_plan_id
1762
+ this.data.f_checker_id = Vue.user.id
1763
+ this.data.f_checker_name = Vue.user.name
1764
+ this.data.f_check_type = this.item.f_user_type
1765
+ this.data.f_safecheck_type = this.item.f_safecheck_type ? this.item.f_safecheck_type:'年度普检'
1766
+ //this.data.f_exceed_reason = ''//存放送气超期原因
1767
+ //tag
1768
+ this.data.f_subcompany = this.item.f_subcompany
1769
+ this.data.f_approved = this.item.f_approved
1770
+ this.data.f_repair_approved = this.item.f_repair_approved
1771
+ this.data.f_no_checkplan = this.item.f_no_checkplan
1772
+ this.data.f_approved = this.item.f_approved
1773
+ this.data.f_filialeid = this.item.f_filialeid
1774
+ this.data.f_orgstr = this.item.f_orgstr
1775
+ this.data.version = this.item.version
1776
+ this.$set('data.f_meters', this.item.f_plan_meters)
1777
+ this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1778
+ // 安检状态
1779
+ this.$set('data.f_entry_status', '入户')
1780
+ this.$set('data.f_laser_check', null)
1781
+ this.$set('data.f_is_meterreadding', '未抄表')
1782
+ this.$set('data.f_usegas', '已使用')
1783
+ this.$set('data.f_state',this.item.f_state)
1784
+ //tag
1785
+ // 用户信息
1786
+ this.$set('data.f_user_name', this.item.f_user_name)
1787
+ this.$set('data.f_user_phone', this.item.f_user_phone)
1788
+ this.$set('data.f_used_name', this.item.f_plan_meters[0].f_used_name)
1789
+ this.$set('data.f_rent_phone',this.item.f_plan_meters[0].f_rent_phone)
1790
+ this.$set('data.f_remark', '')
1791
+ this.$set('data.f_user_phone2',this.item.f_plan_meters[0].f_user_phone2)
1792
+ this.$set('data.f_userinfoid', this.item.f_userinfoid)
1793
+ this.$set('data.f_address', this.item.f_address)
1794
+ this.$set('data.f_small_area', this.item.f_small_area)
1795
+ this.$set('data.f_card_id', this.item.f_card_id)
1796
+ this.$set('data.f_area', this.item.f_area)
1797
+ this.$set('data.f_street', this.item.f_street)
1798
+ this.$set('data.f_room', this.item.f_room)
1799
+ this.$set('data.f_building', this.item.f_building)
1800
+ this.$set('data.f_unit', this.item.f_unit)
1801
+ //tag
1802
+ this.$set('data.f_floor', this.item.f_floor)
1803
+ this.$set('data.f_residential_area' , this.item.f_residential_area)
1804
+ this.$set('data.f_idnumber', this.item.f_idnumber)
1805
+ this.$set('data.f_comments', this.item.f_comments)
1806
+ this.$set('data.f_userproperties', this.item.f_userproperties)
1807
+ this.$set('data.f_usetype', this.item.f_plan_meters[0].f_usetype)
1808
+ // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
1809
+ // this.$set('data.f_user_check_time', this.item.f_user_check_time)
1810
+ // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
1811
+ // this.$set('data.f_user_family_remarks', this.item.f_user_family_remarks)
1812
+ // this.$set('data.f_user_equipment_remarks', this.item.f_user_equipment_remarks)
1813
+ // 处置方式
1814
+ //tag
1815
+ this.$set('data.f_no_gas_device', false)
1816
+ this.$set('data.f_close_valve', false)
1817
+ this.$set('data.f_unload_battery', false)
1818
+ //tag
1819
+ if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
1820
+ this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
1821
+ }
1822
+ //tag
1823
+ if(this.item.f_plan_meters) {
1824
+ for (let de in this.devices) {
1825
+ this.$set('data.device' + this.devices[de].n, [])
1826
+ for (let i = 0; i < this.item.f_plan_meters.length; i++) {
1827
+ if (this.item.f_plan_meters[i].f_meter_type) {
1828
+ //tag+"------------"+this.devices[de].device)
1829
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1830
+ //tag
1831
+ this.data['device' + this.devices[de].n].push({
1832
+ f_device_type: "燃气表",
1833
+ f_items: [
1834
+ {
1835
+ f_defect_level: null,
1836
+ f_device_id: "",
1837
+ f_is_defect: "",
1838
+ f_item_name: "基表编号",
1839
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
1840
+ f_path: "",
1841
+ type: "string"
1842
+ },
1843
+ {
1844
+ f_defect_level: null,
1845
+ f_device_id: "",
1846
+ f_is_defect: "",
1847
+ f_item_name: "气表型号",
1848
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1849
+ f_path: "",
1850
+ type: "string"
1851
+ },
1852
+ {
1853
+ f_defect_level: null,
1854
+ f_device_id: "",
1855
+ f_is_defect: "",
1856
+ f_item_name: "气表品牌",
1857
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
1858
+ f_path: "",
1859
+ type: "string"
1860
+ },
1861
+ {
1862
+ f_defect_level: null,
1863
+ f_device_id: "",
1864
+ f_is_defect: "",
1865
+ f_item_name: "进气方向",
1866
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1867
+ f_path: "",
1868
+ type: "selector"
1869
+ },
1870
+ {
1871
+ f_defect_level: null,
1872
+ f_device_id: "",
1873
+ f_is_defect: "",
1874
+ f_item_name: "上期表读数",
1875
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1876
+ f_path: "",
1877
+ type: "number"
1878
+ },
1879
+ {
1880
+ f_defect_level: null,
1881
+ f_device_id: "",
1882
+ f_is_defect: "",
1883
+ f_item_name: "本期表读数",
1884
+ f_item_value: '',
1885
+ f_path: "",
1886
+ type: "number"
2028
1887
  }
2029
- })
2030
- }else if(this.devices[de].device == "燃气表"){
2031
- console.log("没有this.item.f_plan_meters[i].f_collection_type")
2032
- this.data['device' + this.devices[de].n].forEach(device => {
2033
- console.log('device ===> ' + JSON.stringify(device))
1888
+ ]
1889
+ })
1890
+ } else if (this.devices[de].device == "燃气表") {
1891
+ //tag
1892
+ // delete this.config['燃气表']['items']['表底数']
1893
+ this.data['device' + this.devices[de].n].push({
1894
+ f_device_type: "燃气表",
1895
+ f_items: [
1896
+ {
1897
+ f_defect_level: null,
1898
+ f_device_id: "",
1899
+ f_is_defect: "",
1900
+ f_item_name: "基表编号",
1901
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
1902
+ f_path: "",
1903
+ type: "string"
1904
+ },
1905
+ {
1906
+ f_defect_level: null,
1907
+ f_device_id: "",
1908
+ f_is_defect: "",
1909
+ f_item_name: "气表型号",
1910
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1911
+ f_path: "",
1912
+ type: "string"
1913
+ },
1914
+ {
1915
+ f_defect_level: null,
1916
+ f_device_id: "",
1917
+ f_is_defect: "",
1918
+ f_item_name: "气表品牌",
1919
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
1920
+ f_path: "",
1921
+ type: "string"
1922
+ },
1923
+ {
1924
+ f_defect_level: null,
1925
+ f_device_id: "",
1926
+ f_is_defect: "",
1927
+ f_item_name: "进气方向",
1928
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1929
+ f_path: "",
1930
+ type: "selector"
1931
+ },
1932
+ {
1933
+ f_defect_level: null,
1934
+ f_device_id: "",
1935
+ f_is_defect: "",
1936
+ f_item_name: "上期表读数",
1937
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1938
+ f_path: "",
1939
+ type: "number"
1940
+ },
1941
+ {
1942
+ f_defect_level: null,
1943
+ f_device_id: "",
1944
+ f_is_defect: "",
1945
+ f_item_name: "本期表读数",
1946
+ f_item_value: '',
1947
+ f_path: "",
1948
+ type: "number"
1949
+ }
1950
+ ]
1951
+ })
1952
+ }
1953
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1954
+ //tag
1955
+ this.data['device' + this.devices[de].n].forEach(device => {
1956
+ //tag)
1957
+ //tag)
1958
+ /*
1959
+ "累购气量":{"index":8,"type":"number","readonly":true},
1960
+ "累购金额":{"index":8,"type":"number","readonly":true},
1961
+ "字轮读数":{"index":9,"type":"number","checkmust": true},
1962
+ "已用金额":{"index":9,"type":"number","checkmust": true},
1963
+ "剩余气量":{"index":10,"type":"number","checkmust": true},
1964
+ "剩余金额":{"index":10,"type":"number","checkmust": true},
1965
+ "气量异常差值":{"index":11,"type":"number","readonly": true},
1966
+ "金额异常差值":{"index":11,"type":"number","readonly": true}
1967
+ */
1968
+ if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
1969
+ if (!this.data.f_collection_type) {
1970
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1971
+ delete this.config['燃气表']['items']['累购气量']
1972
+ delete this.config['燃气表']['items']['已用气量']
1973
+ delete this.config['燃气表']['items']['剩余气量']
1974
+ delete this.config['燃气表']['items']['气量异常差值']
1975
+ device.f_items.push(
1976
+ {
1977
+ f_defect_level: null,
1978
+ f_device_id: "",
1979
+ f_is_defect: "",
1980
+ f_item_name: "初始表底",
1981
+ isshow: false,
1982
+ f_item_value: '',
1983
+ f_path: "",
1984
+ type: "number"
1985
+ },
1986
+ {
1987
+ f_defect_level: null,
1988
+ f_device_id: "",
1989
+ f_is_defect: "",
1990
+ f_item_name: "累购金额",
1991
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
1992
+ f_path: "",
1993
+ type: "number"
1994
+ },
1995
+ {
1996
+ f_defect_level: null,
1997
+ f_device_id: "",
1998
+ f_is_defect: "",
1999
+ f_item_name: "已用金额",
2000
+ f_item_value: null,
2001
+ isshow:false,
2002
+ f_path: "",
2003
+ type: "number"
2004
+ },
2005
+ {
2006
+ f_defect_level: null,
2007
+ f_device_id: "",
2008
+ f_is_defect: "",
2009
+ f_item_name: "剩余金额",
2010
+ f_item_value: null,
2011
+ f_path: "",
2012
+ type: "number"
2013
+ },
2014
+ {
2015
+ f_defect_level: null,
2016
+ f_device_id: "",
2017
+ f_is_defect: "",
2018
+ f_item_name: "金额异常差值",
2019
+ isshow:false,
2020
+ f_item_value: null,
2021
+ f_path: "",
2022
+ type: "number"
2023
+ }
2024
+ )
2025
+ //tag)
2026
+ }
2027
+ } else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
2034
2028
  if (!this.data.f_collection_type) {
2035
2029
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2036
2030
  delete this.config['燃气表']['items']['累购金额']
@@ -2086,391 +2080,454 @@
2086
2080
  type: "number"
2087
2081
  }
2088
2082
  )
2089
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
2083
+ //tag)
2090
2084
  }
2091
- })
2092
- }
2085
+ }
2086
+ })
2087
+ }else if(this.devices[de].device == "燃气表"){
2088
+ //tag
2089
+ this.data['device' + this.devices[de].n].forEach(device => {
2090
+ //tag)
2091
+ if (!this.data.f_collection_type) {
2092
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2093
+ delete this.config['燃气表']['items']['累购金额']
2094
+ delete this.config['燃气表']['items']['已用金额']
2095
+ delete this.config['燃气表']['items']['剩余金额']
2096
+ delete this.config['燃气表']['items']['金额异常差值']
2097
+ device.f_items.push(
2098
+ {
2099
+ f_defect_level: null,
2100
+ f_device_id: "",
2101
+ f_is_defect: "",
2102
+ f_item_name: "初始表底",
2103
+ isshow: true,
2104
+ f_item_value: this.item.f_plan_meters[i].f_initial_base,
2105
+ f_path: "",
2106
+ type: "number"
2107
+ },
2108
+ {
2109
+ f_defect_level: null,
2110
+ f_device_id: "",
2111
+ f_is_defect: "",
2112
+ f_item_name: "累购气量",
2113
+ f_item_value: this.item.f_plan_meters[i].f_total_gas,
2114
+ f_path: "",
2115
+ type: "number"
2116
+ },
2117
+ {
2118
+ f_defect_level: null,
2119
+ f_device_id: "",
2120
+ f_is_defect: "",
2121
+ f_item_name: "已用气量",
2122
+ f_item_value: this.item.f_plan_meters[i].f_meter_base,
2123
+ f_path: "",
2124
+ type: "number"
2125
+ },
2126
+ {
2127
+ f_defect_level: null,
2128
+ f_device_id: "",
2129
+ f_is_defect: "",
2130
+ f_item_name: "剩余气量",
2131
+ f_item_value: '',
2132
+ f_path: "",
2133
+ type: "number"
2134
+ },
2135
+ {
2136
+ f_defect_level: null,
2137
+ f_device_id: "",
2138
+ f_is_defect: "",
2139
+ f_item_name: "气量异常差值",
2140
+ isshow:false,
2141
+ f_item_value: null,
2142
+ f_path: "",
2143
+ type: "number"
2144
+ }
2145
+ )
2146
+ //tag)
2147
+ }
2148
+ })
2093
2149
  }
2094
2150
  }
2095
- //工商户安检设备添加值
2096
- if(this.devices[de].device == "燃气具检查"){
2097
- console.log("this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2098
- console.log("this.devices[de]"+JSON.stringify(this.devices[de]))
2099
- this.data['device' + this.devices[de].n].forEach((device)=>{
2100
- for (let i=0;i<this.deviceinfo.data.length;i++){
2101
- device.f_items.push(
2102
- {
2103
- f_defect_level: null,
2104
- f_device_id: "",
2105
- f_is_defect: "",
2106
- f_item_name: this.deviceinfo.data[i].f_devices_model+'数量',
2107
- isshow:false,
2108
- f_item_value: this.deviceinfo.data[i].f_devices_num,
2109
- f_path: "",
2110
- type: "string"
2111
- },
2112
- {
2113
- f_defect_level: null,
2114
- f_device_id: "",
2115
- f_is_defect: "",
2116
- f_item_name: this.deviceinfo.data[i].f_devices_model+'品牌',
2117
- isshow:false,
2118
- f_item_value: this.deviceinfo.data[i].f_brand,
2119
- f_path: "",
2120
- type: "string"
2121
- }
2122
- )
2123
- }
2124
- })
2125
- console.log("this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2126
- }
2151
+ }
2152
+ //工商户安检设备添加值
2153
+ if(this.devices[de].device == "燃气具检查"){
2154
+ //tag)
2155
+ //tag)
2156
+ this.data['device' + this.devices[de].n].forEach((device)=>{
2157
+ for (let i=0;i<this.deviceinfo.data.length;i++){
2158
+ device.f_items.push(
2159
+ {
2160
+ f_defect_level: null,
2161
+ f_device_id: "",
2162
+ f_is_defect: "",
2163
+ f_item_name: this.deviceinfo.data[i].f_devices_model+'数量',
2164
+ isshow:false,
2165
+ f_item_value: this.deviceinfo.data[i].f_devices_num,
2166
+ f_path: "",
2167
+ type: "string"
2168
+ },
2169
+ {
2170
+ f_defect_level: null,
2171
+ f_device_id: "",
2172
+ f_is_defect: "",
2173
+ f_item_name: this.deviceinfo.data[i].f_devices_model+'品牌',
2174
+ isshow:false,
2175
+ f_item_value: this.deviceinfo.data[i].f_brand,
2176
+ f_path: "",
2177
+ type: "string"
2178
+ }
2179
+ )
2180
+ }
2181
+ })
2182
+ //tag)
2127
2183
  }
2128
2184
  }
2129
- var pardate = {
2130
- _this:this,
2131
- tittle:'安检详情',
2132
- safe:true
2133
- }
2134
- // this.$dispatch('gotoson',pardate)
2135
- console.log('页面跳转')
2136
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2137
2185
  }
2138
- },
2139
- watch: {
2140
- 'row' () {
2141
- console.log('row changed')
2142
- this.copy()
2143
- }
2144
- },
2145
- async ready () {
2146
- await this.isoverDate()
2147
- if(this.item.f_user_type == '非民用'){
2148
- this.deviceinfo=await new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,{
2149
- data:{
2150
- items:" de.* ",
2151
- tablename:"t_devices de join t_userfiles uf on uf.f_userfiles_id=de.f_userfiles_id",
2152
- condition:`de.f_state='有效' and uf.f_userinfo_id=${this.item.f_userinfoid}`,
2153
- orderitem:"de.id"
2154
- }
2155
- },{resolveMsg: null, rejectMsg: null})
2186
+ var pardate = {
2187
+ _this:this,
2188
+ tittle:'安检详情',
2189
+ safe:true
2156
2190
  }
2157
- this.putDevices()
2158
- //如果已检,则提取安检单
2159
- if (this.item.f_state != '未检') {
2160
- if (this.role == 'inspect' || this.role == 'androidview') {
2161
- HostApp.__callback__ = this.loaded
2162
- HostApp.__this__ = this
2163
- let that = this
2164
- let value = {}
2165
- console.log('this.item.f_no_checkplan',this.item.f_no_checkplan)
2166
- if (this.role == 'inspect') {
2167
- console.log('this.item.f_no_checkplan', this.item.f_no_checkplan)
2168
- if (this.item.f_no_checkplan == '无计划安检') {
2169
- value = this.$androidUtil.path({
2170
- alias: 'getUserinfomation',
2171
- data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
2172
- })
2173
- } else {
2174
- value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
2175
- }
2191
+ // this.$dispatch('gotoson',pardate)
2192
+ //tag
2193
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2194
+ }
2195
+ },
2196
+ watch: {
2197
+ 'row' () {
2198
+ //tag
2199
+ this.copy()
2200
+ }
2201
+ },
2202
+ async ready () {
2203
+ await this.isoverDate()
2204
+ if(this.item.f_user_type == '非民用'){
2205
+ this.deviceinfo=await new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,{
2206
+ data:{
2207
+ items:" de.* ",
2208
+ tablename:"t_devices de join t_userfiles uf on uf.f_userfiles_id=de.f_userfiles_id",
2209
+ condition:`de.f_state='有效' and uf.f_userinfo_id=${this.item.f_userinfoid}`,
2210
+ orderitem:"de.id"
2211
+ }
2212
+ },{resolveMsg: null, rejectMsg: null})
2213
+ }
2214
+ this.putDevices()
2215
+ //如果已检,则提取安检单
2216
+ if (this.item.f_state != '未检') {
2217
+ if (this.role == 'inspect' || this.role == 'androidview') {
2218
+ HostApp.__callback__ = this.loaded
2219
+ HostApp.__this__ = this
2220
+ let that = this
2221
+ let value = {}
2222
+ //tag
2223
+ if (this.role == 'inspect') {
2224
+ //tag
2225
+ if (this.item.f_no_checkplan == '无计划安检') {
2226
+ value = this.$androidUtil.path({
2227
+ alias: 'getUserinfomation',
2228
+ data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
2229
+ })
2176
2230
  } else {
2177
- value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2231
+ value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
2232
+ }
2233
+ } else {
2234
+ value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2235
+ }
2236
+ Util.replaceFalse(value)
2237
+ //tag)
2238
+ if (value.data.length != 0) {
2239
+ that.$set('data', value.data[0])
2240
+ //tag)
2241
+ if (this.item.f_plan_meters[0].f_meter_type=='机表' || this.data.f_collection_type == '按气量') {
2242
+ delete this.config['燃气表']['items']['累购金额']
2243
+ delete this.config['燃气表']['items']['已用金额']
2244
+ delete this.config['燃气表']['items']['剩余金额']
2245
+ delete this.config['燃气表']['items']['金额异常差值']
2246
+ } else if (this.data.f_collection_type == '按金额') {
2247
+ delete this.config['燃气表']['items']['累购气量']
2248
+ delete this.config['燃气表']['items']['已用气量']
2249
+ delete this.config['燃气表']['items']['剩余气量']
2250
+ delete this.config['燃气表']['items']['气量异常差值']
2178
2251
  }
2179
- Util.replaceFalse(value)
2180
- console.log("value:" + JSON.stringify(value))
2181
- if (value.data.length != 0) {
2182
- that.$set('data', value.data[0])
2183
- console.log("this.data.f_collection_type:" + JSON.stringify(this.data.f_collection_type))
2184
- if (this.item.f_plan_meters[0].f_meter_type=='机表' || this.data.f_collection_type == '按气量') {
2185
- delete this.config['燃气表']['items']['累购金额']
2186
- delete this.config['燃气表']['items']['已用金额']
2187
- delete this.config['燃气表']['items']['剩余金额']
2188
- delete this.config['燃气表']['items']['金额异常差值']
2189
- } else if (this.data.f_collection_type == '按金额') {
2190
- delete this.config['燃气表']['items']['累购气量']
2191
- delete this.config['燃气表']['items']['已用气量']
2192
- delete this.config['燃气表']['items']['剩余气量']
2193
- delete this.config['燃气表']['items']['气量异常差值']
2252
+ //tag)
2253
+ if (value.data[0].f_devices) {
2254
+ for (let da in that.devices) {
2255
+ that.$set('data.device' + that.devices[da].n, [])
2194
2256
  }
2195
- console.log("f_devices:" + JSON.stringify(value.data[0].f_devices))
2196
- if (value.data[0].f_devices) {
2197
- for (let da in that.devices) {
2198
- that.$set('data.device' + that.devices[da].n, [])
2199
- }
2200
- value.data[0].f_devices.forEach((item) => {
2201
- console.log('回写数据=>' + JSON.stringify(item))
2202
- for (let i in item.f_items) {
2203
- // if (item.f_items[i].f_path != '' && item.f_items[i].f_path != null) {
2204
- // this.picture.push({f_path: item.f_items[i].f_path, name: item.f_items[i].f_item_name})
2205
- // }
2206
- for (let de in that.config[item.f_device_type].items) {
2207
- if (item.f_items[i].f_item_name == de) {
2208
- if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
2209
- item.f_items[i].f_item_value = []
2210
- } else {
2211
- item.f_items[i].f_item_value = ''
2212
- }
2213
- }
2214
- }
2215
- console.log('回写数据item.f_items[i]=======>' + JSON.stringify(item.f_items[i]))
2216
- for (let j in item.f_items[i].f_item_lists) {
2217
- console.log('回写数据item.f_items.f_item_lists[j]=======>' + JSON.stringify(item.f_items[i].f_item_lists[j]))
2218
- if (item.f_items[i].f_item_value instanceof Array) {
2219
- item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2257
+ value.data[0].f_devices.forEach((item) => {
2258
+ //tag)
2259
+ for (let i in item.f_items) {
2260
+ // if (item.f_items[i].f_path != '' && item.f_items[i].f_path != null) {
2261
+ // this.picture.push({f_path: item.f_items[i].f_path, name: item.f_items[i].f_item_name})
2262
+ // }
2263
+ for (let de in that.config[item.f_device_type].items) {
2264
+ if (item.f_items[i].f_item_name == de) {
2265
+ if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
2266
+ item.f_items[i].f_item_value = []
2220
2267
  } else {
2221
- item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2268
+ item.f_items[i].f_item_value = ''
2222
2269
  }
2223
-
2224
2270
  }
2225
2271
  }
2226
- for (let de in that.devices) {
2227
- if (that.devices[de].device == item.f_device_type) {
2228
- that.data['device' + that.devices[de].n].push({
2229
- f_device_type: item.f_device_type,
2230
- f_items: item.f_items
2231
- })
2232
- console.log("device:" + JSON.stringify(that.data['device' + that.devices[de].n]))
2272
+ //tag)
2273
+ for (let j in item.f_items[i].f_item_lists) {
2274
+ //tag)
2275
+ if (item.f_items[i].f_item_value instanceof Array) {
2276
+ item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2277
+ } else {
2278
+ item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2233
2279
  }
2280
+
2281
+ }
2282
+ }
2283
+ for (let de in that.devices) {
2284
+ if (that.devices[de].device == item.f_device_type) {
2285
+ that.data['device' + that.devices[de].n].push({
2286
+ f_device_type: item.f_device_type,
2287
+ f_items: item.f_items
2288
+ })
2289
+ //tag)
2234
2290
  }
2235
- })
2236
- if (this.role == 'androidview') {
2237
- Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
2238
- Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
2239
- Util.booleanFilter(that.data)
2240
2291
  }
2241
- console.log('回写数据完成后'+JSON.stringify(that.data))
2292
+ })
2293
+ if (this.role == 'androidview') {
2294
+ Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
2295
+ Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
2296
+ Util.booleanFilter(that.data)
2242
2297
  }
2243
- } else {
2244
- console.log("该安检单可能已不在本地!")
2245
- this.init()
2298
+ //tag)
2246
2299
  }
2247
- console.log('页面跳转')
2248
- var pardate = {
2249
- _this:this,
2250
- tittle:'安检详情',
2251
- safe:true
2252
- }
2253
- // this.$dispatch('gotoson',pardate)getImgPath
2254
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2255
2300
  } else {
2256
- let that = this
2257
- let id
2258
- if (this.role == 'view') {
2259
- id = this.item.id
2260
- }
2261
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2262
- if (respanse.data.length != 0) {
2263
- that.data = Object.assign(that.data,respanse.data[0])
2264
- if(respanse.data[0].f_devices) {
2265
- for (let da in that.devices) {
2266
- that.$set('data.device' + that.devices[da].n, [])
2267
- }
2268
- respanse.data[0].f_devices.forEach((item) => {
2269
- for (let de in that.devices) {
2270
- if (that.devices[de].device == item.f_device_type) {
2271
- that.data['device' + that.devices[de].n].push({
2272
- f_device_type: item.f_device_type,
2273
- f_items: item.f_items
2274
- })
2275
- }
2276
- }
2277
- })
2278
- }
2279
- Util.replaceFalse(that.data)
2280
- Util.booleanFilter(that.data)
2281
- if(this.role == 'view'){
2282
- Util.ratifyPics(that.data)
2283
- }else{
2284
- Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
2301
+ //tag
2302
+ this.init()
2303
+ }
2304
+ //tag
2305
+ var pardate = {
2306
+ _this:this,
2307
+ tittle:'安检详情',
2308
+ safe:true
2309
+ }
2310
+ // this.$dispatch('gotoson',pardate)getImgPath
2311
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2312
+ } else {
2313
+ let that = this
2314
+ let id
2315
+ if (this.role == 'view') {
2316
+ id = this.item.id
2317
+ }
2318
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2319
+ if (respanse.data.length != 0) {
2320
+ that.data = Object.assign(that.data,respanse.data[0])
2321
+ if(respanse.data[0].f_devices) {
2322
+ for (let da in that.devices) {
2323
+ that.$set('data.device' + that.devices[da].n, [])
2285
2324
  }
2286
- console.log("that.data:", that.data)
2287
- } else {
2288
- alert("该安检单可能已不在本地!")
2289
- this.init()
2325
+ respanse.data[0].f_devices.forEach((item) => {
2326
+ for (let de in that.devices) {
2327
+ if (that.devices[de].device == item.f_device_type) {
2328
+ that.data['device' + that.devices[de].n].push({
2329
+ f_device_type: item.f_device_type,
2330
+ f_items: item.f_items
2331
+ })
2332
+ }
2333
+ }
2334
+ })
2290
2335
  }
2291
- var pardate = {
2292
- _this:this,
2293
- tittle:'安检详情',
2294
- safe:true
2336
+ Util.replaceFalse(that.data)
2337
+ Util.booleanFilter(that.data)
2338
+ if(this.role == 'view'){
2339
+ Util.ratifyPics(that.data)
2340
+ }else{
2341
+ Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
2295
2342
  }
2296
- // this.$dispatch('gotoson',pardate)
2297
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2343
+ //tag
2344
+ } else {
2345
+ alert("该安检单可能已不在本地!")
2346
+ this.init()
2298
2347
  }
2299
- ).catch(
2300
- (respanse) => {
2301
- alert('查找安检单失败')
2302
- })
2303
- }
2304
- }else{
2305
- this.init()
2306
- }
2307
- // tbs合并数组
2308
- // if( this.model.serviceacitivity[0].servicerepair.length > 0){
2309
- // for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
2310
- //
2311
- // }
2312
- // }
2313
- },
2314
- components: {
2315
- // 'door-service': DoorService,
2316
- // 'repair-info': RepairInfo,
2317
- // 'repair-user-info': RepairUserInfo,
2318
- // 'outlay': Outlay,
2319
- // 'fault-all': FaultAll,
2320
- // 'repair-details':RepairDetails
2321
- // 'pipeline': Pipeline,
2322
- // 'device-service': DeviceService,
2323
- // 'trouble-removal': TroubleRemoval,
2324
- // 'cooking-utensils': CookingUtensils,
2325
- // 'repair-matter-info': RepairMatterInfo,
2326
- // 'first-gas-check': FirstGasCheck,
2327
- // 'tel-change-matter': TelChangeMatter/
2328
- },
2329
- events: {
2330
- 'tijiao': function () {
2331
- // 事件回调内的 `this` 自动绑定到注册它的实例上
2332
- this.confirm()
2348
+ var pardate = {
2349
+ _this:this,
2350
+ tittle:'安检详情',
2351
+ safe:true
2352
+ }
2353
+ // this.$dispatch('gotoson',pardate)
2354
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2355
+ }
2356
+ ).catch(
2357
+ (respanse) => {
2358
+ alert('查找安检单失败')
2359
+ })
2333
2360
  }
2361
+ }else{
2362
+ this.init()
2363
+ }
2364
+ // tbs合并数组
2365
+ // if( this.model.serviceacitivity[0].servicerepair.length > 0){
2366
+ // for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
2367
+ //
2368
+ // }
2369
+ // }
2370
+ },
2371
+ components: {
2372
+ // 'door-service': DoorService,
2373
+ // 'repair-info': RepairInfo,
2374
+ // 'repair-user-info': RepairUserInfo,
2375
+ // 'outlay': Outlay,
2376
+ // 'fault-all': FaultAll,
2377
+ // 'repair-details':RepairDetails
2378
+ // 'pipeline': Pipeline,
2379
+ // 'device-service': DeviceService,
2380
+ // 'trouble-removal': TroubleRemoval,
2381
+ // 'cooking-utensils': CookingUtensils,
2382
+ // 'repair-matter-info': RepairMatterInfo,
2383
+ // 'first-gas-check': FirstGasCheck,
2384
+ // 'tel-change-matter': TelChangeMatter/
2385
+ },
2386
+ events: {
2387
+ 'tijiao': function () {
2388
+ // 事件回调内的 `this` 自动绑定到注册它的实例上
2389
+ this.confirm()
2334
2390
  }
2335
2391
  }
2392
+ }
2336
2393
  </script>
2337
2394
  <style lang="less">
2338
- @import "../../../src/bootstrap/less/variables.less";
2339
- .noclickbut {
2340
- pointer-events: none;
2341
- }
2342
- .tab-befor-img (@url) {
2343
- content: '';
2344
- background-image: url("@{url}");
2345
- background-size: 20px;
2346
- display: inline-block;
2347
- margin-right: 8px;
2348
- margin-top: 0.3em;
2349
- height: 1.3em;
2350
- width: 1.3em;
2351
- vertical-align: -35%;
2352
- }
2395
+ @import "../../../src/bootstrap/less/variables.less";
2396
+ .noclickbut {
2397
+ pointer-events: none;
2398
+ }
2399
+ .tab-befor-img (@url) {
2400
+ content: '';
2401
+ background-image: url("@{url}");
2402
+ background-size: 20px;
2403
+ display: inline-block;
2404
+ margin-right: 8px;
2405
+ margin-top: 0.3em;
2406
+ height: 1.3em;
2407
+ width: 1.3em;
2408
+ vertical-align: -35%;
2409
+ }
2353
2410
 
2354
- @media screen and (min-width: 768px) {
2355
- .android-repair-order > div > ul a {
2356
- font-size: @font-size-h2;
2357
- margin: 0.3em 0;
2358
- }
2411
+ @media screen and (min-width: 768px) {
2412
+ .android-repair-order > div > ul a {
2413
+ font-size: @font-size-h2;
2414
+ margin: 0.3em 0;
2359
2415
  }
2360
- .repair-details-class{
2361
- &::before {
2362
- .tab-befor-img("../../assets/huneiweixiu1.png");
2363
- }
2416
+ }
2417
+ .repair-details-class{
2418
+ &::before {
2419
+ .tab-befor-img("../../assets/huneiweixiu1.png");
2364
2420
  }
2365
- .repair-info-class {
2366
- &::before {
2367
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
2368
- }
2421
+ }
2422
+ .repair-info-class {
2423
+ &::before {
2424
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
2369
2425
  }
2370
- .repair-user-info-class {
2371
- &::before {
2372
- .tab-befor-img("../../assets/jibenxinxi1.png")
2373
- }
2426
+ }
2427
+ .repair-user-info-class {
2428
+ &::before {
2429
+ .tab-befor-img("../../assets/jibenxinxi1.png")
2374
2430
  }
2431
+ }
2375
2432
 
2376
- .door-service-class {
2377
- &::before {
2378
- .tab-befor-img("../../assets/huneiweixiu1.png")
2379
- }
2433
+ .door-service-class {
2434
+ &::before {
2435
+ .tab-befor-img("../../assets/huneiweixiu1.png")
2380
2436
  }
2437
+ }
2381
2438
 
2382
- .pipeline-class {
2383
- &::before {
2384
- .tab-befor-img("../../assets/guandao1.png")
2385
- }
2439
+ .pipeline-class {
2440
+ &::before {
2441
+ .tab-befor-img("../../assets/guandao1.png")
2386
2442
  }
2443
+ }
2387
2444
 
2388
- .device-service-class {
2389
- &::before {
2390
- .tab-befor-img("../../assets/shebeiweixiu1.png")
2391
- }
2445
+ .device-service-class {
2446
+ &::before {
2447
+ .tab-befor-img("../../assets/shebeiweixiu1.png")
2392
2448
  }
2449
+ }
2393
2450
 
2394
- .trouble-removal-class {
2395
- &::before {
2396
- .tab-befor-img("../../assets/shiguchuli.png")
2397
- }
2451
+ .trouble-removal-class {
2452
+ &::before {
2453
+ .tab-befor-img("../../assets/shiguchuli.png")
2398
2454
  }
2455
+ }
2399
2456
 
2400
- .cooking-utensils-class {
2401
- &::before {
2402
- .tab-befor-img("../../assets/zaoju1.png")
2403
- }
2457
+ .cooking-utensils-class {
2458
+ &::before {
2459
+ .tab-befor-img("../../assets/zaoju1.png")
2404
2460
  }
2461
+ }
2405
2462
 
2406
- .outlay-class {
2407
- &::before {
2408
- .tab-befor-img("../../assets/feiyong1.png")
2409
- }
2463
+ .outlay-class {
2464
+ &::before {
2465
+ .tab-befor-img("../../assets/feiyong1.png")
2410
2466
  }
2467
+ }
2411
2468
 
2412
- .fault-all-class {
2413
- &::before {
2414
- .tab-befor-img("../../assets/guzhanghuizong1.png")
2415
- }
2469
+ .fault-all-class {
2470
+ &::before {
2471
+ .tab-befor-img("../../assets/guzhanghuizong1.png")
2416
2472
  }
2417
- .photo-write-class {
2418
- &::before {
2419
- .tab-befor-img("../../assets/zaoju.png")
2420
- }
2473
+ }
2474
+ .photo-write-class {
2475
+ &::before {
2476
+ .tab-befor-img("../../assets/zaoju.png")
2421
2477
  }
2422
- .delay-apply-class {
2423
- &::before {
2424
- .tab-befor-img("../../assets/yonghubaoxiu.png")
2425
- }
2478
+ }
2479
+ .delay-apply-class {
2480
+ &::before {
2481
+ .tab-befor-img("../../assets/yonghubaoxiu.png")
2426
2482
  }
2483
+ }
2427
2484
 
2428
- .repair-back-class {
2429
- &::before {
2430
- .tab-befor-img("../../assets/fanhui.png")
2431
- }
2485
+ .repair-back-class {
2486
+ &::before {
2487
+ .tab-befor-img("../../assets/fanhui.png")
2432
2488
  }
2433
- .butt2 {
2434
- display: inline;
2435
- float: right;
2436
- width: 10px;
2437
- text-align: center;
2438
- align-items:center;
2439
- position: absolute;
2440
- top:50%;
2489
+ }
2490
+ .butt2 {
2491
+ display: inline;
2492
+ float: right;
2493
+ width: 10px;
2494
+ text-align: center;
2495
+ align-items:center;
2496
+ position: absolute;
2497
+ top:50%;
2441
2498
 
2442
- left:90%;
2443
- transform: translate(-50%,-50%);
2444
- }
2445
- .linesty{
2446
- display: inline-block;
2447
- height:1px;
2448
- width:100%;
2449
- background:#d0d0d0;
2450
- overflow:hidden;
2451
- vertical-align: middle;
2452
- }
2453
- .spanboder{
2454
- border-bottom:2px solid #499edf;
2455
- padding-bottom: 8px
2456
- }
2457
- .app-botton {
2458
- position:fixed;
2459
- background: #87b2dd;
2460
- right:8px;
2461
- color: #FFF;
2462
- padding: 8px;
2463
- text-align: center;
2464
- font-size: 1.2em;
2465
- z-index: 10;
2466
- opacity:0.5;
2467
- bottom: 50px;
2468
- margin-top: -10px;
2469
- height: 40px;
2470
- }
2471
- .android-repair-order > div > ul a {
2472
- font-size: 12px;
2473
- color: #333333;
2474
- padding: 13px 16px;
2475
- }
2499
+ left:90%;
2500
+ transform: translate(-50%,-50%);
2501
+ }
2502
+ .linesty{
2503
+ display: inline-block;
2504
+ height:1px;
2505
+ width:100%;
2506
+ background:#d0d0d0;
2507
+ overflow:hidden;
2508
+ vertical-align: middle;
2509
+ }
2510
+ .spanboder{
2511
+ border-bottom:2px solid #499edf;
2512
+ padding-bottom: 8px
2513
+ }
2514
+ .app-botton {
2515
+ position:fixed;
2516
+ background: #87b2dd;
2517
+ right:8px;
2518
+ color: #FFF;
2519
+ padding: 8px;
2520
+ text-align: center;
2521
+ font-size: 1.2em;
2522
+ z-index: 10;
2523
+ opacity:0.5;
2524
+ bottom: 50px;
2525
+ margin-top: -10px;
2526
+ height: 40px;
2527
+ }
2528
+ .android-repair-order > div > ul a {
2529
+ font-size: 12px;
2530
+ color: #333333;
2531
+ padding: 13px 16px;
2532
+ }
2476
2533
  </style>