safecheck-client 3.0.31-gongyi → 3.0.32-2

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