safecheck-client 3.0.33-gongyi → 3.0.34-1

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