safecheck-client 3.1.1-gaomi-5 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. package/build/dev-server.js +70 -41
  2. package/build/example-server.js +4 -4
  3. package/build/webpack.base.conf.js +3 -1
  4. package/docs/FormPrint.md +1 -1
  5. package/docs/GridTree.md +4 -4
  6. package/docs/PrintFile.md +2 -2
  7. package/docs/tree.md +2 -2
  8. package/examples/ChangeConfig/comp.js +1 -1
  9. package/examples/PhoneSafePlan/comp.js +1 -1
  10. package/examples/SafePlan/App.vue +28 -58
  11. package/examples/SafePlan/comp.js +135 -334
  12. package/examples/SafePlan/index.html +0 -1
  13. package/examples/SafePlan-aode/App.vue +68 -17
  14. package/examples/SafePlan-aode/comp.js +496 -87
  15. package/examples/SafePlan-aode/index.html +1 -0
  16. package/examples/SafePlan-aode-ts/App.vue +90 -0
  17. package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/comp.js +633 -501
  18. package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/index.html +2 -2
  19. package/examples/SafePlan-aodezx/App.vue +89 -0
  20. package/examples/SafePlan-aodezx/comp.js +1538 -0
  21. package/examples/{SafePlan-shaoguan → SafePlan-aodezx}/index.html +2 -2
  22. package/examples/SafePlan-aodezx-ts/App.vue +89 -0
  23. package/examples/SafePlan-aodezx-ts/comp.js +1532 -0
  24. package/examples/{SafePlanrongcheng → SafePlan-aodezx-ts}/index.html +2 -2
  25. package/examples/SafePlanItem/comp.js +2 -2
  26. package/examples/UserFiles/comp.js +4 -4
  27. package/package.json +9 -11
  28. package/src/AndroidApp.vue +10 -8
  29. package/src/App.vue +10 -3
  30. package/src/android.js +8 -2
  31. package/src/assets/Excelformat.png +0 -0
  32. package/src/assets/addnew.png +0 -0
  33. package/src/assets/addpic.png +0 -0
  34. package/src/assets/banner.jpg +0 -0
  35. package/src/assets/baochi.png +0 -0
  36. package/src/assets/baoxiuxinxi.png +0 -0
  37. package/src/assets/bg_mobile_foot.png +0 -0
  38. package/src/assets/bg_mobile_head.png +0 -0
  39. package/src/assets/caozuo.png +0 -0
  40. package/src/assets/chongxinpaifa.png +0 -0
  41. package/src/assets/cqzm.png +0 -0
  42. package/src/assets/cqzm1.png +0 -0
  43. package/src/assets/daibangongdan.png +0 -0
  44. package/src/assets/dancheng.png +0 -0
  45. package/src/assets/doc.jpg +0 -0
  46. package/src/assets/doubledown.png +0 -0
  47. package/src/assets/edit.png +0 -0
  48. package/src/assets/excel.jpg +0 -0
  49. package/src/assets/feiyong.png +0 -0
  50. package/src/assets/gongdantixing.png +0 -0
  51. package/src/assets/guaduan.png +0 -0
  52. package/src/assets/guanbishengyin.png +0 -0
  53. package/src/assets/guandao.png +0 -0
  54. package/src/assets/guzhanghuizong.png +0 -0
  55. package/src/assets/heart.png +0 -0
  56. package/src/assets/horse.mp3 +0 -0
  57. package/src/assets/huchu.png +0 -0
  58. package/src/assets/huifang.png +0 -0
  59. package/src/assets/huiyi.png +0 -0
  60. package/src/assets/huneiweixiu.png +0 -0
  61. package/src/assets/jianting.png +0 -0
  62. package/src/assets/jinbenxinxi.png +0 -0
  63. package/src/assets/jingyin.png +0 -0
  64. package/src/assets/juxing.png +0 -0
  65. package/src/assets/kaixiaochai.jpg +0 -0
  66. package/src/assets/lingsheng.mp3 +0 -0
  67. package/src/assets/list.png +0 -0
  68. package/src/assets/logo.png +0 -0
  69. package/src/assets/luyi.png +0 -0
  70. package/src/assets/movie.ogg +0 -0
  71. package/src/assets/mp3.png +0 -0
  72. package/src/assets/nopic.png +0 -0
  73. package/src/assets/novoice.png +0 -0
  74. package/src/assets/pdf.jpg +0 -0
  75. package/src/assets/person.png +0 -0
  76. package/src/assets/play.png +0 -0
  77. package/src/assets/psicon.png +0 -0
  78. package/src/assets/qrcode_no.png +0 -0
  79. package/src/assets/qrcode_no1.png +0 -0
  80. package/src/assets/quxiaobaochi.png +0 -0
  81. package/src/assets/quxiaojingyin.png +0 -0
  82. package/src/assets/scanCode.png +0 -0
  83. package/src/assets/search.png +0 -0
  84. package/src/assets/searchhover.png +0 -0
  85. package/src/assets/serachactive.png +0 -0
  86. package/src/assets/shangchuan.png +0 -0
  87. package/src/assets/shebeiweixiu.png +0 -0
  88. package/src/assets/shengyin1.png +0 -0
  89. package/src/assets/shengyin2.png +0 -0
  90. package/src/assets/shengyin3.png +0 -0
  91. package/src/assets/shipin1.mp4 +0 -0
  92. package/src/assets/shipinst1.jpg +0 -0
  93. package/src/assets/success.png +0 -0
  94. package/src/assets/telphonesend.png +0 -0
  95. package/src/assets/titleicon01.png +0 -0
  96. package/src/assets/usericon.png +0 -0
  97. package/src/assets/video.png +0 -0
  98. package/src/assets/waibo.png +0 -0
  99. package/src/assets/x.png +0 -0
  100. package/src/assets/xiangcheng.png +0 -0
  101. package/src/assets/xiaoxitixing.png +0 -0
  102. package/src/assets/xihua.png +0 -0
  103. package/src/assets/yinpin.mp3 +0 -0
  104. package/src/assets/zhimang.png +0 -0
  105. package/src/assets/zhixian.png +0 -0
  106. package/src/assets/zhoukou.png +0 -0
  107. package/src/assets/zhuan.png +0 -0
  108. package/src/assets/zhuanjie.png +0 -0
  109. package/src/assets/zhuanyi.png +0 -0
  110. package/src/assets//344/270/212/344/274/240.png +0 -0
  111. package/src/assets//344/270/213/347/256/255/345/244/264.png +0 -0
  112. package/src/assets//344/270/252/344/272/272/344/272/214/347/273/264/347/240/201.png +0 -0
  113. package/src/assets//344/273/273/345/212/241-hover.png +0 -0
  114. package/src/assets//344/273/273/345/212/241.png +0 -0
  115. package/src/assets//344/273/273/345/212/241/344/270/212/344/274/240-hover.png +0 -0
  116. package/src/assets//344/273/273/345/212/241/344/270/212/344/274/240.png +0 -0
  117. package/src/assets//344/277/235/345/255/230.png +0 -0
  118. package/src/assets//344/277/235/351/231/251/346/234/215/345/212/241.png +0 -0
  119. package/src/assets//345/205/266/344/273/226/345/212/237/350/203/275-hover.png +0 -0
  120. package/src/assets//345/205/266/344/273/226/345/212/237/350/203/275.png +0 -0
  121. package/src/assets//345/205/266/344/273/226/346/224/266/350/264/271.png +0 -0
  122. package/src/assets//345/205/266/344/273/226/346/224/266/350/264/2711.png +0 -0
  123. package/src/assets//345/215/225/345/205/203.png +0 -0
  124. package/src/assets//345/215/225/351/200/211/350/242/253/351/200/211@3x.png +0 -0
  125. package/src/assets//345/215/225/351/200/211/351/273/230/350/256/244@3x.png +0 -0
  126. package/src/assets//345/215/241/345/217/267 (1).png +0 -0
  127. package/src/assets//345/215/241/345/217/267.png +0 -0
  128. package/src/assets//345/216/206/345/217/262/346/237/245/350/257/242-hover.png +0 -0
  129. package/src/assets//345/216/206/345/217/262/346/237/245/350/257/242.png +0 -0
  130. package/src/assets//345/216/213/345/212/233.png +0 -0
  131. package/src/assets//345/217/226/346/266/210.png +0 -0
  132. package/src/assets//345/217/263/351/224/256/345/244/264.png +0 -0
  133. package/src/assets//345/220/216/351/200/200.png +0 -0
  134. package/src/assets//345/222/250/350/257/242/345/215/225.png +0 -0
  135. package/src/assets//345/224/256/346/260/2241.png +0 -0
  136. package/src/assets//345/233/236/346/224/266/347/253/231.png +0 -0
  137. package/src/assets//345/234/206/350/247/222/347/237/251/345/275/242-7.png +0 -0
  138. package/src/assets//345/244/251/347/204/266/346/260/224.png +0 -0
  139. package/src/assets//345/260/217/345/214/272.png +0 -0
  140. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  141. package/src/assets//345/267/245/345/215/225/344/270/212/344/274/240.png +0 -0
  142. package/src/assets//345/267/245/345/215/225/347/273/237/350/256/241.png +0 -0
  143. package/src/assets//345/267/256/345/200/274.png +0 -0
  144. package/src/assets//345/267/262/345/212/236/345/267/245/345/215/225.png +0 -0
  145. package/src/assets//345/267/262/345/217/226/346/266/210/345/267/245/345/215/225.png +0 -0
  146. package/src/assets//345/267/262/345/256/214/346/210/220/345/267/245/345/215/225.png +0 -0
  147. package/src/assets//345/267/262/345/256/214/347/273/223/345/267/245/345/215/225.png +0 -0
  148. package/src/assets//345/267/262/351/200/276/346/234/237/345/267/245/345/215/225.png +0 -0
  149. package/src/assets//345/274/200/345/247/213/346/227/266/351/227/264.png +0 -0
  150. package/src/assets//345/275/242/347/212/266-2.png +0 -0
  151. package/src/assets//345/275/242/347/212/266-4.png +0 -0
  152. package/src/assets//345/275/242/347/212/266-6.png +0 -0
  153. package/src/assets//345/276/205/345/212/236/345/267/245/345/215/225.png +0 -0
  154. package/src/assets//346/210/221-hover.png +0 -0
  155. package/src/assets//346/210/221.png +0 -0
  156. package/src/assets//346/211/213/346/234/272/346/212/204/350/241/250/347/263/273/347/273/237.png +0 -0
  157. package/src/assets//346/211/253/344/270/200/346/211/253.png +0 -0
  158. package/src/assets//346/211/253/347/240/2012.png +0 -0
  159. package/src/assets//346/212/204/350/241/250/344/273/273/345/212/241-hover.png +0 -0
  160. package/src/assets//346/212/204/350/241/250/344/273/273/345/212/241.png +0 -0
  161. package/src/assets//346/212/225/350/257/211/345/215/225.png +0 -0
  162. package/src/assets//346/213/215/347/205/247/347/255/276/345/220/215.png +0 -0
  163. package/src/assets//346/215/242/350/241/250.png +0 -0
  164. package/src/assets//346/215/242/350/241/2501.png +0 -0
  165. package/src/assets//346/224/266/350/264/271.png +0 -0
  166. package/src/assets//346/225/260/346/215/256.png +0 -0
  167. package/src/assets//346/237/245/350/257/242.png +0 -0
  168. package/src/assets//346/240/207/351/242/230.png +0 -0
  169. package/src/assets//346/243/200/346/237/245/345/215/225.png +0 -0
  170. package/src/assets//346/245/274/345/261/202.png +0 -0
  171. package/src/assets//346/266/210/346/201/257-hover.png +0 -0
  172. package/src/assets//346/266/210/346/201/257.png +0 -0
  173. package/src/assets//346/270/251/345/272/246.png +0 -0
  174. package/src/assets//347/205/247/347/211/207.png +0 -0
  175. package/src/assets//347/207/203/346/260/224/345/231/250/345/205/267/344/277/241/346/201/257.png +0 -0
  176. package/src/assets//347/207/203/346/260/224/350/241/250.png +0 -0
  177. package/src/assets//347/224/250/346/210/267ID.png +0 -0
  178. package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215-/350/223/235/350/211/262.png +0 -0
  179. package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
  180. package/src/assets//347/224/250/346/210/267/346/237/245/350/257/242-hover.png +0 -0
  181. package/src/assets//347/224/250/346/210/267/346/237/245/350/257/242.png +0 -0
  182. package/src/assets//347/224/250/346/210/267/347/261/273/345/236/213.png +0 -0
  183. package/src/assets//347/224/250/346/210/267/347/274/226/345/217/267.png +0 -0
  184. package/src/assets//347/236/254/346/227/266.png +0 -0
  185. package/src/assets//347/264/257/350/256/241.png +0 -0
  186. package/src/assets//347/264/257/350/256/241/345/215/225/346/225/260.png +0 -0
  187. package/src/assets//347/273/2045.png +0 -0
  188. package/src/assets//347/273/223/346/235/237/346/227/266/351/227/264.png +0 -0
  189. package/src/assets//347/273/264/344/277/256/345/215/225.png +0 -0
  190. package/src/assets//347/274/226/350/276/221.png +0 -0
  191. package/src/assets//347/274/264/350/264/271/350/257/246/346/203/205.png +0 -0
  192. package/src/assets//350/241/245/345/215/241 1.png +0 -0
  193. package/src/assets//350/241/245/345/215/241.png +0 -0
  194. package/src/assets//350/241/245/345/215/2411.png +0 -0
  195. package/src/assets//350/241/250/345/217/267.png +0 -0
  196. package/src/assets//350/241/250/345/220/215.png +0 -0
  197. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  198. package/src/assets//350/241/250/347/261/273/345/236/213icon.png +0 -0
  199. package/src/assets//350/256/242/345/215/225/347/212/266/346/200/201.png +0 -0
  200. package/src/assets//350/256/276/347/275/256-hover.png +0 -0
  201. package/src/assets//350/256/276/347/275/256.png +0 -0
  202. package/src/assets//350/257/273/345/215/241.png +0 -0
  203. package/src/assets//350/257/273/345/215/2411.png +0 -0
  204. package/src/assets//350/264/255/346/260/224/347/274/264/350/264/271.png +0 -0
  205. package/src/assets//350/277/233/350/241/214/344/270/255/345/267/245/345/215/225.png +0 -0
  206. package/src/assets//351/200/232/350/256/257/345/275/225-hover.png +0 -0
  207. package/src/assets//351/200/232/350/256/257/345/275/225.png +0 -0
  208. package/src/assets//351/227/250/347/211/214.png +0 -0
  209. package/src/assets//351/231/204/345/261/236/350/256/276/345/244/207/344/277/241/346/201/257.png +0 -0
  210. package/src/bootstrap/fonts/PINGFANG LIGHT.TTF +0 -0
  211. package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
  212. package/src/bootstrap/fonts/pingfang-bold.ttf +0 -0
  213. package/src/bootstrap/fonts/pingfang-medium.ttf +0 -0
  214. package/src/bootstrap/fonts/pingfang-regular.ttf +0 -0
  215. package/src/bootstrap/fonts/trendstrends.ttf +0 -0
  216. package/src/bootstrap/less/bootstrap.less +3 -2
  217. package/src/bootstrap/less/fonts-list.less +25 -0
  218. package/src/bootstrap/less/glyphicons.less +2 -2
  219. package/src/bootstrap/less/stand.less +2 -2
  220. package/src/bootstrap/less/variables.less +2 -2
  221. package/src/components/Test.vue +49 -551
  222. package/src/components/Util/ImageViewer.vue +369 -0
  223. package/src/components/Util/ImgSelfSafe.vue +744 -81
  224. package/src/components/Util.js +86 -0
  225. package/src/components/android/AddGas.vue +2 -2
  226. package/src/components/android/AddPlanItem.vue +105 -224
  227. package/src/components/android/AdviseCommit.vue +1 -1
  228. package/src/components/android/AndroidCheckResult.vue +1 -1
  229. package/src/components/android/Announcement.vue +43 -42
  230. package/src/components/android/AreaPlan.vue +20 -34
  231. package/src/components/android/CheckMeterAlreadyReading.vue +475 -0
  232. package/src/components/android/CheckMeterReading.vue +657 -0
  233. package/src/components/android/CheckMeterReadingNoncivil.vue +1097 -0
  234. package/src/components/android/CheckNotice.vue +1 -1
  235. package/src/components/android/CheckPlan.vue +2 -2
  236. package/src/components/android/CheckPlanDown.vue +83 -34
  237. package/src/components/android/CheckPlanItems.vue +2 -2
  238. package/src/components/android/CheckerMonthly.vue +1 -1
  239. package/src/components/android/CurrentCreate.vue +1194 -985
  240. package/src/{filiale/wuan/android/CurrentCreate.vue → components/android/DailyworkloadQuery.vue} +172 -380
  241. package/src/components/android/Devices.vue +1 -2
  242. package/src/components/android/DevicesItemm.vue +28 -13
  243. package/src/components/android/Devicesm.vue +29 -8
  244. package/src/components/android/DoorService.vue +3 -3
  245. package/src/components/android/ExtractCheckPlan.vue +1 -1
  246. package/src/components/android/ExtractPlanItem.vue +61 -99
  247. package/src/components/android/InsureManagement.vue +258 -0
  248. package/src/components/android/LcheckUnplan.vue +1 -1
  249. package/src/components/android/Login.vue +1 -1
  250. package/src/components/android/PaperFeedback.vue +470 -566
  251. package/src/components/android/PaperFeedbackm.vue +5 -16
  252. package/src/components/android/PaperMessage.vue +62 -60
  253. package/src/components/android/PaperMessageNocivil.vue +79 -61
  254. package/src/components/android/PaperMeter.vue +1 -1
  255. package/src/components/android/PaperMeterNoncivil.vue +1 -1
  256. package/src/components/android/PaperSet.vue +5 -5
  257. package/src/components/android/PaperSetNoncivil.vue +4 -4
  258. package/src/components/android/PaperUser.vue +1 -1
  259. package/src/components/android/PaperUserNoncivil.vue +1 -1
  260. package/src/components/android/PhoneChangemeterInfo.vue +1 -1
  261. package/src/components/android/PhoneSellInfo.vue +1 -1
  262. package/src/components/android/PhoneState.vue +2 -2
  263. package/src/components/android/PhoneUserFind.vue +1 -1
  264. package/src/components/android/PlanChooserAndroid.vue +133 -0
  265. package/src/components/android/PrearrangedPlan.vue +1 -1
  266. package/src/components/android/QueryCheckHandplanAlreadyList.vue +408 -0
  267. package/src/components/android/QueryCheckHandplanList.vue +426 -0
  268. package/src/components/android/RepairList.vue +4 -4
  269. package/src/components/android/RepairQuery.vue +1 -1
  270. package/src/components/android/ResAreaList.vue +1 -1
  271. package/src/components/android/SafecheckDevices.vue +386 -80
  272. package/src/components/android/SafecheckOrderV.vue +1530 -412
  273. package/src/components/android/SafecheckState.vue +1 -1
  274. package/src/components/android/SafecheckUser.vue +1 -1
  275. package/src/components/android/SelectTask.vue +244 -0
  276. package/src/components/android/SystemSetting.vue +1 -1
  277. package/src/components/android/TableAnomalyRecords.vue +122 -0
  278. package/src/components/android/UploadImgList.vue +249 -0
  279. package/src/components/android/UploadPage.vue +44 -12
  280. package/src/components/android/changePlanId.vue +504 -0
  281. package/src/components/android/checkPlanResult.vue +2 -2
  282. package/src/components/android/old/PaperFeedback.vue +4 -4
  283. package/src/components/android/userinfo/PhoneUpUserinfo.vue +1120 -0
  284. package/src/components/android/userinfo/SafecheckUserInfo.vue +246 -241
  285. package/src/components/android/wasm/comp.js +1 -1
  286. package/src/components/attendance/DailyAttendance.vue +1 -1
  287. package/src/components/attendance/MonthlyAttendance.vue +4 -4
  288. package/src/components/callincheck/CallInCheckMain.vue +1 -1
  289. package/src/components/callincheck/CallInPlan.vue +1 -1
  290. package/src/components/callincheck/UserFileList.vue +1 -1
  291. package/src/components/checkerphonestate/Checker.vue +1 -1
  292. package/src/components/checkerphonestate/CheckerState.vue +1 -1
  293. package/src/components/checkplan/CheckDetail.vue +4 -21
  294. package/src/components/checkplan/CheckPlan.vue +12 -13
  295. package/src/components/checkplan/SelectCheckPlan.vue +200 -182
  296. package/src/components/checkplan/SelectMessage.vue +1 -1
  297. package/src/components/checkplan/checkmsg.vue +163 -354
  298. package/src/components/cockpit/Splash.vue +1 -1
  299. package/src/components/cockpit/SplashDetail.vue +1 -1
  300. package/src/components/createcheckplan/CreatePlan.vue +11 -11
  301. package/src/components/createcheckplan/DelPlanRepeat.vue +5 -5
  302. package/src/components/createcheckplan/PlanList.vue +6 -6
  303. package/src/components/createcheckplan/PlanUersList.vue +4 -4
  304. package/src/components/defect/DefectDetail.vue +3 -3
  305. package/src/components/defect/DefectList.vue +92 -39
  306. package/src/components/defect/DefectMain.vue +10 -20
  307. package/src/components/defect/DefectPaper.vue +499 -403
  308. package/src/components/defect/ImgButton.vue +7 -3
  309. package/src/components/defects/AddDefectModal.vue +2 -2
  310. package/src/components/defects/AddDevice.vue +1 -1
  311. package/src/components/defects/CheckPaperItem.vue +4 -4
  312. package/src/components/defects/CheckPaperItems.vue +1 -1
  313. package/src/components/defects/CheckPaperSearch.vue +3 -74
  314. package/src/components/defects/DefectSeting.vue +2 -2
  315. package/src/components/defects/DefectsQuery.vue +1 -1
  316. package/src/components/defects/DevicesSeting.vue +1 -1
  317. package/src/components/discrepancy/differenceMain.vue +47 -0
  318. package/src/components/discrepancy/differencePaper.vue +554 -0
  319. package/src/components/equipment/BoilerUsage.vue +1 -1
  320. package/src/components/equipment/CheckRate.vue +7 -7
  321. package/src/components/equipment/CheckerRate.vue +6 -6
  322. package/src/components/equipment/CookerUsage.vue +1 -1
  323. package/src/components/equipment/DeviceUsage.vue +1 -1
  324. package/src/components/equipment/FurnaceUsage.vue +1 -1
  325. package/src/components/equipment/GasMeterUsage.vue +1 -1
  326. package/src/components/equipment/HeaterUsage.vue +1 -1
  327. package/src/components/equipment/MonthCheckRate.vue +6 -6
  328. package/src/components/gasusage/GasUsage.vue +1 -1
  329. package/src/components/issueplan/IssuePlanAction.vue +2 -2
  330. package/src/components/issueplan/IssuePlanQuery.vue +1 -1
  331. package/src/components/levelplan/AdjustPlan.vue +3 -3
  332. package/src/components/levelplan/CheckerLeft.vue +2 -2
  333. package/src/components/levelplan/CheckerPlanAdjust.vue +94 -42
  334. package/src/components/levelplan/CheckerRight.vue +2 -2
  335. package/src/components/map/FootPrintList.vue +2 -2
  336. package/src/components/map/PersonTrack.vue +224 -0
  337. package/src/components/map/douglasPeuckerForAMap.js +88 -0
  338. package/src/components/metterfiles/AddUserfiles.vue +1 -1
  339. package/src/components/metterfiles/MetterFiles.vue +3 -3
  340. package/src/components/metterfiles/MetterfilesChange.vue +1 -1
  341. package/src/components/metterfiles/UserFiles.vue +2 -2
  342. package/src/components/metterfiles/Userfileschange.vue +3 -3
  343. package/src/components/newfile/NewfileList.vue +114 -0
  344. package/src/components/newfile/NewfileList1.vue +84 -0
  345. package/src/components/newfile/NewfileList2.vue +112 -0
  346. package/src/components/newfile/NewfileList3.vue +111 -0
  347. package/src/components/newfile/NewfileList4.vue +118 -0
  348. package/src/components/newfile/NewfileList5.vue +89 -0
  349. package/src/components/newfile/NewfileMain.vue +89 -0
  350. package/src/components/newfile/NewfilePaper.vue +160 -0
  351. package/src/components/newuser/MonthlyMeterReadingStatistics.vue +742 -0
  352. package/src/components/newuser/SearchCompanyCompletion.vue +212 -0
  353. package/src/components/newuser/SearchCompanyComprehensiveCompletionPJ.vue +251 -0
  354. package/src/components/newuser/SearchCompanyComprehensiveCompletionZX.vue +233 -0
  355. package/src/components/newuser/SearchComprehensivePlanSummary.vue +233 -0
  356. package/src/components/newuser/SearchGas.vue +576 -0
  357. package/src/components/newuser/SearchGasWlw.vue +291 -0
  358. package/src/components/newuser/SearchLargeAreaCompletion.vue +338 -0
  359. package/src/components/newuser/UserCheckState.vue +60 -0
  360. package/src/components/newuser/WorkCount.vue +58 -0
  361. package/src/components/newuser/common/TabButton.vue +152 -0
  362. package/src/components/newuser/common/Tabs.vue +67 -0
  363. package/src/components/niandu/CheckPaperListND.vue +129 -0
  364. package/src/components/{rongcheng/CheckPaperSearchUserNo.vue → niandu/CheckPaperSearchUserND.vue} +14 -6
  365. package/src/components/niandu/CheckSearchUserND.vue +739 -0
  366. package/src/components/notice/NoticeQuery.vue +1 -1
  367. package/src/components/outsideSafecheck/android/androidCheckPlanDown/CheckPlanDownTS.vue +253 -0
  368. package/src/components/{rongcheng/AspiratedAreaPlan.vue → outsideSafecheck/android/safecheckAlreadyDoneWork/AreaPlanTS.vue} +50 -44
  369. package/src/components/outsideSafecheck/android/safecheckUpload/UploadPageTS.vue +317 -0
  370. package/src/components/outsideSafecheck/android/safecheckWaitWork/CurrentCreateTS.vue +1166 -0
  371. package/src/components/{rongcheng/AspPaperFeedback.vue → outsideSafecheck/android/safecheckWaitWork/PaperFeedbackTS.vue} +233 -125
  372. package/src/components/{rongcheng/SafecheckDevices.vue → outsideSafecheck/android/safecheckWaitWork/SafecheckDevicesTS.vue} +368 -177
  373. package/src/{filiale/wenxi/android/SafecheckOrderV.vue → components/outsideSafecheck/android/safecheckWaitWork/SafecheckOrderVTS.vue} +814 -268
  374. package/src/components/{rongcheng/SafecheckUserInfo.vue → outsideSafecheck/android/safecheckWaitWork/SafecheckUserInfoTS.vue} +126 -65
  375. package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectDetailTS.vue +177 -0
  376. package/src/components/{shaoguan/DefectList.vue → outsideSafecheck/pc/HiddenDangerView/DefectListTS.vue} +146 -94
  377. package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectMainTS.vue +53 -0
  378. package/src/components/outsideSafecheck/pc/HiddenDangerView/DefectPaperTS.vue +607 -0
  379. package/src/components/outsideSafecheck/pc/HiddenDangerView/PlanChooserTS.vue +137 -0
  380. package/src/components/outsideSafecheck/pc/aggregateQuery/CheckPlanAreaListTS.vue +404 -0
  381. package/src/components/{CheckerCount/CheckCountAreaManage.vue → outsideSafecheck/pc/aggregateQuery/CheckPlanAreaManageTS.vue} +3 -6
  382. package/src/components/{shaoguan/CheckPlanUserList.vue → outsideSafecheck/pc/aggregateQuery/CheckPlanUserListTS.vue} +44 -16
  383. package/src/components/outsideSafecheck/pc/planadjustment/CheckerPlanAdjustTS.vue +354 -0
  384. package/src/components/outsideSafecheck/pc/planadjustment/SafecheckVisitInfoTS.vue +219 -0
  385. package/src/components/outsideSafecheck/pc/report/HiddenSituationTS.vue +135 -0
  386. package/src/components/outsideSafecheck/pc/report/SearchCompanyCompletionTS.vue +212 -0
  387. package/src/components/outsideSafecheck/pc/report/SearchCompanyComprehensiveCompletionPJTS.vue +251 -0
  388. package/src/components/outsideSafecheck/pc/report/SearchCompanyComprehensiveCompletionZXTS.vue +233 -0
  389. package/src/components/outsideSafecheck/pc/report/SearchComprehensivePlanSummaryTS.vue +223 -0
  390. package/src/components/outsideSafecheck/pc/report/SearchGasTS.vue +575 -0
  391. package/src/components/outsideSafecheck/pc/report/SearchLargeAreaCompletionTS.vue +338 -0
  392. package/src/components/outsideSafecheck/pc/safecheckAssess/CheckDetailTS.vue +74 -0
  393. package/src/components/outsideSafecheck/pc/safecheckAssess/CheckPlanTS.vue +58 -0
  394. package/src/components/outsideSafecheck/pc/safecheckAssess/SelectCheckPlanTS.vue +242 -0
  395. package/src/components/outsideSafecheck/pc/safecheckResultView/NewCheckpaperTS.vue +1256 -0
  396. package/src/components/outsideSafecheck/pc/safecheckResultView/PaperListTS.vue +553 -0
  397. package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckPaperListTS.vue +129 -0
  398. package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckPaperSearchUserTS.vue +63 -0
  399. package/src/components/outsideSafecheck/pc/userSafecheckSituation/CheckSearchUserTS.vue +805 -0
  400. package/src/components/paper/PaperList.vue +468 -504
  401. package/src/components/paper/PaperVerify.vue +1 -1
  402. package/src/components/paper/PlanChooser.vue +13 -7
  403. package/src/components/paper/RepairVerify.vue +1 -1
  404. package/src/components/paper/RepairVerifyForm.vue +1 -1
  405. package/src/components/paper/VerifyForm.vue +3 -3
  406. package/src/components/pc/AnnouncementPC.vue +51 -22
  407. package/src/components/pc/CheckHandPlanAllList.vue +1246 -0
  408. package/src/components/pc/CheckHandPlanAreaItemInfo.vue +177 -0
  409. package/src/components/pc/CheckHandPlanAreaList.vue +296 -0
  410. package/src/components/pc/CheckHandPlanAreaMain.vue +57 -0
  411. package/src/components/pc/DeviceChange.vue +140 -122
  412. package/src/components/pc/NewCheckpaper.vue +704 -569
  413. package/src/components/pc/PlanListStatistics.vue +321 -0
  414. package/src/components/pc/SafeFinInfo.vue +30 -0
  415. package/src/components/pc/SafeTreatment/SafeTreatmentList.vue +150 -0
  416. package/src/components/pc/SafeTreatment/SafeTreatmentMain.vue +53 -0
  417. package/src/components/pc/SafeTreatment/SafeTreatmentPaper.vue +136 -0
  418. package/src/components/pc/SafecheckResponseTimeList.vue +396 -0
  419. package/src/components/pc/SafecheckVisitHistory.vue +142 -0
  420. package/src/components/pc/SafecheckVisitInfo.vue +299 -0
  421. package/src/components/pc/SearchOverdueNoSafeCheck.vue +280 -0
  422. package/src/components/phonestate/DailyTraffic.vue +1 -1
  423. package/src/components/phonestate/FootprintMap.vue +1 -1
  424. package/src/components/phonestate/LastKnownState.vue +1 -1
  425. package/src/components/plan/RetailMain.vue +44 -0
  426. package/src/components/plan/Retailitem.vue +99 -0
  427. package/src/components/plan/Retailplan.vue +150 -0
  428. package/src/components/planmanage/PlanManage.vue +861 -0
  429. package/src/components/{Util → planmanage}/RightTreeSafe.vue +6 -1
  430. package/src/components/planmanage/checkPlanList.vue +397 -0
  431. package/src/components/planmanage/checkUserList.vue +773 -0
  432. package/src/components/planmanage/zxplan/PlanManageZX.vue +21 -0
  433. package/src/components/planmanagets/PlanManage.vue +862 -0
  434. package/src/components/planmanagets/checkPlanList.vue +397 -0
  435. package/src/components/planmanagets/checkUserList.vue +772 -0
  436. package/src/components/planmanagets/zxplan/PlanManageZX.vue +21 -0
  437. package/src/components/querycheckpaper/CheckPaperList.vue +6 -19
  438. package/src/components/querycheckpaper/CheckPaperSearchUser.vue +10 -2
  439. package/src/components/querycheckpaper/CheckSearchUser.vue +374 -90
  440. package/src/components/querycheckpaper/PaperItems.vue +1 -1
  441. package/src/components/report/CheckPlanAreaList.vue +282 -252
  442. package/src/components/report/CheckPlanAreaManage.vue +0 -2
  443. package/src/components/report/CheckPlanUserList.vue +58 -43
  444. package/src/components/report/HiddenSituation.vue +49 -19
  445. package/src/components/report/MeterReadingRate.vue +131 -0
  446. package/src/components/report/ReportSql1.vue +345 -0
  447. package/src/components/report/SafePlanSale.vue +1 -1
  448. package/src/components/report/SafePlanStatistics.vue +1 -1
  449. package/src/components/rongcheng/AddPlanItem.vue +4 -13
  450. package/src/components/rongcheng/AspiratedCurrentCreate.vue +21 -72
  451. package/src/components/rongcheng/CheckCurrentCreate.vue +133 -201
  452. package/src/components/rongcheng/CheckSearchUser.vue +45 -302
  453. package/src/components/rongcheng/CheckSearchUserNo.vue +53 -240
  454. package/src/components/rongcheng/PaperListAJ.vue +25 -65
  455. package/src/components/rongcheng/PaperListNPAJ.vue +18 -56
  456. package/src/components/rongcheng/PaperListNPSQ.vue +17 -43
  457. package/src/components/rongcheng/PaperListSQ.vue +16 -42
  458. package/src/components/rongcheng/SafecheckOrderV.vue +108 -217
  459. package/src/components/rongcheng/UploadPage.vue +13 -17
  460. package/src/components/{rongcheng/AspiratedPaperFeedbackm.vue → shaoguan/PaperFeedbackm.vue} +15 -23
  461. package/src/components/task/RepairAnnual.vue +1 -1
  462. package/src/components/task/RepairAnnualDetail.vue +1 -1
  463. package/src/components/task/RepairMonthly.vue +1 -1
  464. package/src/components/task/TaskAnnual.vue +1 -1
  465. package/src/components/task/TaskAnnualDetail.vue +1 -1
  466. package/src/components/task/TaskMonthly.vue +1 -1
  467. package/src/components/tongcheng/AreaPlan.vue +2 -2
  468. package/src/components/tongcheng/CurrentCreate.vue +2 -2
  469. package/src/components/tongcheng/PaperFeedback.vue +4 -4
  470. package/src/components/tongcheng/PaperSet.vue +5 -5
  471. package/src/components/tongcheng/PaperUser.vue +1 -1
  472. package/src/components/userfile/InfoModifyModal.vue +3 -3
  473. package/src/components/userfile/UserFile.vue +2 -2
  474. package/src/components/userfile/UserInfoAudit.vue +5 -5
  475. package/src/components/userfile/UserfileChange.vue +2 -2
  476. package/src/components/userfileaudit/UserFileaudit.vue +1 -1
  477. package/src/components/userfileaudit/UserfileChangeaudit.vue +2 -2
  478. package/src/components/userplan/UserplanList.vue +166 -0
  479. package/src/components/userplan/UserplanMain.vue +71 -0
  480. package/src/components/userplan/UserplanPaper.vue +182 -0
  481. package/src/components/zhuanxiang/CheckPaperListZX.vue +129 -0
  482. package/src/components/{rongcheng/CheckPaperSearchUser.vue → zhuanxiang/CheckPaperSearchUserZX.vue} +14 -6
  483. package/src/components/zhuanxiang/CheckSearchUserZX.vue +739 -0
  484. package/src/expandcssAndroid.less +1 -1
  485. package/src/index.js +6 -0
  486. package/src/main.js +4 -3
  487. package/src/plugins/LocalPagedList.js +1 -2
  488. package/src/safecheck-android.js +39 -24
  489. package/src/safecheck.js +411 -149
  490. package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  491. package/static/ManagementControl/echarts10.png +0 -0
  492. package/static/ManagementControl/echarts11.png +0 -0
  493. package/static/ManagementControl/echarts12.png +0 -0
  494. package/static/ManagementControl/echarts13.png +0 -0
  495. package/static/ManagementControl/echarts14.png +0 -0
  496. package/static/ManagementControl/echarts15.png +0 -0
  497. package/static/ManagementControl/echarts16.png +0 -0
  498. package/static/ManagementControl/echarts17.png +0 -0
  499. package/static/ManagementControl/echarts18.png +0 -0
  500. package/static/ManagementControl/echarts4.png +0 -0
  501. package/static/ManagementControl/echarts5.png +0 -0
  502. package/static/ManagementControl/echarts51.png +0 -0
  503. package/static/ManagementControl/echarts6.png +0 -0
  504. package/static/ManagementControl/echarts7.png +0 -0
  505. package/static/ManagementControl/echarts71.png +0 -0
  506. package/static/ManagementControl/echarts8.png +0 -0
  507. package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  508. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  509. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  510. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  511. package/static/batchleft.png +0 -0
  512. package/static/batchright.png +0 -0
  513. package/static/bluemainbg.jpg +0 -0
  514. package/static/huangtengbiaozhi.png +0 -0
  515. package/static/jcwx.jpg +0 -0
  516. package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  517. package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  518. package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  519. package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  520. package/static/lefticon//345/233/276/345/261/202577.png +0 -0
  521. package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  522. package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  523. package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  524. package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  525. package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  526. package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  527. package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  528. package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  529. package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  530. package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  531. package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  532. package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
  533. package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  534. package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  535. package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  536. package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  537. package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  538. package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  539. package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  540. package/static/login_bg.jpg +0 -0
  541. package/static/login_title.png +0 -0
  542. package/static/login_title1.png +0 -0
  543. package/static/loginbg.jpg +0 -0
  544. package/static/loginbg1.jpg +0 -0
  545. package/static/loginbg_jincheng.jpg +0 -0
  546. package/static/loginbgmain.jpg +0 -0
  547. package/static/loginlogo.png +0 -0
  548. package/static/main_logo.png +0 -0
  549. package/static/mainbg.jpg +0 -0
  550. package/static/mainicon/adddevice.png +0 -0
  551. package/static/mainicon/addmeter.png +0 -0
  552. package/static/mainicon/bank.png +0 -0
  553. package/static/mainicon/biaopan.png +0 -0
  554. package/static/mainicon/cad.jpg +0 -0
  555. package/static/mainicon/chaobiaoyuan.png +0 -0
  556. package/static/mainicon/danganguanli.png +0 -0
  557. package/static/mainicon/deletedevice.png +0 -0
  558. package/static/mainicon/excel.jpg +0 -0
  559. package/static/mainicon/huizong.png +0 -0
  560. package/static/mainicon/jibiaoguanli.png +0 -0
  561. package/static/mainicon/jibiaoguanli2.png +0 -0
  562. package/static/mainicon/jiezhang.png +0 -0
  563. package/static/mainicon/loginbg.jpg +0 -0
  564. package/static/mainicon/shouqishoufei.png +0 -0
  565. package/static/mainicon/treeopen.png +0 -0
  566. package/static/mainicon/treeout.png +0 -0
  567. package/static/mainicon/treeset.png +0 -0
  568. package/static/mainicon/word.jpg +0 -0
  569. package/static/mainicon/wulianwang.png +0 -0
  570. package/static/mainicon/yingyechaxun.png +0 -0
  571. package/static/mainicon/zongheyewu.png +0 -0
  572. package/static/menulogo.png +0 -0
  573. package/static/newStyle/fife.png +0 -0
  574. package/static/newStyle/hidden.png +0 -0
  575. package/static/newStyle/label-clear.png +0 -0
  576. package/static/newStyle/left-img.png +0 -0
  577. package/static/newStyle/login-f.png +0 -0
  578. package/static/newStyle/loginbg.gif +0 -0
  579. package/static/newStyle/loginbg1366.gif +0 -0
  580. package/static/newStyle/loginbg_1.gif +0 -0
  581. package/static/newStyle/searchin.png +0 -0
  582. package/static/newStyle/searchout.png +0 -0
  583. package/static/newStyle/setting.png +0 -0
  584. package/static/newStyle/setting1.png +0 -0
  585. package/static/newStyle/shirk.png +0 -0
  586. package/static/newStyle/system-off.png +0 -0
  587. package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
  588. package/static/newStyle.7z +0 -0
  589. package/static/newStyle.zip +0 -0
  590. package/static/newmainbg.jpg +0 -0
  591. package/static/psicon.png +0 -0
  592. package/static/refresh.png +0 -0
  593. package/static/singleleft.png +0 -0
  594. package/static/singleright.png +0 -0
  595. package/static/static.zip +0 -0
  596. package/static/treeclose.png +0 -0
  597. package/static/treeopen.png +0 -0
  598. package/static/treeout.png +0 -0
  599. package/static/treeset.png +0 -0
  600. package/static/usericon.png +0 -0
  601. package/static/xinxi.png +0 -0
  602. package/.npmignore +0 -15
  603. package/examples/SafePlan-liaoyuan/App.vue +0 -53
  604. package/examples/SafePlan-shaoguan/App.vue +0 -52
  605. package/examples/SafePlan-shaoguan/comp.js +0 -1190
  606. package/examples/SafePlanrongcheng/App.vue +0 -52
  607. package/examples/SafePlanrongcheng/comp.js +0 -1041
  608. package/package-lock.json +0 -10779
  609. package/src/assets/JsonEditor/jsoneditor.css +0 -930
  610. package/src/assets/JsonEditor/jsoneditor.js +0 -36377
  611. package/src/assets/bj.jpg +0 -0
  612. package/src/assets/jt.jpg +0 -0
  613. package/src/assets/marrio.jpg +0 -0
  614. package/src/assets/ss.jpg +0 -0
  615. package/src/assets/xl.jpg +0 -0
  616. package/src/assets//346/230/237/347/220/203/350/203/214/346/231/257.jpg +0 -0
  617. package/src/assets//351/232/220/346/202/243/345/210/206/346/236/220.png +0 -0
  618. package/src/components/CheckerCount/CheckCountAreaList.vue +0 -298
  619. package/src/components/CheckerCount/CheckCountUserList.vue +0 -144
  620. package/src/components/ExportExcel.vue +0 -201
  621. package/src/components/android/SwitchValve.vue +0 -189
  622. package/src/components/checkAreaClassification.vue +0 -285
  623. package/src/components/checkplan/checkmsgZG.vue +0 -519
  624. package/src/components/filialCircle/AddCircleFiliale.vue +0 -114
  625. package/src/components/filialCircle/CircleList.vue +0 -139
  626. package/src/components/filialCircle/CircleManage.vue +0 -69
  627. package/src/components/json-editor/SafeJsonEditor.vue +0 -212
  628. package/src/components/json-editor/assets/img/jsoneditor-icons.svg +0 -893
  629. package/src/components/json-editor/assets/jsoneditor-minimalist.js +0 -9751
  630. package/src/components/json-editor/assets/jsoneditor.css +0 -930
  631. package/src/components/json-editor/assets/jsoneditor.js +0 -36377
  632. package/src/components/json-editor/example/App.vue +0 -53
  633. package/src/components/json-editor/example/index.html +0 -9
  634. package/src/components/json-editor/example/main.js +0 -10
  635. package/src/components/json-editor/package.json +0 -71
  636. package/src/components/json-editor/vue-json-editor.vue +0 -189
  637. package/src/components/pc/HiddenChart.vue +0 -189
  638. package/src/components/pc/RoleSelector.vue +0 -89
  639. package/src/components/plan/PlanLeft.vue +0 -320
  640. package/src/components/plan/PlanManage.vue +0 -50
  641. package/src/components/plan/PlanRightUp.vue +0 -185
  642. package/src/components/plan/PlanRightdown.vue +0 -239
  643. package/src/components/plan/testss.vue +0 -116
  644. package/src/components/plancheck/CheckPlanAreaManage.vue +0 -116
  645. package/src/components/plancheck/CheckPlanList.vue +0 -282
  646. package/src/components/report/ManageBusSummary.vue +0 -242
  647. package/src/components/rongcheng/AreaPlan.vue +0 -463
  648. package/src/components/rongcheng/AspPaperStatem.vue +0 -339
  649. package/src/components/rongcheng/AspiratedDevices.vue +0 -965
  650. package/src/components/rongcheng/AspiratedOrderV.vue +0 -2361
  651. package/src/components/rongcheng/AspiratedPaperMessage.vue +0 -1378
  652. package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +0 -1288
  653. package/src/components/rongcheng/AspiratedUserInfo.vue +0 -399
  654. package/src/components/rongcheng/DefectList.vue +0 -560
  655. package/src/components/rongcheng/DefectPaper.vue +0 -582
  656. package/src/components/rongcheng/PaperFeedback.vue +0 -1318
  657. package/src/components/rongcheng/PaperMessage.vue +0 -1186
  658. package/src/components/rongcheng/PaperMessageNocivil.vue +0 -1211
  659. package/src/components/rongcheng/PaperStateNoncivilm.vue +0 -366
  660. package/src/components/rongcheng/PaperStatem.vue +0 -343
  661. package/src/components/rongcheng/PhoneDevicesInfo.vue +0 -233
  662. package/src/components/rongcheng/SafecheckOrderVCli.vue +0 -2538
  663. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +0 -245
  664. package/src/components/rongcheng/report/CheckPlanAreaList.vue +0 -419
  665. package/src/components/rongcheng/report/CheckPlanUserList.vue +0 -190
  666. package/src/components/shaoguan/DefectDetail.vue +0 -177
  667. package/src/components/shaoguan/DefectMain.vue +0 -53
  668. package/src/components/shaoguan/DefectPaper.vue +0 -217
  669. package/src/components/shaoguan/PaperList.vue +0 -532
  670. package/src/components/shaoguan/SafecheckOrderV.vue +0 -2140
  671. package/src/components/tongcheng/PaperMessage.vue +0 -1270
  672. package/src/components/tongcheng/PaperMessageNocivil.vue +0 -1228
  673. package/src/filiale/Util.js +0 -325
  674. package/src/filiale/liaoyuan/android/SafecheckDevices.vue +0 -928
  675. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +0 -2383
  676. package/src/filiale/liaoyuan/android.js +0 -13
  677. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +0 -1020
  678. package/src/filiale/liaoyuan/pc/PaperList.vue +0 -628
  679. package/src/filiale/liaoyuan/pc.js +0 -13
  680. package/src/filiale/wenxi/android.js +0 -9
  681. package/src/filiale/wenxi/pc/PaperList.vue +0 -627
  682. package/src/filiale/wenxi/pc/checkmsg.vue +0 -229
  683. package/src/filiale/wenxi/pc.js +0 -12
  684. package/src/filiale/wuan/android/SafecheckOrderV.vue +0 -2235
  685. package/src/filiale/wuan/android.js +0 -14
  686. package/src/filiale/wuan/pc/PaperList.vue +0 -625
  687. package/src/filiale/wuan/pc.js +0 -12
  688. package/src/rongcheng-android.js +0 -186
  689. package/src/rongcheng.js +0 -303
  690. /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/TestData.js +0 -0
  691. /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/main.js +0 -0
  692. /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/TestData.js +0 -0
  693. /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/main.js +0 -0
  694. /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/TestData.js +0 -0
  695. /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/main.js +0 -0
  696. /package/{git → static/.gitkeep} +0 -0
