safecheck-client 3.0.33-13 → 3.0.33-132

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 (422) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/android.html +18 -18
  4. package/build/css-loaders.js +34 -34
  5. package/build/dev-android.js +151 -151
  6. package/build/dev-client.js +8 -8
  7. package/build/release.sh +28 -28
  8. package/build/utils.js +71 -71
  9. package/build/webpack.baseandroid.conf.js +83 -83
  10. package/build/webpack.devandroid.conf.js +33 -33
  11. package/build/webpack.hanwei.conf.js +57 -57
  12. package/build/webpack.hwbase.conf.js +78 -78
  13. package/build/webpack.prodandroid.conf.js +60 -60
  14. package/build/webpack.test.conf.js +31 -31
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +38 -38
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/docs/AppBase.md +22 -22
  20. package/docs/Busy.md +14 -14
  21. package/docs/Criteria.md +47 -47
  22. package/docs/CriteriaPaged.md +47 -47
  23. package/docs/DataGrid.md +54 -54
  24. package/docs/DataModel.md +22 -22
  25. package/docs/Dynamic.md +42 -42
  26. package/docs/FormPrint.md +18 -18
  27. package/docs/GetParams.md +11 -11
  28. package/docs/GridTree.md +47 -47
  29. package/docs/HttpBusy.md +13 -13
  30. package/docs/HttpStore.md +29 -29
  31. package/docs/MessageBox.md +28 -28
  32. package/docs/PagedList.md +29 -29
  33. package/docs/Pager.md +21 -21
  34. package/docs/PrintFile.md +38 -38
  35. package/docs/Project.md +23 -23
  36. package/docs/Route.md +105 -105
  37. package/docs/SafetyCheck/AdjustPlan.md +13 -13
  38. package/docs/SafetyCheck/CheckerPlan.md +12 -12
  39. package/docs/Task.md +46 -46
  40. package/docs/TreeList.md +28 -28
  41. package/docs/TreeMixin.md +18 -18
  42. package/docs/all.md +10 -10
  43. package/docs/list.md +42 -42
  44. package/docs/partial.md +75 -75
  45. package/docs/selector.md +82 -82
  46. package/docs/tree.md +40 -40
  47. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
  48. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
  49. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
  50. package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
  51. package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
  52. package/examples/AddressList/App.vue +13 -13
  53. package/examples/AddressList/index.html +11 -11
  54. package/examples/DispatchList/App.vue +10 -10
  55. package/examples/DispatchList/BaseTree.vue +13 -13
  56. package/examples/DispatchList/Init.vue +22 -22
  57. package/examples/DispatchList/Test.vue +20 -20
  58. package/examples/DispatchList/index.html +11 -11
  59. package/examples/DispatchList/main.js +18 -18
  60. package/home.html +16 -16
  61. package/index.html +6 -2
  62. package/package.json +3 -3
  63. package/publish.bat +7 -7
  64. package/release.bat +5 -5
  65. package/src/Widget.vue +13 -13
  66. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  67. package/src/android-bootstrap/less/.csscomb.json +304 -304
  68. package/src/android-bootstrap/less/.csslintrc +19 -19
  69. package/src/android-bootstrap/less/alerts.less +73 -73
  70. package/src/android-bootstrap/less/badges.less +66 -66
  71. package/src/android-bootstrap/less/bootstrap.less +56 -56
  72. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  73. package/src/android-bootstrap/less/button-groups.less +247 -247
  74. package/src/android-bootstrap/less/buttons.less +173 -173
  75. package/src/android-bootstrap/less/carousel.less +269 -269
  76. package/src/android-bootstrap/less/close.less +34 -34
  77. package/src/android-bootstrap/less/code.less +69 -69
  78. package/src/android-bootstrap/less/component-animations.less +33 -33
  79. package/src/android-bootstrap/less/grid.less +84 -84
  80. package/src/android-bootstrap/less/input-groups.less +167 -167
  81. package/src/android-bootstrap/less/jumbotron.less +52 -52
  82. package/src/android-bootstrap/less/labels.less +64 -64
  83. package/src/android-bootstrap/less/list-group.less +141 -141
  84. package/src/android-bootstrap/less/media.less +66 -66
  85. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  86. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  87. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  88. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  89. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  90. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  91. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  92. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  93. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  94. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  95. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  96. package/src/android-bootstrap/less/mixins/image.less +33 -33
  97. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  98. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  99. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  100. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  101. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  102. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  103. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  104. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  105. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  106. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  107. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  108. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  109. package/src/android-bootstrap/less/mixins/size.less +10 -10
  110. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  111. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  112. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  113. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  114. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  115. package/src/android-bootstrap/less/mixins.less +40 -40
  116. package/src/android-bootstrap/less/modals.less +151 -151
  117. package/src/android-bootstrap/less/navbar.less +660 -660
  118. package/src/android-bootstrap/less/navs.less +290 -290
  119. package/src/android-bootstrap/less/normalize.less +424 -424
  120. package/src/android-bootstrap/less/pager.less +76 -76
  121. package/src/android-bootstrap/less/pagination.less +89 -89
  122. package/src/android-bootstrap/less/panels.less +274 -274
  123. package/src/android-bootstrap/less/popovers.less +131 -131
  124. package/src/android-bootstrap/less/print.less +101 -101
  125. package/src/android-bootstrap/less/progress-bars.less +87 -87
  126. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  127. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  128. package/src/android-bootstrap/less/scaffolding.less +161 -161
  129. package/src/android-bootstrap/less/tables.less +262 -262
  130. package/src/android-bootstrap/less/theme.less +291 -291
  131. package/src/android-bootstrap/less/thumbnails.less +36 -36
  132. package/src/android-bootstrap/less/tooltip.less +102 -102
  133. package/src/android-bootstrap/less/type.less +303 -303
  134. package/src/android-bootstrap/less/utilities.less +55 -55
  135. package/src/android-bootstrap/less/variables.less +896 -896
  136. package/src/android-bootstrap/less/wells.less +29 -29
  137. package/src/androidTest.js +20 -20
  138. package/src/bootstrap/less/.csscomb.json +304 -304
  139. package/src/bootstrap/less/.csslintrc +19 -19
  140. package/src/bootstrap/less/alerts.less +73 -73
  141. package/src/bootstrap/less/badges.less +66 -66
  142. package/src/bootstrap/less/breadcrumbs.less +26 -26
  143. package/src/bootstrap/less/button-groups.less +247 -247
  144. package/src/bootstrap/less/buttons.less +172 -172
  145. package/src/bootstrap/less/carousel.less +269 -269
  146. package/src/bootstrap/less/close.less +34 -34
  147. package/src/bootstrap/less/code.less +69 -69
  148. package/src/bootstrap/less/component-animations.less +33 -33
  149. package/src/bootstrap/less/dropdowns.less +216 -216
  150. package/src/bootstrap/less/forms.less +626 -626
  151. package/src/bootstrap/less/grid.less +84 -84
  152. package/src/bootstrap/less/input-groups.less +167 -167
  153. package/src/bootstrap/less/jumbotron.less +52 -52
  154. package/src/bootstrap/less/labels.less +64 -64
  155. package/src/bootstrap/less/list-group.less +141 -141
  156. package/src/bootstrap/less/media.less +66 -66
  157. package/src/bootstrap/less/mixins/alerts.less +14 -14
  158. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  159. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  160. package/src/bootstrap/less/mixins/buttons.less +69 -69
  161. package/src/bootstrap/less/mixins/center-block.less +7 -7
  162. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  163. package/src/bootstrap/less/mixins/forms.less +90 -90
  164. package/src/bootstrap/less/mixins/gradients.less +59 -59
  165. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  166. package/src/bootstrap/less/mixins/grid.less +122 -122
  167. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  168. package/src/bootstrap/less/mixins/image.less +33 -33
  169. package/src/bootstrap/less/mixins/labels.less +12 -12
  170. package/src/bootstrap/less/mixins/list-group.less +30 -30
  171. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  172. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  173. package/src/bootstrap/less/mixins/opacity.less +8 -8
  174. package/src/bootstrap/less/mixins/pagination.less +24 -24
  175. package/src/bootstrap/less/mixins/panels.less +24 -24
  176. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  177. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  178. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  179. package/src/bootstrap/less/mixins/resize.less +6 -6
  180. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  181. package/src/bootstrap/less/mixins/size.less +10 -10
  182. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  183. package/src/bootstrap/less/mixins/table-row.less +44 -44
  184. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  185. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  186. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  187. package/src/bootstrap/less/mixins.less +40 -40
  188. package/src/bootstrap/less/modals.less +151 -151
  189. package/src/bootstrap/less/navbar.less +660 -660
  190. package/src/bootstrap/less/normalize.less +424 -424
  191. package/src/bootstrap/less/pager.less +76 -76
  192. package/src/bootstrap/less/pagination.less +89 -89
  193. package/src/bootstrap/less/panels.less +275 -275
  194. package/src/bootstrap/less/popovers.less +131 -131
  195. package/src/bootstrap/less/print.less +101 -101
  196. package/src/bootstrap/less/progress-bars.less +87 -87
  197. package/src/bootstrap/less/responsive-embed.less +35 -35
  198. package/src/bootstrap/less/responsive-utilities.less +194 -194
  199. package/src/bootstrap/less/scaffolding.less +161 -161
  200. package/src/bootstrap/less/theme.less +291 -291
  201. package/src/bootstrap/less/thumbnails.less +36 -36
  202. package/src/bootstrap/less/tooltip.less +102 -102
  203. package/src/bootstrap/less/type.less +303 -303
  204. package/src/bootstrap/less/utilities.less +55 -55
  205. package/src/bootstrap/less/wells.less +29 -29
  206. package/src/components/FileUpload.vue +696 -696
  207. package/src/components/Hello.vue +39 -39
  208. package/src/components/LeftTree.vue +27 -27
  209. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  210. package/src/components/Util.js +7 -0
  211. package/src/components/android/AddGas.vue +147 -147
  212. package/src/components/android/AddressList.vue +61 -61
  213. package/src/components/android/AttendanceTally.vue +116 -116
  214. package/src/components/android/Blank.vue +10 -10
  215. package/src/components/android/CheckUnplanPage.vue +56 -56
  216. package/src/components/android/Checker.vue +12 -12
  217. package/src/components/android/CheckerAnnual.vue +81 -81
  218. package/src/components/android/CheckerAvarta.vue +82 -82
  219. package/src/components/android/CheckerMonthly.vue +84 -84
  220. package/src/components/android/CurrentCreate.vue +1 -1
  221. package/src/components/android/EquipmentInspection.vue +348 -348
  222. package/src/components/android/FootprintMap.vue +120 -120
  223. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  224. package/src/components/android/LcheckUnplan.vue +108 -108
  225. package/src/components/android/MasterMain.vue +77 -77
  226. package/src/components/android/Menu.vue +132 -132
  227. package/src/components/android/NavBottom.vue +157 -157
  228. package/src/components/android/PaperAlarm.vue +85 -85
  229. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  230. package/src/components/android/PlumberAnnual.vue +83 -83
  231. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  232. package/src/components/android/PlumberMonthly.vue +84 -84
  233. package/src/components/android/PostMap.vue +83 -83
  234. package/src/components/android/QueryCheckHistory.vue +122 -122
  235. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  236. package/src/components/android/RepairMain.vue +60 -60
  237. package/src/components/android/Repairman.vue +12 -12
  238. package/src/components/android/SafecheckDevices.vue +1298 -1294
  239. package/src/components/android/SafecheckOrderV.vue +15 -11
  240. package/src/components/android/StationMaster.vue +12 -12
  241. package/src/components/android/SwitchValve.vue +1 -1
  242. package/src/components/checkerphonestate/Checker.vue +32 -32
  243. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  244. package/src/components/defects/AddDefectModal.vue +120 -120
  245. package/src/components/defects/AddDevice.vue +95 -95
  246. package/src/components/defects/DefectModal.vue +101 -101
  247. package/src/components/defects/DevicesAndItem.vue +39 -39
  248. package/src/components/defects/DevicesSeting.vue +106 -106
  249. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  250. package/src/components/map/checkScreen.vue +27 -21
  251. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  252. package/src/components/metterfiles/MetterFiles.vue +104 -104
  253. package/src/components/notice/NoticeForm.vue +100 -100
  254. package/src/components/notice/NoticeIssue.vue +20 -20
  255. package/src/components/notice/NoticeQuery.vue +76 -76
  256. package/src/components/paper/PicViewer.vue +18 -18
  257. package/src/components/paper/PlanChooser.vue +4 -2
  258. package/src/components/paper/RepairVerifyForm.vue +76 -76
  259. package/src/components/phonestate/DailyTraffic.vue +57 -57
  260. package/src/components/phonestate/LastKnownState.vue +74 -74
  261. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  262. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  263. package/src/components/phonestate/PostMap.vue +82 -82
  264. package/src/components/planmanage/PlanManage.vue +14 -4
  265. package/src/components/planmanage/checkPlanList.vue +2 -1
  266. package/src/components/planmanage/checkUserList.vue +2 -0
  267. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  268. package/src/components/report/CheckPlanCountChartArea.vue +120 -120
  269. package/src/components/report/HiddenSituation.vue +3 -3
  270. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  271. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  272. package/src/components/rongcheng/DefectPaper.vue +1 -1
  273. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  274. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  275. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  276. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  277. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  278. package/src/components/safecheckNew/PaperList.vue +785 -0
  279. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  280. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  281. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  282. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  283. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  284. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  285. package/src/components/task/RepairAnnual.vue +79 -79
  286. package/src/components/task/RepairAnnualDetail.vue +49 -49
  287. package/src/components/task/RepairMonthly.vue +91 -91
  288. package/src/components/task/TaskAnnual.vue +77 -77
  289. package/src/components/task/TaskAnnualDetail.vue +47 -47
  290. package/src/components/task/TaskMonthly.vue +89 -89
  291. package/src/components/userfile/MeterFile.vue +145 -145
  292. package/src/components/userfile/MeterModify.vue +46 -46
  293. package/src/components/userfile/UserFile.vue +118 -118
  294. package/src/components/userfile/UserfileChange.vue +277 -277
  295. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  296. package/src/filiale/Util.js +5 -0
  297. package/src/filiale/baiyin/android.js +9 -0
  298. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  299. package/src/filiale/baiyin/pc.js +13 -0
  300. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  301. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  302. package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
  303. package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
  304. package/src/filiale/bayan/android.js +1 -0
  305. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  306. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  307. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  308. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  309. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  310. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  311. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  312. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  313. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  314. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  315. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  316. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  317. package/src/filiale/bayan/pc.js +6 -0
  318. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  319. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  320. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  321. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  322. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  323. package/src/filiale/fugou/android.js +2 -1
  324. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  325. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  326. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  327. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  328. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  329. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  330. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  331. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  332. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  333. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  334. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  335. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  336. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  337. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  338. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  339. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  340. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  341. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  342. package/src/filiale/jingyang/pc.js +1 -0
  343. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  344. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  345. package/src/filiale/liaoyuan/pc.js +2 -1
  346. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  347. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  348. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  349. package/src/filiale/rongchuang/android.js +1 -0
  350. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  351. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  352. package/src/filiale/rongchuang/pc.js +1 -0
  353. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  354. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  355. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  356. package/src/filiale/siyang/android.js +11 -0
  357. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  358. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  359. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  360. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  361. package/src/filiale/siyang/pc.js +15 -0
  362. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  363. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  364. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  365. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  366. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  367. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  368. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  369. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  370. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  371. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  372. package/src/filiale/weinan/pc.js +1 -0
  373. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  374. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
  375. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  376. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  377. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  378. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  379. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  380. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  381. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  382. package/src/filiale/yangchunboneng/android.js +1 -0
  383. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  384. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  385. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  386. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  387. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  388. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  389. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  390. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  391. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  392. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  393. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  394. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  395. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  396. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  397. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  398. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  399. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  400. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  401. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  402. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  403. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  404. package/src/filiale/yongzhou/pc.js +4 -0
  405. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  406. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  407. package/src/main.js +1 -1
  408. package/src/plugins/LoadData.js +10 -10
  409. package/src/plugins/LoadParams.js +24 -24
  410. package/src/rongcheng.js +3 -1
  411. package/src/safecheck-android.js +6 -0
  412. package/src/safecheck.js +3 -0
  413. package/src/stores/wxconfig.js +10 -10
  414. package/src/utils/getNowDate.js +33 -33
  415. package/test/e2e/custom-assertions/elementCount.js +26 -26
  416. package/test/e2e/nightwatch.conf.js +40 -40
  417. package/test/e2e/runner.js +30 -30
  418. package/test/e2e/specs/test.js +13 -13
  419. package/test/unit/.eslintrc +5 -5
  420. package/test/unit/TestUtil.js +62 -62
  421. package/test/unit/context.html +20 -20
  422. package/test/unit/index.js +13 -13
