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
@@ -0,0 +1,2950 @@
1
+ <template>
2
+ <!--<div class="app-botton" @click="back()">-->
3
+ <!--返回<span class="glyphicon glyphicon-menu-right"></span>-->
4
+ <!--</div>-->
5
+ <div id="savebut" class="no-close row android-repair-order" style="background-color: #f9f9f9">
6
+ <div class="col-sm-12 col-xs-12" >
7
+ <ul class="nav nav-tabs" style="background:#ffffff;overflow-y: hidden">
8
+ <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
9
+ v-if="$index < number+1 && $index < faultshow.number" >
10
+ <a href="#" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
11
+ <span class="spanboder">{{row.header}}</span>
12
+ <img class="butt2" :src="imgback(row.complete === componentName,row.header === header)"></a>
13
+ <p></p>
14
+ </li>
15
+ <div class="col-sm-12 col-xs-12 repair-bg" v-show="routeShow">
16
+ <route name='repair' :reuse="false"></route>
17
+ </div>
18
+ <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
19
+ v-if="$index > number && $index < faultshow.number ">
20
+ <a href="#" style="background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="row.class">
21
+ <span class="spanboder">{{row.header}}</span>
22
+ <img class="butt2" :src="imgback(row.complete === componentName,row.header === header)"></a>
23
+ <p></p>
24
+ </li>
25
+ <div class="col-sm-12 col-xs-12 repair-bg" v-if="actionEnabled ">
26
+ <div class="auto select-overspread form-horizontal repair-bg " style="padding-bottom:5px;">
27
+ <div class="bq-parent">
28
+ <blockquote class="blockquote">
29
+ <p>安检上传</p>
30
+ </blockquote>
31
+ </div>
32
+ <div class="panel panel-default auto repair-info-content">
33
+ <div class="panel-body ">
34
+ <div class="row auto">
35
+ <!--<div class="col-xs-12 col-sm-12 col-md-12" :style="timeSet(this.isneedDate)?'':'display:none'">-->
36
+ <!--<label>请输入超期原因:</label><br/>-->
37
+ <!--<textarea style="width: 100%;" v-model=""></textarea>-->
38
+ <!--</div>-->
39
+ <div class="col-xs-12 col-sm-12 col-md-12 flex-between" style="margin-top: 20px;">
40
+ <div class="col-xs-3 col-sm-3 col-md-3">
41
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="save('temp')">
42
+ 临时保存
43
+ </button>
44
+ </div>
45
+ <div class="col-xs-3 col-sm-3 col-md-3">
46
+ <button class="col-sm-3 btn btn-primary" @click="save('finish')">
47
+ 本地缓存
48
+ </button>
49
+ </div>
50
+ <div class="col-xs-3 col-sm-3 col-md-3">
51
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="uploadCheckPaper">
52
+ 上传
53
+ </button>
54
+ </div>
55
+ <div v-if="show_torepair">
56
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="showmod">
57
+ 转维修
58
+ </button>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </ul>
67
+ </div>
68
+ <modal :show.sync="showModal2" :backdrop="false" style="font-size: 15px">
69
+ <div slot="modal-header" class="modal-header upuserinfo_sel">
70
+ <h4 class="modal-title">
71
+ 转维修
72
+ </h4>
73
+ </div>
74
+ <div slot="modal-body" class="modal-body">
75
+ <div class="row">
76
+ <ol style="border: 1px solid green;padding: 15px 0 15px 20px">
77
+ <li v-for="row in repairDefect.data" >{{row}}</li>
78
+ </ol>
79
+ </div>
80
+ <div class="row" style="margin-top: 10px">
81
+ <label class="font_normal_body">派发类型</label>
82
+ <v-select :value.sync="selectData.dispatchType" :value-single="true" v-model="selectData.dispatchType"
83
+ :options='dispatchTypeOptions' placeholder='派发类型'
84
+ close-on-select>
85
+ </v-select>
86
+ </div>
87
+ <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
88
+ <label class="font_normal_body">维&ensp;修&ensp;员</label>
89
+ <v-select
90
+ :value.sync="selectData.f_repairman"
91
+ :value-single="true"
92
+ :options='repairers'
93
+ placeholder='请选择维修员'
94
+ close-on-select></v-select>
95
+ </div>
96
+ <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
97
+ <label class="font_normal_body">站&ensp;&ensp;&ensp;&ensp;点</label>
98
+ <right-tree
99
+ islist
100
+ :source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
101
+ @re-res="getSiteRes"></right-tree>
102
+ </div>
103
+ <!--<div class="row" style="margin-top: 10px">
104
+ <label class="font_normal_body">报修类型</label>
105
+ <v-select :value.sync="selectData.f_repairtype"
106
+ class="select select_list"
107
+ :value-single="true"
108
+ :options='repairTypeOptions'
109
+ close-on-select>
110
+ </v-select>
111
+ </div>-->
112
+ <div class="row" style="margin-top: 10px">
113
+ <label class="font_normal_body" >备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
114
+ <div class="btn-group" style="width:60%">
115
+ <textarea style="width:100%;height: 100px" v-model="selectData.f_remarks"></textarea>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
120
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="rectification">转维修</button>
121
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel1">取消</button>
122
+ </div>
123
+ </modal>
124
+ </div>
125
+ </template>
126
+
127
+ <script>
128
+ // 户内维修
129
+ import Vue from 'vue'
130
+ import * as Util from '../../Util'
131
+ import { HttpResetClass } from 'vue-client'
132
+ import co from 'co'
133
+ import $ from "jquery";
134
+ let loadParamGem = async function (self) {
135
+ await self.$LoadParams.loadParam()
136
+ }
137
+
138
+ export default {
139
+ title: '安检单',
140
+ props: ['f_plan_id', 'item', 'role','parentPage','source'],
141
+ // props: ['f_plan_id', 'role'],
142
+ data() {
143
+ return {
144
+ //测试数据
145
+ // f_plan_id:'',
146
+ // role:'inspect',
147
+ // item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
148
+ // "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
149
+ // "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
150
+ // "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
151
+ // "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
152
+ // "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",
153
+ // "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,
154
+ // "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,
155
+ // "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
156
+ // "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
157
+ // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
158
+ // "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}]
159
+ // },
160
+
161
+ data: {
162
+ f_devices: [],
163
+ f_defect_content:'',
164
+ f_recording1_path:'',
165
+ f_visit_number:'',
166
+ f_remark:''
167
+ },
168
+ imgsnum:this.$appdata.getSingleValue('安检总体照片数量') ? this.$appdata.getSingleValue('安检总体照片数量'):1, // 安检整体照片默认必须拍1张
169
+ updateuserphone:false, //安检时是否更新用户电话
170
+ updatemetermodel:false, //安检时是否更新表型号
171
+ updatemeternumber:false, //安检时是否更新表号
172
+ beforephone:'',
173
+ isUpload:false,
174
+ show_torepair: false,
175
+ onlySave:true, //判断保存还是保存并上传
176
+ livedispose:'',
177
+ refuseinspection:'', // 拒捡拍照是否提示
178
+ notencountered:'', // 到访不遇拍照是否提示
179
+ startClick:false, //开始安检按钮是否可点击
180
+ isStrat: false, //是否开始安检
181
+ checkResult:{},//查询结果
182
+ newcheckResult:{},
183
+ repairDefect : {
184
+ result: '正常',
185
+ data: []
186
+ },
187
+ rowCodata:{},
188
+ repairers: [],
189
+ timer: null,
190
+ showModal: false,
191
+ showModal2:false,
192
+ pic_to_be_viewed: '',
193
+ showBack:true,
194
+ devices: [],
195
+ f_devices : [],
196
+ isToRepair:false,
197
+ clickBack:true, //是否点击返回按钮
198
+ isSafeCheckToRepair:false,//是否转维修
199
+ Url:this.$androidUtil.getProxyUrl(),
200
+ detail:{},
201
+ defectDevice:{},
202
+ user:{},
203
+ is_has_jingweidu: this.$appdata.getSingleValue('照片水印加经纬度') || 'false',
204
+ dispatchTypeOptions: [{label: '派发给维修员', value: '派发给维修员'},{label: '派发给站点', value: '派发给站点'}],
205
+ selectData:{
206
+ dispatchType:'派发给维修员',
207
+ f_repairman:'',
208
+ f_remarks:'',
209
+ f_repairtype:'整改'
210
+ },
211
+ model: { //转维修数据
212
+ // 一次派单
213
+ serviceacitivity: [{
214
+ f_service_acitivity_type: '派单'
215
+ }],
216
+ f_source:'安检',
217
+ f_service_id: '',
218
+ f_contact_phone: '',
219
+ f_meetunit: '',
220
+ f_phone: '',
221
+ f_user_name: '',
222
+ f_address: '',
223
+ f_repair_date: Util.toStandardTimeString(),
224
+ f_card_id: '',
225
+ // f_department: '', 站点选择
226
+ f_reciever:'',
227
+ f_remarks: '',
228
+ f_user_type: '',
229
+ f_area: '',
230
+ f_unit_name:'',
231
+ f_street: '',
232
+ f_residential_area: '',
233
+ f_building: '',
234
+ f_unit: '',
235
+ f_floor: '',
236
+ f_room: '',
237
+ aState: null,
238
+ f_repairtype: '',
239
+ f_repairitems:{},
240
+ },
241
+ repairitems:[],
242
+ meading:'转站点',
243
+ config: {
244
+ "燃气表":{
245
+ "checkmust":true,
246
+ "index":1,
247
+ "items":{
248
+ //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
249
+ "基表编号":{"index":1,"type":"string","readonly":true},
250
+ "气表型号":{"index":2,"type":"string","readonly":true},
251
+ "气表品牌":{"index":3,"type":"string","readonly":true},
252
+ "进气方向":{"index":4,"type":"selector",
253
+ "multiple": false,
254
+ "checkmust":true,
255
+ "options": [
256
+ {
257
+ "data": "左表",
258
+ "isdefect": false,
259
+ "isdefault": false
260
+ },
261
+ {
262
+ "data": "右表",
263
+ "isdefect": false,
264
+ "isdefault": false
265
+ }
266
+ ]
267
+ },
268
+ "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
269
+ "上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
270
+ "累购气量":{"index":7,"type":"number","readonly":true},
271
+ "累购金额":{"index":7,"type":"number","readonly":true},
272
+ "用户累购气量":{"index":8,"type":"number","readonly":true,isshow:false},
273
+ "已用气量":{"index":10,"type":"number","checkmust": false},//基表数
274
+ "已用金额":{"index":10,"type":"number","checkmust": false},
275
+ "系统表底数":{"index":9,"type":"number","checkmust": false,isshow:false},
276
+ "表底数":{"index":10,"type":"number","checkmust": false},
277
+ "剩余气量":{"index":11,"type":"number","checkmust": false},//累购-已用
278
+ //显示屏数 --实际剩余气量
279
+ "剩余金额":{"index":11,"type":"number","checkmust": false},
280
+ "气量异常差值":{"index":12,"type":"number","readonly": true},
281
+ "金额异常差值":{"index":12,"type":"number","readonly": true},
282
+ "差值是否异常":{"index":12,"type":"selector",
283
+ "multiple": false,
284
+ "checkmust":true,
285
+ "options": [
286
+ {
287
+ "data": "是",
288
+ "isdefect": true,
289
+ "isdefault": false
290
+ },
291
+ {
292
+ "data": "否",
293
+ "isdefect": false,
294
+ "isdefault": false
295
+ }
296
+ ]
297
+ },
298
+ "表箱号":{"index":13,"type":"string","readonly": true},
299
+ "燃气表照片":{"index":14,"type":"picture","checkmust": false},
300
+ }
301
+ // 注意,配置项的index必须与上面的固定配置保持'顺序'
302
+ },
303
+ // "燃气表2":{
304
+ // "checkmust":true,
305
+ // "index":2,src
306
+ // "items":{
307
+ // "燃气表照片":{"index":1,"type":"picture"},
308
+ // "表品牌":{"index":2,"type":"string","readonly":true},
309
+ // "表号":{"index":3,"type":"string","readonly":true},
310
+ // "表封号":{"index":4,"type":"number","readonly":true},
311
+ // "表型号":{"index":5,"type":"string","readonly":true},
312
+ // "位置":{"index":6,"type":"string","readonly":true},
313
+ // "表底数":{"index":7,"type":"number","readonly":true},
314
+ // "累购气量":{"index":8,"type":"number","readonly":true},
315
+ // "累购金额":{"index":8,"type":"number","readonly":true}
316
+ // }
317
+ // }
318
+ },
319
+ // 维修项
320
+ isneedDate:'',
321
+ routeShow:true,
322
+ number:0,
323
+ shupingshow:false,
324
+ pipeline: {},
325
+ details: [],
326
+ ids: '',
327
+ savevalid: {
328
+ uservalid: false,
329
+ doorvalid: true,
330
+ changetable: false
331
+ },
332
+ doordetails: {},
333
+ devicedetails: {},
334
+ cookdetails: {},
335
+ componentName: 'safecheck-userinfo',
336
+ header:'客户信息',
337
+ tabs: [
338
+ // 参数全部设置成空,在ready时,等model处理好了,再添加
339
+ {
340
+ header: '客户信息',complete:'safecheck-userinfo',class: 'repair-info-class', props: null
341
+ },
342
+ {
343
+ header: '拍照签名',complete:'paper-feedback', class: 'outlay-class', props: null
344
+ }
345
+ ],
346
+ faultshow:{
347
+ number : 8
348
+ } // 控制 故障汇总 在 菜单里显示与否,
349
+ }
350
+ },
351
+ computed: {
352
+ actionEnabled: {
353
+ get() {
354
+ return this.role == 'inspect'
355
+ }
356
+ }
357
+ },
358
+ methods: {
359
+ showmod(){
360
+ let errString = this.errorVerify()
361
+ if (errString) {
362
+ console.log(errString)
363
+ console.log('Vue.android',Vue.android)
364
+ console.log('this.isUpload',this.isUpload)
365
+ if (Vue.android){
366
+ this.$showMessage(errString)
367
+ }
368
+ return
369
+ }
370
+ //清空转维修列表重新进行数据组织
371
+ this.repairDefect = {
372
+ result: '正常',
373
+ data: []
374
+ }
375
+ this.data.f_complete = '已完成'
376
+ this.$set('data.f_offsite_time', Util.toStandardTimeString())
377
+ this.assemblyCodata()
378
+ if(this.repairDefect.result=='正常'){
379
+ this.$showMessage("未发现有选择需要转维修的隐患,请检查填写的数据。如需转维修请在处理方式中选择 '转维修' !")
380
+ return
381
+ }
382
+ console.log("准备保存!")
383
+ this.disableTimer()
384
+ this.getEmp()
385
+ this.showModal2=true
386
+ },
387
+ cancel1(){
388
+ this.showModal2=false
389
+ this.selectData={
390
+ dispatchType:'派发给维修员',
391
+ f_repairman:'',
392
+ f_remarks:'',
393
+ f_repairtype:'整改'
394
+ }
395
+ },
396
+ getSiteRes(obj) {
397
+ console.log('siteRes ---> ')
398
+ console.log(obj)
399
+ if(obj.resids[0]){
400
+ this.selectData.f_meetunit = obj.res.join('.')
401
+ this.selectData.f_reciever = obj.resids.join('.')
402
+ this.selectData.f_outlets = obj.res[obj.res.length - 1]
403
+ }else {
404
+ this.selectData.f_meetunit = ''
405
+ this.selectData.f_reciever = ''
406
+ this.selectData.f_outlets = ''
407
+ }
408
+ },
409
+ rectification(){
410
+ if(this.selectData.dispatchType){
411
+ if(this.selectData.dispatchType=='派发给站点'){
412
+ if(!this.selectData.f_reciever){
413
+ this.$showMessage('请选择部门!')
414
+ return
415
+ }
416
+ }else{
417
+ if(!this.selectData.f_repairman){
418
+ this.$showMessage('请选择维修员!')
419
+ return
420
+ }
421
+ }
422
+ }else {
423
+ this.$showMessage('请选择派发类型!')
424
+ return
425
+ }
426
+ /*if(!this.selectData.f_repairtype){
427
+ this.$showMessage('请选择报修类型!')
428
+ return
429
+ }*/
430
+ //关闭录音
431
+ this.closely(false) // 保存本地,不删除录音文件暂停录音
432
+ let act={}
433
+ let toRepair=''
434
+ if(this.selectData.dispatchType=='派发给站点'){
435
+ act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_reciever,f_service_acitivity_type:'派单'}
436
+ toRepair=null
437
+ }else{
438
+ console.log('派发给维修员---------'+this.selectData.f_repairman)
439
+ act={f_meetunit:'',f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
440
+ toRepair='一级派单'
441
+ }
442
+ let repData={
443
+ toRepair:toRepair,
444
+ activity:act,
445
+ deps:Vue.user.deps,
446
+ depids:Vue.user.depids,
447
+ f_remarks:this.selectData.f_remarks,
448
+ f_repairtype:this.selectData.f_repairtype,
449
+ f_attendant: Vue.user.name,
450
+ loginUser:{name:Vue.user.name,ename:Vue.user.id,id:Vue.user.id},
451
+ }
452
+ this.rowCodata.istoRepair='转维修'
453
+ this.rowCodata.repData=repData
454
+ console.log("当前组装好的转维修数据--"+JSON.stringify(repData))
455
+ this.onlySave = false
456
+ this.save()
457
+ },
458
+ // 获取维修员
459
+ getEmp() {
460
+ this.repairers=[]
461
+ let per = {source: 'this.getRights().where(row.getType()==$user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${Vue.user.id}`}
462
+ let http = new HttpResetClass()
463
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: per}, {resolveMsg: null, rejectMsg: null}).then((res) => {
464
+ res.data.forEach((user)=>{
465
+ this.repairers.push({label:user.name, value: user.name})
466
+ })
467
+ })
468
+ },
469
+ closely(isdelete){
470
+ try {
471
+ var startOrStopAudioClipStr;
472
+ if (isdelete===true) {
473
+ //tag
474
+ startOrStopAudioClipStr= HostApp.startOrStopAudioClip("----",'停止并删除录音') //停止并删除录音
475
+ }else {
476
+ //tag
477
+ startOrStopAudioClipStr= HostApp.startOrStopAudioClip("----",'停止录音') //停止录音
478
+ }
479
+ if (startOrStopAudioClipStr.code == 200) {
480
+ //tag
481
+ return true;
482
+ }else {
483
+ return false;
484
+ }
485
+ } catch (e) {
486
+ console.error("关闭录音方法异常")
487
+ console.error(e)
488
+ return false;
489
+ }
490
+ },
491
+ // 录音方法
492
+ record() {
493
+ //tag
494
+ if (this.role != 'inspect') {
495
+ if (this.data.f_recording1_path != '') {
496
+ window.location = "/rs/file"+this.data.f_recording1_path
497
+ }
498
+ } else {
499
+ //tag
500
+ let fileName
501
+ if (!this.data.f_recording1_path) {
502
+ fileName = Util.guid() + '.amr'
503
+ } else {
504
+ fileName = Util.getFileName(this.data.f_recording1_path)
505
+ }
506
+ //HostApp.__this__ = this
507
+ /*调用无限制录音模块*/
508
+ let startOrStopState = HostApp.startOrStopAudioClip(fileName,"开始录音")
509
+ //tag
510
+ if (startOrStopState.code == 200) {
511
+ this.data.f_recording1_path = "file:///storage/emulated/0/safecheck/" + fileName
512
+ //tag
513
+ return true;
514
+ }else {
515
+ return false;
516
+ }
517
+ }
518
+ },
519
+ saveNoclick() {
520
+ // 禁用点击事件
521
+ $("#savebut").addClass("noclickbut");
522
+ //tag
523
+
524
+ // 5秒后启用点击事件
525
+ setTimeout(function(){
526
+ $("#savebut").removeClass("noclickbut");
527
+ },5000);
528
+ },
529
+ timeSet(val){
530
+ if (!val){
531
+ return
532
+ }
533
+ let time =new Date(val).getTime()
534
+ let time2=new Date().getTime()
535
+ if (time2>time) {
536
+ return true
537
+ }
538
+ },
539
+ imgback(val,isheader){
540
+ if(val && this.routeShow && isheader){
541
+ return require('../../../assets/xiangxia1.png')
542
+ }else{
543
+ return require('../../../assets/xiangyou1.png')
544
+ }
545
+ },
546
+ changediv(val){
547
+ //tag
548
+ return val
549
+ },
550
+ // 选择tab
551
+ tabSelect (item,number) {
552
+ this.header = item.header
553
+ //tag
554
+ //tag
555
+ //tag
556
+ //tag
557
+ // 处理关闭/显示 内容
558
+ if(this.number == number && !this.routeShow ){
559
+ this.routeShow = true
560
+ }else if(this.number == number && this.routeShow){
561
+ this.routeShow = false
562
+ }else if(this.number != item.complete){
563
+ this.routeShow = true
564
+ }
565
+ this.number = number
566
+ this.componentName = item.complete
567
+ //tag
568
+ if(item.complete == 'safecheck-devices'){
569
+ //tag
570
+ if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
571
+ this.data['device' + item.number].push({})
572
+ }
573
+ //tag
574
+ //tag)
575
+ let idx=this.data['device' + item.number].length - 1
576
+ let itemprops = {
577
+ config:this.config,
578
+ device:this.devices[item.number-1],
579
+ idx:idx,
580
+ role:'inspect'
581
+ }
582
+ //tag
583
+ //tag)
584
+ //tag)
585
+ //tag
586
+ if(this.routeShow){
587
+ this.$goto(item.complete, itemprops, 'repair')
588
+ //tag
589
+ }
590
+ }else{
591
+ //tag
592
+ if(this.routeShow){
593
+ this.$goto(item.complete, {userinfo:this.data}, 'repair')
594
+ }
595
+ }
596
+ this.shupingshow = true
597
+ },
598
+ // 给组件添加参数
599
+ getImgPath() {
600
+ for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
601
+ this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
602
+ }
603
+ this.ids = this.ids.substring(0, this.ids.length - 1)
604
+ if(this.ids){
605
+ this.getImgGen();
606
+ }
607
+ },
608
+ getImgGen(){
609
+ let http = new HttpResetClass()
610
+ http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
611
+ items: '*',
612
+ tablename: 't_files',
613
+ condition: `id in (${this.ids})`,
614
+ orderitem: 'id'
615
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
616
+ for (let i = 0; i < res.data.length; i++) {
617
+ for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
618
+ //tag)
619
+ //tag
620
+ if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
621
+ this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
622
+ }
623
+ }
624
+
625
+ }
626
+ })
627
+ },
628
+
629
+ sortDetails(){
630
+ for (let i = 0; i < this.details.length; i++) {
631
+ if (this.details[i].details.length) {
632
+ for (let j = 0; j < this.details[i].details.length; j++) {
633
+ if (this.details[i].details[j].f_type === 'a') {
634
+ this.doordetails = {details: this.details[i].details}
635
+ break
636
+ }
637
+ if (this.details[i].details[j].f_type === 'b') {
638
+ this.devicedetails = {details: this.details[i].details}
639
+ break
640
+ }
641
+ if (this.details[i].details[j].f_type === 'c') {
642
+ this.cookdetails = {details: this.details[i].details}
643
+ break
644
+ }
645
+ }
646
+ }
647
+ }
648
+ },
649
+ // 复制数据
650
+ back () {
651
+ let _this = this
652
+ if(this.issee){
653
+ _this.$back()
654
+ return
655
+ }
656
+ this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
657
+ if (res === 'confirm') {
658
+ this.closely()
659
+ _this.$back()
660
+ }
661
+ })
662
+ },
663
+ confirm(){
664
+ this.$dispatch('confirm')
665
+ },
666
+ tick() {
667
+ this.timer = null
668
+ this.data.f_offsite_time = Util.toStandardTimeString()
669
+ this.timer = window.setTimeout(this.tick, 1000)
670
+ },
671
+ getRepairState() {
672
+ let repaired = true
673
+ this.data.f_defects.forEach((defect) => {
674
+ repaired = repaired & (defect.f_ratification == '已处理')
675
+ })
676
+ return repaired
677
+ },
678
+ verifyRepairDefects() {
679
+ this.data.f_repair_date = Util.toStandardTimeString()
680
+ this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
681
+ },
682
+ errorVerify() {
683
+ let hasError = this.verifyState()
684
+ if(hasError)
685
+ return hasError
686
+
687
+ if(this.data.f_entry_status != '入户' || this.data.f_usegas == '未用气')
688
+ return null
689
+ hasError = this.verifyUser()
690
+ if(hasError)
691
+ return hasError
692
+ hasError = this.verifyDevices()
693
+ if(hasError)
694
+ return hasError
695
+ hasError = this.verifyFeedback()
696
+ if(hasError)
697
+ return hasError
698
+ },
699
+ verifyState() {
700
+ if(Vue.android && this.data.f_usegas == '未用气' && (this.data.f_nongasuser_path == Vue.nopic || this.data.f_nongasuser_path == ''))
701
+ return '未使用天然气则必须拍照'
702
+ if(Vue.android && this.data.f_entry_status == '到访不遇' && this.notencountered && (this.data.f_noanswer_path == Vue.nopic || this.data.f_noanswer_path == ''))
703
+ return '到访不遇必须拍照'
704
+ if(Vue.android && this.data.f_entry_status == '拒检' && this.refuseinspection && (this.data.f_rejectcheck_path == Vue.nopic || this.data.f_rejectcheck_path == ''))
705
+ return '拒捡必须拍照'
706
+ },
707
+ verifyUser() {
708
+ //tag
709
+ //tag
710
+ //tag)
711
+ let prefix = '用户基本信息:'
712
+ if(Util.required(this.data.f_user_name))
713
+ return prefix + '用户名必须输入'
714
+ if(!(/^\d{11}$/.test(this.data.f_user_phone.trim()))) {
715
+
716
+ return '请输入正确的电话号码'
717
+ }
718
+ // if(Util.required(this.data.f_residential_area))
719
+ // return prefix + '小区名称必须输入'
720
+ if(Util.required(this.data.f_address))
721
+ return prefix + '地址必须输入'
722
+ },
723
+ verifyDevices() {
724
+ for (let dev in this.config) {
725
+ if (this.config[dev].checkmust == true) {
726
+ let error = true
727
+ for(let device in this.data) {
728
+ if (device.startsWith("device")) {
729
+ for (let item in this.data[device]) {
730
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
731
+ error = false
732
+ }
733
+ }
734
+ }
735
+ }
736
+ if (error) {
737
+ return "请检查" + dev
738
+ }
739
+ }
740
+ }
741
+
742
+ for (let dev in this.config) {
743
+ for(let device in this.data) {
744
+ if (device.startsWith("device")) {
745
+ for (let item in this.data[device]) {
746
+ //检查每一条安检结果
747
+ if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
748
+ for (let i in this.data[device][item].f_items) {
749
+ for (let it in this.config[dev].items) {
750
+ if (it == this.data[device][item].f_items[i].f_item_name) {
751
+ let check=false
752
+ if (!this.data[device][item].f_items[i].f_item_value){
753
+ check=true
754
+ }else if (Array.isArray(this.data[device][item].f_items[i].f_item_value)){
755
+ if (this.data[device][item].f_items[i].f_item_value.length==0){
756
+ check=true
757
+ }
758
+ }
759
+
760
+ if(this.config[dev].items[it].type=='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path){
761
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
762
+ }
763
+ if (this.config[dev].items[it].type !='picture' && this.config[dev].items[it].checkmust == true && check) {
764
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
765
+ }
766
+ }
767
+ }
768
+ //检查安检下拉结果
769
+ if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
770
+ if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
771
+ 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 + "选中必须拍照"
772
+ }
773
+ }
774
+ }
775
+ }
776
+ }
777
+ }
778
+ }
779
+ }
780
+ },
781
+ verifyFeedback() {
782
+ let prefix = '拍照签名:'
783
+ //tag)
784
+ if(Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length < this.imgsnum) && this.data.f_entry_status == '入户')
785
+ return prefix + `必须有${this.imgsnum}安检总体照片`
786
+ if(Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
787
+ return prefix + '必须有用户签名'
788
+ if(Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
789
+ return prefix + '下发安检通知书则必须给通知书拍照'
790
+ if(Vue.android && this.data.f_blacklist && this.data.f_blocking_cause=='')
791
+ return prefix + '请填写拉黑原因'
792
+ if(!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
793
+ return prefix + '请选择服务评价'
794
+ },
795
+ getAllDefect() {
796
+ let checkResults = {
797
+ result: '正常',
798
+ data: []
799
+ }
800
+ let value = ''
801
+ let codata = JSON.parse(JSON.stringify(this.data))
802
+ //tag)
803
+ //tag)
804
+ codata.f_devices = []
805
+ this.f_devices = []
806
+ for (let device in codata) {
807
+ let f_device_type
808
+ if (device.startsWith("device")) {
809
+ //tag)
810
+ let hasOther = ''
811
+ let otherValue = null
812
+ for (let item in codata[device]) {
813
+ if(typeof codata[device][item]=='function'){
814
+ continue
815
+ }
816
+ codata[device][item].f_create_time = Util.toStandardTimeString()
817
+ if (codata[device].length > 1) {
818
+ let j = Number.parseInt(item) + 1
819
+ f_device_type = `${codata[device][item].f_device_type}${j}`
820
+ } else {
821
+ f_device_type = codata[device][item].f_device_type
822
+ }
823
+ //tag
824
+ //tag
825
+ //tag)
826
+ //tag)
827
+ if(item == 'sum' || item == 'removeEmpty'){
828
+ continue
829
+ }
830
+ for (let i = 0; i < codata[device][item].f_items.length ; i++) {
831
+ //tag
832
+ if(i == 'sum' || i == 'removeEmpty'){
833
+ continue
834
+ }
835
+ //tag)
836
+ var items = codata[device][item].f_items[i]
837
+ items.f_create_time = Util.toStandardTimeString()
838
+ //tag)
839
+ items.f_item_lists = []
840
+ //tag)
841
+ // //tag)
842
+ // //tag} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
843
+ // console.log(`f_is_defect => ${this.config[codata[device][item]
844
+ // .f_device_type]
845
+ // .items[items.f_item_name]
846
+ // .options
847
+ // .find((option)=>option.data === items.f_item_value)
848
+ // .map((option)=>option.f_is_defect)}`)
849
+ // if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
850
+ // //tag
851
+ // checkResults.result = '有隐患'
852
+ // //tag)
853
+ // //tag)
854
+ // // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
855
+ // this.checkResult[items.f_item_name] = items.f_item_value
856
+ // //tag)
857
+ // // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
858
+ // // //tag)
859
+ // }
860
+ if (items.type == 'selector') {
861
+ items.selected = []
862
+ } else if (items.type == 'inputSelector') {
863
+ items.selected = ''
864
+ }
865
+ //遍历配置项 将所选隐患项的配置信息放入保存的数据中
866
+ let f_is_defect //是否是隐患
867
+ let f_defect_level //是否是隐患
868
+ let f_item_name = items.f_item_name
869
+ let f_item_value
870
+ let f_is_eliminate //隐患是否消除
871
+ let f_meternumber = ''
872
+ let f_user_defects = [] // 用户所有隐患
873
+ //tag
874
+ //tag
875
+ if (items.type == 'selector' || items.type == 'checkbox' || items.type == 'radio') {
876
+ for (let i in items.f_item_value) {
877
+ if(typeof items.f_item_value[i]=='function'){
878
+ continue
879
+ }
880
+ let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
881
+ //tag)
882
+ for (let k in configItems.options) {
883
+ if(typeof configItems.options[k]=='function'){
884
+ continue
885
+ }
886
+ //tag)
887
+ if (items.f_item_value[i] === configItems.options[k].data) {
888
+
889
+ f_is_defect = configItems.options[k].isdefect
890
+ f_item_value = items.f_item_value[i]
891
+ f_defect_level = configItems.options[k].level
892
+
893
+ //tag
894
+ //tag
895
+ //tag
896
+
897
+ if (f_is_defect) {
898
+ if (checkResults.result !== '有隐患') {
899
+ checkResults.result = '有隐患'
900
+ }
901
+ console.log('items'+items)
902
+ if(items.f_deal_dispose=='报修'){
903
+ console.log("检测到需要转维修++++++++++++")
904
+ this.repairDefect.result='未处理'
905
+ this.repairDefect.data.push(`${f_item_name} : ${f_item_value}`)
906
+ }
907
+ if (!this.checkResult.hasOwnProperty(f_device_type+'-'+f_item_name)) {
908
+ //tag
909
+ this.checkResult[f_device_type+'-'+f_item_name] = []
910
+ }
911
+
912
+ //tag
913
+ this.checkResult[f_device_type+'-'+f_item_name].push(f_item_value)
914
+
915
+ }
916
+
917
+ let items_list = {
918
+ f_is_defect: f_is_defect,
919
+ f_item_value: f_item_value,
920
+ f_defect_level: f_defect_level,
921
+ f_is_eliminate: null,
922
+ f_create_time: Util.toStandardTimeString()
923
+ }
924
+ if (!items.f_item_lists) {
925
+ //tag
926
+ items.f_item_lists = []
927
+ //tag)
928
+ if (JSON.stringify(items_list) !== '{}') {
929
+ //tag
930
+ items.f_item_lists.push(items_list)
931
+ }
932
+ } else {
933
+ //tag)
934
+ if (JSON.stringify(items_list) !== '{}') {
935
+ //tag
936
+ items.f_item_lists.push(items_list)
937
+ }
938
+ }
939
+ }
940
+ }
941
+ }
942
+ } else {
943
+ let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
944
+ f_is_defect = items.f_is_defect
945
+ f_defect_level = items.level
946
+ f_item_value = items.f_item_value
947
+ let items_list = {
948
+ f_is_defect: f_is_defect,
949
+ f_item_value: f_item_value,
950
+ f_defect_level: f_defect_level,
951
+ f_create_time: Util.toStandardTimeString()
952
+ }
953
+ if (f_is_defect && f_item_value) {
954
+ items.f_is_defect = true
955
+ if (checkResults.result !== '有隐患') {
956
+ checkResults.result = '有隐患'
957
+ }
958
+ if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
959
+ //tag
960
+ this.checkResult[items.f_item_name] = []
961
+ }
962
+
963
+ //tag
964
+ this.checkResult[items.f_item_name].push(f_item_value)
965
+
966
+ }
967
+ //tag)
968
+ //tag)
969
+ if (!items.f_item_lists) {
970
+ //tag
971
+ items.f_item_lists = []
972
+ if (JSON.stringify(items_list) != '{}') {
973
+ //tag
974
+ items.f_item_lists.push(items_list)
975
+ }
976
+ } else {
977
+ // items.f_item_lists[0].f_item_value = f_item_value
978
+ if (JSON.stringify(items_list) != '{}') {
979
+ //tag
980
+ //tag)
981
+ //tag)
982
+ //tag
983
+ items.f_item_lists.push(items_list)
984
+ }
985
+ }
986
+ }
987
+ if (hasOther !== '' && otherValue !== null) {
988
+ //tag
989
+ this.checkResult[hasOther].push(otherValue)
990
+ hasOther = ''
991
+ otherValue = null
992
+ }
993
+ items.f_item_value = ''
994
+ }
995
+ //tag)
996
+ this.f_devices.push(codata[device][item])
997
+ }
998
+ }
999
+ }
1000
+ if (this.checkResult) {
1001
+ for (let key in this.checkResult) {
1002
+ if(typeof this.checkResult[key]=='function'){
1003
+ continue
1004
+ }
1005
+ // 上次安检结果数据组织
1006
+ //tag
1007
+ //tag
1008
+ let temp = {}
1009
+ temp[key] = this.checkResult[key].join(',')
1010
+ checkResults.data.push(temp)
1011
+ // this.newcheckResult[key] = this.checkResult[key]
1012
+ // checkResults.data.push(this.newcheckResult)
1013
+ //tag)
1014
+ // this.newcheckResult = {}
1015
+ }
1016
+ this.checkResult = {}
1017
+ }
1018
+ if (checkResults.data.length > 0) {
1019
+ let msg = ''
1020
+ for (let a = 0; a < checkResults.data.length; a++) {
1021
+ for (let datumKey in checkResults.data[a]) {
1022
+ msg += datumKey + ':' + checkResults.data[a][datumKey] + ';'
1023
+ }
1024
+ }
1025
+ this.data.f_defect_text = msg
1026
+ codata.f_defect_text = msg
1027
+ }
1028
+ codata.f_defect_content = JSON.stringify(checkResults)
1029
+ this.data.f_defect_content = JSON.stringify(checkResults)
1030
+ //tag
1031
+ return codata
1032
+ },
1033
+ uploadCheckPaper(){
1034
+ this.closely(false) // 保存本地,不删除录音文件停止录音
1035
+ let errString = this.errorVerify()
1036
+ if (errString) {
1037
+ if (Vue.android){
1038
+ this.$showMessage(errString)
1039
+ }
1040
+ return
1041
+ } else {
1042
+ this.$set('data.f_offsite_time', Util.toStandardTimeString())
1043
+ this.$set('data.f_upload_time', Util.toStandardTimeString())
1044
+ this.$set('data.f_upload_date', Util.toStandardTimeString())
1045
+ //tag
1046
+ this.data.f_complete = '已完成'
1047
+ this.disableTimer()
1048
+ }
1049
+ this.saveNoclick()
1050
+ //tag
1051
+ this.onlySave = false
1052
+ this.assemblyCodata()
1053
+ if (this.repairDefect.result != '正常') {
1054
+ return this.$showMessage('有隐患的处理方式为转维修,请点击转维修')
1055
+ }
1056
+ let res = this.save()
1057
+ // if(res) {
1058
+ // try {
1059
+ // let codata = this.getAllDefect()
1060
+ // //获取微信推送内容
1061
+ // let WxResult = this.getWeixin(codata)
1062
+ // let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1063
+ // f_check_item_id: this.data.f_check_item_id
1064
+ // })
1065
+ // //如果是转维修上传,则不做校验,上传完成后自动转维修
1066
+ // //tag
1067
+ // //tag
1068
+ // if(!this.isToRepair){
1069
+ // if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
1070
+ // //tag
1071
+ // //tag
1072
+ // if(!this.isSafeCheckToRepair){
1073
+ // this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
1074
+ // return
1075
+ // }
1076
+ // }
1077
+ // }
1078
+ // //tag
1079
+ // for (let key in codata){
1080
+ // if(key.startsWith("device")){
1081
+ // codata[key] = []
1082
+ // }
1083
+ // }
1084
+ // //tag}`)
1085
+ //
1086
+ // //tag
1087
+ // let isStart = true
1088
+ // let res
1089
+ // for (let i in this.f_devices){
1090
+ // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1091
+ // if(res.code == 200){
1092
+ // isStart = false
1093
+ // }else{
1094
+ // this.$showMessage("保存失败!")
1095
+ // }
1096
+ // }
1097
+ // let result = HostApp.organizeJSON({
1098
+ // isStart:false,
1099
+ // isJSON:true,
1100
+ // jsonstr:{
1101
+ // f_check_item_id: this.data.f_check_item_id,
1102
+ // f_checker_id: this.data.f_checker_id,
1103
+ // row: codata
1104
+ // }
1105
+ // })
1106
+ // if(result.code == 200){
1107
+ // HostApp.__this__ = this
1108
+ // this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
1109
+ // }
1110
+ //
1111
+ //
1112
+ // // let response = this.$androidUtil.bzLogic('上传安检信息', {
1113
+ // // f_check_item_id: this.data.f_check_item_id,
1114
+ // // f_checker_id: this.data.f_checker_id,
1115
+ // // row: codata
1116
+ // // })
1117
+ // // if (response.code == 200) {
1118
+ // // //tag
1119
+ // // //tag)
1120
+ // // let f_paper_id
1121
+ // // if(response.data != '' && response.data != null){
1122
+ // // f_paper_id = JSON.parse(response.data).id
1123
+ // // }
1124
+ // // this.$set('data.f_paper_id', f_paper_id)
1125
+ // // //tag
1126
+ // // //tag)
1127
+ // // //tag
1128
+ // // //tag)
1129
+ // // for (let device in this.data){
1130
+ // // //tag
1131
+ // // //tag)
1132
+ // // if(device.startsWith("device")){
1133
+ // // for(let devices of this.data[device]) {
1134
+ // // devices.f_paper_id = f_paper_id
1135
+ // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
1136
+ // // row: devices
1137
+ // // })
1138
+ // // //tag}`)
1139
+ // // if(ret.code == 200){
1140
+ // // //tag
1141
+ // // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
1142
+ // // }
1143
+ // // //tag
1144
+ // // //tag)
1145
+ // // if (ret.code != 200) {
1146
+ // // //TODO 失败后处理
1147
+ // // // this.isUpload = false
1148
+ // // this.$showMessage("上传失败!")
1149
+ // // return false
1150
+ // // }
1151
+ // // }
1152
+ // // }
1153
+ // // }
1154
+ // // // for (let device of this.f_devices) {
1155
+ // // // device.f_paper_id = f_paper_id
1156
+ // // // //tag
1157
+ // // // //tag)
1158
+ // // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
1159
+ // // // row: device
1160
+ // // // })
1161
+ // // // //tag
1162
+ // // // if (ret.code != 200) {
1163
+ // // // //TODO 失败后处理
1164
+ // // // HostApp.alert("上传失败!")
1165
+ // // // return false
1166
+ // // // }
1167
+ // // // }
1168
+ // // let result = this.$androidUtil.bzLogic('FinishUpload',
1169
+ // // {
1170
+ // // f_check_item_id: this.data.f_check_item_id,
1171
+ // // f_userinfo_id: codata.f_userinfoid,
1172
+ // // f_last_check_result: codata.f_defect_content
1173
+ // // })
1174
+ // // if(result.code == 200){
1175
+ // // // this.$showAlert('上传成功!', 'success', 2000)
1176
+ // // this.$showMessage('上传成功!')
1177
+ // // this.isStrat=false
1178
+ // // if(url != "" ){
1179
+ // // this.$resetpost(`${url}`,{data:WxResult})
1180
+ // // }
1181
+ // // return true
1182
+ // // }else{
1183
+ // // // this.isUpload = false
1184
+ // // this.$showMessage("上传失败!")
1185
+ // // return false
1186
+ // // }
1187
+ // // }else{
1188
+ // // // this.isUpload = false
1189
+ // // this.$showMessage("上传失败!")
1190
+ // // return false
1191
+ // // }
1192
+ // }catch (e) {
1193
+ // //tag)
1194
+ // // this.isUpload = false
1195
+ // this.$showMessage("上传失败!")
1196
+ // }
1197
+ // }
1198
+ },
1199
+ //将数据组装提出
1200
+ assemblyCodata(){
1201
+ let codata = this.getAllDefect()
1202
+ for (let key in codata) {
1203
+ if (key.startsWith("device")) {
1204
+ console.log('this.data.' + key + JSON.stringify(codata[key]))
1205
+ codata[key] = []
1206
+ }
1207
+ }
1208
+ codata.f_devices = this.f_devices
1209
+ this.rowCodata=codata
1210
+ },
1211
+ save(type) {
1212
+ if (type == 'temp' || type == 'finish') {
1213
+ this.assemblyCodata()
1214
+ }
1215
+ if(type == 'temp'){
1216
+ this.data.f_complete = '未完成'
1217
+ this.rowCodata.f_complete = '未完成'
1218
+ // 关闭录音方法
1219
+ this.closely(true) //临时保存,删除录音文件并暂停录音
1220
+ this.disableTimer()
1221
+ }else {
1222
+ // 关闭录音方法
1223
+ this.closely(false) // 保存本地,不删除录音文件暂停录音
1224
+ let errString = this.errorVerify()
1225
+ if (errString) {
1226
+ if (Vue.android){
1227
+ this.$showMessage(errString)
1228
+ }
1229
+ return
1230
+ } else {
1231
+ this.data.f_complete = '已完成'
1232
+ this.rowCodata.f_complete = '已完成'
1233
+ this.$set('data.f_offsite_time', Util.toStandardTimeString())
1234
+ this.$set('rowCodata.f_offsite_time', Util.toStandardTimeString())
1235
+ this.disableTimer()
1236
+ }
1237
+ }
1238
+ this.saveNoclick()
1239
+ //tag
1240
+ if(this.data.f_blacklist!='是'){
1241
+ delete this.data.f_blocking_cause
1242
+ }
1243
+ if (this.data.f_entry_status == '入户') {
1244
+ this.data.f_rejectchecks_path = []
1245
+ this.data.f_rejectcheck_path = null
1246
+ this.data.f_rejectcheck1_path = null
1247
+ this.data.f_rejectcheck2_path = null
1248
+ this.data.f_noanswers_path=[]
1249
+ this.data.f_noanswer_path = null
1250
+ this.data.f_noanswer1_path = null
1251
+ this.data.f_noanswer2_path = null
1252
+ }else if (this.data.f_entry_status == '到访不遇') {
1253
+ this.data.f_rejectchecks_path = []
1254
+ this.data.f_rejectcheck_path = null
1255
+ this.data.f_rejectcheck1_path = null
1256
+ this.data.f_rejectcheck2_path = null
1257
+ }else if (this.data.f_entry_status == '拒检') {
1258
+ this.data.f_noanswers_path=[]
1259
+ this.data.f_noanswer_path = null
1260
+ this.data.f_noanswer1_path = null
1261
+ this.data.f_noanswer2_path = null
1262
+ }
1263
+ // try {
1264
+ let codata = this.rowCodata
1265
+ //tag
1266
+ //tag}`)
1267
+ for (let key in codata) {
1268
+ if (key.startsWith("device")) {
1269
+ //tag)
1270
+ codata[key] = []
1271
+ }
1272
+ }
1273
+ codata.f_complete = this.data.f_complete
1274
+ //tag}`)
1275
+ //tag}`)
1276
+ //tag
1277
+ if (Vue.android) {
1278
+ //tag
1279
+ let value = this.$androidUtil.path({
1280
+ alias: 'getUserinfomation',
1281
+ data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan in ('无计划安检','复检')"}
1282
+ })
1283
+ //tag)
1284
+ if ((this.item.f_no_checkplan == '无计划安检' || this.item.f_no_checkplan == '复检') && this.item.f_no_checkplan != '打回') {
1285
+ // let result = this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1286
+ // f_check_item_id: this.data.f_check_item_id,
1287
+ // f_checker_id: this.data.f_checker_id,
1288
+ // f_upload_state:'未传',
1289
+ // row: codata
1290
+ // })
1291
+ //tag
1292
+ let isStart = true
1293
+ // let res
1294
+ // for (let i in this.f_devices) {
1295
+ // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1296
+ // if (res.code == 200) {
1297
+ // isStart = false
1298
+ // } else {
1299
+ // this.$showMessage("保存失败!")
1300
+ // }
1301
+ // }
1302
+ // let result = HostApp.organizeJSON({
1303
+ // isStart: false,
1304
+ // isJSON: true,
1305
+ // jsonstr: {
1306
+ // f_check_item_id: this.data.f_check_item_id,
1307
+ // f_checker_id: this.data.f_checker_id,
1308
+ // f_upload_state: '未传',
1309
+ // row: codata
1310
+ // }
1311
+ // })
1312
+ codata.f_devices = this.f_devices
1313
+ if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1314
+ this.rowCodata = Object.assign({},this.rowCodata,codata)
1315
+ } else {
1316
+ this.rowCodata = codata
1317
+ }
1318
+ let param = {
1319
+ f_check_item_id: this.data.f_check_item_id,
1320
+ f_checker_id: this.data.f_checker_id,
1321
+ f_upload_state: '未传',
1322
+ // row: codata
1323
+ row: this.rowCodata
1324
+ }
1325
+ //tag)
1326
+ let paramStr = JSON.stringify(param)
1327
+ // 多长截断一次
1328
+ let subLength = 800
1329
+ for (let i = 0; i < paramStr.length; i += subLength) {
1330
+ HostApp.param_cache(paramStr.substr(i, subLength))
1331
+ }
1332
+ HostApp.__this__ = this
1333
+ HostApp.syncLogic({
1334
+ // logic别名,key必须为logic
1335
+ 'logic': 'SafeSaveNoPaper',
1336
+ // 回调执行方法名,key必须为callback
1337
+ 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1338
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1339
+ // 执行回调方法传入key为backresult
1340
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1341
+ 'backresult': 1
1342
+ })
1343
+ } else {
1344
+ // console.log("dddddddd")
1345
+ //tag
1346
+ let isStart = true
1347
+ let res
1348
+ //tag)
1349
+ // for (let i in this.f_devices) {
1350
+ // //tag)
1351
+ // for (let j = 0; j < this.f_devices[i].f_items.length; j++) {
1352
+ // //tag)
1353
+ // }
1354
+ // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1355
+ // //tag)
1356
+ // if (res.code == 200) {
1357
+ // isStart = false
1358
+ // } else {
1359
+ // this.$showMessage("保存失败!")
1360
+ // }
1361
+ // }
1362
+ //tag)
1363
+ //tag)
1364
+ //tag)
1365
+ // let result = HostApp.organizeJSON({
1366
+ // isStart: false,
1367
+ // isJSON: true,
1368
+ // jsonstr: {
1369
+ // f_check_item_id: this.data.f_check_item_id,
1370
+ // f_checker_id: this.data.f_checker_id,
1371
+ // row: codata
1372
+ // }
1373
+ // })
1374
+ codata.f_devices = this.f_devices
1375
+ if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1376
+ this.rowCodata = Object.assign({},this.rowCodata,codata)
1377
+ } else {
1378
+ this.rowCodata = codata
1379
+ }
1380
+ let param = {
1381
+ f_check_item_id: this.data.f_check_item_id,
1382
+ f_checker_id: this.data.f_checker_id,
1383
+ // row: codata
1384
+ row: this.rowCodata
1385
+ }
1386
+ //tag)
1387
+ // console.log("ni"+JSON.stringify(param))
1388
+ let paramStr = JSON.stringify(param)
1389
+ // 多长截断一次
1390
+ let subLength = 800
1391
+ for (let i = 0; i < paramStr.length; i += subLength) {
1392
+ HostApp.param_cache(paramStr.substr(i, subLength))
1393
+ }
1394
+ HostApp.__this__ = this
1395
+ HostApp.syncLogic({
1396
+ // logic别名,key必须为logic
1397
+ 'logic': '保存安检单信息',
1398
+ // 回调执行方法名,key必须为callback
1399
+ 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1400
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1401
+ // 执行回调方法传入key为backresult
1402
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1403
+ 'backresult': 1
1404
+ })
1405
+ }
1406
+
1407
+ } else {
1408
+ //tag
1409
+ let value = this.$androidUtil.path({
1410
+ alias: 'getUserinfomation',
1411
+ data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan in ('无计划安检','复检')"}
1412
+ })
1413
+ if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1414
+ this.rowCodata = Object.assign({},this.rowCodata,codata)
1415
+ } else {
1416
+ this.rowCodata = codata
1417
+ }
1418
+ if ((this.item.f_no_checkplan == '无计划安检' || this.item.f_no_checkplan == '复检') && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
1419
+ this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1420
+ f_check_item_id: this.data.f_check_item_id,
1421
+ f_checker_id: this.data.f_checker_id,
1422
+ f_upload_state: '未传',
1423
+ // row: codata
1424
+ row: this.rowCodata
1425
+ }).then((res) => {
1426
+ if (res.data.code == 200) {
1427
+ //保存devices
1428
+ this.$androidUtil.bzLogic('getPaperInfo', {
1429
+ f_check_item_id: this.data.f_check_item_id
1430
+ }).then((res) => {
1431
+ //tag
1432
+ if (res.data.code == 200) {
1433
+
1434
+ let f_paper_id = res.data.data[0].id
1435
+ for (let device of this.f_devices) {
1436
+ device.f_paper_id = f_paper_id
1437
+ //tag
1438
+ this.$androidUtil.bzLogic('saveDevice', {
1439
+ row: device
1440
+ }).then((ret) => {
1441
+ //tag
1442
+ if (ret.code != 200) {
1443
+ // if(this.isUpload){
1444
+ // this.isUpload = false
1445
+ // }
1446
+ //TODO 失败后处理
1447
+ this.$showMessage("保存失败!")
1448
+ return false
1449
+ }
1450
+ })
1451
+ }
1452
+ }
1453
+ })
1454
+ // this.$showAlert('保存成功!', 'success', 2000)
1455
+ this.$showMessage('保存成功!')
1456
+ return true
1457
+ } else {
1458
+ // if(this.isUpload){
1459
+ // this.isUpload = false
1460
+ // }
1461
+ this.$showMessage("保存失败!")
1462
+ return false
1463
+ }
1464
+ })
1465
+ }
1466
+ else {
1467
+ this.$androidUtil.bzLogic('保存安检单信息', {
1468
+ f_check_item_id: this.data.f_check_item_id,
1469
+ f_checker_id: this.data.f_checker_id,
1470
+ row: this.rowCodata
1471
+ }).then((res) => {
1472
+ //tag
1473
+ if (res.data.code == 200) {
1474
+ //保存devices
1475
+ this.$androidUtil.bzLogic('getPaperInfo', {
1476
+ f_check_item_id: this.data.f_check_item_id
1477
+ }).then((res) => {
1478
+ //tag
1479
+ if (res.data.code == 200) {
1480
+
1481
+ let f_paper_id = res.data.data[0].id
1482
+ for (let device of this.f_devices) {
1483
+ device.f_paper_id = f_paper_id
1484
+ //tag
1485
+ this.$androidUtil.bzLogic('saveDevice', {
1486
+ row: device
1487
+ }).then((ret) => {
1488
+ //tag
1489
+ if (ret.code != 200) {
1490
+ // if(this.isUpload){
1491
+ // this.isUpload = false
1492
+ // }
1493
+ //TODO 失败后处理
1494
+ this.$showMessage("保存失败!")
1495
+ return false
1496
+ }
1497
+ })
1498
+ }
1499
+ }
1500
+ })
1501
+ // this.$showAlert('保存成功!', 'success', 2000)
1502
+ this.$showMessage('保存成功!')
1503
+ return true
1504
+ } else {
1505
+ // if(this.isUpload){
1506
+ // this.isUpload = false
1507
+ // }
1508
+ this.$showMessage("保存失败!")
1509
+ return false
1510
+ }
1511
+ })
1512
+ }
1513
+ }
1514
+ // }catch (e) {
1515
+ // //tag)
1516
+ // // this.isUpload = false
1517
+ // this.$showMessage("保存失败!")
1518
+ // }
1519
+ },
1520
+ runSyncLogic(logic,callback,backresult){
1521
+ HostApp.runSyncLogic({
1522
+ // logic别名,key必须为logic
1523
+ 'logic': logic,
1524
+ // 回调执行方法名,key必须为callback
1525
+ 'callback': callback,
1526
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1527
+ // 执行回调方法传入key为backresult
1528
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1529
+ 'backresult':backresult
1530
+ })
1531
+ },
1532
+ logicWithHint(logic,data,callback,backresult){
1533
+ HostApp.logicWithHint({
1534
+ // logic别名,key必须为logic
1535
+ 'logic': logic,
1536
+ // 回调执行方法名,key必须为callback
1537
+ 'callback': callback,
1538
+ // logic执行需要的业务参数
1539
+ 'data': data,
1540
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1541
+ // 执行回调方法传入key为backresult
1542
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1543
+ 'backresult':backresult
1544
+ })
1545
+ },
1546
+ saveCallBack(jo){
1547
+ //tag)
1548
+ // console.log("jjjj"+JSON.stringify(jo))
1549
+ if(jo.state == 'ok'){
1550
+ let res = JSON.parse(jo.result)
1551
+ //tag)
1552
+ if(res.code == 200){
1553
+ //tag
1554
+ if(!this.onlySave){
1555
+ let codata = this.getAllDefect()
1556
+ //获取微信推送内容
1557
+ // let WxResult = this.getWeixin(codata)
1558
+ let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1559
+ f_check_item_id: this.data.f_check_item_id
1560
+ })
1561
+ //如果是转维修上传,则不做校验,上传完成后自动转维修
1562
+ //tag
1563
+ //tag
1564
+ if(!this.isToRepair){
1565
+ if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
1566
+ //tag
1567
+ //tag
1568
+ if(!this.isSafeCheckToRepair){
1569
+
1570
+ }
1571
+ }
1572
+ }
1573
+ //tag
1574
+ for (let key in codata){
1575
+ if(key.startsWith("device")){
1576
+ codata[key] = []
1577
+ }
1578
+ }
1579
+ //tag}`)
1580
+
1581
+ //tag
1582
+ // let isStart = true
1583
+ // let res
1584
+ // for (let i in this.f_devices){
1585
+ // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1586
+ // if(res.code == 200){
1587
+ // isStart = false
1588
+ // }else{
1589
+ // this.$showMessage("上传失败!")
1590
+ // return
1591
+ // }
1592
+ // }
1593
+ // let result = HostApp.organizeJSON({
1594
+ // isStart:false,
1595
+ // isJSON:true,
1596
+ // jsonstr:{
1597
+ // f_check_item_id: this.data.f_check_item_id,
1598
+ // f_checker_id: this.data.f_checker_id,
1599
+ // row: codata
1600
+ // }
1601
+ // })
1602
+ codata.f_devices = this.f_devices
1603
+ if (this.rowCodata && this.rowCodata.istoRepair=='转维修') {
1604
+ this.rowCodata = Object.assign({},this.rowCodata,codata)
1605
+ } else {
1606
+ this.rowCodata = codata
1607
+ }
1608
+ let param = {
1609
+ f_check_item_id: this.data.f_check_item_id,
1610
+ f_checker_id: this.data.f_checker_id,
1611
+ // row: codata
1612
+ row: this.rowCodata
1613
+ }
1614
+ //tag)
1615
+ let paramStr = JSON.stringify(param)
1616
+ // 多长截断一次
1617
+ let subLength = 800
1618
+ for (let i = 0; i < paramStr.length; i += subLength) {
1619
+ HostApp.param_cache(paramStr.substr(i, subLength))
1620
+ }
1621
+ HostApp.__this__ = this
1622
+ HostApp.syncLogic({
1623
+ // logic别名,key必须为logic
1624
+ 'logic': '上传安检信息',
1625
+ // 回调执行方法名,key必须为callback
1626
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1627
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1628
+ // 执行回调方法传入key为backresult
1629
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1630
+ 'backresult': 1
1631
+ })
1632
+ }else{
1633
+ this.$showMessage('保存成功!')
1634
+ if(this.clickBack){
1635
+ this.isStrat = false
1636
+ this.$dispatch('confirm')
1637
+ //this.$back()
1638
+ }
1639
+ }
1640
+ }else{
1641
+ this.$showMessage('保存失败!')
1642
+ return
1643
+ }
1644
+ }else{
1645
+ this.$showMessage('服务器内部错误,保存失败!')
1646
+ return
1647
+ }
1648
+ },
1649
+ uploadCallBack(jo){
1650
+ //获取微信推送路径
1651
+ let url = ""
1652
+ if(Vue.config.safecheck != undefined) {
1653
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1654
+ if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
1655
+ url = Vue.config.safecheck.ApproveConfig.weixinurl
1656
+ }
1657
+ }
1658
+ }
1659
+ //tag)
1660
+ //tag)
1661
+ if(jo.state == 'ok'){
1662
+ let res = JSON.parse(jo.result)
1663
+ //tag)
1664
+ //tag)
1665
+ if(res.code == 200){
1666
+ this.$set('data.f_paper_id', res.id)
1667
+ this.isStrat=false
1668
+ if(url != ""){
1669
+ this.$resetpost(`${url}`,{data:WxResult})
1670
+ }
1671
+ // 预约安检回更预约安检单
1672
+ if(this.data.isupdateplanitem == 'true' && this.data.f_SafeToRepair_id){
1673
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/ReturnSafeService`, {data:{
1674
+ f_paper_id:this.data.f_paper_id,
1675
+ f_service_id:this.data.f_SafeToRepair_id
1676
+ }
1677
+ }).then((ret) => {
1678
+ if(ret.data && ret.data.code == 200){
1679
+ console.log('预约安检回更成功')
1680
+ }
1681
+ })
1682
+ }
1683
+ //tag
1684
+ if(this.isToRepair){
1685
+ for (let device in this.data){
1686
+ if(device.startsWith("device")){
1687
+ this.data[device] = []
1688
+ if(res.data.length > 0){
1689
+ for(let i in res.data[0].f_devices){
1690
+ if(this.data[device].length > 0){
1691
+ if(this.data[device][0].f_device_type == res.data[0].f_devices[i].f_device_type){
1692
+ this.data[device].push(res.data[0].f_devices[i])
1693
+ res.data[0].f_devices.splice(i,1)
1694
+ }
1695
+ }else{
1696
+ this.data[device].push(res.data[0].f_devices[i])
1697
+ res.data[0].f_devices.splice(i,1)
1698
+ }
1699
+ }
1700
+ }
1701
+ }
1702
+ }
1703
+ this.todo()
1704
+ }else{
1705
+ this.$showMessage('上传成功!')
1706
+ //tag
1707
+ this.$dispatch('confirm')
1708
+ // this.$back()
1709
+ }
1710
+ }else if(res.code == 309){
1711
+ this.$showMessage('该安检单已作废!')
1712
+ //tag
1713
+ this.$dispatch('confirm')
1714
+ }else if(res.code == 710){
1715
+ this.$showMessage('上传照片失败,请检查网络是否正常!'+res.msg)
1716
+ return
1717
+ }else if(res.code == 711){
1718
+ this.$showMessage('该安检单已被管理员调整,请联系管理员!')
1719
+ return
1720
+ }else if(res.code == 712){
1721
+ this.$showMessage('网络异常,请重新上传,多次上传失败请联系管理员!')
1722
+ return
1723
+ }
1724
+ else{
1725
+ this.$showMessage('上传失败!')
1726
+ }
1727
+ }else {
1728
+ this.$showMessage('网络异常,上传失败!')
1729
+ }
1730
+ this.onlySave = true
1731
+ },
1732
+ safecheckToRepairCallBack(jo){
1733
+ //获取微信推送路径
1734
+ if(jo.state == 'ok'){
1735
+ let res = JSON.parse(jo.result)
1736
+ //tag)
1737
+ if(res.code == 200){
1738
+ //tag
1739
+ if(res.data.code == 200){
1740
+ this.$showMessage('上传并转维修成功!')
1741
+ }else{
1742
+ this.$showMessage('上传并转维修成功,回写安检单失败!')
1743
+ }
1744
+ this.$dispatch('confirm')
1745
+ // this.$back()
1746
+ }else{
1747
+ this.$showMessage('上传失败!')
1748
+ this.onlySave = true
1749
+ }
1750
+ }else{
1751
+ this.$showMessage('网络异常,上传失败!')
1752
+ this.onlySave = true
1753
+ }
1754
+ },
1755
+ todo(){
1756
+ let gen = getRepairParam(this)
1757
+ co(gen)
1758
+ },
1759
+ undo(){
1760
+ this.showCheckToRepair = !this.showCheckToRepair
1761
+ this.model.serviceacitivity[0].f_reciever = ''
1762
+ this.model.serviceacitivity[0].f_meetunit = ''
1763
+ this.model.f_repairtype = ''
1764
+ this.meading = '转站点'
1765
+ },
1766
+ disableTimer() {
1767
+ if(this.timer) {
1768
+ window.clearTimeout(this.timer)
1769
+ this.timer = null
1770
+ }
1771
+ },
1772
+ loaded(paper) {
1773
+ if(!paper.hasOwnProperty('id')) {
1774
+ this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
1775
+ this.init()
1776
+ } else {
1777
+ Util.booleanFilter(paper)
1778
+ HostApp.__this__.$set('data', paper)
1779
+ HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
1780
+ // 如果打回重检则重新计时
1781
+ //tag
1782
+ if(HostApp.__this__.role == 'inspect'
1783
+ && HostApp.__this__.data.f_approved
1784
+ && HostApp.__this__.data.f_approved == '打回') {
1785
+ //tag
1786
+ HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1787
+ HostApp.__this__.tick()
1788
+ }
1789
+ }
1790
+ HostApp.__callback__ = null
1791
+ HostApp.__this__ = null
1792
+ },
1793
+ S4() {
1794
+ return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
1795
+ },
1796
+ extend(initalObj, finalObj) {
1797
+ var obj = finalObj || {};
1798
+ for (var i in initalObj) {
1799
+ var prop = initalObj[i];
1800
+
1801
+ // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1802
+ if (prop === obj) {
1803
+ continue;
1804
+ }
1805
+
1806
+ if (typeof prop === 'object') {
1807
+ if (obj[i]) {
1808
+ this.extend(obj[i], prop)
1809
+ } else {
1810
+ obj[i] = prop;
1811
+ }
1812
+ }
1813
+ }
1814
+ return obj;
1815
+ },
1816
+ // async isoverDate(){
1817
+ // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
1818
+ // condition:"f_plan_item_id='"+this.item.id+"'"
1819
+ // }
1820
+ // })
1821
+ // this.isneedDate=res.data[0]["f_subscribe_date"]
1822
+ // },
1823
+ putDevices() {
1824
+ //tag)
1825
+ //tag)
1826
+ this.$set('data.approve', "true")
1827
+ this.$set('data.writeback', "false")
1828
+ if (Vue.config.safecheck != undefined) {
1829
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1830
+ if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
1831
+ this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
1832
+ }
1833
+ if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
1834
+ this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
1835
+ }
1836
+ if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
1837
+ this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
1838
+ }
1839
+ if (Vue.config.safecheck.ApproveConfig.showtorepair) {
1840
+ this.show_torepair = Vue.config.safecheck.ApproveConfig.showtorepair
1841
+ }
1842
+ if (Vue.config.safecheck.ApproveConfig.notencountered != undefined){
1843
+ this.notencountered = Vue.config.safecheck.ApproveConfig.notencountered
1844
+ }
1845
+ if (Vue.config.safecheck.ApproveConfig.refuseinspection != undefined){
1846
+ this.refuseinspection = Vue.config.safecheck.ApproveConfig.refuseinspection
1847
+ }
1848
+ }
1849
+ //tag
1850
+ //tag)
1851
+ //tag)
1852
+ //tag
1853
+ if(this.item.f_user_type == '非民用'){
1854
+ // 非民用
1855
+ if (Vue.config.safecheck.DevicesSetConfig != undefined){
1856
+ if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1857
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1858
+ }else{
1859
+ //tag
1860
+ //tag
1861
+ //tag
1862
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1863
+ }
1864
+ //this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1865
+ }
1866
+
1867
+ }else{
1868
+ // 民用户
1869
+ if (Vue.config.safecheck.DevicesConfig != undefined){
1870
+ if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1871
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1872
+ }else{
1873
+ //tag
1874
+ //tag
1875
+ //tag
1876
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type?this.item.f_user_type:'民用']])
1877
+ }
1878
+ // this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1879
+ }
1880
+ }
1881
+
1882
+ }
1883
+ //tag)
1884
+ // 预留设备项位置
1885
+ for (let i in this.config) {
1886
+ this.tabs.splice(1,0,null)
1887
+ }
1888
+ //遍历安检项配置
1889
+ for (let i in this.config) {
1890
+ //取得安检项索引值
1891
+ let n = this.config[i].index
1892
+ //tag
1893
+ this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1894
+ this.$set('data.' + 'device' + n, [])
1895
+ //tag
1896
+ // this.tabs.splice(2 + n - 1, 0,
1897
+ // {
1898
+ // header:i,
1899
+ // complete:'safecheck-devices',
1900
+ // class:'repair-details-class',
1901
+ // number:n
1902
+ // })
1903
+ this.tabs[n] = {
1904
+ header: i,
1905
+ complete: 'safecheck-devices',
1906
+ class: 'repair-details-class',
1907
+ number: n
1908
+ }
1909
+
1910
+ if(this.config[i].quantity && this.config[i].quantity >0){
1911
+ let items = []
1912
+ for (let it in this.config[i].items) {
1913
+ //赋值下拉选项
1914
+ if (this.config[i].items[it].type == 'selector') {
1915
+ for (let op in this.config[i].items[it].options) {
1916
+ if (this.config[i].items[it].options[op].isdefault == true) {
1917
+ items.push({
1918
+ f_defect_level: this.config[i].items[it].options[op].level,
1919
+ f_is_defect: this.config[i].items[it].options[op].isdefect,
1920
+ f_item_name: it,
1921
+ f_item_value: this.config[i].items[it].options[op].data,
1922
+ f_path: "",
1923
+ type: "selector"
1924
+ })
1925
+ }
1926
+ }
1927
+ }
1928
+ }
1929
+ for(let q =0;q<this.config[i].quantity;q++) {
1930
+ this.data['device' + n].push(
1931
+ {f_device_type: i, f_items:items}
1932
+ )
1933
+ }
1934
+ }
1935
+ // this.data['device' + n].push(
1936
+ // {f_device_type: i, f_items: items}
1937
+ // )
1938
+ n = n + 1
1939
+ }
1940
+ //tag
1941
+ this.faultshow.number = this.tabs.length
1942
+ },
1943
+ init () {
1944
+ //tag
1945
+ // this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
1946
+ // 无计划安检是否回更待办计划
1947
+ this.data.isupdateplanitem = this.$appdata.getSingleValue('在线安检回更有计划') ? this.$appdata.getSingleValue('在线安检回更有计划') : 'false'
1948
+ // 预约安检单工单编号
1949
+ this.data.f_SafeToRepair_id = this.item.f_service_id
1950
+ this.data.ename = Vue.user.ename
1951
+ this.data.f_outlets = Vue.user.f_parentname
1952
+ this.data.f_meetunit = Vue.user.orgpathnames
1953
+ this.data.orgpathstr = Vue.user.orgpathstr
1954
+ this.data.f_check_item_id = this.item.id
1955
+ this.data.f_check_plan_id = this.f_plan_id
1956
+ this.data.f_checker_id = Vue.user.id
1957
+ this.data.f_checker_name = Vue.user.name
1958
+ this.data.f_check_type = this.item.f_user_type
1959
+ this.data.f_safecheck_type = this.item.f_safecheck_type
1960
+ //this.data.f_exceed_reason = ''//存放送气超期原因
1961
+ //tag
1962
+ this.data.f_subcompany = this.item.f_subcompany
1963
+ this.data.f_approved = this.item.f_approvedf_read_instructions
1964
+ this.data.f_repair_approved = this.item.f_repair_approved
1965
+ this.data.f_no_checkplan = this.item.f_no_checkplan
1966
+ this.data.f_approved = this.item.f_approved
1967
+ this.data.f_filialeid = this.item.f_filialeid
1968
+ this.data.f_orgstr = this.item.f_orgstr
1969
+ this.data.version = this.item.version
1970
+ this.data.f_check_version=this.item.f_check_version
1971
+ this.$set('data.f_meters', this.item.f_plan_meters)
1972
+ this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1973
+ // 安检状态
1974
+ this.$set('data.f_entry_status', '入户')
1975
+ this.$set('data.f_safe_type', '年度安检')
1976
+ this.$set('data.f_usegas', '已使用')
1977
+ this.$set('data.f_state',this.item.f_state)
1978
+ this.$set('data.f_source', this.source?this.source:'安检')
1979
+ this.$set('data.f_other_checker_name', '')
1980
+ //tag
1981
+ // 用户信息
1982
+ this.$set('data.f_user_name', this.item.f_user_name)
1983
+ this.$set('data.f_rent_phone', this.item.f_rent_phone)
1984
+ this.$set('data.f_user_phone', this.item.f_user_phone)
1985
+ this.$set('data.f_userinfoid', this.item.f_userinfoid)
1986
+ this.$set('data.f_address', this.item.f_address)
1987
+ this.$set('data.f_card_id', this.item.f_card_id)
1988
+ this.$set('data.f_slice_area', this.item.f_slice_area)
1989
+ this.$set('data.f_recheck_id', this.item.id)
1990
+ this.$set('rowCodata.f_recheck_id', this.item.id)
1991
+ this.$set('data.f_street', this.item.f_street)
1992
+ this.$set('data.f_room', this.item.f_room)
1993
+ this.$set('data.f_building', this.item.f_building)
1994
+ this.$set('data.f_unit', this.item.f_unit)
1995
+ //tag
1996
+ this.$set('data.f_floor', this.item.f_floor)
1997
+ this.$set('data.f_residential_area' , this.item.f_residential_area)
1998
+ this.$set('data.f_idnumber', this.item.f_idnumber)
1999
+ this.$set('data.f_comments', this.item.f_comments)
2000
+ this.$set('data.f_userproperties', this.item.f_userproperties)
2001
+ this.$set('data.f_client_evaluation', '满意')
2002
+ this.$set('data.f_userfiles_id', this.item.f_plan_meters[0].f_userfiles_id)
2003
+ this.$set('data.f_valve_state', this.item.f_plan_meters[0].f_valve_state)
2004
+ this.$set('data.f_off_valve_reason', this.item.f_plan_meters[0].f_off_valve_reason)
2005
+ // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
2006
+ // this.$set('data.f_user_check_time', this.item.f_user_check_time)
2007
+ // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
2008
+ // this.$set('data.f_user_family_remarks', this.item.f_user_family_remarks)
2009
+ // this.$set('data.f_user_equipment_remarks', this.item.f_user_equipment_remarks)
2010
+ // 处置方式
2011
+ //tag
2012
+ this.$set('data.f_gas_guidelines', true)
2013
+ this.$set('data.f_safety_warning', true)
2014
+ this.$set('data.f_gas_manual', true)
2015
+ this.$set('data.f_no_gas_device', false)
2016
+ this.$set('data.f_close_valve', false)
2017
+ this.$set('data.f_unload_battery', false)
2018
+ //tag
2019
+ if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检' ) {
2020
+ this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
2021
+ }
2022
+ if(this.item.f_no_checkplan == '复检'){
2023
+ this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
2024
+ }
2025
+ //tag
2026
+ if(this.item.f_plan_meters) {
2027
+ for (let de in this.devices) {
2028
+ if(typeof this.devices[de]=='function'){
2029
+ continue
2030
+ }
2031
+ this.$set('data.device' + this.devices[de].n, [])
2032
+ for (let i = 0; i < this.item.f_plan_meters.length; i++) {
2033
+ if (this.item.f_plan_meters[i].f_meter_type) {
2034
+ this.data.f_meter_type=this.item.f_plan_meters[i].f_meter_type
2035
+ //tag)
2036
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') >= 0) {
2037
+ this.data['device' + this.devices[de].n].push({
2038
+ f_device_type: "燃气表",
2039
+ f_items: [
2040
+ {
2041
+ f_defect_level: null,
2042
+ f_device_id: "",
2043
+ f_is_defect: "",
2044
+ f_item_name: "基表编号",
2045
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
2046
+ f_path: "",
2047
+ type: "number"
2048
+ },
2049
+ {
2050
+ f_defect_level: null,
2051
+ f_device_id: "",
2052
+ f_is_defect: "",
2053
+ f_item_name: "气表型号",
2054
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2055
+ f_path: "",
2056
+ type: "string"
2057
+ },
2058
+ {
2059
+ f_defect_level: null,
2060
+ f_device_id: "",
2061
+ f_is_defect: "",
2062
+ f_item_name: "气表品牌",
2063
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
2064
+ f_path: "",
2065
+ type: "string"
2066
+ },
2067
+ {
2068
+ f_defect_level: null,
2069
+ f_device_id: "",
2070
+ f_is_defect: "",
2071
+ f_item_name: "进气方向",
2072
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2073
+ f_path: "",
2074
+ type: "selector"
2075
+ },
2076
+ {
2077
+ f_defect_level: null,
2078
+ f_device_id: "",
2079
+ f_is_defect: "",
2080
+ f_item_name: "上期表读数",
2081
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2082
+ f_path: "",
2083
+ type: "number"
2084
+ },
2085
+ {
2086
+ f_defect_level: null,
2087
+ f_device_id: "",
2088
+ f_is_defect: "",
2089
+ f_item_name: "表箱号",
2090
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
2091
+ f_path: "",
2092
+ type: "string"
2093
+ }
2094
+ ]
2095
+ })
2096
+ }
2097
+ else if (this.devices[de].device == "燃气表") {
2098
+ // delete this.config['燃气表']['items']['表底数']
2099
+ this.data['device' + this.devices[de].n].push({
2100
+ f_device_type: "燃气表",
2101
+ f_items: [
2102
+ {
2103
+ f_defect_level: null,
2104
+ f_device_id: "",
2105
+ f_is_defect: "",
2106
+ f_item_name: "基表编号",
2107
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
2108
+ f_path: "",
2109
+ type: "number"
2110
+ },
2111
+ {
2112
+ f_defect_level: null,
2113
+ f_device_id: "",
2114
+ f_is_defect: "",
2115
+ f_item_name: "气表型号",
2116
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2117
+ f_path: "",
2118
+ type: "string"
2119
+ },
2120
+ {
2121
+ f_defect_level: null,
2122
+ f_device_id: "",
2123
+ f_is_defect: "",
2124
+ f_item_name: "气表品牌",
2125
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
2126
+ f_path: "",
2127
+ type: "string"
2128
+ },
2129
+ {
2130
+ f_defect_level: null,
2131
+ f_device_id: "",
2132
+ f_is_defect: "",
2133
+ f_item_name: "进气方向",
2134
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2135
+ f_path: "",
2136
+ type: "selector"
2137
+ },
2138
+ {
2139
+ f_defect_level: null,
2140
+ f_device_id: "",
2141
+ f_is_defect: "",
2142
+ f_item_name: "上期表读数",
2143
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2144
+ f_path: "",
2145
+ type: "number"
2146
+ },
2147
+ {
2148
+ f_defect_level: null,
2149
+ f_device_id: "",
2150
+ f_is_defect: "",
2151
+ f_item_name: "表箱号",
2152
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
2153
+ f_path: "",
2154
+ type: "string"
2155
+ }
2156
+ ]
2157
+ })
2158
+ }
2159
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') < 0) {
2160
+ this.data['device' + this.devices[de].n].forEach(device => {
2161
+ if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
2162
+ if (!this.data.f_collection_type) {
2163
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2164
+ delete this.config['燃气表']['items']['累购气量']
2165
+ delete this.config['燃气表']['items']['已用气量']
2166
+ delete this.config['燃气表']['items']['表底数']
2167
+ delete this.config['燃气表']['items']['剩余气量']
2168
+ delete this.config['燃气表']['items']['气量异常差值']
2169
+ delete this.config['燃气表']['items']['差值是否异常']
2170
+ device.f_items.push(
2171
+ {
2172
+ f_defect_level: null,
2173
+ f_device_id: "",
2174
+ f_is_defect: "",
2175
+ f_item_name: "初始表底",
2176
+ isshow: false,
2177
+ f_item_value: '',
2178
+ f_path: "",
2179
+ type: "number"
2180
+ },
2181
+ {
2182
+ f_defect_level: null,
2183
+ f_device_id: "",
2184
+ f_is_defect: "",
2185
+ f_item_name: "用户累购气量",
2186
+ f_item_value: this.item.f_plan_meters[i].f_pregas,
2187
+ f_path: "",
2188
+ type: "number",
2189
+ isshow:false
2190
+ },
2191
+ {
2192
+ f_defect_level: null,
2193
+ f_device_id: "",
2194
+ f_is_defect: "",
2195
+ f_item_name: "累购金额",
2196
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2197
+ f_path: "",
2198
+ type: "number"
2199
+ },
2200
+ {
2201
+ f_defect_level: null,
2202
+ f_device_id: "",
2203
+ f_is_defect: "",
2204
+ f_item_name: "已用金额",
2205
+ f_item_value: null,
2206
+ f_path: "",
2207
+ type: "number"
2208
+ },
2209
+ {
2210
+ f_defect_level: null,
2211
+ f_device_id: "",
2212
+ f_is_defect: "",
2213
+ f_item_name: "系统表底数",
2214
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2215
+ isshow:false,
2216
+ f_path: "",
2217
+ type: "number"
2218
+ },
2219
+ {
2220
+ f_defect_level: null,
2221
+ f_device_id: "",
2222
+ f_is_defect: "",
2223
+ f_item_name: "剩余金额",
2224
+ f_item_value: null,
2225
+ f_path: "",
2226
+ type: "number"
2227
+ },
2228
+ {
2229
+ f_defect_level: null,
2230
+ f_device_id: "",
2231
+ f_is_defect: "",
2232
+ f_item_name: "金额异常差值",
2233
+ f_item_value: null,
2234
+ f_path: "",
2235
+ type: "number"
2236
+ }
2237
+ )
2238
+ //tag)
2239
+ }
2240
+ } else
2241
+ if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
2242
+ if (!this.data.f_collection_type) {
2243
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2244
+ delete this.config['燃气表']['items']['累购金额']
2245
+ delete this.config['燃气表']['items']['已用金额']
2246
+ delete this.config['燃气表']['items']['表底数']
2247
+ delete this.config['燃气表']['items']['剩余金额']
2248
+ delete this.config['燃气表']['items']['金额异常差值']
2249
+ delete this.config['燃气表']['items']['气量异常差值']
2250
+ device.f_items.push(
2251
+ {
2252
+ f_defect_level: null,
2253
+ f_device_id: "",
2254
+ f_is_defect: "",
2255
+ f_item_name: "初始表底",
2256
+ isshow: true,
2257
+ f_item_value: this.item.f_plan_meters[i].f_initial_base,
2258
+ f_path: "",
2259
+ type: "number"
2260
+ },
2261
+ {
2262
+ f_defect_level: null,
2263
+ f_device_id: "",
2264
+ f_is_defect: "",
2265
+ f_item_name: "累购气量",
2266
+ f_item_value: this.item.f_plan_meters[i].f_total_gas,
2267
+ f_path: "",
2268
+ type: "number"
2269
+ },
2270
+ {
2271
+ f_defect_level: null,
2272
+ f_device_id: "",
2273
+ f_is_defect: "",
2274
+ f_item_name: "用户累购气量",
2275
+ f_item_value: this.item.f_plan_meters[i].f_pregas,
2276
+ f_path: "",
2277
+ type: "number",
2278
+ isshow:true
2279
+ },
2280
+ {
2281
+ f_defect_level: null,
2282
+ f_device_id: "",
2283
+ f_is_defect: "",
2284
+ f_item_name: "已用气量",
2285
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2286
+ f_path: "",
2287
+ type: "number"
2288
+ },
2289
+ {
2290
+ f_defect_level: null,
2291
+ f_device_id: "",
2292
+ f_is_defect: "",
2293
+ f_item_name: "系统表底数",
2294
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2295
+ isshow:false,
2296
+ f_path: "",
2297
+ type: "number"
2298
+ },
2299
+ {
2300
+ f_defect_level: null,
2301
+ f_device_id: "",
2302
+ f_is_defect: "",
2303
+ f_item_name: "剩余气量",
2304
+ f_item_value: "",
2305
+ f_path: "",
2306
+ type: "number"
2307
+ },
2308
+ {
2309
+ f_defect_level: null,
2310
+ f_device_id: "",
2311
+ f_is_defect: "",
2312
+ f_item_name: "差值是否异常",
2313
+ checkmust:true,
2314
+ f_item_value: null,
2315
+ f_path: "",
2316
+ type: "selector",
2317
+ options: [
2318
+ {
2319
+ "data": "是",
2320
+ "isdefect": true,
2321
+ "isdefault": false
2322
+ },
2323
+ {
2324
+ "data": "否",
2325
+ "isdefect": false,
2326
+ "isdefault": false
2327
+ }
2328
+ ]
2329
+ }
2330
+ )
2331
+ //tag)
2332
+ }
2333
+ }
2334
+ })
2335
+ }else if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
2336
+ this.data['device' + this.devices[de].n].forEach(device => {
2337
+ if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
2338
+ if (!this.data.f_collection_type) {
2339
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2340
+ delete this.config['燃气表']['items']['累购气量']
2341
+ delete this.config['燃气表']['items']['已用气量']
2342
+ delete this.config['燃气表']['items']['已用金额']
2343
+ delete this.config['燃气表']['items']['剩余气量']
2344
+ delete this.config['燃气表']['items']['气量异常差值']
2345
+ delete this.config['燃气表']['items']['金额异常差值']
2346
+ device.f_items.push(
2347
+ {
2348
+ f_defect_level: null,
2349
+ f_device_id: "",
2350
+ f_is_defect: "",
2351
+ f_item_name: "初始表底",
2352
+ isshow: false,
2353
+ f_item_value: '',
2354
+ f_path: "",
2355
+ type: "number"
2356
+ },
2357
+ {
2358
+ f_defect_level: null,
2359
+ f_device_id: "",
2360
+ f_is_defect: "",
2361
+ f_item_name: "用户累购气量",
2362
+ f_item_value: this.item.f_plan_meters[i].f_pregas,
2363
+ f_path: "",
2364
+ type: "number",
2365
+ isshow:false
2366
+ },
2367
+ {
2368
+ f_defect_level: null,
2369
+ f_device_id: "",
2370
+ f_is_defect: "",
2371
+ f_item_name: "累购金额",
2372
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2373
+ f_path: "",
2374
+ type: "number"
2375
+ },
2376
+ {
2377
+ f_defect_level: null,
2378
+ f_device_id: "",
2379
+ f_is_defect: "",
2380
+ f_item_name: "系统表底数",
2381
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2382
+ isshow:true,
2383
+ f_path: "",
2384
+ type: "number"
2385
+ },
2386
+ {
2387
+ f_defect_level: null,
2388
+ f_device_id: "",
2389
+ f_is_defect: "",
2390
+ f_item_name: "表底数",
2391
+ f_item_value: null,
2392
+ f_path: "",
2393
+ type: "number"
2394
+ },
2395
+ {
2396
+ f_defect_level: null,
2397
+ f_device_id: "",
2398
+ f_is_defect: "",
2399
+ f_item_name: "剩余金额",
2400
+ f_item_value: null,
2401
+ f_path: "",
2402
+ type: "number"
2403
+ },
2404
+ {
2405
+ f_defect_level: null,
2406
+ f_device_id: "",
2407
+ f_is_defect: "",
2408
+ f_item_name: "差值是否异常",
2409
+ f_item_value: null,
2410
+ checkmust:true,
2411
+ f_path: "",
2412
+ type: "selector",
2413
+ options: [
2414
+ {
2415
+ "data": "是",
2416
+ "isdefect": true,
2417
+ "isdefault": false
2418
+ },
2419
+ {
2420
+ "data": "否",
2421
+ "isdefect": false,
2422
+ "isdefault": false
2423
+ }
2424
+ ]
2425
+ }
2426
+ )
2427
+ //tag)
2428
+ }
2429
+ } else
2430
+ if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
2431
+ if (!this.data.f_collection_type) {
2432
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2433
+ delete this.config['燃气表']['items']['累购金额']
2434
+ delete this.config['燃气表']['items']['已用金额']
2435
+ delete this.config['燃气表']['items']['已用气量']
2436
+ delete this.config['燃气表']['items']['剩余金额']
2437
+ delete this.config['燃气表']['items']['金额异常差值']
2438
+ delete this.config['燃气表']['items']['气量异常差值']
2439
+ device.f_items.push(
2440
+ {
2441
+ f_defect_level: null,
2442
+ f_device_id: "",
2443
+ f_is_defect: "",
2444
+ f_item_name: "初始表底",
2445
+ isshow: true,
2446
+ f_item_value: this.item.f_plan_meters[i].f_initial_base,
2447
+ f_path: "",
2448
+ type: "number"
2449
+ },
2450
+ {
2451
+ f_defect_level: null,
2452
+ f_device_id: "",
2453
+ f_is_defect: "",
2454
+ f_item_name: "累购气量",
2455
+ f_item_value: this.item.f_plan_meters[i].f_total_gas,
2456
+ f_path: "",
2457
+ type: "number"
2458
+ },
2459
+ {
2460
+ f_defect_level: null,
2461
+ f_device_id: "",
2462
+ f_is_defect: "",
2463
+ f_item_name: "用户累购气量",
2464
+ f_item_value: this.item.f_plan_meters[i].f_pregas,
2465
+ f_path: "",
2466
+ type: "number",
2467
+ isshow:false
2468
+ },
2469
+ {
2470
+ f_defect_level: null,
2471
+ f_device_id: "",
2472
+ f_is_defect: "",
2473
+ f_item_name: "表底数",
2474
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2475
+ f_path: "",
2476
+ type: "number"
2477
+ },
2478
+ {
2479
+ f_defect_level: null,
2480
+ f_device_id: "",
2481
+ f_is_defect: "",
2482
+ f_item_name: "系统表底数",
2483
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2484
+ isshow:false,
2485
+ f_path: "",
2486
+ type: "number"
2487
+ },
2488
+ {
2489
+ f_defect_level: null,
2490
+ f_device_id: "",
2491
+ f_is_defect: "",
2492
+ f_item_name: "剩余气量",
2493
+ f_item_value: "",
2494
+ f_path: "",
2495
+ type: "number"
2496
+ },
2497
+ {
2498
+ f_defect_level: null,
2499
+ f_device_id: "",
2500
+ f_is_defect: "",
2501
+ f_item_name: "差值是否异常",
2502
+ checkmust:true,
2503
+ f_item_value: null,
2504
+ f_path: "",
2505
+ type: "selector",
2506
+ options: [
2507
+ {
2508
+ "data": "是",
2509
+ "isdefect": true,
2510
+ "isdefault": false
2511
+ },
2512
+ {
2513
+ "data": "否",
2514
+ "isdefect": false,
2515
+ "isdefault": false
2516
+ }
2517
+ ]
2518
+ }
2519
+ )
2520
+ //tag)
2521
+ }
2522
+ }
2523
+ })
2524
+ }
2525
+ else if(this.devices[de].device == "燃气表"){
2526
+ //tag
2527
+ this.data['device' + this.devices[de].n].forEach(device => {
2528
+ //tag)
2529
+ if (!this.data.f_collection_type) {
2530
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2531
+ delete this.config['燃气表']['items']['累购金额']
2532
+ delete this.config['燃气表']['items']['已用金额']
2533
+ delete this.config['燃气表']['items']['表底数']
2534
+ delete this.config['燃气表']['items']['剩余金额']
2535
+ delete this.config['燃气表']['items']['金额异常差值']
2536
+ device.f_items.push(
2537
+ {
2538
+ f_defect_level: null,
2539
+ f_device_id: "",
2540
+ f_is_defect: "",
2541
+ f_item_name: "初始表底",
2542
+ isshow: true,
2543
+ f_item_value: this.item.f_plan_meters[i].f_initial_base,
2544
+ f_path: "",
2545
+ type: "number"
2546
+ },
2547
+ {
2548
+ f_defect_level: null,
2549
+ f_device_id: "",
2550
+ f_is_defect: "",
2551
+ f_item_name: "累购气量",
2552
+ f_item_value: this.item.f_plan_meters[i].f_total_gas,
2553
+ f_path: "",
2554
+ type: "number"
2555
+ },
2556
+ {
2557
+ f_defect_level: null,
2558
+ f_device_id: "",
2559
+ f_is_defect: "",
2560
+ f_item_name: "已用气量",
2561
+ f_item_value: this.item.f_plan_meters[i].f_metergasnums,
2562
+ f_path: "",
2563
+ type: "number"
2564
+ },
2565
+ {
2566
+ f_defect_level: null,
2567
+ f_device_id: "",
2568
+ f_is_defect: "",
2569
+ f_item_name: "剩余气量",
2570
+ f_item_value: '',
2571
+ f_path: "",
2572
+ type: "number"
2573
+ },
2574
+ {
2575
+ f_defect_level: null,
2576
+ f_device_id: "",
2577
+ f_is_defect: "",
2578
+ f_item_name: "气量异常差值",
2579
+ isshow:false,
2580
+ f_item_value: null,
2581
+ f_path: "",
2582
+ type: "number"
2583
+ }
2584
+ )
2585
+ //tag)
2586
+ }
2587
+ })
2588
+ }
2589
+ }
2590
+ }
2591
+ }
2592
+ }
2593
+ var pardate = {
2594
+ _this:this,
2595
+ tittle:'安检详情',
2596
+ safe:true
2597
+ }
2598
+ // this.$dispatch('gotoson',pardate)
2599
+ //tag
2600
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2601
+ }
2602
+ },
2603
+ watch: {
2604
+ 'row' () {
2605
+ //tag
2606
+ this.copy()
2607
+ }
2608
+ },
2609
+ async ready () {
2610
+ this.putDevices()
2611
+ if (this.item.f_state != '未检') {
2612
+ if (this.role == 'inspect' || this.role == 'androidview') {
2613
+ HostApp.__callback__ = this.loaded
2614
+ HostApp.__this__ = this
2615
+ let that = this
2616
+ let value = {}
2617
+ if (this.role == 'inspect') {
2618
+ if(this.item.f_no_checkplan != '无计划安检' ){
2619
+ if (this.item.f_no_checkplan == '复检') {
2620
+ value = this.$androidUtil.path({
2621
+ alias: 'getUserinfomation',
2622
+ data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan in ('无计划安检','复检')"}
2623
+ })
2624
+ } else {
2625
+ value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
2626
+ }
2627
+ }else {
2628
+ value.data =[]
2629
+ }
2630
+ } else {
2631
+ value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2632
+ }
2633
+ Util.replaceFalse(value)
2634
+ if (value.data.length != 0) {
2635
+ that.$set('data', value.data[0])
2636
+ if (this.data.f_collection_type == '按气量') {
2637
+ delete this.config['燃气表']['items']['累购金额']
2638
+ delete this.config['燃气表']['items']['已用金额']
2639
+ delete this.config['燃气表']['items']['表底数']
2640
+ delete this.config['燃气表']['items']['剩余金额']
2641
+ delete this.config['燃气表']['items']['金额异常差值']
2642
+ } else if (this.data.f_collection_type == '按金额') {
2643
+ delete this.config['燃气表']['items']['累购气量']
2644
+ delete this.config['燃气表']['items']['已用气量']
2645
+ delete this.config['燃气表']['items']['表底数']
2646
+ delete this.config['燃气表']['items']['剩余气量']
2647
+ delete this.config['燃气表']['items']['气量异常差值']
2648
+ }
2649
+ //tag)
2650
+ if (value.data[0].f_devices) {
2651
+ for (let da in that.devices) {
2652
+ if(typeof that.devices[da]=='function'){
2653
+ continue
2654
+ }
2655
+ that.$set('data.device' + that.devices[da].n, [])
2656
+ }
2657
+ value.data[0].f_devices.forEach((item) => {
2658
+ for (let i in item.f_items) {
2659
+ if(typeof item.f_items[i]=='function'){
2660
+ continue
2661
+ }
2662
+ for (let de in that.config[item.f_device_type].items) {
2663
+ if(typeof that.config[item.f_device_type].items[de]=='function'){
2664
+ continue
2665
+ }
2666
+ if (item.f_items[i].f_item_name == de) {
2667
+ if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
2668
+ item.f_items[i].f_item_value = []
2669
+ } else {
2670
+ item.f_items[i].f_item_value = ''
2671
+ }
2672
+ }
2673
+ }
2674
+ for (let j in item.f_items[i].f_item_lists) {
2675
+ if(typeof item.f_items[i].f_item_lists[j]=='function'){
2676
+ continue
2677
+ }
2678
+ //tag)
2679
+ if (item.f_items[i].f_item_value instanceof Array) {
2680
+ item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2681
+ } else {
2682
+ item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2683
+ }
2684
+ }
2685
+ }
2686
+ for (let de in that.devices) {
2687
+ if(typeof that.devices[de]=='function'){
2688
+ continue
2689
+ }
2690
+ if (that.devices[de].device == item.f_device_type) {
2691
+ that.data['device' + that.devices[de].n].push({
2692
+ f_device_type: item.f_device_type,
2693
+ f_items: item.f_items
2694
+ })
2695
+ //tag)
2696
+ }
2697
+ }
2698
+ })
2699
+ if (this.role == 'androidview') {
2700
+ Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
2701
+ Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
2702
+ Util.booleanFilter(that.data)
2703
+ }
2704
+ }
2705
+ } else {
2706
+ this.init()
2707
+ }
2708
+ if(true){
2709
+ let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
2710
+ if (isRecodr) {
2711
+ if (isRecodr=='true') {
2712
+ this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
2713
+ // 初始化录音
2714
+ let resse = this.record()
2715
+ }
2716
+ }
2717
+ }
2718
+ var pardate = {
2719
+ _this:this,
2720
+ tittle:'安检详情',
2721
+ safe:true
2722
+ }
2723
+ // this.$dispatch('gotoson',pardate)getImgPath
2724
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2725
+ } else {
2726
+ let that = this
2727
+ let id
2728
+ if (this.role == 'view') {
2729
+ id = this.item.id
2730
+ }
2731
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2732
+ if (respanse.data.length != 0) {
2733
+ that.data = Object.assign(that.data,respanse.data[0])
2734
+ if(respanse.data[0].f_devices) {
2735
+ for (let da in that.devices) {
2736
+ that.$set('data.device' + that.devices[da].n, [])
2737
+ }
2738
+ respanse.data[0].f_devices.forEach((item) => {
2739
+ for (let de in that.devices) {
2740
+ if (that.devices[de].device == item.f_device_type) {
2741
+ that.data['device' + that.devices[de].n].push({
2742
+ f_device_type: item.f_device_type,
2743
+ f_items: item.f_items
2744
+ })
2745
+ }
2746
+ }
2747
+ })
2748
+ }
2749
+ Util.replaceFalse(that.data)
2750
+ Util.booleanFilter(that.data)
2751
+ if(this.role == 'view'){
2752
+ Util.ratifyPics(that.data)
2753
+ }else{
2754
+ Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
2755
+ }
2756
+ //tag
2757
+ } else {
2758
+ alert("该安检单可能已不在本地!")
2759
+ this.init()
2760
+ }
2761
+ var pardate = {
2762
+ _this:this,
2763
+ tittle:'安检详情',
2764
+ safe:true
2765
+ }
2766
+ // this.$dispatch('gotoson',pardate)
2767
+ this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2768
+ }
2769
+ ).catch(
2770
+ (respanse) => {
2771
+ alert('查找安检单失败')
2772
+ })
2773
+ }
2774
+ }else{
2775
+ if(this.parentPage && this.parentPage=='AddPlanItem'){
2776
+ //tag
2777
+ let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
2778
+ if (isRecodr) {
2779
+ if (isRecodr=='true') {
2780
+ this.$showMessage("为了保证服务质量,您的电话将会被全程录音!")
2781
+ let resse = this.record()
2782
+ }
2783
+ }
2784
+ }
2785
+ this.init()
2786
+ }
2787
+ },
2788
+ components: {
2789
+ // 'door-service': DoorService,
2790
+ // 'repair-info': RepairInfo,
2791
+ // 'repair-user-info': RepairUserInfo,
2792
+ // 'outlay': Outlay,
2793
+ // 'fault-all': FaultAll,
2794
+ // 'repair-details':RepairDetails
2795
+ // 'pipeline': Pipeline,
2796
+ // 'device-service': DeviceService,
2797
+ // 'trouble-removal': TroubleRemoval,
2798
+ // 'cooking-utensils': CookingUtensils,
2799
+ // 'repair-matter-info': RepairMatterInfo,
2800
+ // 'first-gas-check': FirstGasCheck,
2801
+ // 'tel-change-matter': TelChangeMatter/
2802
+ },
2803
+ events: {
2804
+ 'tijiao': function () {
2805
+ // 事件回调内的 `this` 自动绑定到注册它的实例上
2806
+ this.confirm()
2807
+ }
2808
+ }
2809
+ }
2810
+ </script>
2811
+ <style lang="less">
2812
+ @import "../../../../src/bootstrap/less/variables.less";
2813
+ .noclickbut {
2814
+ pointer-events: none;
2815
+ }
2816
+ .tab-befor-img (@url) {
2817
+ content: '';
2818
+ background-image: url("@{url}");
2819
+ background-size: 20px;
2820
+ display: inline-block;
2821
+ margin-right: 8px;
2822
+ margin-top: 0.3em;
2823
+ height: 1.3em;
2824
+ width: 1.3em;
2825
+ vertical-align: -35%;
2826
+ }
2827
+
2828
+ @media screen and (min-width: 768px) {
2829
+ .android-repair-order > div > ul a {
2830
+ font-size: @font-size-h2;
2831
+ margin: 0.3em 0;
2832
+ }
2833
+ }
2834
+ .repair-details-class{
2835
+ &::before {
2836
+ .tab-befor-img("../../../assets/huneiweixiu1.png");
2837
+ }
2838
+ }
2839
+ .repair-info-class {
2840
+ &::before {
2841
+ .tab-befor-img("../../../assets/baoxiuxinxi1.png");
2842
+ }
2843
+ }
2844
+ .repair-user-info-class {
2845
+ &::before {
2846
+ .tab-befor-img("../../../assets/jibenxinxi1.png")
2847
+ }
2848
+ }
2849
+
2850
+ .door-service-class {
2851
+ &::before {
2852
+ .tab-befor-img("../../../assets/huneiweixiu1.png")
2853
+ }
2854
+ }
2855
+
2856
+ .pipeline-class {
2857
+ &::before {
2858
+ .tab-befor-img("../../../assets/guandao1.png")
2859
+ }
2860
+ }
2861
+
2862
+ .device-service-class {
2863
+ &::before {
2864
+ .tab-befor-img("../../../assets/shebeiweixiu1.png")
2865
+ }
2866
+ }
2867
+
2868
+ .trouble-removal-class {
2869
+ &::before {
2870
+ .tab-befor-img("../../../assets/shiguchuli.png")
2871
+ }
2872
+ }
2873
+
2874
+ .cooking-utensils-class {
2875
+ &::before {
2876
+ .tab-befor-img("../../../assets/zaoju1.png")
2877
+ }
2878
+ }
2879
+
2880
+ .outlay-class {
2881
+ &::before {
2882
+ .tab-befor-img("../../../assets/feiyong1.png")
2883
+ }
2884
+ }
2885
+
2886
+ .fault-all-class {
2887
+ &::before {
2888
+ .tab-befor-img("../../../assets/guzhanghuizong1.png")
2889
+ }
2890
+ }
2891
+ .photo-write-class {
2892
+ &::before {
2893
+ .tab-befor-img("../../../assets/zaoju.png")
2894
+ }
2895
+ }
2896
+ .delay-apply-class {
2897
+ &::before {
2898
+ .tab-befor-img("../../../assets/yonghubaoxiu.png")
2899
+ }
2900
+ }
2901
+
2902
+ .repair-back-class {
2903
+ &::before {
2904
+ .tab-befor-img("../../../assets/fanhui.png")
2905
+ }
2906
+ }
2907
+ .butt2 {
2908
+ display: inline;
2909
+ float: right;
2910
+ width: 10px;
2911
+ text-align: center;
2912
+ align-items:center;
2913
+ position: absolute;
2914
+ top:50%;
2915
+
2916
+ left:90%;
2917
+ transform: translate(-50%,-50%);
2918
+ }
2919
+ .linesty{
2920
+ display: inline-block;
2921
+ height:1px;
2922
+ width:100%;
2923
+ background:#d0d0d0;
2924
+ overflow:hidden;
2925
+ vertical-align: middle;
2926
+ }
2927
+ .spanboder{
2928
+ border-bottom:2px solid #499edf;
2929
+ padding-bottom: 8px
2930
+ }
2931
+ .app-botton {
2932
+ position:fixed;
2933
+ background: #87b2dd;
2934
+ right:8px;
2935
+ color: #FFF;
2936
+ padding: 8px;
2937
+ text-align: center;
2938
+ font-size: 1.2em;
2939
+ z-index: 10;
2940
+ opacity:0.5;
2941
+ bottom: 50px;
2942
+ margin-top: -10px;
2943
+ height: 40px;
2944
+ }
2945
+ .android-repair-order > div > ul a {
2946
+ font-size: 12px;
2947
+ color: #333333;
2948
+ padding: 13px 16px;
2949
+ }
2950
+ </style>