safecheck-client 3.1.1-gaomi-7 → 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 (694) 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-shaoguan → 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/{SafePlanrongcheng → 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/{SafePlan-liaoyuan → 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 +45 -89
  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 +244 -239
  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/examples/SafePlan-liaoyuan/App.vue +0 -53
  603. package/examples/SafePlan-shaoguan/App.vue +0 -52
  604. package/examples/SafePlan-shaoguan/comp.js +0 -1190
  605. package/examples/SafePlanrongcheng/App.vue +0 -52
  606. package/examples/SafePlanrongcheng/comp.js +0 -1041
  607. package/src/assets/JsonEditor/jsoneditor.css +0 -930
  608. package/src/assets/JsonEditor/jsoneditor.js +0 -36377
  609. package/src/assets/bj.jpg +0 -0
  610. package/src/assets/jt.jpg +0 -0
  611. package/src/assets/marrio.jpg +0 -0
  612. package/src/assets/ss.jpg +0 -0
  613. package/src/assets/xl.jpg +0 -0
  614. package/src/assets//346/230/237/347/220/203/350/203/214/346/231/257.jpg +0 -0
  615. package/src/assets//351/232/220/346/202/243/345/210/206/346/236/220.png +0 -0
  616. package/src/components/CheckerCount/CheckCountAreaList.vue +0 -298
  617. package/src/components/CheckerCount/CheckCountUserList.vue +0 -144
  618. package/src/components/ExportExcel.vue +0 -201
  619. package/src/components/android/SwitchValve.vue +0 -189
  620. package/src/components/checkAreaClassification.vue +0 -285
  621. package/src/components/checkplan/checkmsgZG.vue +0 -519
  622. package/src/components/filialCircle/AddCircleFiliale.vue +0 -114
  623. package/src/components/filialCircle/CircleList.vue +0 -139
  624. package/src/components/filialCircle/CircleManage.vue +0 -69
  625. package/src/components/json-editor/SafeJsonEditor.vue +0 -212
  626. package/src/components/json-editor/assets/img/jsoneditor-icons.svg +0 -893
  627. package/src/components/json-editor/assets/jsoneditor-minimalist.js +0 -9751
  628. package/src/components/json-editor/assets/jsoneditor.css +0 -930
  629. package/src/components/json-editor/assets/jsoneditor.js +0 -36377
  630. package/src/components/json-editor/example/App.vue +0 -53
  631. package/src/components/json-editor/example/index.html +0 -9
  632. package/src/components/json-editor/example/main.js +0 -10
  633. package/src/components/json-editor/package.json +0 -71
  634. package/src/components/json-editor/vue-json-editor.vue +0 -189
  635. package/src/components/pc/HiddenChart.vue +0 -189
  636. package/src/components/pc/RoleSelector.vue +0 -89
  637. package/src/components/plan/PlanLeft.vue +0 -320
  638. package/src/components/plan/PlanManage.vue +0 -50
  639. package/src/components/plan/PlanRightUp.vue +0 -185
  640. package/src/components/plan/PlanRightdown.vue +0 -239
  641. package/src/components/plan/testss.vue +0 -116
  642. package/src/components/plancheck/CheckPlanAreaManage.vue +0 -116
  643. package/src/components/plancheck/CheckPlanList.vue +0 -282
  644. package/src/components/report/ManageBusSummary.vue +0 -242
  645. package/src/components/rongcheng/AreaPlan.vue +0 -463
  646. package/src/components/rongcheng/AspPaperStatem.vue +0 -339
  647. package/src/components/rongcheng/AspiratedDevices.vue +0 -965
  648. package/src/components/rongcheng/AspiratedOrderV.vue +0 -2361
  649. package/src/components/rongcheng/AspiratedPaperMessage.vue +0 -1378
  650. package/src/components/rongcheng/AspiratedPaperMessageNocivil.vue +0 -1288
  651. package/src/components/rongcheng/AspiratedUserInfo.vue +0 -399
  652. package/src/components/rongcheng/DefectList.vue +0 -560
  653. package/src/components/rongcheng/DefectPaper.vue +0 -582
  654. package/src/components/rongcheng/PaperFeedback.vue +0 -1318
  655. package/src/components/rongcheng/PaperMessage.vue +0 -1186
  656. package/src/components/rongcheng/PaperMessageNocivil.vue +0 -1211
  657. package/src/components/rongcheng/PaperStateNoncivilm.vue +0 -366
  658. package/src/components/rongcheng/PaperStatem.vue +0 -343
  659. package/src/components/rongcheng/PhoneDevicesInfo.vue +0 -233
  660. package/src/components/rongcheng/SafecheckOrderVCli.vue +0 -2538
  661. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +0 -245
  662. package/src/components/rongcheng/report/CheckPlanAreaList.vue +0 -419
  663. package/src/components/rongcheng/report/CheckPlanUserList.vue +0 -190
  664. package/src/components/shaoguan/DefectDetail.vue +0 -177
  665. package/src/components/shaoguan/DefectMain.vue +0 -53
  666. package/src/components/shaoguan/DefectPaper.vue +0 -217
  667. package/src/components/shaoguan/PaperList.vue +0 -532
  668. package/src/components/shaoguan/SafecheckOrderV.vue +0 -2140
  669. package/src/components/tongcheng/PaperMessage.vue +0 -1270
  670. package/src/components/tongcheng/PaperMessageNocivil.vue +0 -1228
  671. package/src/filiale/Util.js +0 -325
  672. package/src/filiale/liaoyuan/android/SafecheckDevices.vue +0 -928
  673. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +0 -2383
  674. package/src/filiale/liaoyuan/android.js +0 -13
  675. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +0 -1020
  676. package/src/filiale/liaoyuan/pc/PaperList.vue +0 -628
  677. package/src/filiale/liaoyuan/pc.js +0 -13
  678. package/src/filiale/wenxi/android.js +0 -9
  679. package/src/filiale/wenxi/pc/PaperList.vue +0 -627
  680. package/src/filiale/wenxi/pc/checkmsg.vue +0 -229
  681. package/src/filiale/wenxi/pc.js +0 -12
  682. package/src/filiale/wuan/android/SafecheckOrderV.vue +0 -2235
  683. package/src/filiale/wuan/android.js +0 -14
  684. package/src/filiale/wuan/pc/PaperList.vue +0 -625
  685. package/src/filiale/wuan/pc.js +0 -12
  686. package/src/rongcheng-android.js +0 -186
  687. package/src/rongcheng.js +0 -303
  688. /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/TestData.js +0 -0
  689. /package/examples/{SafePlan-liaoyuan → SafePlan-aode-ts}/main.js +0 -0
  690. /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/TestData.js +0 -0
  691. /package/examples/{SafePlanrongcheng → SafePlan-aodezx}/main.js +0 -0
  692. /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/TestData.js +0 -0
  693. /package/examples/{SafePlan-shaoguan → SafePlan-aodezx-ts}/main.js +0 -0
  694. /package/{git → static/.gitkeep} +0 -0
@@ -2,7 +2,7 @@
2
2
  <!--<div class="app-botton" @click="back()">-->
3
3
  <!--返回<span class="glyphicon glyphicon-menu-right"></span>-->
4
4
  <!--</div>-->
5
- <div class="no-close row android-repair-order" style="background-color: #f9f9f9">
5
+ <div id="savebut" class="no-close row android-repair-order" style="background-color: #f9f9f9">
6
6
  <div class="col-sm-12 col-xs-12" >
7
7
  <ul class="nav nav-tabs" style="background:#ffffff;overflow-y: hidden">
8
8
  <li v-for="row in tabs" @click="tabSelect(row,$index)" :class="{active1: row.complete === componentName}"
@@ -36,27 +36,27 @@
36
36
  <!--<label>请输入超期原因:</label><br/>-->
37
37
  <!--<textarea style="width: 100%;" v-model=""></textarea>-->
38
38
  <!--</div>-->
39
- <div id="savebut" class="col-xs-12 col-sm-12 col-md-12 flex-between" style="margin-top: 20px;">
40
- <div class="col-xs-3 col-sm-3 col-md-3">
41
- <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="save('temp')">
39
+ <div class="col-xs-12 col-sm-12 col-md-12 flex-between" style="margin-top: 20px;justify-content: space-around;">
40
+ <div class="col-xs-3 col-sm-3 col-md-3" v-if="buttonState" v-show="buttonsty">
41
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="save('temp')" >
42
42
  临时保存
43
43
  </button>
44
44
  </div>
45
- <div class="col-xs-3 col-sm-3 col-md-3">
46
- <button class="col-sm-3 btn btn-primary" @click="save('finish')">
45
+ <div class="col-xs-3 col-sm-3 col-md-3" v-show="buttonsty">
46
+ <button class="col-sm-3 btn btn-primary" @click="save('finish')" >
47
47
  本地缓存
48
48
  </button>
49
49
  </div>
50
- <!-- <div class="col-xs-3 col-sm-3 col-md-3">
51
- <button class="col-sm-3 btn btn-primary" @click="closely()">
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-3 btn btn-primary" @click="uploadCheckPaper">
50
+ <div class="col-xs-3 col-sm-3 col-md-3" v-show="buttonsty">
51
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="uploadCheckPaper" >
57
52
  上传
58
53
  </button>
59
54
  </div>
55
+ <!-- <div class="col-xs-3 col-sm-3 col-md-3" v-show="isdisable">
56
+ <button type="button" name="button" class="col-sm-3 btn btn-primary">
57
+ 上传
58
+ </button>
59
+ </div>-->
60
60
  </div>
61
61
  </div>
62
62
  </div>
@@ -72,57 +72,38 @@
72
72
  <script>
73
73
  // 户内维修
74
74
  import Vue from 'vue'
75
- import * as Util from '../../../components/Util'
76
- // import DoorService from './DoorService'
77
- // import Pipeline from './Pipeline'
78
- // import DeviceService from './DeviceService'
79
- // import TroubleRemoval from './TroubleRemoval'
80
- // import FirstGasCheck from './FirstGasCheck'
81
- // import RepairMatterInfo from './RepairMatterInfo'
82
- // import TelChangeMatter from './TelChangeMatter'
75
+ import * as Util from '../../../Util'
76
+ import $ from 'jquery'
83
77
  import { HttpResetClass } from 'vue-client'
84
78
  import co from 'co'
85
- import $ from "jquery";
86
79
  let loadParamGem = async function (self) {
87
80
  await self.$LoadParams.loadParam()
88
81
  }
89
82
 
90
83
  export default {
91
84
  title: '安检单',
92
- props: ['f_plan_id', 'item', 'role'],
93
- // props: ['f_plan_id', 'role'],
85
+ props: ['f_plan_id', 'item', 'role','buttonState'],
94
86
  data() {
95
87
  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
88
  data: {
114
89
  f_devices: [],
115
90
  f_defect_content:'',
116
- f_recording1_path:''
91
+ f_repaired:''
117
92
  },
118
- updateuserphone:false, //安检时是否更新用户电话
119
- beforephone:'',
93
+ classnodu:false,
94
+ showmodel:false, // 控制用户基本信息中的拉黑框
95
+ backlistisselect:false, // 是否选择拉黑用户
96
+ enabled:false,//控制限制购气是否可选
97
+ cause:'', // 拉黑备注
98
+ isdisable:false,
99
+ buttonsty:true,
120
100
  isUpload:false,
121
101
  onlySave:true, //判断保存还是保存并上传
122
102
  livedispose:'',
123
103
  startClick:false, //开始安检按钮是否可点击
124
104
  isStrat: false, //是否开始安检
125
105
  checkResult:{},//查询结果
106
+ paper_f_repaired: '', // 安检单的f_repaired字段
126
107
  newcheckResult:{},
127
108
  timer: null,
128
109
  showModal: false,
@@ -179,18 +160,19 @@ export default {
179
160
  "气表型号":{"index":2,"type":"string","readonly":true},
180
161
  "气表品牌":{"index":3,"type":"string","readonly":true},
181
162
  "进气方向":{"index":4,"type":"string","readonly":true},
182
- "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
183
- "上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
163
+ // "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
164
+ "上期表读数":{"index":5,"type":"number","readonly":true,isshow:false},
165
+ "户累购气量":{"index":6,"type":"number","readonly":true},
166
+ "户累购金额":{"index":6,"type":"number","readonly":true},
184
167
  "累购气量":{"index":7,"type":"number","readonly":true},
185
168
  "累购金额":{"index":7,"type":"number","readonly":true},
186
- "已用气量":{"index":8,"type":"number","checkmust": false},//基表数
187
- "已用金额":{"index":8,"type":"number","checkmust": false},
188
- "剩余气量":{"index":9,"type":"number","checkmust": false},//累购-已用
169
+ "已用气量":{"index":8,"type":"number","checkmust": true},//基表数
170
+ "已用金额":{"index":8,"type":"number","checkmust": true},
171
+ "剩余气量":{"index":9,"type":"number","checkmust": true},//累购-已用
189
172
  //显示屏数 --实际剩余气量
190
- "剩余金额":{"index":9,"type":"number","checkmust": false},
173
+ "剩余金额":{"index":9,"type":"number","checkmust": true},
191
174
  "气量异常差值":{"index":10,"type":"number","readonly": true},
192
- "金额异常差值":{"index":10,"type":"number","readonly": true},
193
- "表箱号":{"index":11,"type":"string","readonly": true}
175
+ "金额异常差值":{"index":10,"type":"number","readonly": true}
194
176
  }
195
177
  // 注意,配置项的index必须与上面的固定配置保持'顺序'
196
178
  },
@@ -226,15 +208,17 @@ export default {
226
208
  doordetails: {},
227
209
  devicedetails: {},
228
210
  cookdetails: {},
229
- componentName: 'safecheck-userinfo',
211
+ valueInfo:{},
212
+ componentName: 'safecheck-userinfo-ts',
230
213
  header:'客户信息',
231
214
  tabs: [
215
+
232
216
  // 参数全部设置成空,在ready时,等model处理好了,再添加
233
217
  {
234
- header: '客户信息',complete:'safecheck-userinfo',class: 'repair-info-class', props: null
218
+ header: '客户信息',complete:'safecheck-userinfo-ts',class: 'repair-info-class', props: null
235
219
  },
236
220
  {
237
- header: '拍照签名',complete:'paper-feedback', class: 'outlay-class', props: null
221
+ header: '拍照签名',complete:'paper-feedback-ts', class: 'outlay-class', props: null
238
222
  }
239
223
  ],
240
224
  faultshow:{
@@ -250,34 +234,7 @@ export default {
250
234
  }
251
235
  },
252
236
  methods: {
253
- closely(){
254
- console.log("关闭录音方法,")
255
- this.$androidUtil.setPreference("audioClipShouldStop","true");
256
- },
257
- // 录音方法
258
- record() {
259
- console.log("进入开始录音record方法")
260
- if (this.role != 'inspect') {
261
- if (this.data.f_recording1_path != '') {
262
- window.location = "/rs/file"+this.data.f_recording1_path
263
- }
264
- } else {
265
- console.log("录音 record的 else")
266
- let fileName
267
- if (!this.data.f_recording1_path) {
268
- fileName = Util.guid() + '.amr'
269
- } else {
270
- fileName = Util.getFileName(this.data.f_recording1_path)
271
- }
272
- //HostApp.__this__ = this
273
- /*调用无限制录音模块*/
274
- let startOrStopState = HostApp.startOrStopAudioClip(fileName)
275
- console.log("录音返回"+JSON.stringify(startOrStopState))
276
- if (startOrStopState.code==200){
277
- this.data.f_recording1_path = "file:///storage/emulated/0/safecheck/" + fileName
278
- }
279
- }
280
- },
237
+
281
238
  saveNoclick() {
282
239
  // 禁用点击事件
283
240
  $("#savebut").addClass("noclickbut");
@@ -286,8 +243,9 @@ export default {
286
243
  // 5秒后启用点击事件
287
244
  setTimeout(function(){
288
245
  $("#savebut").removeClass("noclickbut");
289
- },5000);
246
+ },10000);
290
247
  },
248
+
291
249
  timeSet(val){
292
250
  if (!val){
293
251
  return
@@ -300,9 +258,9 @@ export default {
300
258
  },
301
259
  imgback(val,isheader){
302
260
  if(val && this.routeShow && isheader){
303
- return require('../../../assets/xiangxia1.png')
261
+ return require('../../../../assets/xiangxia1.png')
304
262
  }else{
305
- return require('../../../assets/xiangyou1.png')
263
+ return require('../../../../assets/xiangyou1.png')
306
264
  }
307
265
  },
308
266
  changediv(val){
@@ -311,51 +269,72 @@ export default {
311
269
  },
312
270
  // 选择tab
313
271
  tabSelect (item,number) {
314
- this.header = item.header
315
- console.log('item',item)
316
- console.log('number',number)
317
- console.log('this.routeShow',this.routeShow)
318
- console.log('this.number',this.number)
319
- // 处理关闭/显示 内容
320
- if(this.number == number && !this.routeShow ){
321
- this.routeShow = true
322
- }else if(this.number == number && this.routeShow){
323
- this.routeShow = false
324
- }else if(this.number != item.complete){
325
- this.routeShow = true
326
- }
327
- this.number = number
328
- this.componentName = item.complete
329
- console.log('跳转前this.routeShow',this.routeShow)
330
- if(item.complete == 'safecheck-devices'){
331
- console.log('this.data', this.data)
332
- if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
333
- this.data['device' + item.number].push({})
334
- }
335
- console.log('length', this.data['device' + item.number])
336
- console.log('this.data[\'device\' + item.number] ===> ' + JSON.stringify(this.data['device' + item.number]))
337
- let idx=this.data['device' + item.number].length - 1
338
- let itemprops = {
339
- config:this.config,
340
- device:this.devices[item.number-1],
341
- idx:idx,
342
- role:'inspect'
343
- }
344
- console.log('tabSelect函数中赋值')
345
- console.log(JSON.stringify(itemprops))
346
- console.log('itemprops.device ===> ' + JSON.stringify(itemprops.device))
347
- console.log('item.complete',item.complete)
348
- if(this.routeShow){
349
- this.$goto(item.complete, itemprops, 'repair')
350
- console.log('跳转完成')
351
- }
272
+ if(this.data.f_entry_status != '入户'){
273
+ this.$showMessage("非入户状态,拍完照后请直接进行上传!")
274
+ return
352
275
  }else{
353
- console.log('页面跳转==》',this.tabs[number])
354
- if(this.routeShow){
355
- this.$goto(item.complete, {userinfo:this.data}, 'repair')
276
+ this.header = item.header
277
+ console.log('item',item)
278
+ console.log('number',number)
279
+ console.log('this.routeShow',this.routeShow)
280
+ console.log('this.number',this.number)
281
+ // 处理关闭/显示 内容
282
+ if(this.number == number && !this.routeShow ){
283
+ this.routeShow = true
284
+ }else if(this.number == number && this.routeShow){
285
+ this.routeShow = false
286
+ }else if(this.number != item.complete){
287
+ this.routeShow = true
356
288
  }
289
+ this.number = number
290
+ this.componentName = item.complete
291
+ console.log('跳转前this.routeShow',this.routeShow)
292
+ if(item.complete == 'safecheck-devices-ts'){
293
+ console.log('this.data', this.data)
294
+ if(item.header != '燃气表' && this.data['device'+item.number].length == 0){
295
+ this.data['device' + item.number].push({})
296
+ }
297
+ console.log('length', this.data['device' + item.number])
298
+ console.log('this.data[\'device\' + item.number] ===> ' + JSON.stringify(this.data['device' + item.number]))
299
+ let idx=this.data['device' + item.number].length - 1
300
+ let itemprops = {
301
+ config:this.config,
302
+ device:this.devices[item.number-1],
303
+ idx:idx,
304
+ role:'inspect'
305
+ }
306
+ console.log('tabSelect函数中赋值')
307
+ console.log(JSON.stringify(itemprops))
308
+ console.log('itemprops.device ===> ' + JSON.stringify(itemprops.device))
309
+ console.log('item.complete',item.complete)
310
+ if(this.routeShow){
311
+ this.$goto(item.complete, itemprops, 'repair')
312
+ console.log('跳转完成')
313
+ }
314
+ }else{
315
+ console.log('页面跳转==》',this.tabs[number])
316
+ if(this.routeShow){
317
+ this.$goto(item.complete, {userinfo:this.data}, 'repair')
318
+ }
319
+ }
320
+ this.shupingshow = true
321
+ }
322
+
323
+ },
324
+ getClassimg(val){
325
+ if (val=='保险服务'){
326
+ return 'baoxian-details-class'
357
327
  }
358
- this.shupingshow = true
328
+ if (val=='燃气表'){
329
+ return 'ranqibiao-details-class'
330
+ }
331
+ if (val=='燃气器具信息'){
332
+ return 'ranqiqiju-details-class'
333
+ }
334
+ if (val=='附属设备信息'){
335
+ return 'fushushebei-details-class'
336
+ }
337
+ return 'repair-details-class'
359
338
  },
360
339
  // 给组件添加参数
361
340
  getImgPath() {
@@ -369,7 +348,7 @@ export default {
369
348
  },
370
349
  getImgGen(){
371
350
  let http = new HttpResetClass()
372
- http.load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
351
+ http.load('POST','api/af-safecheck/sql/safe_singleTable_OrderBy', {data: {
373
352
  items: '*',
374
353
  tablename: 't_files',
375
354
  condition: `id in (${this.ids})`,
@@ -417,7 +396,6 @@ export default {
417
396
  }
418
397
  this.$showMessage('所填写内容将不可恢复!', ['confirm', 'cancel']).then((res) => {
419
398
  if (res === 'confirm') {
420
- this.closely()
421
399
  _this.$back()
422
400
  }
423
401
  })
@@ -465,20 +443,15 @@ export default {
465
443
  return '到访不遇必须拍照'
466
444
  },
467
445
  verifyUser() {
468
- console.log('走了校验')
469
- console.log(this.data.f_user_phone)
470
- console.log(/^\d{11}$/.test(this.data.f_user_phone))
471
446
  let prefix = '用户基本信息:'
472
- if(Util.required(this.data.f_user_name))
473
- return prefix + '用户名必须输入'
474
- if(!(/^\d{11}$/.test(this.data.f_user_phone))) {
475
-
476
- return '请输入正确的电话号码'
477
- }
447
+ // if(Util.required(this.data.f_user_name))
448
+ // return prefix + '用户名必须输入'
449
+ if(Util.required(this.data.f_user_phone))
450
+ return prefix + '用户电话必须输入'
478
451
  // if(Util.required(this.data.f_residential_area))
479
452
  // return prefix + '小区名称必须输入'
480
- if(Util.required(this.data.f_address))
481
- return prefix + '地址必须输入'
453
+ // if(Util.required(this.data.f_address))
454
+ // return prefix + '地址必须输入'
482
455
  },
483
456
  verifyDevices() {
484
457
  for (let dev in this.config) {
@@ -505,10 +478,41 @@ export default {
505
478
  for (let item in this.data[device]) {
506
479
  //检查每一条安检结果
507
480
  if (this.data[device].length != 0 && this.data[device][item].f_device_type == dev) {
481
+ let idx=0
508
482
  for (let i in this.data[device][item].f_items) {
483
+ console.log("idx---------------------------------"+idx)
484
+ if(idx!=0){
485
+ idx=idx-1
486
+ console.log("idx---"+idx)
487
+ continue
488
+ }
509
489
  for (let it in this.config[dev].items) {
510
490
  if (it == this.data[device][item].f_items[i].f_item_name) {
511
- if (this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_item_value) {
491
+ console.log("-----this.data[device][item].f_items[i].f_item_name-----"+this.data[device][item].f_items[i].f_item_name)
492
+ console.log("-----it-----"+it)
493
+ console.log("-----this.config[dev].items[it]-----"+JSON.stringify(this.config[dev].items[it]))
494
+ console.log("-----this.data[device][item].f_items[i]-----"+JSON.stringify(this.data[device][item].f_items[i]))
495
+ if(this.data[device][item].f_items[i].correlation){
496
+ console.log("----1--"+this.data[device][item].f_items[i].correlation)
497
+ console.log("----1--"+JSON.stringify(this.data[device][item].f_items[i].options))
498
+ for(let x=0 ;x<this.data[device][item].f_items[i].options.length;x++){
499
+ console.log("---2---"+this.data[device][item].f_items[i].options[x].value)
500
+ console.log("---2---"+this.data[device][item].f_items[i].f_item_value)
501
+ if(this.data[device][item].f_items[i].options[x].value==this.data[device][item].f_items[i].f_item_value){
502
+ console.log("---2---"+this.data[device][item].f_items[i].options[x].selcorrelation)
503
+ console.log("---2---"+JSON.stringify(this.data[device][item].f_items[i].options[x]))
504
+ if(this.data[device][item].f_items[i].options[x].selcorrelation){
505
+ console.log("跳过子项非空判断")
506
+ idx=this.data[device][item].f_items[i].correlationnum
507
+ console.log("进入"+idx)
508
+ }
509
+ }
510
+ }
511
+ }
512
+ if(this.config[dev].items[it].type=='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_path){
513
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
514
+ }
515
+ if (this.config[dev].items[it].type !='picture' && this.config[dev].items[it].checkmust == true && !this.data[device][item].f_items[i].f_item_value) {
512
516
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + "未检查"
513
517
  }
514
518
  }
@@ -526,13 +530,13 @@ export default {
526
530
  }
527
531
  }
528
532
  },
529
-
530
-
531
533
  verifyFeedback() {
532
534
  let prefix = '拍照签名:'
533
535
  console.log('this.data.f_overall_imgs==>'+JSON.stringify(this.data.f_overall_imgs))
534
536
  if(Vue.android && (!this.data.f_overall_imgs || this.data.f_overall_imgs.length == 0) && this.data.f_entry_status == '入户')
535
537
  return prefix + '必须有安检总体照片'
538
+ if(Vue.android && this.data.f_overall_imgs.length<5 && this.data.f_entry_status == '入户')
539
+ return prefix + '总体安检照片低于5张照片禁止上传'
536
540
  if(Vue.android && (!this.data.f_sign_path || this.data.f_sign_path.length == 0) && this.data.f_entry_status == '入户')
537
541
  return prefix + '必须有用户签名'
538
542
  if(Vue.android && this.data.f_defect_notified && this.data.f_notified_path == Vue.nopic)
@@ -542,7 +546,6 @@ export default {
542
546
  if(!this.data.f_client_evaluation && this.data.f_entry_status == '入户')
543
547
  return prefix + '请选择服务评价'
544
548
  },
545
-
546
549
  getAllDefect() {
547
550
  let checkResults = {
548
551
  result: '正常',
@@ -554,6 +557,7 @@ export default {
554
557
  console.log('codata =====> ' + JSON.stringify(codata))
555
558
  codata.f_devices = []
556
559
  this.f_devices = []
560
+ this.paper_f_repaired = '' //默认安检单(t_check_paper)的f_repaired为未修(当这个安检单的每条安检项(t_device_items)的f_is_repaired有一条是需转维修,则安检单整体为未修,否则为''空串)
557
561
  for (let device in codata) {
558
562
  let f_device_type
559
563
  if (device.startsWith("device")) {
@@ -568,10 +572,7 @@ export default {
568
572
  // } else {
569
573
  // f_device_type = codata[device][item].f_device_type
570
574
  // }
571
- console.log("aaaaaaaaa"+device)
572
- console.log("bbbbbbbbbb"+item)
573
- console.log("ccccccccccc"+JSON.stringify(codata[device]))
574
- console.log('codata[device][item]=>',JSON.stringify(codata[device][item]))
575
+ // console.log('codata[device][item]=>',codata[device][item])
575
576
  for (let i = 0; i < codata[device][item].f_items.length ; i++) {
576
577
  console.log('i' + i)
577
578
  if(i == 'sum'){
@@ -580,6 +581,7 @@ export default {
580
581
  console.log('codata[device][item].f_items' + JSON.stringify(codata[device][item].f_items))
581
582
  var items = codata[device][item].f_items[i]
582
583
  items.f_create_time = Util.toStandardTimeString()
584
+
583
585
  console.log('之前items' + JSON.stringify(items))
584
586
  items.f_item_lists = []
585
587
  console.log('之后items' + JSON.stringify(items))
@@ -621,6 +623,7 @@ export default {
621
623
  for (let i in items.f_item_value) {
622
624
  let configItems = this.config[codata[device][item].f_device_type].items[f_item_name]
623
625
  console.log('configItems=====>' + JSON.stringify(configItems))
626
+
624
627
  for (let k in configItems.options) {
625
628
  console.log('configItems.options[k]==>' + JSON.stringify(configItems.options[k]))
626
629
  if (items.f_item_value[i] === configItems.options[k].data) {
@@ -632,7 +635,6 @@ export default {
632
635
  console.log('f_is_defect=====>' + f_is_defect)
633
636
  console.log('f_item_value=====>' + f_item_value)
634
637
  console.log('f_defect_level=====>' + f_defect_level)
635
-
636
638
  if (f_is_defect) {
637
639
  if (checkResults.result !== '有隐患') {
638
640
  checkResults.result = '有隐患'
@@ -642,6 +644,7 @@ export default {
642
644
  this.checkResult[f_item_name] = []
643
645
  }
644
646
 
647
+
645
648
  console.log(`The ${f_item_name} was pushed ${f_item_value}`)
646
649
  this.checkResult[f_item_name].push(f_item_value)
647
650
 
@@ -675,12 +678,13 @@ export default {
675
678
  } else {
676
679
  let configItems = this.config[codata[device][item].f_device_type].items[items.f_item_name]
677
680
  console.log('configItems===>' + JSON.stringify(configItems))
678
- f_is_defect = configItems.isdefect
679
- f_defect_level = configItems.level
681
+ f_is_defect = items.f_is_defect
682
+ f_defect_level = items.f_defect_level
680
683
  f_item_value = items.f_item_value
681
684
  console.log('else f_is_defect=====>' + f_is_defect)
682
685
  console.log('else f_defect_level=====>' + f_defect_level)
683
686
  console.log('items.f_item_value==>' + items.f_item_value)
687
+
684
688
  let items_list = {
685
689
  f_is_defect: f_is_defect,
686
690
  f_item_value: f_item_value,
@@ -689,9 +693,12 @@ export default {
689
693
  }
690
694
  if (f_is_defect && f_item_value) {
691
695
  items.f_is_defect = true
696
+
692
697
  if (checkResults.result !== '有隐患') {
693
698
  checkResults.result = '有隐患'
699
+
694
700
  }
701
+
695
702
  if (!this.checkResult.hasOwnProperty(items.f_item_name)) {
696
703
  console.log(`The ${items.f_item_name} initialized`)
697
704
  this.checkResult[items.f_item_name] = []
@@ -721,6 +728,11 @@ export default {
721
728
  }
722
729
  }
723
730
  }
731
+ // 无隐患
732
+ if ( this.paper_f_repaired != '未修' && items.f_is_repaired == '需转维修' && (items.f_is_defect && (items.f_is_defect == true || items.f_is_defect == 'true')) ) {
733
+ //默认安检单(t_check_paper)的f_repaired为空串(当这个安检单的每条安检项(t_device_items)的f_is_repaired有一条是需转维修,则安检单整体为未修,否则为''空串)
734
+ this.paper_f_repaired = '未修'
735
+ }
724
736
  if (hasOther !== '' && otherValue !== null) {
725
737
  console.log(`The other value was pushed.`)
726
738
  this.checkResult[hasOther].push(otherValue)
@@ -752,14 +764,17 @@ export default {
752
764
  console.log(`typeof-checkResults-->${typeof checkResults}`)
753
765
  console.log('checkResults ==> ' + JSON.stringify(checkResults))
754
766
  codata.f_defect_content = JSON.stringify(checkResults)
767
+ codata.f_repaired = this.paper_f_repaired //
755
768
  this.data.f_defect_content = JSON.stringify(checkResults)
769
+ this.data.f_repaired = this.paper_f_repaired
756
770
  console.log('f_defect_content' + codata.f_defect_content)
757
771
  return codata
758
772
  },
759
773
  uploadCheckPaper(){
760
774
  this.saveNoclick()
761
- console.log('禁用事件完成')
762
775
  console.log('进入上传')
776
+ // 进入上传后,设置上传按钮显示值 isdisable
777
+ this.isdisable = true
763
778
  let errString = this.errorVerify()
764
779
  if (errString) {
765
780
  console.log(errString)
@@ -770,7 +785,10 @@ export default {
770
785
  // this.isUpload = false
771
786
  // }
772
787
  this.$showMessage(errString)
788
+ this.isdisable = false
773
789
  }
790
+ this.isdisable = false
791
+ $("#savebut").removeClass("noclickbut");
774
792
  return
775
793
  } else {
776
794
  this.$set('data.f_offsite_time', Util.toStandardTimeString())
@@ -780,7 +798,7 @@ export default {
780
798
  this.data.f_complete = '已完成'
781
799
  this.disableTimer()
782
800
  }
783
- console.log('uploadCheckPaper-->isUpload'+this.isUpload)
801
+ console.log('uploadCheckrr-->isUpload'+this.isUpload)
784
802
  this.onlySave = false
785
803
  let res = this.save()
786
804
  // if(res) {
@@ -926,11 +944,8 @@ export default {
926
944
  // }
927
945
  },
928
946
  save(type) {
929
- // 关闭录音方法
930
- this.closely()
931
- //禁用事件
932
947
  this.saveNoclick()
933
- console.log('禁用事件完成')
948
+ this.classnodu = true
934
949
  console.log('进入保存')
935
950
  if(type == 'temp'){
936
951
  this.data.f_complete = '未完成'
@@ -944,6 +959,7 @@ export default {
944
959
  if (Vue.android){
945
960
  this.$showMessage(errString)
946
961
  }
962
+ $("#savebut").removeClass("noclickbut");
947
963
  return
948
964
  } else {
949
965
  this.data.f_complete = '已完成'
@@ -951,6 +967,7 @@ export default {
951
967
  this.disableTimer()
952
968
  }
953
969
  }
970
+
954
971
  console.log("是否被拉黑-"+this.data.f_blacklist)
955
972
  if(this.data.f_blacklist!='是'){
956
973
  delete this.data.f_blocking_cause
@@ -971,7 +988,7 @@ export default {
971
988
  if (Vue.android) {
972
989
  console.log('Vue.android is true')
973
990
  let value = this.$androidUtil.path({
974
- alias: 'getUserinfomation',
991
+ alias: 'getUserinfomationTS',
975
992
  data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
976
993
  })
977
994
  console.log('getUserinfomation value ==> ' + JSON.stringify(value))
@@ -1020,7 +1037,7 @@ export default {
1020
1037
  HostApp.__this__ = this
1021
1038
  HostApp.syncLogic({
1022
1039
  // logic别名,key必须为logic
1023
- 'logic': 'SafeSaveNoPaper',
1040
+ 'logic': 'SafeSaveNoPaperTS',
1024
1041
  // 回调执行方法名,key必须为callback
1025
1042
  'callback': 'javascript:HostApp.__this__.saveCallBack()',
1026
1043
  // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
@@ -1074,7 +1091,7 @@ export default {
1074
1091
  HostApp.__this__ = this
1075
1092
  HostApp.syncLogic({
1076
1093
  // logic别名,key必须为logic
1077
- 'logic': '保存安检单信息',
1094
+ 'logic': '保存安检单信息TS',
1078
1095
  // 回调执行方法名,key必须为callback
1079
1096
  'callback': 'javascript:HostApp.__this__.saveCallBack()',
1080
1097
  // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
@@ -1087,12 +1104,12 @@ export default {
1087
1104
  } else {
1088
1105
  console.log("保存的值", codata)
1089
1106
  let value = this.$androidUtil.path({
1090
- alias: 'getUserinfomation',
1107
+ alias: 'getUserinfomationTS',
1091
1108
  data: {condition: "f_userinfoid = '" + this.item.f_userinfoid + "' and f_no_checkplan = '无计划安检'"}
1092
1109
  })
1093
1110
 
1094
1111
  if (this.item.f_no_checkplan == '无计划安检' && value.data.length == 0 && this.item.f_no_checkplan != '打回') {
1095
- this.$androidUtil.bzLogic('SafeSaveNoPaper', {
1112
+ this.$androidUtil.bzLogic('SafeSaveNoPaperTS', {
1096
1113
  f_check_item_id: this.data.f_check_item_id,
1097
1114
  f_checker_id: this.data.f_checker_id,
1098
1115
  f_upload_state: '未传',
@@ -1100,7 +1117,7 @@ export default {
1100
1117
  }).then((res) => {
1101
1118
  if (res.data.code == 200) {
1102
1119
  //保存devices
1103
- this.$androidUtil.bzLogic('getPaperInfo', {
1120
+ this.$androidUtil.bzLogic('getPaperInfoTS', {
1104
1121
  f_check_item_id: this.data.f_check_item_id
1105
1122
  }).then((res) => {
1106
1123
  console.log(`查询paper结果res======${res}`)
@@ -1110,7 +1127,7 @@ export default {
1110
1127
  for (let device of this.f_devices) {
1111
1128
  device.f_paper_id = f_paper_id
1112
1129
  console.log('设备信息device======', device)
1113
- this.$androidUtil.bzLogic('saveDevice', {
1130
+ this.$androidUtil.bzLogic('saveDeviceTS', {
1114
1131
  row: device
1115
1132
  }).then((ret) => {
1116
1133
  console.log(`保存设备信息结果res======`, ret)
@@ -1120,6 +1137,7 @@ export default {
1120
1137
  // }
1121
1138
  //TODO 失败后处理
1122
1139
  this.$showMessage("保存失败!")
1140
+ this.classnodu = false
1123
1141
  return false
1124
1142
  }
1125
1143
  })
@@ -1134,11 +1152,12 @@ export default {
1134
1152
  // this.isUpload = false
1135
1153
  // }
1136
1154
  this.$showMessage("保存失败!")
1155
+ this.classnodu = false
1137
1156
  return false
1138
1157
  }
1139
1158
  })
1140
1159
  } else {
1141
- this.$androidUtil.bzLogic('保存安检单信息', {
1160
+ this.$androidUtil.bzLogic('保存安检单信息TS', {
1142
1161
  f_check_item_id: this.data.f_check_item_id,
1143
1162
  f_checker_id: this.data.f_checker_id,
1144
1163
  row: codata
@@ -1146,7 +1165,7 @@ export default {
1146
1165
  console.log('asdddddddddddddddddddddddddddddd')
1147
1166
  if (res.data.code == 200) {
1148
1167
  //保存devices
1149
- this.$androidUtil.bzLogic('getPaperInfo', {
1168
+ this.$androidUtil.bzLogic('getPaperInfoTS', {
1150
1169
  f_check_item_id: this.data.f_check_item_id
1151
1170
  }).then((res) => {
1152
1171
  console.log(`查询paper结果res======${res}`)
@@ -1156,7 +1175,7 @@ export default {
1156
1175
  for (let device of this.f_devices) {
1157
1176
  device.f_paper_id = f_paper_id
1158
1177
  console.log(`设备信息device======${device}`)
1159
- this.$androidUtil.bzLogic('saveDevice', {
1178
+ this.$androidUtil.bzLogic('saveDeviceTS', {
1160
1179
  row: device
1161
1180
  }).then((ret) => {
1162
1181
  console.log(`保存设备信息结果res======${ret}`)
@@ -1166,6 +1185,7 @@ export default {
1166
1185
  // }
1167
1186
  //TODO 失败后处理
1168
1187
  this.$showMessage("保存失败!")
1188
+ this.classnodu = false
1169
1189
  return false
1170
1190
  }
1171
1191
  })
@@ -1180,6 +1200,7 @@ export default {
1180
1200
  // this.isUpload = false
1181
1201
  // }
1182
1202
  this.$showMessage("保存失败!")
1203
+ this.classnodu = false
1183
1204
  return false
1184
1205
  }
1185
1206
  })
@@ -1218,6 +1239,7 @@ export default {
1218
1239
  })
1219
1240
  },
1220
1241
  saveCallBack(jo){
1242
+ this.isdisable = false
1221
1243
  console.log(JSON.stringify(jo))
1222
1244
  if(jo.state == 'ok'){
1223
1245
  let res = JSON.parse(jo.result)
@@ -1228,7 +1250,7 @@ export default {
1228
1250
  let codata = this.getAllDefect()
1229
1251
  //获取微信推送内容
1230
1252
  // let WxResult = this.getWeixin(codata)
1231
- let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1253
+ let haslivedispose = this.$androidUtil.bzLogic('getLiveDisposeTS', {
1232
1254
  f_check_item_id: this.data.f_check_item_id
1233
1255
  })
1234
1256
  //如果是转维修上传,则不做校验,上传完成后自动转维修
@@ -1288,7 +1310,7 @@ export default {
1288
1310
  HostApp.__this__ = this
1289
1311
  HostApp.syncLogic({
1290
1312
  // logic别名,key必须为logic
1291
- 'logic': '上传安检信息',
1313
+ 'logic': '上传安检信息TS',
1292
1314
  // 回调执行方法名,key必须为callback
1293
1315
  'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1294
1316
  // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
@@ -1306,10 +1328,12 @@ export default {
1306
1328
  }
1307
1329
  }else{
1308
1330
  this.$showMessage('保存失败!')
1331
+ this.classnodu = false
1309
1332
  return
1310
1333
  }
1311
1334
  }else{
1312
- this.$showMessage('服务器内部错误,保存失败!')
1335
+ this.$showMessage('移动网络异常,请稍后再试,保存失败!')
1336
+ this.classnodu = false
1313
1337
  return
1314
1338
  }
1315
1339
  },
@@ -1363,15 +1387,27 @@ export default {
1363
1387
  // this.$back()
1364
1388
  }
1365
1389
  }else if(res.code == 309){
1366
- this.$showMessage('该安检单已作废!')
1367
- console.log('该安检单已作废')
1368
- this.$dispatch('confirm')
1369
- }else{
1390
+ this.$showMessage('该安检单已作废,无法上传!')
1391
+ return
1392
+ }else if(res.code == 710){
1393
+ this.$showMessage('用户签名或安检照片缺失,请检查用户签名及安检照片!')
1394
+ return
1395
+ }else if(res.code == 711){
1396
+ this.$showMessage('该安检单已被管理员调整,请联系管理员!')
1397
+ return
1398
+ }else if(res.code == 712){
1399
+ this.$showMessage('网络异常,请重新上传,多次上传失败请联系管理员!')
1400
+ return
1401
+ }else if(res.code == 308) {
1402
+ return this.$showMessage('上次安检是到访不遇,距离现在不超过1天,禁止提交')
1403
+ }else {
1404
+ this.classnodu = false
1370
1405
  this.$showMessage('上传失败!')
1371
1406
  this.onlySave = true
1372
1407
  }
1373
1408
  }else {
1374
- this.$showMessage('服务器内部错误,上传失败!')
1409
+ this.$showMessage('移动网络异常,请稍后再试,上传失败!')
1410
+ this.classnodu = false
1375
1411
  this.onlySave = true
1376
1412
  }
1377
1413
  },
@@ -1386,15 +1422,18 @@ export default {
1386
1422
  this.$showMessage('上传并转维修成功!')
1387
1423
  }else{
1388
1424
  this.$showMessage('上传并转维修成功,回写安检单失败!')
1425
+ this.classnodu = false
1389
1426
  }
1390
1427
  this.$dispatch('confirm')
1391
1428
  // this.$back()
1392
1429
  }else{
1393
1430
  this.$showMessage('上传失败!')
1431
+ this.classnodu = false
1394
1432
  this.onlySave = true
1395
1433
  }
1396
1434
  }else{
1397
- this.$showMessage('服务器内部错误,上传失败!')
1435
+ this.$showMessage('移动网络异常,请稍后再试,上传失败!')
1436
+ this.classnodu = false
1398
1437
  this.onlySave = true
1399
1438
  }
1400
1439
  },
@@ -1422,7 +1461,7 @@ export default {
1422
1461
  } else {
1423
1462
  Util.booleanFilter(paper)
1424
1463
  HostApp.__this__.$set('data', paper)
1425
- HostApp.__this__.$goto('safecheck-userinfo', {}, 'paper-router')
1464
+ HostApp.__this__.$goto('safecheck-userinfo-ts', {}, 'paper-router')
1426
1465
  // 如果打回重检则重新计时
1427
1466
  console.log('HostApp.__this__.role' + HostApp.__this__.role + ' HostApp.__this__.f_approved:' + HostApp.__this__.data.f_approved)
1428
1467
  if(HostApp.__this__.role == 'inspect'
@@ -1460,7 +1499,7 @@ export default {
1460
1499
  return obj;
1461
1500
  },
1462
1501
  // async isoverDate(){
1463
- // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/androidGetuserinfo`, {data:{
1502
+ // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
1464
1503
  // condition:"f_plan_item_id='"+this.item.id+"'"
1465
1504
  // }
1466
1505
  // })
@@ -1468,7 +1507,7 @@ export default {
1468
1507
  // },
1469
1508
  putDevices() {
1470
1509
  console.log('Vue.config => ' + JSON.stringify(Vue.config))
1471
- console.log('Vue.config.DevicesConfig => ' + JSON.stringify(Vue.config.DevicesConfig))
1510
+ console.log('Vue.config.safecheck.DevicesConfig => ' + JSON.stringify(Vue.config.safecheck.DevicesConfig))
1472
1511
  this.$set('data.approve', "true")
1473
1512
  this.$set('data.writeback', "false")
1474
1513
  if (Vue.config.safecheck != undefined) {
@@ -1492,31 +1531,78 @@ export default {
1492
1531
 
1493
1532
  if (Vue.config.safecheck.DevicesConfig != undefined){
1494
1533
  if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1534
+ //this.config = Object.assign({}, Vue.config.safecheck.DevicesConfig,this.config)
1495
1535
  this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1536
+ // this.config=this.extend({},this.config,Vue.config.safecheck.DevicesConfig)
1496
1537
  }else{
1497
- console.log("看看数据Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type]------"+Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type])
1498
- console.log("当前用户类型-Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]"+Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type])
1499
- console.log("当前用户类型"+Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1500
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1538
+ // 客户需要区分外部安检项 并且后续不会变动 将此项放到SafeDevicesVersion的TS中
1539
+ this.config = this.extend(this.config, Vue.config.safecheck.SafeDevicesVersion.TS[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1501
1540
  }
1502
- // this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1503
1541
  }
1504
1542
  }else {
1505
- // 非民用
1543
+ // 非民用说不动 后续如果需要的话也可以将此项放到SafeDevicesVersion的TS中
1506
1544
  if (Vue.config.safecheck.DevicesSetConfig != undefined){
1507
1545
  if(this.item.f_safecheck_type == undefined || this.item.f_safecheck_type == '' || Vue.config.safecheck.SafecheckType == undefined) {
1546
+ //this.config = Object.assign({}, Vue.config.safecheck.DevicesSetConfig,this.config)
1508
1547
  this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1509
1548
  }else{
1510
- console.log("看看数据Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type]------"+Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type])
1511
- console.log("当前用户类型-Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]"+Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type])
1512
- console.log("当前用户类型"+Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1513
1549
  this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_user_type]])
1514
1550
  }
1515
- //this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1516
1551
  }
1517
1552
  }
1518
1553
 
1519
1554
  }
1555
+ if(this.item.f_plan_meters.length > 0 && this.item.f_plan_meters[0].f_meter_type=='物联网表'){
1556
+ console.log("是物联网表")
1557
+ let rqb={
1558
+ "checkmust":true,
1559
+ "index":1,
1560
+ "items":{
1561
+ //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
1562
+ "基表编号":{"index":1,"type":"string","readonly":true},
1563
+ "气表型号":{"index":2,"type":"string","readonly":true},
1564
+ "气表品牌":{"index":3,"type":"string","readonly":true},
1565
+ "进气方向":{"index":4,"type":"string","readonly":true},
1566
+ // "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
1567
+ "上期表读数":{"index":5,"type":"number","readonly":true,isshow:false},
1568
+ "表读数":{"index":6,"type":"number","readonly":true},
1569
+ "表剩余金额":{"index":7,"type":"number","readonly":true},
1570
+ "字轮数":{"index":8,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},//基表数
1571
+ "表余额":{"index":9,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},
1572
+ //显示屏数 --实际剩余气量
1573
+ "表数异常差值":{"index":10,"type":"number","readonly": true},
1574
+ "表金额异常差值":{"index":11,"type":"number","readonly": true}
1575
+ }
1576
+ }
1577
+ this.config["燃气表"]=rqb
1578
+ }else{
1579
+ let rqb={
1580
+ "checkmust":true,
1581
+ "index":1,
1582
+ "items":{
1583
+ //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
1584
+ "基表编号":{"index":1,"type":"string","readonly":true},
1585
+ "气表型号":{"index":2,"type":"string","readonly":true},
1586
+ "气表品牌":{"index":3,"type":"string","readonly":true},
1587
+ "进气方向":{"index":4,"type":"string","readonly":true},
1588
+ // "初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
1589
+ "上期表读数":{"index":5,"type":"number","readonly":true,isshow:false},
1590
+ "户累购气量":{"index":6,"type":"number","readonly":true},
1591
+ "户累购金额":{"index":6,"type":"number","readonly":true},
1592
+ "累购气量":{"index":7,"type":"number","readonly":true},
1593
+ "累购金额":{"index":7,"type":"number","readonly":true},
1594
+ "已用气量":{"index":8,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},//基表数
1595
+ "已用金额":{"index":8,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},
1596
+ "剩余气量":{"index":9,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},//累购-已用
1597
+ //显示屏数 --实际剩余气量
1598
+ "剩余金额":{"index":9,"type":"number","checkmust": this.item.f_user_type == '民用'? true: false,"readonly": this.item.f_user_type == '民用'? false: true},
1599
+ "气量异常差值":{"index":10,"type":"number","readonly": true},
1600
+ "金额异常差值":{"index":10,"type":"number","readonly": true}
1601
+ }
1602
+ // 注意,配置项的index必须与上面的固定配置保持'顺序'
1603
+ }
1604
+ this.config["燃气表"]=rqb
1605
+ }
1520
1606
  console.log('赋值后的config=>' + JSON.stringify(this.config))
1521
1607
  // 预留设备项位置
1522
1608
  for (let i in this.config) {
@@ -1529,7 +1615,7 @@ export default {
1529
1615
  console.log('type '+ typeof n)
1530
1616
  this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
1531
1617
  this.$set('data.' + 'device' + n, [])
1532
- console.log('data.device'+ n,this.data)
1618
+ console.log('data.device'+ n,JSON.stringify(this.data))
1533
1619
  // this.tabs.splice(2 + n - 1, 0,
1534
1620
  // {
1535
1621
  // header:i,
@@ -1537,10 +1623,12 @@ export default {
1537
1623
  // class:'repair-details-class',
1538
1624
  // number:n
1539
1625
  // })
1626
+ let aa='device'+n
1627
+ console.log(i)
1540
1628
  this.tabs[n] = {
1541
1629
  header: i,
1542
- complete: 'safecheck-devices',
1543
- class: 'repair-details-class',
1630
+ complete: 'safecheck-devices-ts',
1631
+ class: this.getClassimg(i),
1544
1632
  number: n
1545
1633
  }
1546
1634
 
@@ -1578,7 +1666,7 @@ export default {
1578
1666
  this.faultshow.number = this.tabs.length
1579
1667
  },
1580
1668
  init () {
1581
- console.log("123456789aaaaaaaaaaaaaaaaaaaa")
1669
+ console.log("123456789"+JSON.stringify(this.item))
1582
1670
  // this.data.f_noplan_item_id = this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()+""+this.S4()
1583
1671
  this.data.ename = Vue.user.ename
1584
1672
  this.data.f_outlets = Vue.user.f_parentname
@@ -1600,16 +1688,23 @@ export default {
1600
1688
  this.data.f_filialeid = this.item.f_filialeid
1601
1689
  this.data.f_orgstr = this.item.f_orgstr
1602
1690
  this.data.version = this.item.version
1691
+ this.data.f_check_version = this.item.f_check_version
1692
+ this.data.f_year_plan_id = this.item.f_year_plan_id
1693
+ this.data.f_meter_classify = this.item.f_plan_meters.length > 0 ? this.item.f_plan_meters[0].f_meter_type : ''
1603
1694
  this.$set('data.f_meters', this.item.f_plan_meters)
1604
1695
  this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1696
+ // this.$set('data.f_airintake_seal_no',this.item.f_plan_meters[0].f_airintake_seal_no)
1697
+ // this.$set('data.f_airouttake_seal_no',this.item.f_plan_meters[0].f_airouttake_seal_no)
1605
1698
  // 安检状态
1606
1699
  this.$set('data.f_entry_status', '入户')
1607
1700
  this.$set('data.f_usegas', '已使用')
1608
1701
  this.$set('data.f_state',this.item.f_state)
1609
- console.log('设置参数3')
1702
+ this.$set('data.f_novisit_reason',null)//到访不遇备注
1703
+ console.log('设置参数3'+this.data.f_check_version)
1610
1704
  // 用户信息
1611
1705
  this.$set('data.f_user_name', this.item.f_user_name)
1612
1706
  this.$set('data.f_user_phone', this.item.f_user_phone)
1707
+ this.$set('data.f_user_phone2', this.item.f_user_phone2)
1613
1708
  this.$set('data.f_userinfoid', this.item.f_userinfoid)
1614
1709
  this.$set('data.f_address', this.item.f_address)
1615
1710
  this.$set('data.f_card_id', this.item.f_card_id)
@@ -1624,6 +1719,8 @@ export default {
1624
1719
  this.$set('data.f_idnumber', this.item.f_idnumber)
1625
1720
  this.$set('data.f_comments', this.item.f_comments)
1626
1721
  this.$set('data.f_userproperties', this.item.f_userproperties)
1722
+ this.$set('data.f_remark', this.item.f_remark)
1723
+ this.$set('data.f_open_date', this.item.f_open_date)
1627
1724
  // this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
1628
1725
  // this.$set('data.f_user_check_time', this.item.f_user_check_time)
1629
1726
  // this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
@@ -1638,13 +1735,14 @@ export default {
1638
1735
  if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
1639
1736
  this.data.f_check_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
1640
1737
  }
1738
+ console.log("this.config------11111"+JSON.stringify(this.config))
1641
1739
  console.log("item.f_plan_meters",this.item.f_plan_meters)
1642
1740
  if(this.item.f_plan_meters) {
1643
1741
  for (let de in this.devices) {
1644
1742
  this.$set('data.device' + this.devices[de].n, [])
1645
1743
  for (let i = 0; i < this.item.f_plan_meters.length; i++) {
1646
1744
  if (this.item.f_plan_meters[i].f_meter_type) {
1647
- console.log('this.item.f_plan_meters[i] ===> ' + JSON.stringify(this.item.f_plan_meters[i]))
1745
+ console.log('this.item.f_plan_meters[i] ===>1 ' + JSON.stringify(this.item.f_plan_meters[i]))
1648
1746
  if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1649
1747
  this.data['device' + this.devices[de].n].push({
1650
1748
  f_device_type: "燃气表",
@@ -1693,20 +1791,10 @@ export default {
1693
1791
  f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1694
1792
  f_path: "",
1695
1793
  type: "number"
1696
- },
1697
- {
1698
- f_defect_level: null,
1699
- f_device_id: "",
1700
- f_is_defect: "",
1701
- f_item_name: "表箱号",
1702
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
1703
- f_path: "",
1704
- type: "string"
1705
1794
  }
1706
1795
  ]
1707
1796
  })
1708
- }
1709
- else if (this.devices[de].device == "燃气表") {
1797
+ } else if (this.devices[de].device == "燃气表") {
1710
1798
  // delete this.config['燃气表']['items']['表底数']
1711
1799
  this.data['device' + this.devices[de].n].push({
1712
1800
  f_device_type: "燃气表",
@@ -1755,20 +1843,85 @@ export default {
1755
1843
  f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1756
1844
  f_path: "",
1757
1845
  type: "number"
1846
+ }
1847
+ ]
1848
+ })
1849
+ }
1850
+ console.log("this.config-----xxxxx-"+i+"----"+JSON.stringify(this.config))
1851
+ console.log("当前表类型--------------"+this.item.f_plan_meters[i].f_meter_type)
1852
+ if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type=='物联网表'){
1853
+ console.log("没有this.item.f_plan_meters[i].f_collection_type")
1854
+ this.data['device' + this.devices[de].n].forEach(device => {
1855
+ console.log('device ===> ' + JSON.stringify(device))
1856
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1857
+ device.f_items.push(
1858
+ /*{
1859
+ f_defect_level: null,
1860
+ f_device_id: "",
1861
+ f_is_defect: "",
1862
+ f_item_name: "初始表底",
1863
+ isshow: true,
1864
+ f_item_value: this.item.f_plan_meters[i].f_initial_base,
1865
+ f_path: "",
1866
+ type: "number"
1867
+ },*/
1868
+ {
1869
+ f_defect_level: null,
1870
+ f_device_id: "",
1871
+ f_is_defect: "",
1872
+ f_item_name: "表读数",
1873
+ f_item_value: this.item.f_plan_meters[i].f_meter_base,
1874
+ f_path: "",
1875
+ type: "number"
1758
1876
  },
1759
1877
  {
1760
1878
  f_defect_level: null,
1761
1879
  f_device_id: "",
1762
1880
  f_is_defect: "",
1763
- f_item_name: "表箱号",
1764
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
1881
+ f_item_name: "表剩余金额",
1882
+ f_item_value: this.item.f_plan_meters[i].f_balance_amount,
1765
1883
  f_path: "",
1766
- type: "string"
1884
+ type: "number"
1885
+ },
1886
+ {
1887
+ f_defect_level: null,
1888
+ f_device_id: "",
1889
+ f_is_defect: "",
1890
+ f_item_name: "字轮数",
1891
+ f_item_value: '',
1892
+ f_path: "",
1893
+ type: "number"
1894
+ },
1895
+ {
1896
+ f_defect_level: null,
1897
+ f_device_id: "",
1898
+ f_is_defect: "",
1899
+ f_item_name: "表余额",
1900
+ f_item_value: null,
1901
+ f_path: "",
1902
+ type: "number"
1903
+ },{
1904
+ f_defect_level: null,
1905
+ f_device_id: "",
1906
+ f_is_defect: "",
1907
+ f_item_name: "表数异常差值",
1908
+ f_item_value: null,
1909
+ f_path: "",
1910
+ type: "number"
1911
+ },
1912
+ {
1913
+ f_defect_level: null,
1914
+ f_device_id: "",
1915
+ f_is_defect: "",
1916
+ f_item_name: "表金额异常差值",
1917
+ f_item_value: null,
1918
+ f_path: "",
1919
+ type: "number"
1767
1920
  }
1768
- ]
1921
+ )
1922
+ console.log('this.config[\'燃气表\'][\'items\'] --->0 ' + JSON.stringify(this.config['燃气表']['items']))
1769
1923
  })
1770
- }
1771
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1924
+ } else if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
1772
1925
  this.data['device' + this.devices[de].n].forEach(device => {
1773
1926
  console.log('device ===> ' + JSON.stringify(device))
1774
1927
  console.log('this.item.f_plan_meters[i].f_collection_type ===> ' + JSON.stringify(this.item.f_plan_meters[i].f_collection_type))
@@ -1785,18 +1938,28 @@ export default {
1785
1938
  if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
1786
1939
  if (!this.data.f_collection_type) {
1787
1940
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
1941
+ delete this.config['燃气表']['items']['户累购气量']
1788
1942
  delete this.config['燃气表']['items']['累购气量']
1789
1943
  delete this.config['燃气表']['items']['已用气量']
1790
1944
  delete this.config['燃气表']['items']['剩余气量']
1791
1945
  delete this.config['燃气表']['items']['气量异常差值']
1792
1946
  device.f_items.push(
1947
+ // {
1948
+ // f_defect_level: null,
1949
+ // f_device_id: "",
1950
+ // f_is_defect: "",
1951
+ // f_item_name: "初始表底",
1952
+ // isshow: false,
1953
+ // f_item_value: '',
1954
+ // f_path: "",
1955
+ // type: "number"
1956
+ // },
1793
1957
  {
1794
1958
  f_defect_level: null,
1795
1959
  f_device_id: "",
1796
1960
  f_is_defect: "",
1797
- f_item_name: "初始表底",
1798
- isshow: false,
1799
- f_item_value: '',
1961
+ f_item_name: "户累购金额",
1962
+ f_item_value: this.item.f_plan_meters[i].f_history_fee,
1800
1963
  f_path: "",
1801
1964
  type: "number"
1802
1965
  },
@@ -1837,23 +2000,33 @@ export default {
1837
2000
  type: "number"
1838
2001
  }
1839
2002
  )
1840
- console.log('this.config[\'燃气表\'][\'items\'] ===> ' + JSON.stringify(this.config['燃气表']['items']))
2003
+ console.log('this.config[\'燃气表\'][\'items\'] ===>1 ' + JSON.stringify(this.config['燃气表']['items']))
1841
2004
  }
1842
2005
  } else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
1843
2006
  if (!this.data.f_collection_type) {
1844
2007
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2008
+ delete this.config['燃气表']['items']['户累购金额']
1845
2009
  delete this.config['燃气表']['items']['累购金额']
1846
2010
  delete this.config['燃气表']['items']['已用金额']
1847
2011
  delete this.config['燃气表']['items']['剩余金额']
1848
2012
  delete this.config['燃气表']['items']['金额异常差值']
1849
2013
  device.f_items.push(
2014
+ // {
2015
+ // f_defect_level: null,
2016
+ // f_device_id: "",
2017
+ // f_is_defect: "",
2018
+ // f_item_name: "初始表底",
2019
+ // isshow: true,
2020
+ // f_item_value: this.item.f_plan_meters[i].f_initial_base,
2021
+ // f_path: "",
2022
+ // type: "number"
2023
+ // },
1850
2024
  {
1851
2025
  f_defect_level: null,
1852
2026
  f_device_id: "",
1853
2027
  f_is_defect: "",
1854
- f_item_name: "初始表底",
1855
- isshow: true,
1856
- f_item_value: this.item.f_plan_meters[i].f_initial_base,
2028
+ f_item_name: "户累购气量",
2029
+ f_item_value: this.item.f_plan_meters[i].f_history_gas,
1857
2030
  f_path: "",
1858
2031
  type: "number"
1859
2032
  },
@@ -1880,7 +2053,7 @@ export default {
1880
2053
  f_device_id: "",
1881
2054
  f_is_defect: "",
1882
2055
  f_item_name: "剩余气量",
1883
- f_item_value: "",
2056
+ f_item_value: '',
1884
2057
  f_path: "",
1885
2058
  type: "number"
1886
2059
  },
@@ -1894,23 +2067,23 @@ export default {
1894
2067
  type: "number"
1895
2068
  }
1896
2069
  )
1897
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
2070
+ console.log('this.config[\'燃气表\'][\'items\'] --->2 ' + JSON.stringify(this.config['燃气表']['items']))
1898
2071
  }
1899
2072
  }
1900
2073
  })
1901
- }
1902
- else if(this.devices[de].device == "燃气表"){
2074
+ }else if(this.devices[de].device == "燃气表"){
1903
2075
  console.log("没有this.item.f_plan_meters[i].f_collection_type")
1904
2076
  this.data['device' + this.devices[de].n].forEach(device => {
1905
2077
  console.log('device ===> ' + JSON.stringify(device))
1906
2078
  if (!this.data.f_collection_type) {
1907
2079
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2080
+ delete this.config['燃气表']['items']['户累购金额']
1908
2081
  delete this.config['燃气表']['items']['累购金额']
1909
2082
  delete this.config['燃气表']['items']['已用金额']
1910
2083
  delete this.config['燃气表']['items']['剩余金额']
1911
2084
  delete this.config['燃气表']['items']['金额异常差值']
1912
2085
  device.f_items.push(
1913
- {
2086
+ /*{
1914
2087
  f_defect_level: null,
1915
2088
  f_device_id: "",
1916
2089
  f_is_defect: "",
@@ -1919,7 +2092,7 @@ export default {
1919
2092
  f_item_value: this.item.f_plan_meters[i].f_initial_base,
1920
2093
  f_path: "",
1921
2094
  type: "number"
1922
- },
2095
+ },*/
1923
2096
  {
1924
2097
  f_defect_level: null,
1925
2098
  f_device_id: "",
@@ -1952,20 +2125,343 @@ export default {
1952
2125
  f_device_id: "",
1953
2126
  f_is_defect: "",
1954
2127
  f_item_name: "气量异常差值",
1955
- isshow:false,
1956
2128
  f_item_value: null,
1957
2129
  f_path: "",
1958
2130
  type: "number"
1959
2131
  }
1960
2132
  )
1961
- console.log('this.config[\'燃气表\'][\'items\'] ---> ' + JSON.stringify(this.config['燃气表']['items']))
2133
+ console.log('this.config[\'燃气表\'][\'items\'] --->3 ' + JSON.stringify(this.config['燃气表']['items']))
1962
2134
  }
1963
2135
  })
1964
2136
  }
2137
+
1965
2138
  }
1966
2139
  }
2140
+ if(this.devices[de].device == "保险服务"){
2141
+ console.log('保险服务111111111')
2142
+ console.log("this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2143
+ console.log("this.devices[de]"+JSON.stringify(this.devices[de]))
2144
+ this.data['device' + this.devices[de].n].push({
2145
+ f_device_type: "保险服务",
2146
+ f_items: []
2147
+ })
2148
+ this.data['device' + this.devices[de].n].forEach((device)=>{
2149
+ if(this.valueInfo.valaddinfo){
2150
+ for (let t=0;t<this.valueInfo.valaddinfo.length;t++){
2151
+ if(this.valueInfo.valaddinfo[t].isuse=='是'){
2152
+ let d1=new Date(this.valueInfo.valaddinfo[t].startDate)
2153
+ if(this.valueInfo.valaddinfo[t].value_type=='有无燃气险'){
2154
+ device.f_items.push(
2155
+ {
2156
+ f_defect_level: null,
2157
+ f_device_id: "",
2158
+ f_is_defect: "",
2159
+ f_item_name: "有无燃气险",
2160
+ isshow:true,
2161
+ f_item_value: '有',
2162
+ f_path: "",
2163
+ type: "radio"
2164
+ },
2165
+ {
2166
+ f_defect_level: null,
2167
+ f_device_id: "",
2168
+ f_is_defect: "",
2169
+ f_item_name: "燃气险购买时间",
2170
+ isshow:true,
2171
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2172
+ f_path: "",
2173
+ type: "date"
2174
+ }
2175
+ )
2176
+ }else if(this.valueInfo.valaddinfo[t].value_type=='有无家财险'){
2177
+ device.f_items.push(
2178
+ {
2179
+ f_defect_level: null,
2180
+ f_device_id: "",
2181
+ f_is_defect: "",
2182
+ f_item_name: "有无家财险",
2183
+ isshow:true,
2184
+ f_item_value: '有',
2185
+ f_path: "",
2186
+ type: "radio"
2187
+ },
2188
+ {
2189
+ f_defect_level: null,
2190
+ f_device_id: "",
2191
+ f_is_defect: "",
2192
+ f_item_name: "家财险购买时间",
2193
+ isshow:true,
2194
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2195
+ f_path: "",
2196
+ type: "date"
2197
+ }
2198
+ )
2199
+ }
2200
+
2201
+ }
2202
+
2203
+ }
2204
+ }
2205
+ })
2206
+ console.log("123this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2207
+ }else if(this.devices[de].device == "燃气器具信息"){
2208
+ console.log('增值业务111111111')
2209
+ console.log("this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2210
+ console.log("this.devices[de]"+JSON.stringify(this.devices[de]))
2211
+ this.data['device' + this.devices[de].n].push({
2212
+ f_device_type: "燃气器具信息",
2213
+ f_items: []
2214
+ })
2215
+ this.data['device' + this.devices[de].n].forEach((device)=>{
2216
+ if(this.valueInfo.valaddinfo){
2217
+ for (let t=0;t<this.valueInfo.valaddinfo.length;t++){
2218
+ if(this.valueInfo.valaddinfo[t].isuse=='是'){
2219
+ let d1=new Date(this.valueInfo.valaddinfo[t].startDate)
2220
+ if(this.valueInfo.valaddinfo[t].value_type=='燃气灶'){
2221
+ device.f_items.push(
2222
+ {
2223
+ f_defect_level: null,
2224
+ f_device_id: "",
2225
+ f_is_defect: "",
2226
+ f_item_name: "燃气灶产品现状",
2227
+ isshow:true,
2228
+ f_item_value: '有',
2229
+ f_path: "",
2230
+ type: "radio"
2231
+ },
2232
+ {
2233
+ f_defect_level: null,
2234
+ f_device_id: "",
2235
+ f_is_defect: "",
2236
+ f_item_name: "燃气灶购买时间",
2237
+ isshow:true,
2238
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2239
+ f_path: "",
2240
+ type: "date"
2241
+ }/*,
2242
+ {
2243
+ f_defect_level: null,
2244
+ f_device_id: "",
2245
+ f_is_defect: "",
2246
+ f_item_name: "燃气灶到期剩余",
2247
+ isshow:true,
2248
+ f_item_value: (d1.getFullYear()+8)+'-'+(d1.getMonth()+1),
2249
+ f_path: "",
2250
+ type: "string"
2251
+ }*/
2252
+ )
2253
+ }else if(this.valueInfo.valaddinfo[t].value_type=='热水器'){
2254
+ device.f_items.push(
2255
+ {
2256
+ f_defect_level: null,
2257
+ f_device_id: "",
2258
+ f_is_defect: "",
2259
+ f_item_name: "热水器产品现状",
2260
+ isshow:true,
2261
+ f_item_value: '有',
2262
+ f_path: "",
2263
+ type: "radio"
2264
+ },
2265
+ {
2266
+ f_defect_level: null,
2267
+ f_device_id: "",
2268
+ f_is_defect: "",
2269
+ f_item_name: "热水器购买时间",
2270
+ isshow:true,
2271
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2272
+ f_path: "",
2273
+ type: "date"
2274
+ }/*,
2275
+ {
2276
+ f_defect_level: null,
2277
+ f_device_id: "",
2278
+ f_is_defect: "",
2279
+ f_item_name: "热水器到期剩余",
2280
+ isshow:true,
2281
+ f_item_value: (d1.getFullYear()+8)+'-'+(d1.getMonth()+1),
2282
+ f_path: "",
2283
+ type: "string"
2284
+ }*/
2285
+ )
2286
+ }else if(this.valueInfo.valaddinfo[t].value_type=='壁挂炉'){
2287
+ device.f_items.push(
2288
+ {
2289
+ f_defect_level: null,
2290
+ f_device_id: "",
2291
+ f_is_defect: "",
2292
+ f_item_name: "壁挂炉产品现状",
2293
+ isshow:true,
2294
+ f_item_value: '有',
2295
+ f_path: "",
2296
+ type: "radio"
2297
+ },
2298
+ {
2299
+ f_defect_level: null,
2300
+ f_device_id: "",
2301
+ f_is_defect: "",
2302
+ f_item_name: "壁挂炉购买时间",
2303
+ isshow:true,
2304
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2305
+ f_path: "",
2306
+ type: "date"
2307
+ }
2308
+ /*{
2309
+ f_defect_level: null,
2310
+ f_device_id: "",
2311
+ f_is_defect: "",
2312
+ f_item_name: "壁挂炉到期剩余",
2313
+ isshow:true,
2314
+ f_item_value: (d1.getFullYear()+8)+'-'+(d1.getMonth()+1),
2315
+ f_path: "",
2316
+ type: "string"
2317
+ }*/
2318
+ )
2319
+ }/*else {
2320
+ device.f_items.push(
2321
+ {
2322
+ f_defect_level: null,
2323
+ f_device_id: "",
2324
+ f_is_defect: "",
2325
+ f_item_name: "*"+this.valueInfo.valaddinfo[t].value_type+"*",
2326
+ isshow:true,
2327
+ f_item_value: '有',
2328
+ f_path: "",
2329
+ type: "radio"
2330
+ },
2331
+ {
2332
+ f_defect_level: null,
2333
+ f_device_id: "",
2334
+ f_is_defect: "",
2335
+ f_item_name: this.valueInfo.valaddinfo[t].value_type+"购买年份",
2336
+ isshow:true,
2337
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2338
+ f_path: "",
2339
+ type: "date"
2340
+ }
2341
+ )
2342
+ }*/
2343
+ }
2344
+
2345
+ }
2346
+ }
2347
+ })
2348
+ console.log("123this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2349
+ }else if(this.devices[de].device == "附属设备信息"){
2350
+ console.log('增值业务111111111')
2351
+ console.log("this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2352
+ console.log("this.devices[de]"+JSON.stringify(this.devices[de]))
2353
+ this.data['device' + this.devices[de].n].push({
2354
+ f_device_type: "附属设备信息",
2355
+ f_items: []
2356
+ })
2357
+ this.data['device' + this.devices[de].n].forEach((device)=>{
2358
+ if(this.valueInfo.valaddinfo){
2359
+ for (let t=0;t<this.valueInfo.valaddinfo.length;t++){
2360
+ if(this.valueInfo.valaddinfo[t].isuse=='是'){
2361
+ let d1=new Date(this.valueInfo.valaddinfo[t].startDate)
2362
+ if(this.valueInfo.valaddinfo[t].value_type=='报警器'){
2363
+ device.f_items.push(
2364
+ {
2365
+ f_defect_level: null,
2366
+ f_device_id: "",
2367
+ f_is_defect: "",
2368
+ f_item_name: "报警器产品现状",
2369
+ isshow:true,
2370
+ f_item_value: '有',
2371
+ f_path: "",
2372
+ type: "radio"
2373
+ },
2374
+ {
2375
+ f_defect_level: null,
2376
+ f_device_id: "",
2377
+ f_is_defect: "",
2378
+ f_item_name: "报警器购买时间",
2379
+ isshow:true,
2380
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2381
+ f_path: "",
2382
+ type: "date"
2383
+ }
2384
+ )
2385
+ }else if(this.valueInfo.valaddinfo[t].value_type=='切断阀'){
2386
+ device.f_items.push(
2387
+ {
2388
+ f_defect_level: null,
2389
+ f_device_id: "",
2390
+ f_is_defect: "",
2391
+ f_item_name: "切断阀产品现状",
2392
+ isshow:true,
2393
+ f_item_value: '有',
2394
+ f_path: "",
2395
+ type: "radio"
2396
+ },
2397
+ {
2398
+ f_defect_level: null,
2399
+ f_device_id: "",
2400
+ f_is_defect: "",
2401
+ f_item_name: "切断阀购买时间",
2402
+ isshow:true,
2403
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2404
+ f_path: "",
2405
+ type: "date"
2406
+ }
2407
+ )
2408
+ }else if(this.valueInfo.valaddinfo[t].value_type=='自闭阀'){
2409
+ device.f_items.push(
2410
+ {
2411
+ f_defect_level: null,
2412
+ f_device_id: "",
2413
+ f_is_defect: "",
2414
+ f_item_name: "自闭阀产品现状",
2415
+ isshow:true,
2416
+ f_item_value: '有',
2417
+ f_path: "",
2418
+ type: "radio"
2419
+ },
2420
+ {
2421
+ f_defect_level: null,
2422
+ f_device_id: "",
2423
+ f_is_defect: "",
2424
+ f_item_name: "自闭阀购买时间",
2425
+ isshow:true,
2426
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2427
+ f_path: "",
2428
+ type: "date"
2429
+ }
2430
+ )
2431
+ }else if(this.valueInfo.valaddinfo[t].value_type=='连接管'){
2432
+ device.f_items.push(
2433
+ {
2434
+ f_defect_level: null,
2435
+ f_device_id: "",
2436
+ f_is_defect: "",
2437
+ f_item_name: "连接管产品现状",
2438
+ isshow:true,
2439
+ f_item_value: '有',
2440
+ f_path: "",
2441
+ type: "radio"
2442
+ },
2443
+ {
2444
+ f_defect_level: null,
2445
+ f_device_id: "",
2446
+ f_is_defect: "",
2447
+ f_item_name: "连接管购买时间",
2448
+ isshow:true,
2449
+ f_item_value: this.valueInfo.valaddinfo[t].startDate,
2450
+ f_path: "",
2451
+ type: "date"
2452
+ }
2453
+ )
2454
+ }
2455
+ }
2456
+
2457
+ }
2458
+ }
2459
+ })
2460
+ console.log("123this.data['device' + this.devices[de].n]"+JSON.stringify(this.data['device' + this.devices[de].n]))
2461
+ }
1967
2462
  }
1968
2463
  }
2464
+
1969
2465
  var pardate = {
1970
2466
  _this:this,
1971
2467
  tittle:'安检详情',
@@ -1973,18 +2469,33 @@ export default {
1973
2469
  }
1974
2470
  // this.$dispatch('gotoson',pardate)
1975
2471
  console.log('页面跳转')
1976
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2472
+ this.$goto('safecheck-userinfo-ts', {userinfo:this.data}, 'repair')
1977
2473
  }
1978
2474
  },
1979
2475
  watch: {
1980
2476
  'row' () {
1981
2477
  console.log('row changed')
1982
2478
  this.copy()
1983
- }
2479
+ },
2480
+ 'backlistisselect'(val){
2481
+ console.log(`backlistisselect发生改变:${val}`)
2482
+ if(val == undefined || val == ''){
2483
+ return
2484
+ }
2485
+ if(val == true){
2486
+ this.showmodel=true
2487
+ }
2488
+ },
1984
2489
  },
1985
2490
  async ready () {
2491
+
1986
2492
  //送气超期功能
1987
2493
  //await this.isoverDate()
2494
+ /* let val=await new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/valueaddinfo`,{f_userfiles_id:'',f_userinfo_id:this.item.f_userinfoid,f_olduserinfo_code:''})
2495
+ if(val.data){
2496
+ this.valueInfo=val.data
2497
+ }
2498
+ console.log('------获取增值业务'+JSON.stringify(this.valueInfo))*/
1988
2499
  this.putDevices()
1989
2500
  //如果已检,则提取安检单
1990
2501
  if (this.item.f_state != '未检') {
@@ -1996,32 +2507,43 @@ export default {
1996
2507
  console.log('this.item.f_no_checkplan',this.item.f_no_checkplan)
1997
2508
  if (this.role == 'inspect') {
1998
2509
  console.log('this.item.f_no_checkplan', this.item.f_no_checkplan)
2510
+ let condition=` f_check_item_id ='${this.item.id}'`
1999
2511
  if (this.item.f_no_checkplan == '无计划安检') {
2000
- value = this.$androidUtil.path({
2001
- alias: 'getUserinfomation',
2002
- data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
2003
- })
2004
- } else {
2005
- value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
2512
+ condition += ` and f_no_checkplan = '无计划安检'`
2006
2513
  }
2514
+ value = this.$androidUtil.bzLogic('path_getPhoneCheckPaperTS', {condition: condition})
2007
2515
  } else {
2008
- value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2516
+ value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomationTS`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
2517
+ }
2518
+ /*let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_OrderBy', 'criteria': {items:'f_open_date ',tablename:'t_check_plan_item ',condition:`id='${value.data[0].f_check_item_id}' `,orderitem:'id'}, count: false, pageNo: 1, pageSize: 5}})
2519
+ console.log("查询开户日期结束---:" + JSON.stringify(result))
2520
+ if(result.code == 200) {
2521
+ value.data[0].f_open_date=result.data.rows[0].f_open_date
2522
+ }*/
2523
+ //value.data[0].f_open_date=this.item.f_open_date
2524
+ if(this.item.f_last_check_state=='入户' && this.item.f_upload_state=='已传') {
2525
+ this.buttonsty=false
2009
2526
  }
2010
2527
  Util.replaceFalse(value)
2011
2528
  console.log("value:" + JSON.stringify(value))
2012
2529
  if (value.data.length != 0) {
2013
2530
  that.$set('data', value.data[0])
2014
2531
  console.log("this.data.f_collection_type:" + JSON.stringify(this.data.f_collection_type))
2015
- if (this.data.f_collection_type == '按气量') {
2016
- delete this.config['燃气表']['items']['累购金额']
2017
- delete this.config['燃气表']['items']['已用金额']
2018
- delete this.config['燃气表']['items']['剩余金额']
2019
- delete this.config['燃气表']['items']['金额异常差值']
2020
- } else if (this.data.f_collection_type == '按金额') {
2021
- delete this.config['燃气表']['items']['累购气量']
2022
- delete this.config['燃气表']['items']['已用气量']
2023
- delete this.config['燃气表']['items']['剩余气量']
2024
- delete this.config['燃气表']['items']['气量异常差值']
2532
+ if(this.item.f_plan_meters.length > 0 && this.item.f_plan_meters[0].f_meter_type!='物联网表'){
2533
+ console.log("不是物联网表!")
2534
+ if (this.data.f_collection_type == '按气量') {
2535
+ delete this.config['燃气表']['items']['户累购金额']
2536
+ delete this.config['燃气表']['items']['累购金额']
2537
+ delete this.config['燃气表']['items']['已用金额']
2538
+ delete this.config['燃气表']['items']['剩余金额']
2539
+ delete this.config['燃气表']['items']['金额异常差值']
2540
+ } else if (this.data.f_collection_type == '按金额') {
2541
+ delete this.config['燃气表']['items']['户累购气量']
2542
+ delete this.config['燃气表']['items']['累购气量']
2543
+ delete this.config['燃气表']['items']['已用气量']
2544
+ delete this.config['燃气表']['items']['剩余气量']
2545
+ delete this.config['燃气表']['items']['气量异常差值']
2546
+ }
2025
2547
  }
2026
2548
  console.log("f_devices:" + JSON.stringify(value.data[0].f_devices))
2027
2549
  if (value.data[0].f_devices) {
@@ -2048,8 +2570,10 @@ export default {
2048
2570
  console.log('回写数据item.f_items.f_item_lists[j]=======>' + JSON.stringify(item.f_items[i].f_item_lists[j]))
2049
2571
  if (item.f_items[i].f_item_value instanceof Array) {
2050
2572
  item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
2573
+ console.log('回写数据2222222item.f_items[i]=======>' + JSON.stringify(item.f_items[i]))
2051
2574
  } else {
2052
2575
  item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
2576
+ console.log('回写数据111111item.f_items[i]=======>' + JSON.stringify(item.f_items[i]))
2053
2577
  }
2054
2578
 
2055
2579
  }
@@ -2082,14 +2606,15 @@ export default {
2082
2606
  safe:true
2083
2607
  }
2084
2608
  // this.$dispatch('gotoson',pardate)getImgPath
2085
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'repair')
2609
+ this.$set('data.f_open_date',this.item.f_open_date)
2610
+ this.$goto('safecheck-userinfo-ts', {userinfo:this.data}, 'repair')
2086
2611
  } else {
2087
2612
  let that = this
2088
2613
  let id
2089
2614
  if (this.role == 'view') {
2090
2615
  id = this.item.id
2091
2616
  }
2092
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2617
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomationTS`, {data:{condition:`id = '${id}'`}}).then((respanse)=> {
2093
2618
  if (respanse.data.length != 0) {
2094
2619
  that.data = Object.assign(that.data,respanse.data[0])
2095
2620
  if(respanse.data[0].f_devices) {
@@ -2125,7 +2650,7 @@ export default {
2125
2650
  safe:true
2126
2651
  }
2127
2652
  // this.$dispatch('gotoson',pardate)
2128
- this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2653
+ //this.$goto('safecheck-userinfo', {userinfo:this.data}, 'paper-router')
2129
2654
  }
2130
2655
  ).catch(
2131
2656
  (respanse) => {
@@ -2133,11 +2658,7 @@ export default {
2133
2658
  })
2134
2659
  }
2135
2660
  }else{
2136
- this.$showMessage("为了保证服务质量,您的电话可能会被录音!")
2137
- this.record()
2138
2661
  this.init()
2139
- // 初始化录音
2140
-
2141
2662
  }
2142
2663
  // tbs合并数组
2143
2664
  // if( this.model.serviceacitivity[0].servicerepair.length > 0){
@@ -2170,10 +2691,14 @@ export default {
2170
2691
  }
2171
2692
  </script>
2172
2693
  <style lang="less">
2173
- @import "../../../bootstrap/less/variables.less";
2694
+ @import "../../../../../src/bootstrap/less/variables.less";
2695
+ /*.divmask {*/
2696
+ /*pointer-events: none;*/
2697
+ /*}*/
2174
2698
  .noclickbut {
2175
2699
  pointer-events: none;
2176
2700
  }
2701
+
2177
2702
  .tab-befor-img (@url) {
2178
2703
  content: '';
2179
2704
  background-image: url("@{url}");
@@ -2194,75 +2719,96 @@ export default {
2194
2719
  }
2195
2720
  .repair-details-class{
2196
2721
  &::before {
2197
- .tab-befor-img("../../../assets/huneiweixiu1.png");
2722
+ .tab-befor-img("../../../../assets/huneiweixiu1.png");
2723
+ }
2724
+ }
2725
+ .baoxian-details-class{
2726
+ &::before {
2727
+ .tab-befor-img("../../../../assets/保险服务.png");
2198
2728
  }
2199
2729
  }
2730
+ .ranqibiao-details-class{
2731
+ &::before {
2732
+ .tab-befor-img("../../../../assets/燃气表.png");
2733
+ }
2734
+ }
2735
+ .ranqiqiju-details-class{
2736
+ &::before {
2737
+ .tab-befor-img("../../../../assets/燃气器具信息.png");
2738
+ }
2739
+ }
2740
+ .fushushebei-details-class{
2741
+ &::before {
2742
+ .tab-befor-img("../../../../assets/附属设备信息.png");
2743
+ }
2744
+ }
2745
+
2200
2746
  .repair-info-class {
2201
2747
  &::before {
2202
- .tab-befor-img("../../../assets/baoxiuxinxi1.png");
2748
+ .tab-befor-img("../../../../assets/baoxiuxinxi1.png");
2203
2749
  }
2204
2750
  }
2205
2751
  .repair-user-info-class {
2206
2752
  &::before {
2207
- .tab-befor-img("../../../assets/jibenxinxi1.png")
2753
+ .tab-befor-img("../../../../assets/jibenxinxi1.png")
2208
2754
  }
2209
2755
  }
2210
2756
 
2211
2757
  .door-service-class {
2212
2758
  &::before {
2213
- .tab-befor-img("../../../assets/huneiweixiu1.png")
2759
+ .tab-befor-img("../../../../assets/huneiweixiu1.png")
2214
2760
  }
2215
2761
  }
2216
2762
 
2217
2763
  .pipeline-class {
2218
2764
  &::before {
2219
- .tab-befor-img("../../../assets/guandao1.png")
2765
+ .tab-befor-img("../../../../assets/guandao1.png")
2220
2766
  }
2221
2767
  }
2222
2768
 
2223
2769
  .device-service-class {
2224
2770
  &::before {
2225
- .tab-befor-img("../../../assets/shebeiweixiu1.png")
2771
+ .tab-befor-img("../../../../assets/shebeiweixiu1.png")
2226
2772
  }
2227
2773
  }
2228
2774
 
2229
2775
  .trouble-removal-class {
2230
2776
  &::before {
2231
- .tab-befor-img("../../../assets/shiguchuli.png")
2777
+ .tab-befor-img("../../../../assets/shiguchuli.png")
2232
2778
  }
2233
2779
  }
2234
2780
 
2235
2781
  .cooking-utensils-class {
2236
2782
  &::before {
2237
- .tab-befor-img("../../../assets/zaoju1.png")
2783
+ .tab-befor-img("../../../../assets/zaoju1.png")
2238
2784
  }
2239
2785
  }
2240
2786
 
2241
2787
  .outlay-class {
2242
2788
  &::before {
2243
- .tab-befor-img("../../../assets/feiyong1.png")
2789
+ .tab-befor-img("../../../../assets/拍照签名.png")
2244
2790
  }
2245
2791
  }
2246
2792
 
2247
2793
  .fault-all-class {
2248
2794
  &::before {
2249
- .tab-befor-img("../../../assets/guzhanghuizong1.png")
2795
+ .tab-befor-img("../../../../assets/guzhanghuizong1.png")
2250
2796
  }
2251
2797
  }
2252
2798
  .photo-write-class {
2253
2799
  &::before {
2254
- .tab-befor-img("../../../assets/zaoju.png")
2800
+ .tab-befor-img("../../../../assets/zaoju.png")
2255
2801
  }
2256
2802
  }
2257
2803
  .delay-apply-class {
2258
2804
  &::before {
2259
- .tab-befor-img("../../../assets/yonghubaoxiu.png")
2805
+ .tab-befor-img("../../../../assets/yonghubaoxiu.png")
2260
2806
  }
2261
2807
  }
2262
2808
 
2263
2809
  .repair-back-class {
2264
2810
  &::before {
2265
- .tab-befor-img("../../../assets/fanhui.png")
2811
+ .tab-befor-img("../../../../assets/fanhui.png")
2266
2812
  }
2267
2813
  }
2268
2814
  .butt2 {