@@ -9,13 +9,13 @@
9
9
  <label @click="searchHistory(userinfo.f_userinfoid)"
10
10
  style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label>
11
11
  <label v-if="upUserinfoSta" style="color: #00b3ee;text-decoration:none;"
12
- @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
13
- <label style="color: #00b3ee;text-decoration:none;"
14
- @click="history('维修记录')">维修记录</label>
15
- <label style="color: #00b3ee;text-decoration:none;"
16
- @click="history('其他收费')">其他收费</label>
17
- <label style="color: #00b3ee;text-decoration:none;" v-if="openpaper"
18
- @click="openPaper(userinfo.f_userinfoid)">图纸编辑</label>
12
+ @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
13
+ <label style="color: #00b3ee;text-decoration:none;"
14
+ @click="history('维修记录')">维修记录</label>
15
+ <label style="color: #00b3ee;text-decoration:none;"
16
+ @click="history('其他收费')">其他收费</label>
17
+ <label style="color: #00b3ee;text-decoration:none;" v-if="openpaper"
18
+ @click="openPaper(userinfo.f_userinfoid)">图纸编辑</label>
19
19
  </p>
20
20
  </div>
21
21
  <div class="col-xs-12" style="padding: 2px 0">
@@ -34,6 +34,14 @@
34
34
  v-model="userinfo.f_user_phone"/>