@@ -1,2361 +0,0 @@
1
- <template>
2
- <!--<div class="app-botton" @click="back()">-->
3
- <!--返回<span class="glyphicon glyphicon-menu-right"></span>-->
4
- <!--</div>-->
5
- <div 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: 10px;">
40
- <div class="col-xs-3 col-sm-3 col-md-3">
41
- <button type="button" name="button" class="col-sm-2 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-2 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-2 btn btn-primary" @click="uploadCheckPaper" :disabled="isdisable">
52
- 上传
53
- </button>
54
- </div>
55
- <!--<div class="col-xs-3 col-sm-3 col-md-3">
56
- <button type="button" name="button" class="col-sm-2 btn btn-primary" @click="ToRepair">
57
- 转维修
58
- </button>
59
- </div>-->
60
-
61
- </div>
62
- </div>
63
- </div>
64
- </div>
65
- </div>
66
- </div>
67
- </ul>
68
- </div>
69
-
70
- </div>
71
- </template>
72
-
73
- <script>
74
- // 户内维修
75
- import Vue from 'vue'
76
- import * as Util from '../Util'
77
- // import DoorService from './DoorService'
78
- // import Pipeline from './Pipeline'
79
- // import DeviceService from './DeviceService'
80
- // import TroubleRemoval from './TroubleRemoval'
81
- // import FirstGasCheck from './FirstGasCheck'
82
- // import RepairMatterInfo from './RepairMatterInfo'
83
- // import TelChangeMatter from './TelChangeMatter'
84
- import { HttpResetClass } from 'vue-client'
85
- import co from 'co'
86
- let loadParamGem = async function (self) {
87
- await self.$LoadParams.loadParam()
88
- }
89
-
90
- export default {
91
- title: '送气单',
92
- props: ['f_plan_id', 'item', 'role'],
93
- // props: ['f_plan_id', 'role'],
94
- data() {
95
- return {
96
- //测试数据
97
- // f_plan_id:'',
98
- // role:'inspect',
99
- // item:{"f_approved_time":null,"f_user_family_remarks":null,"f_street":"测试街道","f_repair_approved_time":null,
100
- // "f_user_type":null,"f_approved_by":null,"f_card_id":null,"f_remark":null,"f_building":"1","f_batch_number":null,
101
- // "f_idnumber":null,"f_state":"未检","id":"0EFE0EE2-B155-46F9-8DE0-38C022664A4D","f_complete":null,"f_check_state":null,"f_last_check_state":"拒检",
102
- // "f_user_inhome_time":null,"f_residential_area":"测试小区1","version":1,"f_processid":null,"f_last_check_result":"{\"result\":\"正常\",\"data\":[]}",
103
- // "f_area":null,"f_usegas":null,"f_user_phone":"16566546548","f_slice_area":"营业大区","f_approved":"未审核","f_upload_state":"未传","f_user_check_time":null,
104
- // "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",
105
- // "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,
106
- // "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,
107
- // "f_repair_approved":"未审核","f_no_checkplan":"有计划安检","f_plan_name":"关于","f_repair_approved_by":null,"f_room":"1","f_office":null,"f_comments":null,
108
- // "f_address":"兰山街道泰盛小区1栋1单元1层1室","id_back":null,"f_userinfoid":"2","f_subcompany":null,"f_addressid":null,"f_user_phone2":null,
109
- // "f_user_equipment_remarks":null,"f_plan_id":"0819ea6707ad4d9dad217c06a87f4227","f_user_name":"用户二",
110
- // "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}]
111
- // },
112
-
113
- data: {
114
- f_devices: [],
115
- f_defect_content:''
116
- },
117
- isUpload:false,
118
- onlySave:true, //判断保存还是保存并上传
119
- livedispose:'',
120
- startClick:false, //开始安检按钮是否可点击
121
- isStrat: false, //是否开始安检
122
- checkResult:{},//查询结果
123
- newcheckResult:{},
124
- timer: null,
125
- showModal: false,
126
- pic_to_be_viewed: '',
127
- showBack:true,
128
- devices: [],
129
- f_devices : [],
130
- isdisable:false,
131
- isToRepair:false,
132
- clickBack:true, //是否点击返回按钮
133
- isSafeCheckToRepair:false,//是否转维修
134
- Url:this.$androidUtil.getProxyUrl(),
135
- detail:{},
136
- defectDevice:{},
137
- user:{},
138
- model: { //转维修数据
139
- // 一次派单
140
- serviceacitivity: [{
141
- f_service_acitivity_type: '派单'
142
- }],
143
- f_source:'安检',
144
- f_service_id: '',
145
- f_contact_phone: '',
146
- f_meetunit: '',
147
- f_phone: '',
148
- f_user_name: '',
149
- f_address: '',
150
- f_repair_date: Util.toStandardTimeString(),
151
- f_card_id: '',
152
- // f_department: '', 站点选择
153
- f_reciever:'',
154
- f_remarks: '',
155
- f_user_type: '',
156
- f_area: '',
157
- f_unit_name:'',
158
- f_street: '',
159
- f_residential_area: '',
160
- f_building: '',
161
- f_unit: '',
162
- f_floor: '',
163
- f_room: '',
164
- aState: null,
165
- f_repairtype: '',
166
- f_repairitems:{},
167
- },
168
- repairitems:[],
169
- meading:'转站点',
170
- config: {
171
- "燃气表":{
172
- "checkmust":true,
173
- "index":1,
174
- "items":{
175
- //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
176
- "基表编号":{"index":1,"type":"string","readonly":false,"checkmust":true},
177
- "气表型号":{"index":2,"type":"string","readonly":true},
178
- "气表品牌":{"index":3,"type":"string","readonly":true},
179
- "进气方向":{"index":4,"type":"selector",
180
- "multiple": false,
181
- "checkmust":true,
182
- "options": [
183
- {
184
- "data": "左表",
185
- "isdefect": false,
186
- "isdefault": false
187
- },
188
- {
189
- "data": "右表",
190
- "isdefect": false,
191
- "isdefault": false
192
- }
193
- ]
194
- },
195
- "初始表底":{"index":5,"type":"number"},
196
- "上期表读数":{"index":6,"type":"number","readonly":true,"isshow":true},
197
- "本期表读数":{"index":7,"type":"number","checkmust":true},
198
- "累购气量":{"index":8,"type":"number","readonly":true},
199
- "累购金额":{"index":8,"type":"number","readonly":true},
200
- "已用气量":{"index":9,"type":"number","checkmust": false,"isshow":false},//基表数
201
- "已用金额":{"index":9,"type":"number","checkmust": false,"isshow":false},
202
- "表初始数":{"index":10,"type":"number","checkmust": false},//累购-已用
203
- //显示屏数 --实际剩余气量
204
- "表初始数":{"index":10,"type":"number","checkmust": false},
205
- "气量异常差值":{"index":11,"type":"number","readonly": true,"isshow":false},
206
- "金额异常差值":{"index":11,"type":"number","readonly": true,"isshow":false}
207
- }
208
- // 注意,配置项的index必须与上面的固定配置保持'顺序'
209
- },
210
- // "燃气表2":{
211
- // "checkmust":true,
212
- // "index":2,src
213
- // "items":{
214
- // "燃气表照片":{"index":1,"type":"picture"},
215
- // "表品牌":{"index":2,"type":"string","readonly":true},
216
- // "表号":{"index":3,"type":"string","readonly":true},
217
- // "表封号":{"index":4,"type":"number","readonly":true},
218
- // "表型号":{"index":5,"type":"string","readonly":true},
219
- // "位置":{"index":6,"type":"string","readonly":true},
220
- // "表底数":{"index":7,"type":"number","readonly":true},
221
- // "累购气量":{"index":8,"type":"number","readonly":true},
222
- // "累购金额":{"index":8,"type":"number","readonly":true}
223
- // }
224
- // }
225
- },
226
- // 维修项
227
- isneedDate:'',
228
- routeShow:true,
229
- number:0,
230
- shupingshow:false,
231
- pipeline: {},
232
- details: [],
233
- ids: '',
234
- savevalid: {
235
- uservalid: false,
236
- doorvalid: true,
237
- changetable: false
238
- },
239
- doordetails: {},
240
- devicedetails: {},
241
- cookdetails: {},
242
- componentName: 'AspiratedUserInfo',
243
- header:'客户信息',
244
- tabs: [
245
-
246
- // 参数全部设置成空,在ready时,等model处理好了,再添加
247
- {
248
- header: '客户信息',complete:'AspiratedUserInfo',class: 'repair-info-class', props: null
249
- },
250
- {
251
- header: '拍照签名',complete:'AspPaperFeedback', class: 'outlay-class', props: null
252
- }
253
- ],
254
- faultshow:{
255
- number : 8
256
- } // 控制 故障汇总 在 菜单里显示与否,
257
- }
258
- },
259
- computed: {
260
- actionEnabled: {
261
- get() {
262
- return this.role == 'inspect'
263
- }
264
- }
265
- },
266
- methods: {
267
- ToRepair(){
268
- this.isToRepair=true
269
- this.data.f_repaired='未派维修单'
270
- this.uploadCheckPaper()
271
- },
272
- timeSet(val){
273
- if (!val){
274
- return
275
- }
276
- let time =new Date(val).getTime()
277
- let time2=new Date().getTime()
278
- if (time2>time) {
279
- return true
280
- }
281
- },
282
- imgback(val,isheader){
283
- if(val && this.routeShow && isheader){
284
- return require('../../assets/xiangxia1.png')
285
- }else{
286
- return require('../../assets/xiangyou1.png')
287
- }
288
- },
289
- changediv(val){
290
- console.log(val)
291
- return val
292
- },
293
- // 选择tab
294
- tabSelect (item,number) {
295
- this.header = item.header
296
- console.log('item',item)
297
- console.log('number',number)
298
- console.log('this.routeShow',this.routeShow)
299
- console.log('this.number',this.number)
300
- // 处理关闭/显示 内容
301
- if(this.number == number && !this.routeShow ){
302
- this.routeShow = true
303
- }else if(this.number == number && this.routeShow){
304
- this.routeShow = false
305
- }else if(this.number != item.complete){
306
- this.routeShow = true
307
- }
308
- this.number = number
309
- this.componentName = item.complete
310
- console.log('跳转前this.routeShow',this.routeShow)
311
- if(item.complete == 'AspiratedDevices'){
312
- console.log('this.data', this.data)
313
- if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
314
- this.data['device' + item.number].push({})
315
- }
316
- console.log('length', this.data['device' + item.number])
317
- console.log('this.data[\'device\' + item.number] ===> ' + JSON.stringify(this.data['device' + item.number]))
318
- let idx=this.data['device' + item.number].length - 1
319
- let itemprops = {
320
- config:this.config,
321
- device:this.devices[item.number-1],
322
- idx:idx,
323
- item:this.item,
324
- role:'inspect'
325
- }
326
- console.log('tabSelect函数中赋值')
327
- console.log(JSON.stringify(itemprops))
328
- console.log('itemprops.device ===> ' + JSON.stringify(itemprops.device))
329
- console.log('item.complete',item.complete)
330
- if(this.routeShow){
331
- this.$goto(item.complete, itemprops, 'repair')
332
- console.log('跳转完成')
333
- }
334
- }else{
335
- console.log('页面跳转==》',this.tabs[number])
336
- if(this.routeShow){
337
- this.$goto(item.complete, {userinfo:this.data}, 'repair')
338
- }
339
- }
340
- this.shupingshow = true
341
- },
342
- // 给组件添加参数
343
- getImgPath() {
344
- for (var i = 0; i < this.model.serviceacitivity[0].imgs.length; i++) {
345
- this.ids += this.model.serviceacitivity[0].imgs[i].imgid + ','
346
- }
347
- this.ids = this.ids.substring(0, this.ids.length - 1)
348
- if(this.ids){
349
- this.getImgGen();
350
- }
351
- },
352
- getImgGen(){
353
- let http = new HttpResetClass()
354
- http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
355
- items: '*',
356
- tablename: 't_files',
357
- condition: `id in (${this.ids})`,
358
- orderitem: 'id'
359
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
360
- for (let i = 0; i < res.data.length; i++) {
361
- for (let j = 0; j < this.model.serviceacitivity[0].imgs.length; j++) {
362
- console.log(res.data[i].id.toString())
363
- console.log(this.model.serviceacitivity[0].imgs[j].imgid)
364
- if (res.data[i].id.toString() === this.model.serviceacitivity[0].imgs[j].imgid) {
365
- this.model.serviceacitivity[0].imgs[j] = Object.assign({}, res.data[i], this.model.serviceacitivity[0].imgs[j])
366
- }
367
- }
368
-
369
- }
370
- })
371
- },
372
-
373
- sortDetails(){
374
- for (let i = 0; i < this.details.length; i++) {
375
- if (this.details[i].details.length) {
376
- for (let j = 0; j < this.details[i].details.length; j++) {
377
- if (this.details[i].details[j].f_type === 'a') {
378
- this.doordetails = {details: this.details[i].details}
379
- break
380
- }
381
- if (this.details[i].details[j].f_type === 'b') {
382
- this.devicedetails = {details: this.details[i].details}
383
- break
384
- }
385
- if (this.details[i].details[j].f_type === 'c') {
386
- this.cookdetails = {details: this.details[i].details}
387
- break
388
- }
389
- }
390
- }
391
- }
392
- },
393
- // 复制数据
394
- back () {
395
- let _this = this
396
- if(this.issee){
397
- _this.$back()
398
- return
399
- }
400
- this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
401
- if (res === 'confirm') {
402
- _this.$back()
403
- }
404
- })
405
- },
406
- confirm(){
407
- this.$dispatch('confirm')
408
- },
409
- tick() {
410
- this.timer = null
411
- this.data.f_offsite_time = Util.toStandardTimeString()
412
- this.timer = window.setTimeout(this.tick, 1000)
413
- },
414
- getRepairState() {
415
- let repaired = true
416
- this.data.f_defects.forEach((defect) => {
417
- repaired = repaired & (defect.f_ratification == '已处理')
418
- })
419
- return repaired
420
- },
421
- verifyRepairDefects() {
422
- this.data.f_repair_date = Util.toStandardTimeString()
423
- this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
424
- },
425
- errorVerify() {
426
- let hasError = this.verifyState()
427
- if(hasError)
428
- return hasError
429
-
430
- if(this.data.f_entry_status != '入户')
431
- return null
432
- /* hasError = this.verifyUser()
433
- if(hasError)
434
- return hasError*/
435
- hasError = this.verifyDevices()
436
- if(hasError)
437
- return hasError
438
- hasError = this.verifyFeedback()
439
- if(hasError)
440
- return hasError
441
- },
442
- verifyState() {
443
- if(Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
444
- return '未使用天然气则必须拍照'
445
- /*if(Vue.android && this.data.f_entry_status == '到访不遇' && this.data.f_noanswer_path == Vue.nopic)
446
- return '到访不遇必须拍照'*/
447
- },
448
- verifyUser() {
449
- let prefix = '用户基本信息:'
450
- if(Util.required(this.data.f_user_name))
451
- return prefix + '用户名必须输入'
452
- if(Util.required(this.data.f_user_phone))
453
- return prefix + '用户电话必须输入'
454
- // if(Util.required(this.data.f_residential_area))
455
- // return prefix + '小区名称必须输入'
456
- if(Util.required(this.data.f_address))
457
- return prefix + '地址必须输入'
458
- },
459
- verifyDevices() {
460
- for (let dev in this.config) {
461
- if (this.config[dev].checkmust == true) {
462
- let error = true
463
- for(let device in this.data) {
464
- if (device.startsWith("device")) {
465
- for (let item in this.data[device]) {
466
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
467
- error = false
468
- }
469
- }
470
- }
471
- }
472
- if (error) {
473
- return "请检查" + dev
474
- }
475
- }
476
- }
477
-
478
- for (let dev in this.config) {
479
- for(let device in this.data) {
480
- if (device.startsWith("device")) {
481
- for (let item in this.data[device]) {
482
- //检查每一条安检结果
483
- if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
484
- for (let i in this.data[device][item].f_items) {
485
- for (let it in this.config[dev].items) {
486
- if (it == this.data[device][item].f_items[i].f_item_name) {
487
- if (this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_item_value) {
488
- return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
489
- }
490
- }
491
- }
492
- //检查安检下拉结果
493
- if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
494
- if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
495
- 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 + "选中必须拍照"
496
- }
497
- }
498
- }
499
- }
500
- }
501
- }
502
- }
503
- }
504
- },
505
-
506
-
507
- verifyFeedback() {
508
- let prefix = '拍照签名:'
509
- console.log('this.data.f_overall_imgs==>'+JSON.stringify(this.data.f_overall_imgs))
510
- if(Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
511
- return prefix + '必须有送气总体照片'
512
- /*if(Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
513
- return prefix + '必须有用户签名'*/
514
- if(Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
515
- return prefix + '下发安检通知书则必须给通知书拍照'
516
- /*if(!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
517
- return prefix + '请选择服务评价'*/
518
- },
519
-
520
- getAllDefect() {
521
- let checkResults = {
522
- result: '正常',
523
- data: []
524
- }
525
- let value = ''
526
- let codata = JSON.parse(JSON.stringify(this.data))
527
- console.log('config =====> ' + JSON.stringify(this.config))
528
- console.log('codata =====> ' + JSON.stringify(codata))
529
- codata.f_devices = []
530
- this.f_devices = []
531
- for (let device in codata) {
532
- let f_device_type
533
- if (device.startsWith("device")) {
534
- console.log('codata[device] =====> ' + JSON.stringify(codata[device]))
535
- let hasOther = ''
536
- let otherValue = null
537
- for (let item in codata[device]) {
538
- codata[device][item].f_create_time = Util.toStandardTimeString()
539
- // if (codata[device].length > 1) {
540
- // let j = Number.parseInt(item) + 1
541
- // f_device_type = `${codata[device][item].f_device_type}${j}`
542
- // } else {
543
- // f_device_type = codata[device][item].f_device_type
544
- // }
545
- // console.log('codata[device][item]=>',codata[device][item])
546
- for (let i = 0; i < codata[device][item].f_items.length ; i++) {
547
- console.log('i' + i)
548
- if(i == 'sum'){
549
- continue
550
- }
551
- console.log('codata[device][item].f_items' + JSON.stringify(codata[device][item].f_items))
552
- var items = codata[device][item].f_items[i]
553
- items.f_create_time = Util.toStandardTimeString()
554
- console.log('之前items' + JSON.stringify(items))
555
- items.f_item_lists = []
556
- console.log('之后items' + JSON.stringify(items))
557
- // console.log('items' + JSON.stringify(items))
558
- // console.log(`type => ${JSON.stringify(codata[device][item].f_device_type)} name => ${JSON.stringify(items.f_item_name)} value => ${JSON.stringify(items.f_item_value)}`)
559
- // console.log(`f_is_defect => ${this.config[codata[device][item]
560
- // .f_device_type]
561
- // .items[items.f_item_name]
562
- // .options
563
- // .find((option)=>option.data === items.f_item_value)
564
- // .map((option)=>option.f_is_defect)}`)
565
- // if (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) {
566
- // console.log('进入有隐患')
567
- // checkResults.result = '有隐患'
568
- // console.log('有隐患items.f_item_name==》' + JSON.stringify(items.f_item_name))
569
- // console.log('有隐患items.f_item_value==》' + JSON.stringify(items.f_item_value))
570
- // // this.$set('checkResult.' + items.f_item_name, items.f_item_value)
571
- // this.checkResult[items.f_item_name] = items.f_item_value
572
- // console.log('有隐患checkResult==》' + JSON.stringify(this.checkResult))
573
- // // this.$set('checkResultsss.' + items.f_item_name, `${f_device_type}${items.f_item_value}`)
574
- // // console.log('有隐患checkResultsss==》' + JSON.stringify(this.checkResultsss))
575
- // }
576
- if (items.type == 'selector') {
577
- items.selected = []
578
- } else if (items.type == 'inputSelector') {
579
- items.selected = ''
580
- }
581
- //遍历配置项 将所选隐患项的配置信息放入保存的数据中
582
- let f_is_defect //是否是隐患
583
- let f_defect_level //是否是隐患
584
- let f_item_name = items.f_item_name
585
- let f_item_value
586
- let f_is_eliminate //隐患是否消除
587
- let f_meternumber = ''
588
- let f_user_defects = [] // 用户所有隐患
589
- console.log('f_item_name=====>' + f_item_name)
590
- console.log('items.type=====>' + items.type)
591
- if (items.type == 'selector' || items.type == 'checkbox') {
592
- for (let i in items.f_item_value) {
593
- let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
594
- console.log('configItems=====>' + JSON.stringify(configItems))
595
- for (let k in configItems.options) {
596
- console.log('configItems.options[k]==>' + JSON.stringify(configItems.options[k]))
597
- if (items.f_item_value[i] === configItems.options[k].data) {
598
-
599
- f_is_defect = configItems.options[k].isdefect
600
- f_item_value = items.f_item_value[i]
601
- f_defect_level = configItems.options[k].level
602
-
603
- console.log('f_is_defect=====>' + f_is_defect)
604
- console.log('f_item_value=====>' + f_item_value)
605
- console.log('f_defect_level=====>' + f_defect_level)
606
-
607
- if (f_is_defect) {
608
- if (checkResults.result !== '有隐患') {
609
- checkResults.result = '有隐患'
610
- }
611
- if (!this.checkResult.hasOwnProperty(f_item_name)) {
612
- console.log(`The ${f_item_name} initialized`)
613
- this.checkResult[f_item_name] = []
614
- }
615
-
616
- console.log(`The ${f_item_name} was pushed ${f_item_value}`)
617
- this.checkResult[f_item_name].push(f_item_value)
618
-
619
- }
620
-
621
- let items_list = {
622
- f_is_defect: f_is_defect,
623
- f_item_value: f_item_value,
624
- f_defect_level: f_defect_level,
625
- f_is_eliminate: null,
626
- f_create_time: Util.toStandardTimeString()
627
- }
628
- if (!items.f_item_lists) {
629
- console.log('f_item_lists未定义')
630
- items.f_item_lists = []
631
- console.log('items_list=========>' + JSON.stringify(items_list))
632
- if (JSON.stringify(items_list) !== '{}') {
633
- console.log('放了')
634
- items.f_item_lists.push(items_list)
635
- }
636
- } else {
637
- console.log('items_list=========>' + JSON.stringify(items_list))
638
- if (JSON.stringify(items_list) !== '{}') {
639
- console.log('也放了')
640
- items.f_item_lists.push(items_list)
641
- }
642
- }
643
- }
644
- }
645
- }
646
- } else {
647
- let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
648
- console.log('configItems===>' + JSON.stringify(configItems))
649
- f_is_defect = configItems.isdefect
650
- f_defect_level = configItems.level
651
- f_item_value = items.f_item_value
652
- console.log('else f_is_defect=====>' + f_is_defect)
653
- console.log('else f_defect_level=====>' + f_defect_level)
654
- console.log('items.f_item_value==>' + items.f_item_value)
655
- let items_list = {
656
- f_is_defect: f_is_defect,
657
- f_item_value: f_item_value,
658
- f_defect_level: f_defect_level,
659
- f_create_time: Util.toStandardTimeString()
660
- }
661
- if (f_is_defect && f_item_value) {
662
- items.f_is_defect = true
663
- if (checkResults.result !== '有隐患') {
664
- checkResults.result = '有隐患'
665
- }
666
- if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
667
- console.log(`The ${items.f_item_name} initialized`)
668
- this.checkResult[items.f_item_name] = []
669
- }
670
-
671
- console.log(`The ${items.f_item_name} was pushed ${f_item_value}`)
672
- this.checkResult[items.f_item_name].push(f_item_value)
673
-
674
- }
675
- console.log('items_list=========>' + JSON.stringify(items_list))
676
- console.log('items.f_item_lists' + JSON.stringify(items.f_item_lists))
677
- if (!items.f_item_lists) {
678
- console.log('f_item_lists未定义')
679
- items.f_item_lists = []
680
- if (JSON.stringify(items_list) != '{}') {
681
- console.log('else放了')
682
- items.f_item_lists.push(items_list)
683
- }
684
- } else {
685
- // items.f_item_lists[0].f_item_value = f_item_value
686
- if (JSON.stringify(items_list) != '{}') {
687
- console.log('else也放了')
688
- console.log('放之后items_list=========>' + JSON.stringify(items_list))
689
- console.log('放之后items.f_item_lists' + JSON.stringify(items.f_item_lists))
690
- console.log('type=>items.f_item_lists' + typeof items.f_item_lists)
691
- items.f_item_lists.push(items_list)
692
- }
693
- }
694
- }
695
- if (hasOther !== '' && otherValue !== null) {
696
- console.log(`The other value was pushed.`)
697
- this.checkResult[hasOther].push(otherValue)
698
- hasOther = ''
699
- otherValue = null
700
- }
701
- items.f_item_value = ''
702
- }
703
- console.log('安检结果checkResult' + JSON.stringify(this.checkResult))
704
- this.f_devices.push(codata[device][item])
705
- }
706
- }
707
- }
708
- if (this.checkResult) {
709
- for (let key in this.checkResult) {
710
- // 上次安检结果数据组织
711
- console.log('key=>' + key)
712
- console.log('value=>' + this.checkResult[key])
713
- let temp = {}
714
- temp[key] = this.checkResult[key].join(',')
715
- checkResults.data.push(temp)
716
- // this.newcheckResult[key] = this.checkResult[key]
717
- // checkResults.data.push(this.newcheckResult)
718
- console.log('checkResults.data==>' + JSON.stringify(checkResults))
719
- // this.newcheckResult = {}
720
- }
721
- this.checkResult = {}
722
- }
723
- console.log(`typeof-checkResults-->${typeof checkResults}`)
724
- console.log('checkResults ==> ' + JSON.stringify(checkResults))
725
- codata.f_defect_content = JSON.stringify(checkResults)
726
- this.data.f_defect_content = JSON.stringify(checkResults)
727
- console.log('f_defect_content' + codata.f_defect_content)
728
- return codata
729
- },
730
- uploadCheckPaper(){
731
- console.log('进入上传')
732
- this.isdisable=true
733
- let errString = this.errorVerify()
734
- if (errString) {
735
- console.log(errString)
736
- console.log('Vue.android',Vue.android)
737
- console.log('this.isUpload',this.isUpload)
738
- if (Vue.android){
739
- // if(this.isUpload){
740
- // this.isUpload = false
741
- // }
742
- this.$showMessage(errString)
743
- }
744
- this.isdisable=false
745
- return
746
- } else {
747
- this.$set('data.f_offsite_time', Util.toStandardTimeString())
748
- this.$set('data.f_upload_time', Util.toStandardTimeString())
749
- this.$set('data.f_upload_date', Util.toStandardTimeString())
750
- console.log('赋值后',this.data)
751
- this.data.f_complete = '已完成'
752
- this.disableTimer()
753
- }
754
- /*if(this.item.f_plan_meters[0].f_meter_type=='机表' && this.data.f_is_meterreadding=='未抄表'){
755
- /!*this.$showMessage('该用户为机表用户,未进行抄表!', ['confirm', 'cancel']).then((res) => {
756
- if (res !== 'confirm') {
757
- this.baseinfo.base.f_user_state = ['正常']
758
- }
759
- })*!/
760
- this.$showMessage("检测到当前机表用户未进行抄表,请先进行抄表再上传!")
761
- return
762
- }*/
763
- console.log('uploadCheckPaper-->isUpload'+this.isUpload)
764
- this.onlySave = false
765
- let res = this.save()
766
- // if(res) {
767
- // try {
768
- // let codata = this.getAllDefect()
769
- // //获取微信推送内容
770
- // let WxResult = this.getWeixin(codata)
771
- // let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
772
- // f_check_item_id: this.data.f_check_item_id
773
- // })
774
- // //如果是转维修上传,则不做校验,上传完成后自动转维修
775
- // console.log('this.isToRepair=======》'+this.isToRepair)
776
- // console.log('this.livedispose=======》'+this.livedispose)
777
- // if(!this.isToRepair){
778
- // if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
779
- // console.log('是否已转维修')
780
- // console.log(this.isSafeCheckToRepair)
781
- // if(!this.isSafeCheckToRepair){
782
- // this.$showMessage('有未处理的隐患,请前往拍照上传中将安检转为维修单!')
783
- // return
784
- // }
785
- // }
786
- // }
787
- // console.log(`codata类型-->${typeof codata}`)
788
- // for (let key in codata){
789
- // if(key.startsWith("device")){
790
- // codata[key] = []
791
- // }
792
- // }
793
- // console.log(`codata内容-->${JSON.stringify(codata)}`)
794
- //
795
- // console.log('遮挡上传')
796
- // let isStart = true
797
- // let res
798
- // for (let i in this.f_devices){
799
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
800
- // if(res.code == 200){
801
- // isStart = false
802
- // }else{
803
- // this.$showMessage("保存失败!")
804
- // }
805
- // }
806
- // let result = HostApp.organizeJSON({
807
- // isStart:false,
808
- // isJSON:true,
809
- // jsonstr:{
810
- // f_check_item_id: this.data.f_check_item_id,
811
- // f_checker_id: this.data.f_checker_id,
812
- // row: codata
813
- // }
814
- // })
815
- // if(result.code == 200){
816
- // HostApp.__this__ = this
817
- // this.runSyncLogic('上传安检信息','javascript:HostApp.__this__.uploadCallBack()',1)
818
- // }
819
- //
820
- //
821
- // // let response = this.$androidUtil.bzLogic('上传安检信息', {
822
- // // f_check_item_id: this.data.f_check_item_id,
823
- // // f_checker_id: this.data.f_checker_id,
824
- // // row: codata
825
- // // })
826
- // // if (response.code == 200) {
827
- // // console.log('=============response.data==================')
828
- // // console.log(JSON.stringify(response.data))
829
- // // let f_paper_id
830
- // // if(response.data != '' && response.data != null){
831
- // // f_paper_id = JSON.parse(response.data).id
832
- // // }
833
- // // this.$set('data.f_paper_id', f_paper_id)
834
- // // console.log('=============f_paper_id==================')
835
- // // console.log(JSON.stringify(f_paper_id))
836
- // // console.log(this.data.f_paper_id)
837
- // // console.log("===data"+JSON.stringify(this.data))
838
- // // for (let device in this.data){
839
- // // console.log("上传设备信息device=======>"+device)
840
- // // console.log("上传设备信息device=======>"+JSON.stringify(this.data[device]))
841
- // // if(device.startsWith("device")){
842
- // // for(let devices of this.data[device]) {
843
- // // devices.f_paper_id = f_paper_id
844
- // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
845
- // // row: devices
846
- // // })
847
- // // console.log(`上传设备信息结果res======${JSON.stringify(ret.data)}`)
848
- // // if(ret.code == 200){
849
- // // console.log(`设备信息id======${ret.data.f_device_id}`)
850
- // // devices.f_device_id = JSON.parse(ret.data.f_device_id).id
851
- // // }
852
- // // console.log('上传设备信息device======')
853
- // // console.log(JSON.stringify(devices))
854
- // // if (ret.code != 200) {
855
- // // //TODO 失败后处理
856
- // // // this.isUpload = false
857
- // // this.$showMessage("上传失败!")
858
- // // return false
859
- // // }
860
- // // }
861
- // // }
862
- // // }
863
- // // // for (let device of this.f_devices) {
864
- // // // device.f_paper_id = f_paper_id
865
- // // // console.log('上传设备信息device======')
866
- // // // console.log(JSON.stringify(device))
867
- // // // let ret = this.$androidUtil.bzLogic('UpCheckPaperDevices', {
868
- // // // row: device
869
- // // // })
870
- // // // console.log(`上传设备信息结果res======${ret}`)
871
- // // // if (ret.code != 200) {
872
- // // // //TODO 失败后处理
873
- // // // HostApp.alert("上传失败!")
874
- // // // return false
875
- // // // }
876
- // // // }
877
- // // let result = this.$androidUtil.bzLogic('FinishUpload',
878
- // // {
879
- // // f_check_item_id: this.data.f_check_item_id,
880
- // // f_userinfo_id: codata.f_userinfoid,
881
- // // f_last_check_result: codata.f_defect_content
882
- // // })
883
- // // if(result.code == 200){
884
- // // // this.$showAlert('上传成功!', 'success', 2000)
885
- // // this.$showMessage('上传成功!')
886
- // // this.isStrat=false
887
- // // if(url != "" ){
888
- // // this.$resetpost(`${url}`,{data:WxResult})
889
- // // }
890
- // // return true
891
- // // }else{
892
- // // // this.isUpload = false
893
- // // this.$showMessage("上传失败!")
894
- // // return false
895
- // // }
896
- // // }else{
897
- // // // this.isUpload = false
898
- // // this.$showMessage("上传失败!")
899
- // // return false
900
- // // }
901
- // }catch (e) {
902
- // console.log('上传失败==='+JSON.stringify(e))
903
- // // this.isUpload = false
904
- // this.$showMessage("上传失败!")
905
- // }
906
- // }
907
- },
908
- save(type) {
909
- console.log('进入保存')
910
- if(type == 'temp'){
911
- this.data.f_complete = '未完成'
912
- this.disableTimer()
913
- }else {
914
- let errString = this.errorVerify()
915
- if (errString) {
916
- console.log(errString)
917
- console.log('Vue.android',Vue.android)
918
- console.log('this.isUpload',this.isUpload)
919
- if (Vue.android){
920
- this.$showMessage(errString)
921
- }
922
- return
923
- } else {
924
- this.data.f_complete = '已完成'
925
- this.$set('data.f_offsite_time', Util.toStandardTimeString())
926
- this.disableTimer()
927
- }
928
- }
929
- // try {
930
- let codata = this.getAllDefect()
931
- if(this.isToRepair && JSON.parse(this.data.f_defect_content).result != '有隐患'){
932
- this.$showMessage("未发现隐患,请点击上传")
933
- this.isToRepair=false
934
- return
935
- }
936
- console.log(`codata类型-->${typeof codata}`)
937
- console.log(`codata内容-->${JSON.stringify(codata)}`)
938
- for (let key in codata) {
939
- if (key.startsWith("device")) {
940
- console.log('this.data.' + key + JSON.stringify(codata[key]))
941
- codata[key] = []
942
- }
943
- }
944
- console.log(`codata内容-->${JSON.stringify(codata)}`)
945
- console.log(`codata内容-->${JSON.stringify(codata.f_user_defects)}`)
946
- console.log('安卓环境?=》' + Vue.android)
947
- if (Vue.android) {
948
- console.log('Vue.android is true')
949
- let value = this.$androidUtil.path({
950
- alias: 'getUserinfomation',
951
- data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
952
- })
953
- console.log('getUserinfomation value ==> ' + JSON.stringify(value))
954
- if (this.item.f_no_checkplan == '无计划安检' && this.item.f_no_checkplan != '打回') {
955
- // let result = this.$androidUtil.bzLogic('SafeSaveNoPaper', {
956
- // f_check_item_id: this.data.f_check_item_id,
957
- // f_checker_id: this.data.f_checker_id,
958
- // f_upload_state:'未传',
959
- // row: codata
960
- // })
961
- console.log('无计划安检保存')
962
- let isStart = true
963
- // let res
964
- // for (let i in this.f_devices) {
965
- // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
966
- // if (res.code == 200) {
967
- // isStart = false
968
- // } else {
969
- // this.$showMessage("保存失败!")
970
- // }
971
- // }
972
- // let result = HostApp.organizeJSON({
973
- // isStart: false,
974
- // isJSON: true,
975
- // jsonstr: {
976
- // f_check_item_id: this.data.f_check_item_id,
977
- // f_checker_id: this.data.f_checker_id,
978
- // f_upload_state: '未传',
979
- // row: codata
980
- // }
981
- // })
982
- codata.f_devices = this.f_devices
983
- let param = {
984
- f_check_item_id: this.data.f_check_item_id,
985
- f_checker_id: this.data.f_checker_id,
986
- f_upload_state: '未传',
987
- row: codata
988
- }
989
- console.log('codata ===> ' + JSON.stringify(codata))
990
- let paramStr = JSON.stringify(param)
991
- // 多长截断一次
992
- let subLength = 800
993
- for (let i = 0; i < paramStr.length; i += subLength) {
994
- HostApp.param_cache(paramStr.substr(i, subLength))
995
- }
996
- HostApp.__this__ = this
997
- HostApp.syncLogic({
998
- // logic别名,key必须为logic
999
- 'logic': 'SafeSaveNoPaper',
1000
- // 回调执行方法名,key必须为callback
1001
- 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1002
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1003
- // 执行回调方法传入key为backresult
1004
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1005
- 'backresult': 1
1006
- })
1007
- } else {
1008
- console.log('非无计划安检保存')
1009
- let isStart = true
1010
- let res
1011
- console.log('this.f_devices' + JSON.stringify(this.f_devices))
1012
- // for (let i in this.f_devices) {
1013
- // console.log('this.f_devices[i] ====>' + JSON.stringify(this.f_devices[i]))
1014
- // for (let j = 0; j < this.f_devices[i].f_items.length; j++) {
1015
- // console.log(`this.f_devices[i].f_items[${j}] ===> ` + JSON.stringify(this.f_devices[i].f_items[j]))
1016
- // }
1017
- // res = HostApp.organizeJSON({isStart: isStart, isDevice: true, device: this.f_devices[i]})
1018
- // console.log('f_devices organizeJSON ==> ' + JSON.stringify(res))
1019
- // if (res.code == 200) {
1020
- // isStart = false
1021
- // } else {
1022
- // this.$showMessage("保存失败!")
1023
- // }
1024
- // }
1025
- console.log('this.data ==> ' + JSON.stringify(this.data))
1026
- console.log('f_check_item_id ==> ' + JSON.stringify(this.data.f_check_item_id))
1027
- console.log('f_checker_id ==> ' + JSON.stringify(this.data.f_checker_id))
1028
- // let result = HostApp.organizeJSON({
1029
- // isStart: false,
1030
- // isJSON: true,
1031
- // jsonstr: {
1032
- // f_check_item_id: this.data.f_check_item_id,
1033
- // f_checker_id: this.data.f_checker_id,
1034
- // row: codata
1035
- // }
1036
- // })
1037
- codata.f_devices = this.f_devices
1038
- let param = {
1039
- f_check_item_id: this.data.f_check_item_id,
1040
- f_checker_id: this.data.f_checker_id,
1041
- row: codata
1042
- }
1043
- console.log('codata ===> ' + JSON.stringify(codata))
1044
- let paramStr = JSON.stringify(param)
1045
- // 多长截断一次
1046
- let subLength = 800
1047
- for (let i = 0; i < paramStr.length; i += subLength) {
1048
- HostApp.param_cache(paramStr.substr(i, subLength))
1049
- }
1050
- HostApp.__this__ = this
1051
- HostApp.syncLogic({
1052
- // logic别名,key必须为logic
1053
- 'logic': '保存安检单信息',
1054
- // 回调执行方法名,key必须为callback
1055
- 'callback': 'javascript:HostApp.__this__.saveCallBack()',
1056
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1057
- // 执行回调方法传入key为backresult
1058
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1059
- 'backresult': 1
1060
- })
1061
- }
1062
-
1063
- } else {
1064
- console.log("保存的值", codata)
1065
- let value = this.$androidUtil.path({
1066
- alias: 'getUserinfomation',
1067
- data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1068
- })
1069
-
1070
- if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
1071
- this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1072
- f_check_item_id: this.data.f_check_item_id,
1073
- f_checker_id: this.data.f_checker_id,
1074
- f_upload_state: '未传',
1075
- row: codata
1076
- }).then((res) => {
1077
- if (res.data.code == 200) {
1078
- //保存devices
1079
- this.$androidUtil.bzLogic('getPaperInfo', {
1080
- f_check_item_id: this.data.f_check_item_id
1081
- }).then((res) => {
1082
- console.log(`查询paper结果res======${res}`)
1083
- if (res.data.code == 200) {
1084
-
1085
- let f_paper_id = res.data.data[0].id
1086
- for (let device of this.f_devices) {
1087
- device.f_paper_id = f_paper_id
1088
- console.log('设备信息device======', device)
1089
- this.$androidUtil.bzLogic('saveDevice', {
1090
- row: device
1091
- }).then((ret) => {
1092
- console.log(`保存设备信息结果res======`, ret)
1093
- if (ret.code != 200) {
1094
- // if(this.isUpload){
1095
- // this.isUpload = false
1096
- // }
1097
- //TODO 失败后处理
1098
- this.$showMessage("保存失败!")
1099
- return false
1100
- }
1101
- })
1102
- }
1103
- }
1104
- })
1105
- // this.$showAlert('保存成功!', 'success', 2000)
1106
- this.$showMessage('保存成功!')
1107
- return true
1108
- } else {
1109
- // if(this.isUpload){
1110
- // this.isUpload = false
1111
- // }
1112
- this.$showMessage("保存失败!")
1113
- return false
1114
- }
1115
- })
1116
- } else {
1117
- this.$androidUtil.bzLogic('保存安检单信息', {
1118
- f_check_item_id: this.data.f_check_item_id,
1119
- f_checker_id: this.data.f_checker_id,
1120
- row: codata
1121
- }).then((res) => {
1122
- console.log('asdddddddddddddddddddddddddddddd')
1123
- if (res.data.code == 200) {
1124
- //保存devices
1125
- this.$androidUtil.bzLogic('getPaperInfo', {
1126
- f_check_item_id: this.data.f_check_item_id
1127
- }).then((res) => {
1128
- console.log(`查询paper结果res======${res}`)
1129
- if (res.data.code == 200) {
1130
-
1131
- let f_paper_id = res.data.data[0].id
1132
- for (let device of this.f_devices) {
1133
- device.f_paper_id = f_paper_id
1134
- console.log(`设备信息device======${device}`)
1135
- this.$androidUtil.bzLogic('saveDevice', {
1136
- row: device
1137
- }).then((ret) => {
1138
- console.log(`保存设备信息结果res======${ret}`)
1139
- if (ret.code != 200) {
1140
- // if(this.isUpload){
1141
- // this.isUpload = false
1142
- // }
1143
- //TODO 失败后处理
1144
- this.$showMessage("保存失败!")
1145
- return false
1146
- }
1147
- })
1148
- }
1149
- }
1150
- })
1151
- // this.$showAlert('保存成功!', 'success', 2000)
1152
- this.$showMessage('保存成功!')
1153
- return true
1154
- } else {
1155
- // if(this.isUpload){
1156
- // this.isUpload = false
1157
- // }
1158
- this.$showMessage("保存失败!")
1159
- return false
1160
- }
1161
- })
1162
- }
1163
- }
1164
- // }catch (e) {
1165
- // console.log('保存失败==='+JSON.stringify(e))
1166
- // // this.isUpload = false
1167
- // this.$showMessage("保存失败!")
1168
- // }
1169
- },
1170
- runSyncLogic(logic,callback,backresult){
1171
- HostApp.runSyncLogic({
1172
- // logic别名,key必须为logic
1173
- 'logic': logic,
1174
- // 回调执行方法名,key必须为callback
1175
- 'callback': callback,
1176
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1177
- // 执行回调方法传入key为backresult
1178
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1179
- 'backresult':backresult
1180
- })
1181
- },
1182
- logicWithHint(logic,data,callback,backresult){
1183
- HostApp.logicWithHint({
1184
- // logic别名,key必须为logic
1185
- 'logic': logic,
1186
- // 回调执行方法名,key必须为callback
1187
- 'callback': callback,
1188
- // logic执行需要的业务参数
1189
- 'data': data,
1190
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1191
- // 执行回调方法传入key为backresult
1192
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1193
- 'backresult':backresult
1194
- })
1195
- },
1196
- saveCallBack(jo){
1197
- console.log(JSON.stringify(jo))
1198
- this.isdisable=true
1199
- if(jo.state == 'ok'){
1200
- let res = JSON.parse(jo.result)
1201
- console.log('保存结果===》'+JSON.stringify(res))
1202
- if(res.code == 200){
1203
- console.log('onlySave=====>'+this.onlySave)
1204
- if(!this.onlySave){
1205
- let codata = this.getAllDefect()
1206
- //获取微信推送内容
1207
- // let WxResult = this.getWeixin(codata)
1208
- let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1209
- f_check_item_id: this.data.f_check_item_id
1210
- })
1211
- //如果是转维修上传,则不做校验,上传完成后自动转维修
1212
- console.log('this.isToRepair=======》'+this.isToRepair)
1213
- console.log('this.livedispose=======》'+this.livedispose)
1214
- if(!this.isToRepair){
1215
- if(haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)){
1216
- console.log('是否已转维修')
1217
- console.log(this.isSafeCheckToRepair)
1218
- if(!this.isSafeCheckToRepair){
1219
-
1220
- }
1221
- }
1222
- }
1223
- console.log(`codata类型-->${typeof codata}`)
1224
- for (let key in codata){
1225
- if(key.startsWith("device")){
1226
- codata[key] = []
1227
- }
1228
- }
1229
- console.log(`codata内容-->${JSON.stringify(codata)}`)
1230
-
1231
- console.log('遮挡上传')
1232
- // let isStart = true
1233
- // let res
1234
- // for (let i in this.f_devices){
1235
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1236
- // if(res.code == 200){
1237
- // isStart = false
1238
- // }else{
1239
- // this.$showMessage("上传失败!")
1240
- // return
1241
- // }
1242
- // }
1243
- // let result = HostApp.organizeJSON({
1244
- // isStart:false,
1245
- // isJSON:true,
1246
- // jsonstr:{
1247
- // f_check_item_id: this.data.f_check_item_id,
1248
- // f_checker_id: this.data.f_checker_id,
1249
- // row: codata
1250
- // }
1251
- // })
1252
- codata.f_devices = this.f_devices
1253
- let param = {
1254
- f_check_item_id: this.data.f_check_item_id,
1255
- f_checker_id: this.data.f_checker_id,
1256
- row: codata
1257
- }
1258
- console.log('codata ===> ' + JSON.stringify(codata))
1259
- let paramStr = JSON.stringify(param)
1260
- // 多长截断一次
1261
- let subLength = 800
1262
- for (let i = 0; i < paramStr.length; i += subLength) {
1263
- HostApp.param_cache(paramStr.substr(i, subLength))
1264
- }
1265
- HostApp.__this__ = this
1266
- HostApp.syncLogic({
1267
- // logic别名,key必须为logic
1268
- 'logic': 'rc_upCheckPaper',
1269
- // 回调执行方法名,key必须为callback
1270
- 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1271
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1272
- // 执行回调方法传入key为backresult
1273
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1274
- 'backresult': 1
1275
- })
1276
- }else{
1277
- this.$showMessage('保存成功!')
1278
- if(this.clickBack){
1279
- this.isStrat = false
1280
- this.$dispatch('confirm')
1281
- //this.$back()
1282
- }
1283
- }
1284
- }else{
1285
- this.$showMessage('保存失败!')
1286
- return
1287
- }
1288
- }else{
1289
- this.$showMessage('服务器内部错误,保存失败!')
1290
- return
1291
- }
1292
- },
1293
- uploadCallBack(jo){
1294
- //获取微信推送路径
1295
- let url = ""
1296
- if(Vue.config.safecheck != undefined) {
1297
- if (Vue.config.safecheck.ApproveConfig != undefined) {
1298
- if (Vue.config.safecheck.ApproveConfig.weixinurl != undefined) {
1299
- url = Vue.config.safecheck.ApproveConfig.weixinurl
1300
- }
1301
- }
1302
- }
1303
- console.log(JSON.stringify(jo))
1304
- console.log('jo ===> ' + JSON.stringify(jo))
1305
- this.isdisable=true
1306
- if(jo.state == 'ok'){
1307
- let res = JSON.parse(jo.result)
1308
- console.log('上传结果===》'+JSON.stringify(res))
1309
- console.log('上传结果的f_paper_id===》'+JSON.stringify(res.id))
1310
- if(res.code == 200){
1311
- //上传抄表信息
1312
- if(this.item.f_user_type=='民用' && this.item.f_safecheck_type=='年度普检' && this.data.f_entry_status=='入户' && this.data.f_is_meterreadding=='未抄表'){
1313
- //let codata = this.getAllDefect()
1314
- let res3= this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,{
1315
- data:{
1316
- items:" f_userfiles_id",
1317
- tablename:"t_userfiles",
1318
- condition:`f_userinfo_id=${this.item.f_userinfoid} and (f_table_state='正常' or f_table_state='停用')`,
1319
- orderitem:"f_userfiles_id"
1320
- }
1321
- }).then(res3 => {
1322
- console.log("res---"+JSON.stringify(res3))
1323
- let f_tablebase1=''
1324
- this.f_devices.forEach(row=>{
1325
- if(row.f_device_type=='燃气表'){
1326
- row.f_items.forEach(item =>{
1327
- if(item.f_item_name=='本期表读数'){
1328
- f_tablebase1=item.f_item_lists[0].f_item_value
1329
- }
1330
- })
1331
- }
1332
- })
1333
-
1334
- console.log("抄表底数!"+f_tablebase1+"------userfilesid"+res3.data[0].f_userfiles_id +'------'+this.data.f_checker_name+this.data.f_checker_id+this.data.f_checker_name)
1335
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/handCommonEnter`, {data:{
1336
- f_userfiles_id:res3.data[0].f_userfiles_id,
1337
- f_operator:this.data.f_checker_name,
1338
- f_operatorid:this.data.f_checker_id,
1339
- f_inputtor:this.data.f_checker_name,
1340
- f_tablebase:f_tablebase1,
1341
- isAudit:false,f_meter_source:''
1342
- }
1343
- }).then(res4 =>{
1344
- console.log("抄表上传成功!"+JSON.stringify(res4))
1345
- if(res4.data.status==200){
1346
- console.log("开始修改状态!!!!"+this.item.id)
1347
- let param={
1348
- itemid:res.id
1349
- }
1350
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperHandMeterState`, {data:param})
1351
- }
1352
- })
1353
-
1354
- })
1355
- }
1356
- this.$set('data.f_paper_id', res.id)
1357
- this.isStrat=false
1358
- if(url != ""){
1359
- this.$resetpost(`${url}`,{data:WxResult})
1360
- }
1361
- console.log('this.isToRepair==============>'+this.isToRepair)
1362
- if(this.isToRepair){
1363
- let defect=JSON.parse(this.data.f_defect_content)
1364
- let repairContent=''
1365
- defect.data.forEach(de =>{
1366
- let arr=Object.keys(de)
1367
- console.log("defect----------"+JSON.stringify(arr))
1368
- arr.forEach(key=>{
1369
- repairContent += key+':'+de[key]+' '
1370
- })
1371
- })
1372
- console.log("defect----------"+repairContent)
1373
- let repair={
1374
- "sn": res.id,
1375
- "caseType": "客户问题",
1376
- "callerPhone": "",
1377
- "caseTime": Util.toStandardTimeString(),
1378
- "orderSource": "安检转维修",
1379
- "orderSourceUserID": "",
1380
- "customerNo": this.item.f_userinfo_code,
1381
- "customerName": this.item.f_user_name,
1382
- "customerAddress": this.item.f_address,
1383
- "customerDistrictCode": "",
1384
- "customerDistrict": "",
1385
- "callerName": this.item.checker,
1386
- "callerSex": "",
1387
- "phone": this.item.f_user_phone,
1388
- "repairAddress": this.item.f_address,
1389
- "repairContent": repairContent,
1390
- "company": Vue.user.orgs,
1391
- "orderType": "报修",
1392
- "faultCategory": "安检隐患",
1393
- "processingLevel": "普通",
1394
- "remarks": "" }
1395
- console.log('开始转维修!4'+JSON.stringify(repair))
1396
- new HttpResetClass().load('POST','http://39.101.182.117:8909/api/cc/workorder.ashx?sign=5F27F9CA-2793-40CE-9834-0F033F71EDD2&method=postpreorder',repair,{resolveMsg: null, rejectMsg: null}).then(res =>{
1397
- console.log('调维修接口返回的结果!'+JSON.stringify(res))
1398
- if(res.data.success){
1399
- console.log('调维修接口成功!'+JSON.stringify(res))
1400
- let param={
1401
- itemid:res.id,
1402
- gid:res.data.gid
1403
- }
1404
- new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/rc_UpPaperRepairState`,{data:param},{resolveMsg: null, rejectMsg: null})
1405
- this.$showMessage('转维修成功!')
1406
- }else{
1407
- this.$showMessage('转维修失败!')
1408
- }
1409
- this.$dispatch('confirm')
1410
- })
1411
- //this.todo()
1412
- }else{
1413
- this.$showMessage('上传成功!')
1414
- console.log('上传结束back')
1415
- this.$dispatch('confirm')
1416
- // this.$back()
1417
- }
1418
- }else if(res.code == 309){
1419
- this.$showMessage('该安检单已作废!')
1420
- console.log('该安检单已作废')
1421
- this.$dispatch('confirm')
1422
- }else{
1423
- this.$showMessage('上传失败!')
1424
- this.onlySave = true
1425
- }
1426
- }else {
1427
- this.$showMessage('服务器内部错误,上传失败!')
1428
- this.onlySave = true
1429
- }
1430
- },
1431
- safecheckToRepairCallBack(jo){
1432
- //获取微信推送路径
1433
- if(jo.state == 'ok'){
1434
- let res = JSON.parse(jo.result)
1435
- console.log('安检转维修===》'+JSON.stringify(res))
1436
- if(res.code == 200){
1437
- console.log('安检转维修成功')
1438
- if(res.data.code == 200){
1439
- this.$showMessage('上传并转维修成功!')
1440
- }else{
1441
- this.$showMessage('上传并转维修成功,回写安检单失败!')
1442
- }
1443
- this.$dispatch('confirm')
1444
- // this.$back()
1445
- }else{
1446
- this.$showMessage('上传失败!')
1447
- this.onlySave = true
1448
- }
1449
- }else{
1450
- this.$showMessage('服务器内部错误,上传失败!')
1451
- this.onlySave = true
1452
- }
1453
- },
1454
- todo(){
1455
- let gen = getRepairParam(this)
1456
- co(gen)
1457
- },
1458
- undo(){
1459
- this.showCheckToRepair = !this.showCheckToRepair
1460
- this.model.serviceacitivity[0].f_reciever = ''
1461
- this.model.serviceacitivity[0].f_meetunit = ''
1462
- this.model.f_repairtype = ''
1463
- this.meading = '转站点'
1464
- },
1465
- disableTimer() {
1466
- if(this.timer) {
1467
- window.clearTimeout(this.timer)
1468
- this.timer = null
1469
- }
1470
- },
1471
- loaded(paper) {
1472
- if(!paper.hasOwnProperty('id')) {
1473
- this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
1474
- this.init()
1475
- } else {
1476
- Util.booleanFilter(paper)
1477
- HostApp.__this__.$set('data', paper)
1478
- HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
1479
- // 如果打回重检则重新计时
1480
- console.log('HostApp.__this__.role' + HostApp.__this__.role + ' HostApp.__this__.f_approved:' + HostApp.__this__.data.f_approved)
1481
- if(HostApp.__this__.role == 'inspect'
1482
- && HostApp.__this__.data.f_approved
1483
- && HostApp.__this__.data.f_approved == '打回') {
1484
- console.log('打回')
1485
- HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1486
- HostApp.__this__.tick()
1487
- }
1488
- }
1489
- HostApp.__callback__ = null
1490
- HostApp.__this__ = null
1491
- },
1492
- S4() {
1493
- return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
1494
- },
1495
- extend(initalObj, finalObj) {
1496
- var obj = finalObj || {};
1497
- for (var i in initalObj) {
1498
- var prop = initalObj[i];
1499
-
1500
- // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1501
- if (prop === obj) {
1502
- continue;
1503
- }
1504
-
1505
- if (typeof prop === 'object') {
1506
- if (obj[i]) {
1507
- this.extend(obj[i], prop)
1508
- } else {
1509
- obj[i] = prop;
1510
- }
1511
- }
1512
- }
1513
- return obj;
1514
- },
1515
- async isoverDate(){
1516
- console.log('123456')
1517
- let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
1518
- condition:"ti.id='"+this.item.id+"'"
1519
- }
1520
- })
1521
-
1522
- this.isneedDate=res.data.length>0?res.data[0]["f_subscribe_date"]:''
1523
- },
1524
- putDevices() {
1525
- console.log('Vue.config => ' + JSON.stringify(Vue.config))
1526
- console.log('Vue.config.DevicesConfig => ' + JSON.stringify(Vue.config.DevicesConfig))
1527
- this.$set('data.approve', "true")
1528
- this.$set('data.writeback', "false")
1529
- if (Vue.config.safecheck != undefined) {
1530
- if (Vue.config.safecheck.ApproveConfig != undefined) {
1531
- if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
1532
- this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
1533
- }
1534
- if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
1535
- this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
1536
- }
1537
- if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
1538
- this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
1539
- }
1540
- }
1541
- console.log(Vue.config)
1542
- console.log('Vue.config.safecheck.DevicesConfig=>' + JSON.stringify(Vue.config.safecheck.DevicesConfig))
1543
- console.log('赋值前的config=>' + JSON.stringify(this.config))
1544
- console.log("当前用户类型"+this.item.f_user_type)
1545
- if(this.item.f_user_type == '民用'){
1546
- // 民用户
1547
-
1548
- if (Vue.config.safecheck.DevicesConfig != undefined){
1549
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1550
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1551
- }else{
1552
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1553
- }
1554
- // this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1555
- }
1556
- }else {
1557
- // 非民用
1558
- if (Vue.config.safecheck.DevicesSetConfig != undefined){
1559
- if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1560
- this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1561
- }else{
1562
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1563
- }
1564
- //this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1565
- }
1566
- }
1567
-
1568
- }
1569
- console.log('赋值后的config=>' + JSON.stringify(this.config))
1570
- // 预留设备项位置
1571
- for (let i in this.config) {
1572
- this.tabs.splice(1,0,null)
1573
- }
1574
- //遍历安检项配置
1575
- for (let i in this.config) {
1576
- //取得安检项索引值
1577
- let n = this.config[i].index
1578
- console.log('type '+ typeof n)
1579
- this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1580
- this.$set('data.' + 'device' + n, [])
1581
- console.log('data.device'+ n,this.data)
1582
- // this.tabs.splice(2 + n - 1, 0,
1583
- // {
1584
- // header:i,
1585
- // complete:'safecheck-devices',
1586
- // class:'repair-details-class',
1587
- // number:n
1588
- // })
1589
- this.tabs[n] = {
1590
- header: i,
1591
- complete: 'AspiratedDevices',
1592
- class: 'repair-details-class',
1593
- number: n
1594
- }
1595
-
1596
- if(this.config[i].quantity && this.config[i].quantity >0){
1597
- let items = []
1598
- for (let it in this.config[i].items) {
1599
- //赋值下拉选项
1600
- if (this.config[i].items[it].type == 'selector') {
1601
- for (let op in this.config[i].items[it].options) {
1602
- if (this.config[i].items[it].options[op].isdefault == true) {
1603
- items.push({
1604
- f_defect_level: this.config[i].items[it].options[op].level,
1605
- f_is_defect: this.config[i].items[it].options[op].isdefect,
1606
- f_item_name: it,
1607
- f_item_value: this.config[i].items[it].options[op].data,
1608
- f_path: "",
1609
- type: "selector"
1610
- })
1611
- }
1612
- }
1613
- }
1614
- }
1615
- for(let q =0;q<this.config[i].quantity;q++) {
1616
- this.data['device' + n].push(
1617
- {f_device_type: i, f_items:items}
1618
- )
1619
- }
1620
- }
1621
- // this.data['device' + n].push(
1622
- // {f_device_type: i, f_items: items}
1623
- // )
1624
- n = n + 1
1625
- }
1626
- console.log('tbs合并数组')
1627
- this.faultshow.number = this.tabs.length
1628
- },
1629
- init () {
1630
- console.log("123456789")
1631
- // this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
1632
- this.data.ename = Vue.user.ename
1633
- this.data.f_outlets = Vue.user.f_parentname
1634
- this.data.f_meetunit = Vue.user.orgpathnames
1635
- this.data.orgpathstr = Vue.user.orgpathstr
1636
- this.data.f_check_item_id = this.item.id
1637
- this.data.f_check_plan_id = this.f_plan_id
1638
- this.data.f_checker_id = Vue.user.id
1639
- this.data.f_checker_name = Vue.user.name
1640
- this.data.f_check_type = this.item.f_user_type
1641
- this.data.f_safecheck_type = this.item.f_safecheck_type
1642
- //this.data.f_exceed_reason = ''//存放送气超期原因
1643
- console.log('设置参数2')
1644
- this.data.f_subcompany = this.item.f_subcompany
1645
- this.data.f_approved = this.item.f_approved
1646
- this.data.f_repair_approved = this.item.f_repair_approved
1647
- this.data.f_no_checkplan = this.item.f_no_checkplan
1648
- this.data.f_approved = this.item.f_approved
1649
- this.data.f_filialeid = this.item.f_filialeid
1650
- this.data.f_orgstr = this.item.f_orgstr
1651
- this.data.version = this.item.version
1652
- this.$set('data.f_meters', this.item.f_plan_meters)
1653
- this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1654
- // 安检状态
1655
- this.$set('data.f_entry_status', '入户')
1656
- this.$set('data.f_laser_check', null)
1657
- //this.$set('data.f_is_meterreadding', '未抄表')
1658
- this.$set('data.f_usegas', '已使用')
1659
- this.$set('data.f_state',this.item.f_state)
1660
- console.log('设置参数3')
1661
- // 用户信息
1662
- this.$set('data.f_user_name', this.item.f_user_name)
1663
- this.$set('data.f_user_phone', this.item.f_user_phone)
1664
- this.$set('data.f_userinfoid', this.item.f_userinfoid)
1665
- this.$set('data.f_small_area', this.item.f_small_area)
1666
- this.$set('data.f_address', this.item.f_address)
1667
- this.$set('data.f_card_id', this.item.f_card_id)
1668
- this.$set('data.f_area', this.item.f_area)
1669
- this.$set('data.f_street', this.item.f_street)
1670
- this.$set('data.f_room', this.item.f_room)
1671
- this.$set('data.f_building', this.item.f_building)
1672
- this.$set('data.f_unit', this.item.f_unit)
1673
- console.log('设置参数4')
1674
- this.$set('data.f_floor', this.item.f_floor)
1675
- this.$set('data.f_residential_area' , this.item.f_residential_area)
1676
- this.$set('data.f_idnumber', this.item.f_idnumber)
1677
- this.$set('data.f_comments', this.item.f_comments)
1678
- this.$set('data.f_userproperties', this.item.f_userproperties)
1679
- // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
1680
- // this.$set('data.f_user_check_time', this.item.f_user_check_time)
1681
- // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
1682
- // this.$set('data.f_user_family_remarks', this.item.f_user_family_remarks)
1683
- // this.$set('data.f_user_equipment_remarks', this.item.f_user_equipment_remarks)
1684
- // 处置方式
1685
- console.log('设置参数5')
1686
- this.$set('data.f_no_gas_device', false)
1687
- this.$set('data.f_close_valve', false)
1688
- this.$set('data.f_unload_battery', false)
1689
- console.log('设置参数6')
1690
- if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
1691
- this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
1692
- }
1693
- console.log("item.f_plan_meters",this.item.f_plan_meters)
1694
- if(this.item.f_plan_meters) {
1695
- for (let de in this.devices) {
1696
- this.$set('data.device' + this.devices[de].n, [])
1697
- for (let i = 0; i < this.item.f_plan_meters.length; i++) {
1698
- if (this.item.f_plan_meters[i].f_meter_type) {
1699
- console.log('this.item.f_plan_meters[i] ===> ' + JSON.stringify(this.item.f_plan_meters[i])+"------------"+this.devices[de].device)
1700
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1701
- console.log("是机表")
1702
- this.data['device' + this.devices[de].n].push({
1703
- f_device_type: "燃气表",
1704
- f_items: [
1705
- {
1706
- f_defect_level: null,
1707
- f_device_id: "",
1708
- f_is_defect: "",
1709
- f_item_name: "基表编号",
1710
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1711
- f_path: "",
1712
- type: "string"
1713
- },
1714
- {
1715
- f_defect_level: null,
1716
- f_device_id: "",
1717
- f_is_defect: "",
1718
- f_item_name: "气表型号",
1719
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1720
- f_path: "",
1721
- type: "string"
1722
- },
1723
- {
1724
- f_defect_level: null,
1725
- f_device_id: "",
1726
- f_is_defect: "",
1727
- f_item_name: "气表品牌",
1728
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1729
- f_path: "",
1730
- type: "string"
1731
- },
1732
- {
1733
- f_defect_level: null,
1734
- f_device_id: "",
1735
- f_is_defect: "",
1736
- f_item_name: "进气方向",
1737
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1738
- f_path: "",
1739
- type: "selector"
1740
- },
1741
- {
1742
- f_defect_level: null,
1743
- f_device_id: "",
1744
- f_is_defect: "",
1745
- f_item_name: "上期表读数",
1746
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1747
- f_path: "",
1748
- type: "number"
1749
- },
1750
- {
1751
- f_defect_level: null,
1752
- f_device_id: "",
1753
- f_is_defect: "",
1754
- f_item_name: "本期表读数",
1755
- f_item_value: '',
1756
- f_path: "",
1757
- type: "number"
1758
- }
1759
- ]
1760
- })
1761
- } else if (this.devices[de].device == "燃气表") {
1762
- console.log("不是是机表")
1763
- // delete this.config['燃气表']['items']['表底数']
1764
- this.data['device' + this.devices[de].n].push({
1765
- f_device_type: "燃气表",
1766
- f_items: [
1767
- {
1768
- f_defect_level: null,
1769
- f_device_id: "",
1770
- f_is_defect: "",
1771
- f_item_name: "基表编号",
1772
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1773
- f_path: "",
1774
- type: "string"
1775
- },
1776
- {
1777
- f_defect_level: null,
1778
- f_device_id: "",
1779
- f_is_defect: "",
1780
- f_item_name: "气表型号",
1781
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1782
- f_path: "",
1783
- type: "string"
1784
- },
1785
- {
1786
- f_defect_level: null,
1787
- f_device_id: "",
1788
- f_is_defect: "",
1789
- f_item_name: "气表品牌",
1790
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1791
- f_path: "",
1792
- type: "string"
1793
- },
1794
- {
1795
- f_defect_level: null,
1796
- f_device_id: "",
1797
- f_is_defect: "",
1798
- f_item_name: "进气方向",
1799
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
1800
- f_path: "",
1801
- type: "selector"
1802
- },
1803
- {
1804
- f_defect_level: null,
1805
- f_device_id: "",
1806
- f_is_defect: "",
1807
- f_item_name: "上期表读数",
1808
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1809
- f_path: "",
1810
- type: "number"
1811
- },
1812
- {
1813
- f_defect_level: null,
1814
- f_device_id: "",
1815
- f_is_defect: "",
1816
- f_item_name: "本期表读数",
1817
- f_item_value: '',
1818
- f_path: "",
1819
- type: "number"
1820
- }
1821
- ]
1822
- })
1823
- }
1824
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1825
- console.log("有this.item.f_plan_meters[i].f_collection_type")
1826
- this.data['device' + this.devices[de].n].forEach(device => {
1827
- console.log('device ===> ' + JSON.stringify(device))
1828
- console.log('this.item.f_plan_meters[i].f_collection_type ===> ' + JSON.stringify(this.item.f_plan_meters[i].f_collection_type))
1829
- /*
1830
- "累购气量":{"index":8,"type":"number","readonly":true},
1831
- "累购金额":{"index":8,"type":"number","readonly":true},
1832
- "字轮读数":{"index":9,"type":"number","checkmust": true},
1833
- "已用金额":{"index":9,"type":"number","checkmust": true},
1834
- "剩余气量":{"index":10,"type":"number","checkmust": true},
1835
- "剩余金额":{"index":10,"type":"number","checkmust": true},
1836
- "气量异常差值":{"index":11,"type":"number","readonly": true},
1837
- "金额异常差值":{"index":11,"type":"number","readonly": true}
1838
- */
1839
- if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
1840
- if (!this.data.f_collection_type) {
1841
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1842
- delete this.config['燃气表']['items']['累购气量']
1843
- delete this.config['燃气表']['items']['已用气量']
1844
- delete this.config['燃气表']['items']['剩余气量']
1845
- delete this.config['燃气表']['items']['气量异常差值']
1846
- device.f_items.push(
1847
- {
1848
- f_defect_level: null,
1849
- f_device_id: "",
1850
- f_is_defect: "",
1851
- f_item_name: "初始表底",
1852
- isshow: false,
1853
- f_item_value: '',
1854
- f_path: "",
1855
- type: "number"
1856
- },
1857
- {
1858
- f_defect_level: null,
1859
- f_device_id: "",
1860
- f_is_defect: "",
1861
- f_item_name: "累购金额",
1862
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
1863
- f_path: "",
1864
- type: "number"
1865
- },
1866
- {
1867
- f_defect_level: null,
1868
- f_device_id: "",
1869
- f_is_defect: "",
1870
- f_item_name: "已用金额",
1871
- f_item_value: null,
1872
- f_path: "",
1873
- type: "number"
1874
- },
1875
- {
1876
- f_defect_level: null,
1877
- f_device_id: "",
1878
- f_is_defect: "",
1879
- f_item_name: "表初始数",
1880
- f_item_value: null,
1881
- f_path: "",
1882
- type: "number"
1883
- },
1884
- {
1885
- f_defect_level: null,
1886
- f_device_id: "",
1887
- f_is_defect: "",
1888
- f_item_name: "金额异常差值",
1889
- isshow:false,
1890
- f_item_value: null,
1891
- f_path: "",
1892
- type: "number"
1893
- }
1894
- )
1895
- console.log('this.config[\'燃气表\'][\'items\'] ===> ' + JSON.stringify(this.config['燃气表']['items']))
1896
- }
1897
- } else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
1898
- if (!this.data.f_collection_type) {
1899
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1900
- delete this.config['燃气表']['items']['累购金额']
1901
- delete this.config['燃气表']['items']['已用金额']
1902
- delete this.config['燃气表']['items']['剩余金额']
1903
- delete this.config['燃气表']['items']['金额异常差值']
1904
- device.f_items.push(
1905
- {
1906
- f_defect_level: null,
1907
- f_device_id: "",
1908
- f_is_defect: "",
1909
- f_item_name: "初始表底",
1910
- isshow: true,
1911
- f_item_value: this.item.f_plan_meters[i].f_initial_base,
1912
- f_path: "",
1913
- type: "number"
1914
- },
1915
- {
1916
- f_defect_level: null,
1917
- f_device_id: "",
1918
- f_is_defect: "",
1919
- f_item_name: "累购气量",
1920
- f_item_value: this.item.f_plan_meters[i].f_total_gas,
1921
- f_path: "",
1922
- type: "number"
1923
- },
1924
- {
1925
- f_defect_level: null,
1926
- f_device_id: "",
1927
- f_is_defect: "",
1928
- f_item_name: "已用气量",
1929
- f_item_value: this.item.f_plan_meters[i].f_meter_base,
1930
- f_path: "",
1931
- type: "number"
1932
- },
1933
- {
1934
- f_defect_level: null,
1935
- f_device_id: "",
1936
- f_is_defect: "",
1937
- f_item_name: "表初始数",
1938
- f_item_value: '',
1939
- f_path: "",
1940
- type: "number"
1941
- },
1942
- {
1943
- f_defect_level: null,
1944
- f_device_id: "",
1945
- f_is_defect: "",
1946
- f_item_name: "气量异常差值",
1947
- isshow:false,
1948
- f_item_value: null,
1949
- f_path: "",
1950
- type: "number"
1951
- }
1952
- )
1953
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
1954
- }
1955
- }
1956
- })
1957
- }else if(this.devices[de].device == "燃气表"){
1958
- console.log("没有this.item.f_plan_meters[i].f_collection_type")
1959
- this.data['device' + this.devices[de].n].forEach(device => {
1960
- console.log('device ===> ' + JSON.stringify(device))
1961
- if (!this.data.f_collection_type) {
1962
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1963
- delete this.config['燃气表']['items']['累购金额']
1964
- delete this.config['燃气表']['items']['已用金额']
1965
- delete this.config['燃气表']['items']['剩余金额']
1966
- delete this.config['燃气表']['items']['金额异常差值']
1967
- device.f_items.push(
1968
- {
1969
- f_defect_level: null,
1970
- f_device_id: "",
1971
- f_is_defect: "",
1972
- f_item_name: "初始表底",
1973
- isshow: true,
1974
- f_item_value: this.item.f_plan_meters[i].f_initial_base,
1975
- f_path: "",
1976
- type: "number"
1977
- },
1978
- {
1979
- f_defect_level: null,
1980
- f_device_id: "",
1981
- f_is_defect: "",
1982
- f_item_name: "累购气量",
1983
- f_item_value: this.item.f_plan_meters[i].f_total_gas,
1984
- f_path: "",
1985
- type: "number"
1986
- },
1987
- {
1988
- f_defect_level: null,
1989
- f_device_id: "",
1990
- f_is_defect: "",
1991
- f_item_name: "已用气量",
1992
- f_item_value: this.item.f_plan_meters[i].f_meter_base,
1993
- f_path: "",
1994
- type: "number"
1995
- },
1996
- {
1997
- f_defect_level: null,
1998
- f_device_id: "",
1999
- f_is_defect: "",
2000
- f_item_name: "表初始数",
2001
- f_item_value: '',
2002
- f_path: "",
2003
- type: "number"
2004
- },
2005
- {
2006
- f_defect_level: null,
2007
- f_device_id: "",
2008
- f_is_defect: "",
2009
- f_item_name: "气量异常差值",
2010
- isshow:false,
2011
- f_item_value: null,
2012
- f_path: "",
2013
- type: "number"
2014
- }
2015
- )
2016
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
2017
- }
2018
- })
2019
- }
2020
- }
2021
- }
2022
- }
2023
- }
2024
- var pardate = {
2025
- _this:this,
2026
- tittle:'安检详情',
2027
- safe:true
2028
- }
2029
- // this.$dispatch('gotoson',pardate)
2030
- console.log('页面跳转')
2031
- this.$goto('AspiratedUserInfo', {userinfo:this.data}, 'repair')
2032
- }
2033
- },
2034
- watch: {
2035
- 'row' () {
2036
- console.log('row changed')
2037
- this.copy()
2038
- }
2039
- },
2040
- async ready () {
2041
- console.log('进入送气')
2042
- await this.isoverDate()
2043
- console.log('8888888')
2044
- this.putDevices()
2045
- //如果已检,则提取安检单
2046
- if (this.item.f_state != '未检') {
2047
- if (this.role == 'inspect' || this.role == 'androidview') {
2048
- HostApp.__callback__ = this.loaded
2049
- HostApp.__this__ = this
2050
- let that = this
2051
- let value = {}
2052
- console.log('this.item.f_no_checkplan',this.item.f_no_checkplan)
2053
- if (this.role == 'inspect') {
2054
- console.log('this.item.f_no_checkplan', this.item.f_no_checkplan)
2055
- if (this.item.f_no_checkplan == '无计划安检') {
2056
- value = this.$androidUtil.path({
2057
- alias: 'getUserinfomation',
2058
- data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
2059
- })
2060
- } else {
2061
- value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
2062
- }
2063
- } else {
2064
- value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2065
- }
2066
- Util.replaceFalse(value)
2067
- console.log("value:" + JSON.stringify(value))
2068
- if (value.data.length != 0) {
2069
- that.$set('data', value.data[0])
2070
- console.log("this.data.f_collection_type:" + JSON.stringify(this.data.f_collection_type))
2071
- if (this.item.f_plan_meters[0].f_meter_type=='机表' || this.data.f_collection_type == '按气量') {
2072
- delete this.config['燃气表']['items']['累购金额']
2073
- delete this.config['燃气表']['items']['已用金额']
2074
- delete this.config['燃气表']['items']['剩余金额']
2075
- delete this.config['燃气表']['items']['金额异常差值']
2076
- } else if (this.data.f_collection_type == '按金额') {
2077
- delete this.config['燃气表']['items']['累购气量']
2078
- delete this.config['燃气表']['items']['已用气量']
2079
- delete this.config['燃气表']['items']['剩余气量']
2080
- delete this.config['燃气表']['items']['气量异常差值']
2081
- }
2082
- console.log("f_devices:" + JSON.stringify(value.data[0].f_devices))
2083
- if (value.data[0].f_devices) {
2084
- for (let da in that.devices) {
2085
- that.$set('data.device' + that.devices[da].n, [])
2086
- }
2087
- value.data[0].f_devices.forEach((item) => {
2088
- console.log('回写数据=>' + JSON.stringify(item))
2089
- for (let i in item.f_items) {
2090
- // if (item.f_items[i].f_path != '' && item.f_items[i].f_path != null) {
2091
- // this.picture.push({f_path: item.f_items[i].f_path, name: item.f_items[i].f_item_name})
2092
- // }
2093
- for (let de in that.config[item.f_device_type].items) {
2094
- if (item.f_items[i].f_item_name == de) {
2095
- if (that.config[item.f_device_type].items[de].type == 'selector' || that.config[item.f_device_type].items[de].type == 'checkbox') {
2096
- item.f_items[i].f_item_value = []
2097
- } else {
2098
- item.f_items[i].f_item_value = ''
2099
- }
2100
- }
2101
- }
2102
- console.log('回写数据item.f_items[i]=======>' + JSON.stringify(item.f_items[i]))
2103
- for (let j in item.f_items[i].f_item_lists) {
2104
- console.log('回写数据item.f_items.f_item_lists[j]=======>' + JSON.stringify(item.f_items[i].f_item_lists[j]))
2105
- if (item.f_items[i].f_item_value instanceof Array) {
2106
- item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2107
- } else {
2108
- item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2109
- }
2110
-
2111
- }
2112
- }
2113
- for (let de in that.devices) {
2114
- if (that.devices[de].device == item.f_device_type) {
2115
- that.data['device' + that.devices[de].n].push({
2116
- f_device_type: item.f_device_type,
2117
- f_items: item.f_items
2118
- })
2119
- console.log("device:" + JSON.stringify(that.data['device' + that.devices[de].n]))
2120
- }
2121
- }
2122
- })
2123
- if (this.role == 'androidview') {
2124
- Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
2125
- Util.androidRatifyPics(that.picture, this.$androidUtil.getProxyUrl())
2126
- Util.booleanFilter(that.data)
2127
- }
2128
- console.log('回写数据完成后'+JSON.stringify(that.data))
2129
- }
2130
- } else {
2131
- console.log("该安检单可能已不在本地!")
2132
- this.init()
2133
- }
2134
- console.log('页面跳转')
2135
- var pardate = {
2136
- _this:this,
2137
- tittle:'安检详情',
2138
- safe:true
2139
- }
2140
- // this.$dispatch('gotoson',pardate)getImgPath
2141
- this.$goto('AspiratedUserInfo', {userinfo:this.data}, 'repair')
2142
- } else {
2143
- let that = this
2144
- let id
2145
- if (this.role == 'view') {
2146
- id = this.item.id
2147
- }
2148
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2149
- if (respanse.data.length != 0) {
2150
- that.data = Object.assign(that.data,respanse.data[0])
2151
- if(respanse.data[0].f_devices) {
2152
- for (let da in that.devices) {
2153
- that.$set('data.device' + that.devices[da].n, [])
2154
- }
2155
- respanse.data[0].f_devices.forEach((item) => {
2156
- for (let de in that.devices) {
2157
- if (that.devices[de].device == item.f_device_type) {
2158
- that.data['device' + that.devices[de].n].push({
2159
- f_device_type: item.f_device_type,
2160
- f_items: item.f_items
2161
- })
2162
- }
2163
- }
2164
- })
2165
- }
2166
- Util.replaceFalse(that.data)
2167
- Util.booleanFilter(that.data)
2168
- if(this.role == 'view'){
2169
- Util.ratifyPics(that.data)
2170
- }else{
2171
- Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
2172
- }
2173
- console.log("that.data:", that.data)
2174
- } else {
2175
- alert("该安检单可能已不在本地!")
2176
- this.init()
2177
- }
2178
- var pardate = {
2179
- _this:this,
2180
- tittle:'安检详情',
2181
- safe:true
2182
- }
2183
- // this.$dispatch('gotoson',pardate)
2184
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2185
- }
2186
- ).catch(
2187
- (respanse) => {
2188
- alert('查找安检单失败')
2189
- })
2190
- }
2191
- }else{
2192
- this.init()
2193
- }
2194
- // tbs合并数组
2195
- // if( this.model.serviceacitivity[0].servicerepair.length > 0){
2196
- // for(let i = 0;i < this.model.serviceacitivity[0].servicerepair.length;i++ ){
2197
- //
2198
- // }
2199
- // }
2200
- },
2201
- components: {
2202
- // 'door-service': DoorService,
2203
- // 'repair-info': RepairInfo,
2204
- // 'repair-user-info': RepairUserInfo,
2205
- // 'outlay': Outlay,
2206
- // 'fault-all': FaultAll,
2207
- // 'repair-details':RepairDetails
2208
- // 'pipeline': Pipeline,
2209
- // 'device-service': DeviceService,
2210
- // 'trouble-removal': TroubleRemoval,
2211
- // 'cooking-utensils': CookingUtensils,
2212
- // 'repair-matter-info': RepairMatterInfo,
2213
- // 'first-gas-check': FirstGasCheck,
2214
- // 'tel-change-matter': TelChangeMatter/
2215
- },
2216
- events: {
2217
- 'tijiao': function () {
2218
- // 事件回调内的 `this` 自动绑定到注册它的实例上
2219
- this.confirm()
2220
- }
2221
- }
2222
- }
2223
- </script>
2224
- <style lang="less">
2225
- @import "../../../src/bootstrap/less/variables.less";
2226
-
2227
- .tab-befor-img (@url) {
2228
- content: '';
2229
- background-image: url("@{url}");
2230
- background-size: 20px;
2231
- display: inline-block;
2232
- margin-right: 8px;
2233
- margin-top: 0.3em;
2234
- height: 1.3em;
2235
- width: 1.3em;
2236
- vertical-align: -35%;
2237
- }
2238
-
2239
- @media screen and (min-width: 768px) {
2240
- .android-repair-order > div > ul a {
2241
- font-size: @font-size-h2;
2242
- margin: 0.3em 0;
2243
- }
2244
- }
2245
- .repair-details-class{
2246
- &::before {
2247
- .tab-befor-img("../../assets/huneiweixiu1.png");
2248
- }
2249
- }
2250
- .repair-info-class {
2251
- &::before {
2252
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
2253
- }
2254
- }
2255
- .repair-user-info-class {
2256
- &::before {
2257
- .tab-befor-img("../../assets/jibenxinxi1.png")
2258
- }
2259
- }
2260
-
2261
- .door-service-class {
2262
- &::before {
2263
- .tab-befor-img("../../assets/huneiweixiu1.png")
2264
- }
2265
- }
2266
-
2267
- .pipeline-class {
2268
- &::before {
2269
- .tab-befor-img("../../assets/guandao1.png")
2270
- }
2271
- }
2272
-
2273
- .device-service-class {
2274
- &::before {
2275
- .tab-befor-img("../../assets/shebeiweixiu1.png")
2276
- }
2277
- }
2278
-
2279
- .trouble-removal-class {
2280
- &::before {
2281
- .tab-befor-img("../../assets/shiguchuli.png")
2282
- }
2283
- }
2284
-
2285
- .cooking-utensils-class {
2286
- &::before {
2287
- .tab-befor-img("../../assets/zaoju1.png")
2288
- }
2289
- }
2290
-
2291
- .outlay-class {
2292
- &::before {
2293
- .tab-befor-img("../../assets/feiyong1.png")
2294
- }
2295
- }
2296
-
2297
- .fault-all-class {
2298
- &::before {
2299
- .tab-befor-img("../../assets/guzhanghuizong1.png")
2300
- }
2301
- }
2302
- .photo-write-class {
2303
- &::before {
2304
- .tab-befor-img("../../assets/zaoju.png")
2305
- }
2306
- }
2307
- .delay-apply-class {
2308
- &::before {
2309
- .tab-befor-img("../../assets/yonghubaoxiu.png")
2310
- }
2311
- }
2312
-
2313
- .repair-back-class {
2314
- &::before {
2315
- .tab-befor-img("../../assets/fanhui.png")
2316
- }
2317
- }
2318
- .butt2 {
2319
- display: inline;
2320
- float: right;
2321
- width: 10px;
2322
- text-align: center;
2323
- align-items:center;
2324
- position: absolute;
2325
- top:50%;
2326
-
2327
- left:90%;
2328
- transform: translate(-50%,-50%);
2329
- }
2330
- .linesty{
2331
- display: inline-block;
2332
- height:1px;
2333
- width:100%;
2334
- background:#d0d0d0;
2335
- overflow:hidden;
2336
- vertical-align: middle;
2337
- }
2338
- .spanboder{
2339
- border-bottom:2px solid #499edf;
2340
- padding-bottom: 8px
2341
- }
2342
- .app-botton {
2343
- position:fixed;
2344
- background: #87b2dd;
2345
- right:8px;
2346
- color: #FFF;
2347
- padding: 8px;
2348
- text-align: center;
2349
- font-size: 1.2em;
2350
- z-index: 10;
2351
- opacity:0.5;
2352
- bottom: 50px;
2353
- margin-top: -10px;
2354
- height: 40px;
2355
- }
2356
- .android-repair-order > div > ul a {
2357
- font-size: 12px;
2358
- color: #333333;
2359
- padding: 13px 16px;
2360
- }
2361
- </style>