35
35
 
36
36
  </div>
37
+ <div class="col-xs-12" style="padding: 2px 0">
38
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>表具状态:</b></p>
39
+ <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_table_state }}</p>
40
+ </div>
41
+ <div class="col-xs-12" style="padding: 2px 0">
42
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>是否限购:</b></p>
43
+ <p class="panel-title text-left input-font" style="width: 79%">{{limitGas}}</p>
44
+ </div>
37
45
  <!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
38
46
  <!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
39
47
  <!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meter_no }}" v-model="userinfo.f_meter_no"/>-->
@@ -130,7 +138,7 @@
130
138
  <div class="col-xs-12" style="padding: 2px 0" v-show="f_entry_status=='到访不遇' || f_entry_status=='拒检'">
131
139
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>备注:</b></p>
132
140
  <div class="col-md-12 col-sm-12 col-xs-12">
133
- <textarea v-model="f_remark" class="form-control"></textarea>
141
+ <textarea v-model="f_remark" class="form-control"></textarea>
134
142
  </div>
135
143
 
136
144
  </div>
@@ -170,7 +178,8 @@
170
178
  <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
171
179
  v-for="(index,img) in f_rejectchecks_path">
172
180
  <img-self :src="img.f_rejectcheck_path" alt="拒检照片" :width="130" :height="160"></img-self>
173
- <img src="../../../assets/删除.png" @click="delfile('f_rejectchecks_path', img.f_rejectcheck_path,index)"
181
+ <img src="../../../assets/删除.png"
182
+ @click="delfile('f_rejectchecks_path', img.f_rejectcheck_path,index)"
174
183
  style="width: 15px;margin-top: -80px" alt="">
175
184
  </div>
176
185
  </div>
@@ -207,7 +216,8 @@
207
216
  </div>
208
217
  <div class="row" v-if="last_check_date != null && last_check_date != ''">
209
218
  <p class="panel-title col-xs-4 text-left font">上次安检人员</p>
210
- <p class="panel-title col-xs-8 text-left input-font">{{ this.$parent.$parent.item.f_plan_meters[0].f_checker_name }}</p>
219
+ <p class="panel-title col-xs-8 text-left input-font">
220
+ {{ this.$parent.$parent.item.f_plan_meters[0].f_checker_name }}</p>
211
221
  </div>
212
222
  <div class="row">
213
223
  <p class="panel-title col-xs-4 text-left font">上次安检状态</p>
@@ -229,7 +239,9 @@
229
239
  <div class="row" v-if="last_check_date != null && last_check_date != ''">
230
240
  <p class="panel-title col-xs-4 text-left font">上次表底数</p>
231
241
  <p class="panel-title col-xs-8 text-left input-font">
232
- {{ this.$parent.$parent.item.f_plan_meters[0].f_metergasnums || this.$parent.$parent.item.f_plan_meters[0].f_initial_base }}</p>
242
+ {{
243
+ this.$parent.$parent.item.f_plan_meters[0].f_metergasnums || this.$parent.$parent.item.f_plan_meters[0].f_initial_base
244
+ }}</p>
233
245
  </div>
234
246
  </div>
235
247
  </div>
@@ -265,547 +277,587 @@
265
277
  </template>
266
278
 
267
279
  <script>
268
- import {HttpResetClass} from 'vue-client'
269
- import * as Util from '../../Util'
270
- import Vue from 'vue'
271
- import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
272
- import Radio from 'vue-client/src/vue-strap/src/radioBtn'
273
-
274
- export default {
275
- title: 'SafecheckUserInfo',
276
- props: ['userinfo','openpaper'],
277
- data () {
278
- return this.$parent.$parent.data
280
+ import {HttpResetClass} from 'vue-client'
281
+ import * as Util from '../../Util'
282
+ import Vue from 'vue'
283
+ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
284
+ import Radio from 'vue-client/src/vue-strap/src/radioBtn'
285
+
286
+ export default {
287
+ title: 'SafecheckUserInfo',
288
+ props: ['userinfo', 'openpaper'],
289
+ data() {
290
+ return this.$parent.$parent.data
291
+ },
292
+ created() {
293
+ this.$set('showbModal', false)
294
+ //tag
295
+ this.$set('biaoxinghao', '')
296
+ },
297
+ ready() {
298
+ //tag
299
+ //tag)
300
+ // //tag)
301
+ // this.$set('userinfo.f_meter_no',this.userinfo.planmeterss.f_meter_no)
302
+ // //tag)
303
+ this.$set('beforephone', this.userinfo.f_user_phone)
304
+ this.$set('gmlist', [])
305
+ this.$set('limitGas', "")
306
+ //tag
307
+ if (Vue.config.safecheck != undefined) {
308
+ if (Vue.config.safecheck.SafecheckUserinfo != undefined) {
309
+ if (Vue.config.safecheck.SafecheckUserinfo.updateuserphone != undefined) {
310
+ this.$set('updateuserphone', Vue.config.safecheck.SafecheckUserinfo.updateuserphone)
311
+ }
312
+ if (Vue.config.safecheck.SafecheckUserinfo.updatemetermodel != undefined) {
313
+ this.$set('updatemetermodel', Vue.config.safecheck.SafecheckUserinfo.updatemetermodel)
314
+ }
315
+ if (Vue.config.safecheck.SafecheckUserinfo.updatemeternumber != undefined) {
316
+ this.$set('updatemeternumber', Vue.config.safecheck.SafecheckUserinfo.updatemeternumber)
317
+ }
318
+ }
319
+ }
320
+ for (let i in this.userinfo) {
321
+ //tag + ':' + JSON.stringify(this.userinfo[i]))
322
+ }
323
+ this.safecheckStateReady()
324
+ this.limitgas()
325
+ },
326
+ methods: {
327
+ limitgas(){
328
+ //查询用户是否被限制购气
329
+ let http = new HttpResetClass()
330
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
331
+ data: {
332
+ items: '*',
333
+ tablename: 't_userproperties ts',
334
+ condition: `ts.f_userinfo_id='${this.userinfo.f_userinfoid}' and ts.f_parameter_key ='blackList' and ts.f_state='有效'`,
335
+ orderitem: 'ts.id'
336
+ }
337
+ }).then((res) => {
338
+ if (res.data.length > 0) {
339
+ this.limitGas="是"
340
+ }else{
341
+ this.limitGas="否"
342
+ }
343
+ })
279
344
  },
280
- created () {
281
- this.$set('showbModal', false)
282
- //tag
283
- this.$set('biaoxinghao', '')
345
+ openPaper(userinfo_id) {
346
+ this.$parent.$parent.$goto('edit', {row: userinfo_id})
347
+ },
348
+ history(val) {
349
+ this.$dispatch('gotoson', {
350
+ _this: this.$parent.$parent,
351
+ title: val,
352
+ safe: false
353
+ })
354
+ let llink = 'phone-repair-info'
355
+ if (val == '其他收费') {
356
+ llink = 'phone-other-info'
357
+ }
358
+ this.$parent.$parent.$goto(llink, {f_userinfo_id: this.userinfo.f_userinfoid, user: this.userinfo})
359
+ },
360
+ updatebiaohao(f_meter_no, f_userinfo_id) {
361
+ this.$showMessage('将用户 ' + this.userinfo.f_user_name + '的机表表号从' + this.userinfo.planmeterss.f_meter_no + '修改为' + f_meter_no, ['confirm', 'cancel']).then((butt) => {
362
+ if (butt == 'confirm') {
363
+ let http = new HttpResetClass()
364
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoHao`, {
365
+ f_meter_no: f_meter_no,
366
+ f_userinfo_id: f_userinfo_id
367
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
368
+ if (res.data.code == 200) {
369
+ this.$showMessage('修改成功!')
370
+ } else {
371
+ this.$showMessage('修改失败!,网络异常')
372
+ }
373
+ })
374
+ }
375
+ })
284
376
  },
285
- ready () {
377
+ biaoxinghaook() {
378
+ if (this.biaoxinghao == '') {
379
+ this.$showMessage('请选择表型号')
380
+ return
381
+ }
286
382
  //tag
287
- //tag)
288
- // //tag)
289
- // this.$set('userinfo.f_meter_no',this.userinfo.planmeterss.f_meter_no)
290
- // //tag)
291
- this.$set('beforephone', this.userinfo.f_user_phone)
292
- this.$set('gmlist', [])
293
383
  //tag
294
- if (Vue.config.safecheck != undefined) {
295
- if (Vue.config.safecheck.SafecheckUserinfo != undefined) {
296
- if (Vue.config.safecheck.SafecheckUserinfo.updateuserphone != undefined) {
297
- this.$set('updateuserphone', Vue.config.safecheck.SafecheckUserinfo.updateuserphone)
298
- }
299
- if (Vue.config.safecheck.SafecheckUserinfo.updatemetermodel != undefined) {
300
- this.$set('updatemetermodel', Vue.config.safecheck.SafecheckUserinfo.updatemetermodel)
301
- }
302
- if (Vue.config.safecheck.SafecheckUserinfo.updatemeternumber != undefined) {
303
- this.$set('updatemeternumber', Vue.config.safecheck.SafecheckUserinfo.updatemeternumber)
304
- }
384
+ this.$showMessage('是否确定进行修改?', ['confirm', 'cancel']).then((butt) => {
385
+ if (butt == 'confirm') {
386
+ let http = new HttpResetClass()
387
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoXingHao`, {
388
+ biaoxinghao: this.biaoxinghao,
389
+ f_userinfo_id: this.userinfo.f_userinfoid
390
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
391
+ if (res.data.code == 200) {
392
+ this.$showMessage('修改成功!')
393
+ //tag
394
+ this.showbModal = false
395
+ } else {
396
+ this.$showMessage('修改失败!,网络异常')
397
+ }
398
+ })
305
399
  }
306
- }
307
- for (let i in this.userinfo) {
308
- //tag + ':' + JSON.stringify(this.userinfo[i]))
309
- }
310
- this.safecheckStateReady()
400
+ })
311
401
  },
312
- methods: {
313
- openPaper(userinfo_id){
314
- this.$parent.$parent.$goto('edit', {row:userinfo_id})
315
- },
316
- history(val) {
317
- this.$dispatch('gotoson', {
318
- _this: this.$parent.$parent,
319
- title: val,
320
- safe: false
321
- })
322
- let llink = 'phone-repair-info'
323
- if (val == '其他收费'){
324
- llink = 'phone-other-info'
325
- }
326
- this.$parent.$parent.$goto(llink, {f_userinfo_id: this.userinfo.f_userinfoid,user:this.userinfo})
327
- },
328
- updatebiaohao (f_meter_no, f_userinfo_id) {
329
- this.$showMessage('将用户 ' + this.userinfo.f_user_name + '的机表表号从' + this.userinfo.planmeterss.f_meter_no + '修改为' + f_meter_no, ['confirm', 'cancel']).then((butt) => {
330
- if (butt == 'confirm') {
331
- let http = new HttpResetClass()
332
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoHao`, {
333
- f_meter_no: f_meter_no,
334
- f_userinfo_id: f_userinfo_id
335
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
336
- if (res.data.code == 200) {
337
- this.$showMessage('修改成功!')
338
- } else {
339
- this.$showMessage('修改失败!,网络异常')
340
- }
341
- })
342
- }
343
- })
344
- },
345
- biaoxinghaook () {
346
- if (this.biaoxinghao == '') {
347
- this.$showMessage('请选择表型号')
348
- return
402
+ biaoxinghaocancel() {
403
+ //tag
404
+ this.showbModal = false
405
+ },
406
+ showbiaoxinghao() {
407
+ this.gmlist = []
408
+ //tag)
409
+ //tag
410
+ let http1 = new HttpResetClass()
411
+ http1.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
412
+ data: {
413
+ items: 'gm.id,gm.f_meter_style',
414
+ tablename: 't_gasbrand gb LEFT JOIN t_gasmodel gm ON gb.id= gm.f_gasbrand_id ',
415
+ condition: `f_meter_brand = '${this.userinfo.planmeterss.f_aliasname}'`,
416
+ // condition: `f_meter_brand = 'this.userinfo.planmeterss'`,
417
+ orderitem: 'gm.id'
349
418
  }
350
- //tag
351
- //tag
352
- this.$showMessage('是否确定进行修改?', ['confirm', 'cancel']).then((butt) => {
353
- if (butt == 'confirm') {
354
- let http = new HttpResetClass()
355
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdateBiaoXingHao`, {
356
- biaoxinghao: this.biaoxinghao,
357
- f_userinfo_id: this.userinfo.f_userinfoid
358
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
359
- if (res.data.code == 200) {
360
- this.$showMessage('修改成功!')
361
- //tag
362
- this.showbModal = false
363
- } else {
364
- this.$showMessage('修改失败!,网络异常')
365
- }
366
- })
367
- }
419
+ }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
420
+ ress.data.forEach(res => {
421
+ this.gmlist.push({
422
+ label: res.f_meter_style,
423
+ value: res.id
424
+ })
368
425
  })
369
- },
370
- biaoxinghaocancel () {
371
- //tag
372
- this.showbModal = false
373
- },
374
- showbiaoxinghao () {
375
- this.gmlist = []
376
426
  //tag)
377
427
  //tag
378
- let http1 = new HttpResetClass()
379
- http1.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
380
- data: {
381
- items: 'gm.id,gm.f_meter_style',
382
- tablename: 't_gasbrand gb LEFT JOIN t_gasmodel gm ON gb.id= gm.f_gasbrand_id ',
383
- condition: `f_meter_brand = '${this.userinfo.planmeterss.f_aliasname}'`,
384
- // condition: `f_meter_brand = 'this.userinfo.planmeterss'`,
385
- orderitem: 'gm.id'
386
- }
387
- }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
388
- ress.data.forEach(res => {
389
- this.gmlist.push({
390
- label: res.f_meter_style,
391
- value: res.id
392
- })
393
- })
394
- //tag)
395
- //tag
396
- this.showbModal = true
397
- })
398
- },
399
- updatePhone (f_user_phone, f_userinfo_id) {
400
-
401
- this.$showMessage('将用户 ' + this.userinfo.f_user_name + '的电话号码从' + this.beforephone + '修改为' + f_user_phone, ['confirm', 'cancel']).then((butt) => {
402
- if (butt == 'confirm') {
403
- let http = new HttpResetClass()
404
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdatePhone`, {
405
- f_user_phone: f_user_phone,
406
- f_userinfo_id: f_userinfo_id
407
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
408
- if (res.data.code == 200) {
409
- this.$showMessage('修改成功!')
410
- } else {
411
- this.$showMessage('修改失败!,网络异常')
412
- }
413
- })
414
- }
415
- })
416
- },
417
- upuserinfo (f_userinfo_id) {
418
- this.$dispatch('gotoson', {
419
- _this: this.$parent.$parent,
420
- title: '档案信息变更',
421
- safe: false
422
- })
423
- this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: f_userinfo_id, f_source: '安检'})
424
- },
425
- searchHistory (f_userinfo_id) {
426
- this.$dispatch('gotoson', {
427
- _this: this.$parent.$parent,
428
- title: '购气记录',
429
- safe: false
430
- })
431
- this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
432
- },
433
- cameraCallBack (prop, fileName) {
434
- if (prop == 'f_noanswers_path') {
435
- let f_noanswer_path = fileName + '?' + Math.random()
436
- HostApp.__this__.f_noanswers_path.push({
437
- f_noanswer_path: f_noanswer_path
438
- })
439
- } else if (prop == 'f_rejectchecks_path') {
440
- let f_rejectcheck_path = fileName + '?' + Math.random()
441
- HostApp.__this__.f_rejectchecks_path.push({
442
- f_rejectcheck_path: f_rejectcheck_path
428
+ this.showbModal = true
429
+ })
430
+ },
431
+ updatePhone(f_user_phone, f_userinfo_id) {
432
+
433
+ this.$showMessage('将用户 ' + this.userinfo.f_user_name + '的电话号码从' + this.beforephone + '修改为' + f_user_phone, ['confirm', 'cancel']).then((butt) => {
434
+ if (butt == 'confirm') {
435
+ let http = new HttpResetClass()
436
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdatePhone`, {
437
+ f_user_phone: f_user_phone,
438
+ f_userinfo_id: f_userinfo_id
439
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
440
+ if (res.data.code == 200) {
441
+ this.$showMessage('修改成功!')
442
+ } else {
443
+ this.$showMessage('修改失败!,网络异常')
444
+ }
443
445
  })
444
- }else {
445
- HostApp.__this__.$set(prop, fileName + '?' + Math.random())
446
446
  }
447
- HostApp.__callback__ = null
448
- HostApp.__this__ = null
449
- },
450
- takePic (type ,prop, title) {
451
- const obj = HostApp.getGpsDetailAddress()
452
- HostApp.__callback__ = this.cameraCallBack
453
- HostApp.__this__ = this
454
- //tag
455
- let fileName
456
- if (prop == 'f_noanswers_path') {
457
- //tag
458
- if (this.f_noanswers_path.length == 3) {
459
- return
460
- }
461
- fileName = Util.guid() + '-' + prop + '.jpg'
462
- } else if (prop == 'f_rejectchecks_path') {
463
- //tag
464
- if (this.f_rejectchecks_path.length == 3) {
465
- return
466
- }
467
- fileName = Util.guid() + '-' + prop + '.jpg'
468
- }else {
469
- if (!this[prop] || this[prop].includes('nopic.png')) {
470
- fileName = Util.guid() + '-' + prop + '.jpg'
471
- } else {
472
- fileName = Util.getFileName(this[prop])
473
- }
474
- }
475
- let jingweidu = ''
476
- if (this.$parent.$parent.is_has_jingweidu == 'true'){
477
- jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
447
+ })
448
+ },
449
+ upuserinfo(f_userinfo_id) {
450
+ this.$dispatch('gotoson', {
451
+ _this: this.$parent.$parent,
452
+ title: '档案信息变更',
453
+ safe: false
454
+ })
455
+ let _this = this
456
+ this.$parent.$parent.$goto('PhoneUpUserinfo', {
457
+ f_userinfo_id: f_userinfo_id,
458
+ f_source: '安检'
459
+ }, 'self', function () {
460
+ _this.getPhone()
461
+ })
462
+ },
463
+ getPhone() {
464
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
465
+ data: {
466
+ items: 'f_user_phone',
467
+ tablename: 't_userinfo',
468
+ condition: `f_userinfo_id = '${this.userinfo.f_userinfoid}'`,
469
+ orderitem: 'f_userinfo_id'
478
470
  }
479
- let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
480
- if(type === '相册'){
481
- page ='com.aofeng.hybrid.android.peripheral.ActionPickActivity'
471
+ }).then(res => {
472
+ if (res.data.length > 0) {
473
+ this.userinfo.f_user_phone = res.data[0].f_user_phone
482
474
  }
483
- HostApp._open_a_page({
484
- type: 'boomerang',
485
- page,
486
- param: {
487
- file: fileName,
488
- requestCode: 111,
489
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
490
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name +jingweidu
491
- }
475
+ })
476
+ },
477
+ searchHistory(f_userinfo_id) {
478
+ this.$dispatch('gotoson', {
479
+ _this: this.$parent.$parent,
480
+ title: '购气记录',
481
+ safe: false
482
+ })
483
+ this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
484
+ },
485
+ cameraCallBack(prop, fileName) {
486
+ if (prop == 'f_noanswers_path') {
487
+ let f_noanswer_path = fileName + '?' + Math.random()
488
+ HostApp.__this__.f_noanswers_path.push({
489
+ f_noanswer_path: f_noanswer_path
492
490
  })
493
- },
494
- delfile (prop, fileName, index) {
495
- if (fileName == Vue.nopic) {
496
- return
497
- } else {
498
- if (prop == 'f_noanswers_path') {
499
- this.f_noanswers_path.splice(index, 1)
500
- HostApp.delfile(fileName)
501
- }else if (prop == 'f_rejectchecks_path') {
502
- this.f_rejectchecks_path.splice(index, 1)
503
- HostApp.delfile(fileName)
504
- } else {
505
- HostApp.delfile(fileName)
506
- this[prop] = Vue.nopic
507
- }
508
- }
509
- },
510
- setEntryClass (val) {
511
- if (val == '到访不遇') {
512
- this.f_usegas = ''
513
- this.$set('f_entry_class', 'warning')
514
- } else if (val == '拒检') {
515
- this.f_usegas = ''
516
- this.$set('f_entry_class', 'danger')
517
- } else if (val == '入户') {
518
- this.$set('f_entry_class', 'success')
519
- }
520
- },
521
- setUsegas (val) {
522
- if (val == '未使用') {
523
- this.$set('f_useclass', 'default')
524
- }
525
- if (val == '已使用') {
526
- this.$set('f_useclass', 'success')
527
- }
528
- },
529
- start () {
530
- this.$parent.$parent.isStrat = true
531
- this.$set('action', !this.action)
532
- this.$set('f_onsite_time', Util.toStandardTimeString())
533
- },
534
- safecheckStateReady () {
535
- //tag
536
- //tag
491
+ } else if (prop == 'f_rejectchecks_path') {
492
+ let f_rejectcheck_path = fileName + '?' + Math.random()
493
+ HostApp.__this__.f_rejectchecks_path.push({
494
+ f_rejectcheck_path: f_rejectcheck_path
495
+ })
496
+ } else {
497
+ HostApp.__this__.$set(prop, fileName + '?' + Math.random())
498
+ }
499
+ HostApp.__callback__ = null
500
+ HostApp.__this__ = null
501
+ },
502
+ takePic(type, prop, title) {
503
+ const obj = HostApp.getGpsDetailAddress()
504
+ HostApp.__callback__ = this.cameraCallBack
505
+ HostApp.__this__ = this
506
+ //tag
507
+ let fileName
508
+ if (prop == 'f_noanswers_path') {
537
509
  //tag
538
- if (!this.$parent.$parent.showBack) {
539
- this.$parent.$parent.showBack = true
540
- }
541
- //兼容下-如果没有通过外层查询带进来最新安检时间,就拿本地单子里存的上次安检时间
542
- if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_date) {
543
- this.$set('last_check_date', this.$parent.$parent.item.f_plan_meters[0].f_last_check_date)
544
- this.$set('last_check_state', this.$parent.$parent.item.f_plan_meters[0].f_last_check_state)
545
- this.$set('newfile_date', this.$parent.$parent.item.f_plan_meters[0].f_newfile_date)
546
- if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_result) {
547
- let checkResult = JSON.parse(this.$parent.$parent.item.f_plan_meters[0].f_last_check_result)
548
- this.$set('last_check_result', checkResult.result)
549
- this.$set('last_check_data.data', checkResult.data)
550
- } else {
551
- this.$set('last_check_result', '')
552
- this.$set('last_check_data.data', [])
553
- }
554
- } else {
555
- this.$set('last_check_state', this.$parent.$parent.item.f_plan_meters[0].f_last_check_state)
556
- this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
557
- if (this.$parent.$parent.item.f_last_check_result) {
558
- let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
559
- this.$set('last_check_result', checkResult.result)
560
- this.$set('last_check_data.data', checkResult.data)
561
- } else {
562
- this.$set('last_check_result', '')
563
- this.$set('last_check_data.data', [])
564
- }
565
- }
566
-
567
- this.$set('upUserinfoSta', this.$appdata.getSingleValue('安检修改档案信息'))
568
-
569
- if (this.$parent.$parent.role == 'inspect' && this.f_complete != '已完成') {
570
- this.start()
571
- }
572
- if (this.$parent.$parent.data.f_onsite_time) {
573
- //tag
574
- this.$parent.$parent.startClick = true
510
+ if (this.f_noanswers_path.length == 3) {
511
+ return
575
512
  }
576
- this.action = true
513
+ fileName = Util.guid() + '-' + prop + '.jpg'
514
+ } else if (prop == 'f_rejectchecks_path') {
577
515
  //tag
578
- if (this.f_onsite_time) {
579
- this.$parent.$parent.isStrat = true
580
- this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
516
+ if (this.f_rejectchecks_path.length == 3) {
517
+ return
581
518
  }
582
- if (this.$parent.$parent.role == 'repair') {
583
- this.$set('style__', 'divmask')
584
- this.$set('style_view_', '')
585
- } else if (this.$parent.$parent.role == 'view') {
586
- this.$set('style__', 'divmask')
587
- this.$set('style_view_', 'divmask')
588
- //tag
519
+ fileName = Util.guid() + '-' + prop + '.jpg'
520
+ } else {
521
+ if (!this[prop] || this[prop].includes('nopic.png')) {
522
+ fileName = Util.guid() + '-' + prop + '.jpg'
589
523
  } else {
590
- this.$set('style__', '')
591
- this.$set('style_view_', '')
524
+ fileName = Util.getFileName(this[prop])
592
525
  }
593
- if (!this.f_nongasuser_path) {
594
- this.$set('f_nongasuser_path', '')
526
+ }
527
+ let jingweidu = ''
528
+ if (this.$parent.$parent.is_has_jingweidu == 'true') {
529
+ jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
530
+ }
531
+ let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
532
+ if (type === '相册') {
533
+ page = 'com.aofeng.hybrid.android.peripheral.ActionPickActivity'
534
+ }
535
+ HostApp._open_a_page({
536
+ type: 'boomerang',
537
+ page,
538
+ param: {
539
+ file: fileName,
540
+ requestCode: 111,
541
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
542
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + jingweidu
595
543
  }
596
- //到访多张照片
597
- this.$set('f_noanswers_path', [])
598
- if (this.f_noanswer_path) {
599
- this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
544
+ })
545
+ },
546
+ delfile(prop, fileName, index) {
547
+ if (fileName == Vue.nopic) {
548
+ return
549
+ } else {
550
+ if (prop == 'f_noanswers_path') {
551
+ this.f_noanswers_path.splice(index, 1)
552
+ HostApp.delfile(fileName)
553
+ } else if (prop == 'f_rejectchecks_path') {
554
+ this.f_rejectchecks_path.splice(index, 1)
555
+ HostApp.delfile(fileName)
600
556
  } else {
601
- this.$set('f_noanswer_path', '')
557
+ HostApp.delfile(fileName)
558
+ this[prop] = Vue.nopic
602
559
  }
603
- if (this.f_noanswer1_path) {
604
- this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
560
+ }
561
+ },
562
+ setEntryClass(val) {
563
+ if (val == '到访不遇') {
564
+ this.f_usegas = ''
565
+ this.$set('f_entry_class', 'warning')
566
+ } else if (val == '拒检') {
567
+ this.f_usegas = ''
568
+ this.$set('f_entry_class', 'danger')
569
+ } else if (val == '入户') {
570
+ this.$set('f_entry_class', 'success')
571
+ }
572
+ },
573
+ setUsegas(val) {
574
+ if (val == '未使用') {
575
+ this.$set('f_useclass', 'default')
576
+ }
577
+ if (val == '已使用') {
578
+ this.$set('f_useclass', 'success')
579
+ }
580
+ },
581
+ start() {
582
+ this.$parent.$parent.isStrat = true
583
+ this.$set('action', !this.action)
584
+ this.$set('f_onsite_time', Util.toStandardTimeString())
585
+ },
586
+ safecheckStateReady() {
587
+ //tag
588
+ //tag
589
+ //tag
590
+ if (!this.$parent.$parent.showBack) {
591
+ this.$parent.$parent.showBack = true
592
+ }
593
+ //兼容下-如果没有通过外层查询带进来最新安检时间,就拿本地单子里存的上次安检时间
594
+ if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_date) {
595
+ this.$set('last_check_date', this.$parent.$parent.item.f_plan_meters[0].f_last_check_date)
596
+ this.$set('last_check_state', this.$parent.$parent.item.f_plan_meters[0].f_last_check_state)
597
+ this.$set('newfile_date', this.$parent.$parent.item.f_plan_meters[0].f_newfile_date)
598
+ if (this.$parent.$parent.item.f_plan_meters[0].f_last_check_result) {
599
+ let checkResult = JSON.parse(this.$parent.$parent.item.f_plan_meters[0].f_last_check_result)
600
+ this.$set('last_check_result', checkResult.result)
601
+ this.$set('last_check_data.data', checkResult.data)
605
602
  } else {
606
- this.$set('f_noanswer1_path', '')
603
+ this.$set('last_check_result', '')
604
+ this.$set('last_check_data.data', [])
607
605
  }
608
- if (this.f_noanswer2_path) {
609
- this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
606
+ } else {
607
+ this.$set('last_check_state', this.$parent.$parent.item.f_plan_meters[0].f_last_check_state)
608
+ this.$set('last_check_date', this.$parent.$parent.item.f_last_check_date)
609
+ if (this.$parent.$parent.item.f_last_check_result) {
610
+ let checkResult = JSON.parse(this.$parent.$parent.item.f_last_check_result)
611
+ this.$set('last_check_result', checkResult.result)
612
+ this.$set('last_check_data.data', checkResult.data)
610
613
  } else {
611
- this.$set('f_noanswer2_path', '')
614
+ this.$set('last_check_result', '')
615
+ this.$set('last_check_data.data', [])
612
616
  }
617
+ }
613
618
 
614
- if (!this.f_rejectcheck_path) {
615
- this.$set('f_rejectcheck_path', '')
616
- }
617
- //拒检多张照片
618
- this.$set('f_rejectchecks_path', [])
619
- if (this.f_rejectcheck_path) {
620
- this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck_path})
621
- } else {
622
- this.$set('f_rejectcheck_path', '')
623
- }
624
- if (this.f_rejectcheck1_path) {
625
- this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck1_path})
626
- } else {
627
- this.$set('f_rejectcheck1_path', '')
628
- }
629
- if (this.f_rejectcheck2_path) {
630
- this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck2_path})
631
- } else {
632
- this.$set('f_rejectcheck2_path', '')
633
- }
619
+ this.$set('upUserinfoSta', this.$appdata.getSingleValue('安检修改档案信息'))
634
620
 
635
- this.$watch('f_noanswers_path.length', () => {
636
- //tag)
637
- for (let i = 0; i < 3; i++) {
638
-
639
- if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
640
- //tag)
641
- if (i == 0) {
642
- this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
643
- } else {
644
- this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
645
- }
621
+ if (this.$parent.$parent.role == 'inspect' && this.f_complete != '已完成') {
622
+ this.start()
623
+ }
624
+ if (this.$parent.$parent.data.f_onsite_time) {
625
+ //tag
626
+ this.$parent.$parent.startClick = true
627
+ }
628
+ this.action = true
629
+ //tag
630
+ if (this.f_onsite_time) {
631
+ this.$parent.$parent.isStrat = true
632
+ this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
633
+ }
634
+ if (this.$parent.$parent.role == 'repair') {
635
+ this.$set('style__', 'divmask')
636
+ this.$set('style_view_', '')
637
+ } else if (this.$parent.$parent.role == 'view') {
638
+ this.$set('style__', 'divmask')
639
+ this.$set('style_view_', 'divmask')
640
+ //tag
641
+ } else {
642
+ this.$set('style__', '')
643
+ this.$set('style_view_', '')
644
+ }
645
+ if (!this.f_nongasuser_path) {
646
+ this.$set('f_nongasuser_path', '')
647
+ }
648
+ //到访多张照片
649
+ this.$set('f_noanswers_path', [])
650
+ if (this.f_noanswer_path) {
651
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
652
+ } else {
653
+ this.$set('f_noanswer_path', '')
654
+ }
655
+ if (this.f_noanswer1_path) {
656
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
657
+ } else {
658
+ this.$set('f_noanswer1_path', '')
659
+ }
660
+ if (this.f_noanswer2_path) {
661
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
662
+ } else {
663
+ this.$set('f_noanswer2_path', '')
664
+ }
665
+
666
+ if (!this.f_rejectcheck_path) {
667
+ this.$set('f_rejectcheck_path', '')
668
+ }
669
+ //拒检多张照片
670
+ this.$set('f_rejectchecks_path', [])
671
+ if (this.f_rejectcheck_path) {
672
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck_path})
673
+ } else {
674
+ this.$set('f_rejectcheck_path', '')
675
+ }
676
+ if (this.f_rejectcheck1_path) {
677
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck1_path})
678
+ } else {
679
+ this.$set('f_rejectcheck1_path', '')
680
+ }
681
+ if (this.f_rejectcheck2_path) {
682
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck2_path})
683
+ } else {
684
+ this.$set('f_rejectcheck2_path', '')
685
+ }
686
+
687
+ this.$watch('f_noanswers_path.length', () => {
688
+ //tag)
689
+ for (let i = 0; i < 3; i++) {
690
+
691
+ if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
692
+ //tag)
693
+ if (i == 0) {
694
+ this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
646
695
  } else {
647
- //tag)
648
- if (i == 0) {
649
- this.f_noanswer_path = null
650
- } else {
651
- this['f_noanswer' + i + '_path'] = null
652
- }
696
+ this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
697
+ }
698
+ } else {
699
+ //tag)
700
+ if (i == 0) {
701
+ this.f_noanswer_path = null
702
+ } else {
703
+ this['f_noanswer' + i + '_path'] = null
653
704
  }
654
705
  }
655
- //tag
656
- })
657
- this.$watch('f_rejectchecks_path.length', () => {
658
- //tag)
659
- for (let i = 0; i < 3; i++) {
660
-
661
- if (this.f_rejectchecks_path[i] && this.f_rejectchecks_path[i].f_rejectcheck_path) {
662
- //tag)
663
- if (i == 0) {
664
- this.f_rejectcheck_path = this.f_rejectchecks_path[i].f_rejectcheck_path
665
- } else {
666
- this['f_rejectcheck' + i + '_path'] = this.f_rejectchecks_path[i].f_rejectcheck_path
667
- }
706
+ }
707
+ //tag
708
+ })
709
+ this.$watch('f_rejectchecks_path.length', () => {
710
+ //tag)
711
+ for (let i = 0; i < 3; i++) {
712
+
713
+ if (this.f_rejectchecks_path[i] && this.f_rejectchecks_path[i].f_rejectcheck_path) {
714
+ //tag)
715
+ if (i == 0) {
716
+ this.f_rejectcheck_path = this.f_rejectchecks_path[i].f_rejectcheck_path
668
717
  } else {
669
- //tag)
670
- if (i == 0) {
671
- this.f_rejectcheck_path = null
672
- } else {
673
- this['f_rejectcheck' + i + '_path'] = null
674
- }
718
+ this['f_rejectcheck' + i + '_path'] = this.f_rejectchecks_path[i].f_rejectcheck_path
719
+ }
720
+ } else {
721
+ //tag)
722
+ if (i == 0) {
723
+ this.f_rejectcheck_path = null
724
+ } else {
725
+ this['f_rejectcheck' + i + '_path'] = null
675
726
  }
676
727
  }
677
- //tag
678
- })
728
+ }
729
+ //tag
730
+ })
679
731
 
680
- this.$watch('f_usegas', (val) => {
681
- this.setUsegas(val)
682
- })
732
+ this.$watch('f_usegas', (val) => {
733
+ this.setUsegas(val)
734
+ })
683
735
 
684
- this.setEntryClass(this.f_entry_status)
685
- this.$watch('f_entry_status', (val) => {
686
- this.setEntryClass(val)
736
+ this.setEntryClass(this.f_entry_status)
737
+ this.$watch('f_entry_status', (val) => {
738
+ this.setEntryClass(val)
687
739
 
688
- if (val == '到访不遇') {
689
- this.f_rejectcheck_path = Vue.nopic
690
- this.f_rejectcheck1_path = Vue.nopic
691
- this.f_rejectcheck2_path = Vue.nopic
692
- this.f_rejectchecks_path = []
693
- }
694
- if (val == '拒检') {
695
- this.f_noanswer_path = Vue.nopic
696
- this.f_noanswer1_path = Vue.nopic
697
- this.f_noanswer2_path = Vue.nopic
698
- this.f_noanswers_path = []
699
- }
740
+ if (val == '到访不遇') {
741
+ this.f_rejectcheck_path = Vue.nopic
742
+ this.f_rejectcheck1_path = Vue.nopic
743
+ this.f_rejectcheck2_path = Vue.nopic
744
+ this.f_rejectchecks_path = []
745
+ }
746
+ if (val == '拒检') {
747
+ this.f_noanswer_path = Vue.nopic
748
+ this.f_noanswer1_path = Vue.nopic
749
+ this.f_noanswer2_path = Vue.nopic
750
+ this.f_noanswers_path = []
751
+ }
700
752
 
701
- if (val != '入户') {
702
- //清理安检概括
703
- this.f_no_gas_device = false
704
- this.f_unload_battery = false
705
- this.f_close_valve = false
706
- //清理全局隐患
707
- this.f_defect_cramped = false
708
- this.f_defect_bedroom = false
709
- this.f_defect_longpipe = false
710
- this.f_defect_firesource = false
711
- this.f_defect_explosive = false
712
- this.f_defect_viacabinet = false
713
- this.f_defect_intermittent = false
714
- this.f_defect_nearfire = false
715
- this.f_defect_openkitchen = false
716
- this.f_defect_hang = false
717
- this.f_cramped_path = Vue.nopic
718
- //用户评价
719
- this.f_client_evaluation = null
720
- //清设备
721
- this.$set('f_plumbs', [])
722
- this.$set('f_valves', [])
723
- this.$set('f_inner_plumbs', [])
724
- this.$set('f_alarms', [])
725
- this.$set('f_cookers', [])
726
- this.$set('f_heaters', [])
727
- this.$set('f_furnaces', [])
728
- } else {
729
- this.f_rejectcheck_path = Vue.nopic
730
- this.f_noanswer_path = Vue.nopic
731
- this.f_novisit_reason = null
732
- }
733
- })
734
- }
735
- },
736
- components: {
737
- RadioGroup,
738
- Radio
753
+ if (val != '入户') {
754
+ //清理安检概括
755
+ this.f_no_gas_device = false
756
+ this.f_unload_battery = false
757
+ this.f_close_valve = false
758
+ //清理全局隐患
759
+ this.f_defect_cramped = false
760
+ this.f_defect_bedroom = false
761
+ this.f_defect_longpipe = false
762
+ this.f_defect_firesource = false
763
+ this.f_defect_explosive = false
764
+ this.f_defect_viacabinet = false
765
+ this.f_defect_intermittent = false
766
+ this.f_defect_nearfire = false
767
+ this.f_defect_openkitchen = false
768
+ this.f_defect_hang = false
769
+ this.f_cramped_path = Vue.nopic
770
+ //用户评价
771
+ this.f_client_evaluation = null
772
+ //清设备
773
+ this.$set('f_plumbs', [])
774
+ this.$set('f_valves', [])
775
+ this.$set('f_inner_plumbs', [])
776
+ this.$set('f_alarms', [])
777
+ this.$set('f_cookers', [])
778
+ this.$set('f_heaters', [])
779
+ this.$set('f_furnaces', [])
780
+ } else {
781
+ this.f_rejectcheck_path = Vue.nopic
782
+ this.f_noanswer_path = Vue.nopic
783
+ this.f_novisit_reason = null
784
+ }
785
+ })
739
786
  }
787
+ },
788
+ components: {
789
+ RadioGroup,
790
+ Radio
740
791
  }
792
+ }
741
793
  </script>
742
794
 
743
795
  <style scoped>
744
796
 
745
- .font {
746
- font: 15px PingFang-SC-Medium;
747
- color: #666666;
748
- }
749
-
750
- .input-font {
751
- font: 15px PingFang-SC-Medium;
752
- color: #333333;
753
- }
754
-
755
- .app-text {
756
- font-size: 12px;
757
- }
758
-
759
- .panel-self {
760
- border-radius: 10px;
761
- border: 1px solid #499EDF;
762
- background-color: #F8F8F8;
763
- }
764
-
765
- .app-text {
766
- font-size: 12px;
767
- }
768
-
769
- .panel-self {
770
- border-radius: 5px;
771
- border: 1px solid #c5e1f7;
772
- background-color: #F2F6FA;
773
- }
774
-
775
- .font {
776
- font: 15px PingFang-SC-Medium;
777
- color: #333333;
778
- }
779
-
780
- .panel-self {
781
- border-radius: 5px;
782
- border: 1px solid #c5e1f7;
783
- background-color: #F2F6FA;
784
- }
785
-
786
- .text-left {
787
- text-align: left;
788
- }
789
-
790
- .font {
791
- font: 15px PingFang-SC-Medium;
792
- color: #333333;
793
- }
794
-
795
- .btn-photo {
796
- border: 0;
797
- border-radius: 7px;
798
- background-color: #7dc1f4;
799
- font: 15px PingFang-SC-Bold;
800
- height: 20%;
801
- }
802
-
803
- .div-photo {
804
- width: auto;
805
- height: auto;
806
- /* margin-top: 10px; */
807
- position: absolute;
808
- bottom: 10px;
809
- right: 10px;
810
- }
797
+ .font {
798
+ font: 15px PingFang-SC-Medium;
799
+ color: #666666;
800
+ }
801
+
802
+ .input-font {
803
+ font: 15px PingFang-SC-Medium;
804
+ color: #333333;
805
+ }
806
+
807
+ .app-text {
808
+ font-size: 12px;
809
+ }
810
+
811
+ .panel-self {
812
+ border-radius: 10px;
813
+ border: 1px solid #499EDF;
814
+ background-color: #F8F8F8;
815
+ }
816
+
817
+ .app-text {
818
+ font-size: 12px;
819
+ }
820
+
821
+ .panel-self {
822
+ border-radius: 5px;
823
+ border: 1px solid #c5e1f7;
824
+ background-color: #F2F6FA;
825
+ }
826
+
827
+ .font {
828
+ font: 15px PingFang-SC-Medium;
829
+ color: #333333;
830
+ }
831
+
832
+ .panel-self {
833
+ border-radius: 5px;
834
+ border: 1px solid #c5e1f7;
835
+ background-color: #F2F6FA;
836
+ }
837
+
838
+ .text-left {
839
+ text-align: left;
840
+ }
841
+
842
+ .font {
843
+ font: 15px PingFang-SC-Medium;
844
+ color: #333333;
845
+ }
846
+
847
+ .btn-photo {
848
+ border: 0;
849
+ border-radius: 7px;
850
+ background-color: #7dc1f4;
851
+ font: 15px PingFang-SC-Bold;
852
+ height: 20%;
853
+ }
854
+
855
+ .div-photo {
856
+ width: auto;
857
+ height: auto;
858
+ /* margin-top: 10px; */
859
+ position: absolute;
860
+ bottom: 10px;
861
+ right: 10px;
862
+ }
811
863
  </style>