safecheck-client 3.0.34-4 → 3.0.34-42

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 (358) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/android.html +18 -18
  4. package/config/dev.env.js +6 -6
  5. package/config/index.js +38 -38
  6. package/config/prod.env.js +3 -3
  7. package/config/test.env.js +6 -6
  8. package/docs/AppBase.md +22 -22
  9. package/docs/Busy.md +14 -14
  10. package/docs/CriteriaPaged.md +47 -47
  11. package/docs/DataGrid.md +54 -54
  12. package/docs/DataModel.md +22 -22
  13. package/docs/Dynamic.md +42 -42
  14. package/docs/FormPrint.md +18 -18
  15. package/docs/GetParams.md +11 -11
  16. package/docs/GridTree.md +47 -47
  17. package/docs/HttpBusy.md +13 -13
  18. package/docs/HttpStore.md +29 -29
  19. package/docs/MessageBox.md +28 -28
  20. package/docs/PagedList.md +29 -29
  21. package/docs/Pager.md +21 -21
  22. package/docs/PrintFile.md +38 -38
  23. package/docs/Project.md +23 -23
  24. package/docs/Route.md +105 -105
  25. package/docs/SafetyCheck/AdjustPlan.md +13 -13
  26. package/docs/SafetyCheck/CheckerPlan.md +12 -12
  27. package/docs/Task.md +46 -46
  28. package/docs/TreeList.md +28 -28
  29. package/docs/TreeMixin.md +18 -18
  30. package/docs/all.md +10 -10
  31. package/docs/list.md +42 -42
  32. package/docs/partial.md +75 -75
  33. package/docs/selector.md +82 -82
  34. package/docs/tree.md +40 -40
  35. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
  36. 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
  37. 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
  38. 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
  39. package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
  40. package/examples/AddressList/App.vue +13 -13
  41. package/examples/AddressList/index.html +11 -11
  42. package/examples/DispatchList/App.vue +10 -10
  43. package/examples/DispatchList/BaseTree.vue +13 -13
  44. package/examples/DispatchList/Init.vue +22 -22
  45. package/examples/DispatchList/Test.vue +20 -20
  46. package/examples/DispatchList/index.html +11 -11
  47. package/examples/DispatchList/main.js +18 -18
  48. package/home.html +16 -16
  49. package/package.json +1 -1
  50. package/publish.bat +7 -7
  51. package/release.bat +5 -5
  52. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  53. package/src/Widget.vue +13 -13
  54. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  55. package/src/android-bootstrap/less/.csscomb.json +304 -304
  56. package/src/android-bootstrap/less/.csslintrc +19 -19
  57. package/src/android-bootstrap/less/alerts.less +73 -73
  58. package/src/android-bootstrap/less/badges.less +66 -66
  59. package/src/android-bootstrap/less/bootstrap.less +56 -56
  60. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  61. package/src/android-bootstrap/less/button-groups.less +247 -247
  62. package/src/android-bootstrap/less/buttons.less +173 -173
  63. package/src/android-bootstrap/less/carousel.less +269 -269
  64. package/src/android-bootstrap/less/close.less +34 -34
  65. package/src/android-bootstrap/less/code.less +69 -69
  66. package/src/android-bootstrap/less/component-animations.less +33 -33
  67. package/src/android-bootstrap/less/grid.less +84 -84
  68. package/src/android-bootstrap/less/input-groups.less +167 -167
  69. package/src/android-bootstrap/less/jumbotron.less +52 -52
  70. package/src/android-bootstrap/less/labels.less +64 -64
  71. package/src/android-bootstrap/less/list-group.less +141 -141
  72. package/src/android-bootstrap/less/media.less +66 -66
  73. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  74. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  75. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  76. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  77. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  78. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  79. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  80. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  81. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  82. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  83. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  84. package/src/android-bootstrap/less/mixins/image.less +33 -33
  85. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  86. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  87. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  88. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  89. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  90. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  91. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  92. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  93. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  94. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  95. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  96. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  97. package/src/android-bootstrap/less/mixins/size.less +10 -10
  98. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  99. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  100. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  101. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  102. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  103. package/src/android-bootstrap/less/mixins.less +40 -40
  104. package/src/android-bootstrap/less/modals.less +151 -151
  105. package/src/android-bootstrap/less/navbar.less +660 -660
  106. package/src/android-bootstrap/less/navs.less +290 -290
  107. package/src/android-bootstrap/less/normalize.less +424 -424
  108. package/src/android-bootstrap/less/pager.less +76 -76
  109. package/src/android-bootstrap/less/pagination.less +89 -89
  110. package/src/android-bootstrap/less/panels.less +274 -274
  111. package/src/android-bootstrap/less/popovers.less +131 -131
  112. package/src/android-bootstrap/less/print.less +101 -101
  113. package/src/android-bootstrap/less/progress-bars.less +87 -87
  114. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  115. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  116. package/src/android-bootstrap/less/scaffolding.less +161 -161
  117. package/src/android-bootstrap/less/tables.less +262 -262
  118. package/src/android-bootstrap/less/theme.less +291 -291
  119. package/src/android-bootstrap/less/thumbnails.less +36 -36
  120. package/src/android-bootstrap/less/tooltip.less +102 -102
  121. package/src/android-bootstrap/less/type.less +303 -303
  122. package/src/android-bootstrap/less/utilities.less +55 -55
  123. package/src/android-bootstrap/less/variables.less +896 -896
  124. package/src/android-bootstrap/less/wells.less +29 -29
  125. package/src/androidTest.js +20 -20
  126. package/src/assets/123.png +0 -0
  127. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  128. package/src/bootstrap/less/.csscomb.json +304 -304
  129. package/src/bootstrap/less/.csslintrc +19 -19
  130. package/src/bootstrap/less/alerts.less +73 -73
  131. package/src/bootstrap/less/badges.less +66 -66
  132. package/src/bootstrap/less/breadcrumbs.less +26 -26
  133. package/src/bootstrap/less/button-groups.less +247 -247
  134. package/src/bootstrap/less/buttons.less +172 -172
  135. package/src/bootstrap/less/carousel.less +269 -269
  136. package/src/bootstrap/less/close.less +34 -34
  137. package/src/bootstrap/less/code.less +69 -69
  138. package/src/bootstrap/less/component-animations.less +33 -33
  139. package/src/bootstrap/less/dropdowns.less +216 -216
  140. package/src/bootstrap/less/forms.less +626 -626
  141. package/src/bootstrap/less/grid.less +84 -84
  142. package/src/bootstrap/less/input-groups.less +167 -167
  143. package/src/bootstrap/less/jumbotron.less +52 -52
  144. package/src/bootstrap/less/labels.less +64 -64
  145. package/src/bootstrap/less/list-group.less +141 -141
  146. package/src/bootstrap/less/media.less +66 -66
  147. package/src/bootstrap/less/mixins/alerts.less +14 -14
  148. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  149. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  150. package/src/bootstrap/less/mixins/buttons.less +69 -69
  151. package/src/bootstrap/less/mixins/center-block.less +7 -7
  152. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  153. package/src/bootstrap/less/mixins/forms.less +90 -90
  154. package/src/bootstrap/less/mixins/gradients.less +59 -59
  155. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  156. package/src/bootstrap/less/mixins/grid.less +122 -122
  157. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  158. package/src/bootstrap/less/mixins/image.less +33 -33
  159. package/src/bootstrap/less/mixins/labels.less +12 -12
  160. package/src/bootstrap/less/mixins/list-group.less +30 -30
  161. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  162. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  163. package/src/bootstrap/less/mixins/opacity.less +8 -8
  164. package/src/bootstrap/less/mixins/pagination.less +24 -24
  165. package/src/bootstrap/less/mixins/panels.less +24 -24
  166. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  167. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  168. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  169. package/src/bootstrap/less/mixins/resize.less +6 -6
  170. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  171. package/src/bootstrap/less/mixins/size.less +10 -10
  172. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  173. package/src/bootstrap/less/mixins/table-row.less +44 -44
  174. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  175. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  176. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  177. package/src/bootstrap/less/mixins.less +40 -40
  178. package/src/bootstrap/less/modals.less +151 -151
  179. package/src/bootstrap/less/navbar.less +660 -660
  180. package/src/bootstrap/less/normalize.less +424 -424
  181. package/src/bootstrap/less/pager.less +76 -76
  182. package/src/bootstrap/less/pagination.less +89 -89
  183. package/src/bootstrap/less/panels.less +275 -275
  184. package/src/bootstrap/less/popovers.less +131 -131
  185. package/src/bootstrap/less/print.less +101 -101
  186. package/src/bootstrap/less/progress-bars.less +87 -87
  187. package/src/bootstrap/less/responsive-embed.less +35 -35
  188. package/src/bootstrap/less/responsive-utilities.less +194 -194
  189. package/src/bootstrap/less/scaffolding.less +161 -161
  190. package/src/bootstrap/less/theme.less +291 -291
  191. package/src/bootstrap/less/thumbnails.less +36 -36
  192. package/src/bootstrap/less/tooltip.less +102 -102
  193. package/src/bootstrap/less/type.less +303 -303
  194. package/src/bootstrap/less/utilities.less +55 -55
  195. package/src/bootstrap/less/wells.less +29 -29
  196. package/src/components/FileUpload.vue +696 -696
  197. package/src/components/Hello.vue +39 -39
  198. package/src/components/LeftTree.vue +27 -27
  199. package/src/components/LoadData.vue +62 -0
  200. package/src/components/android/AddGas.vue +147 -147
  201. package/src/components/android/AddressList.vue +61 -61
  202. package/src/components/android/AndroidDefectDeal.vue +1 -0
  203. package/src/components/android/AreaPlan.vue +566 -572
  204. package/src/components/android/AttendanceTally.vue +116 -116
  205. package/src/components/android/Blank.vue +10 -10
  206. package/src/components/android/CheckUnplanPage.vue +56 -56
  207. package/src/components/android/Checker.vue +12 -12
  208. package/src/components/android/CheckerAnnual.vue +81 -81
  209. package/src/components/android/CheckerAvarta.vue +82 -82
  210. package/src/components/android/CheckerMonthly.vue +84 -84
  211. package/src/components/android/EquipmentInspection.vue +348 -348
  212. package/src/components/android/FootprintMap.vue +120 -120
  213. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  214. package/src/components/android/LcheckUnplan.vue +108 -108
  215. package/src/components/android/MasterMain.vue +77 -77
  216. package/src/components/android/Menu.vue +132 -132
  217. package/src/components/android/NavBottom.vue +157 -157
  218. package/src/components/android/PaperAlarm.vue +85 -85
  219. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  220. package/src/components/android/PaperFeedback.vue +1 -1
  221. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  222. package/src/components/android/PlumberAnnual.vue +83 -83
  223. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  224. package/src/components/android/PlumberMonthly.vue +84 -84
  225. package/src/components/android/PostMap.vue +83 -83
  226. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  227. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  228. package/src/components/android/QueryCheckHistory.vue +122 -122
  229. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  230. package/src/components/android/RepairMain.vue +60 -60
  231. package/src/components/android/Repairman.vue +12 -12
  232. package/src/components/android/SafecheckDevices.vue +1 -1
  233. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  234. package/src/components/android/SafecheckOrderV.vue +2809 -2809
  235. package/src/components/android/StationMaster.vue +12 -12
  236. package/src/components/android/SwitchValve.vue +323 -323
  237. package/src/components/android/examples/SafeListExamples.vue +96 -0
  238. package/src/components/android/examples/UserExamples.vue +126 -0
  239. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  240. package/src/components/checkerphonestate/Checker.vue +32 -32
  241. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  242. package/src/components/defects/AddDefectModal.vue +120 -120
  243. package/src/components/defects/AddDevice.vue +95 -95
  244. package/src/components/defects/DefectModal.vue +101 -101
  245. package/src/components/defects/DevicesAndItem.vue +39 -39
  246. package/src/components/defects/DevicesSeting.vue +106 -106
  247. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  248. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  249. package/src/components/metterfiles/MetterFiles.vue +104 -104
  250. package/src/components/notice/NoticeForm.vue +100 -100
  251. package/src/components/notice/NoticeIssue.vue +20 -20
  252. package/src/components/notice/NoticeQuery.vue +76 -76
  253. package/src/components/paper/PicViewer.vue +18 -18
  254. package/src/components/paper/RepairVerifyForm.vue +76 -76
  255. package/src/components/phonestate/DailyTraffic.vue +57 -57
  256. package/src/components/phonestate/LastKnownState.vue +74 -74
  257. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  258. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  259. package/src/components/phonestate/PostMap.vue +82 -82
  260. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  261. package/src/components/task/RepairAnnual.vue +79 -79
  262. package/src/components/task/RepairAnnualDetail.vue +49 -49
  263. package/src/components/task/RepairMonthly.vue +91 -91
  264. package/src/components/task/TaskAnnual.vue +77 -77
  265. package/src/components/task/TaskAnnualDetail.vue +47 -47
  266. package/src/components/task/TaskMonthly.vue +89 -89
  267. package/src/components/userfile/MeterFile.vue +145 -145
  268. package/src/components/userfile/MeterModify.vue +46 -46
  269. package/src/components/userfile/UserfileChange.vue +277 -277
  270. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  271. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
  272. package/src/filiale/baiyin/android.js +1 -0
  273. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  274. package/src/filiale/baiyin/pc.js +21 -21
  275. package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
  276. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  277. package/src/filiale/bayan/android/SafecheckOrderV.vue +2889 -2866
  278. package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
  279. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  280. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  281. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  282. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  283. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  284. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  285. package/src/filiale/huaran/android.js +12 -0
  286. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  287. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  288. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  289. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  290. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  291. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  292. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  293. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  294. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  295. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  296. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  297. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  298. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  299. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  300. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  301. package/src/filiale/huaran/pc.js +27 -0
  302. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  303. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  304. package/src/filiale/jiaxian/android/SafecheckDevices.vue +4 -4
  305. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
  306. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  307. package/src/filiale/jiaxian/android.js +4 -0
  308. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  309. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  310. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  311. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  312. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  313. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  314. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  315. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  316. package/src/filiale/ruihua/android.js +11 -0
  317. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  318. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  319. package/src/filiale/tongchuan/android/Select.vue +421 -0
  320. package/src/filiale/tongchuan/android.js +21 -20
  321. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  322. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  323. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  324. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  325. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  326. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
  327. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  328. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  329. package/src/filiale/weinan/pc.js +47 -46
  330. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1200
  331. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -480
  332. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
  333. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
  334. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  335. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -481
  336. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
  337. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  338. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  339. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  340. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  341. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  342. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  343. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  344. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  345. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  346. package/src/plugins/LoadData.js +10 -10
  347. package/src/plugins/LoadParams.js +24 -24
  348. package/src/safecheck-android.js +4 -0
  349. package/src/stores/wxconfig.js +10 -10
  350. package/src/utils/getNowDate.js +33 -33
  351. package/test/e2e/custom-assertions/elementCount.js +26 -26
  352. package/test/e2e/nightwatch.conf.js +40 -40
  353. package/test/e2e/runner.js +30 -30
  354. package/test/e2e/specs/test.js +13 -13
  355. package/test/unit/.eslintrc +5 -5
  356. package/test/unit/TestUtil.js +62 -62
  357. package/test/unit/context.html +20 -20
  358. package/test/unit/index.js +13 -13
@@ -0,0 +1,386 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row" v-show="!$parent.$parent.$parent.showItemAll">
7
+ <div :class="$parent.$parent.style2" style="margin: 0px">
8
+ <role-selector-safe
9
+ role-name="安检员"
10
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
11
+ @re-res="$parent.$parent.getRes"
12
+ :value.sync="model.f_checker_id"
13
+ v-model="model.f_checker_id"
14
+ :value-multiple="true"
15
+ condition=" f_checker_name in {}">
16
+ </role-selector-safe>
17
+ </div>
18
+ <div :class="$parent.$parent.style">
19
+ <label class="font_normal_body">安检册名称</label>
20
+ <v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
21
+ :value-single="true" style="width: 60%"
22
+ class="select_list select"
23
+ :options='$parent.$parent.checkBooks' placeholder='安检册名称'
24
+ close-on-select
25
+ condition="tcb.id ='{}'"></v-select>
26
+ </div>
27
+ <!-- <div :class="$parent.$parent.style">-->
28
+ <!-- <label class="font_normal_body">表册类型</label>-->
29
+ <!-- <v-select :value.sync="model.f_check_book_type" v-model='model.f_check_book_type'-->
30
+ <!-- :value-single="true" style="width: 60%"-->
31
+ <!-- class="select_list select"-->
32
+ <!-- :options='$parent.$parent.bookTypes' placeholder='表册类型'-->
33
+ <!-- close-on-select-->
34
+ <!-- condition="tcb.f_check_book_type ='{}'"></v-select>-->
35
+ <!-- </div>-->
36
+ <!-- <div :class="$parent.$parent.style">-->
37
+ <!-- <label class="font_normal_body">用户类型</label>-->
38
+ <!-- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'-->
39
+ <!-- :value-single="true" style="width: 60%"-->
40
+ <!-- class="select_list select"-->
41
+ <!-- :options='$parent.$parent.userTypes' placeholder='用户类型'-->
42
+ <!-- close-on-select-->
43
+ <!-- condition="tcb.f_user_type ='{}'"></v-select>-->
44
+ <!-- </div>-->
45
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
46
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
47
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
48
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">
49
+ 安检册用户管理
50
+ </button>
51
+ <div style="float: right" class="button_spacing"
52
+ v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
53
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
54
+ @click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
55
+ </div>
56
+
57
+
58
+ </div>
59
+
60
+
61
+ <div class="row" v-show="$parent.$parent.$parent.showItemAll">
62
+ <div :class="$parent.$parent.style2" style="margin: 0px">
63
+ <role-selector-safe
64
+ role-name="安检员"
65
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
66
+ @re-res="$parent.$parent.getRes"
67
+ :value.sync="model.f_checker_id"
68
+ v-model="model.f_checker_id"
69
+ :value-multiple="true"
70
+ condition=" f_checker_name in {}">
71
+ </role-selector-safe>
72
+ </div>
73
+ <div :class="$parent.$parent.style">
74
+ <label class="font_normal_body">安检册名</label>
75
+ <v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
76
+ :value-single="true" style="width: 60%"
77
+ class="select_list select"
78
+ :options='$parent.$parent.checkBooks' placeholder='安检册名称'
79
+ close-on-select
80
+ condition="tcb.id ='{}'"></v-select>
81
+ </div>
82
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
83
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
84
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
85
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">
86
+ 安检册用户管理
87
+ </button>
88
+ <div style="float: right" class="button_spacing"
89
+ v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
90
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
91
+ @click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
92
+ <!-- <div style="float: right" class="button_spacing"-->
93
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
94
+ <!-- @click="$parent.$parent.hidden()">-->
95
+ <!-- </div>-->
96
+ </div>
97
+
98
+ </div>
99
+
100
+ </div>
101
+ </criteria>
102
+ <data-grid :model="model" partial="list" class="list_area table_sy" v-ref:grid>
103
+ <template partial='head'>
104
+ <tr>
105
+ <th>
106
+ <nobr>所属安检员</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>安检册名称</nobr>
110
+ </th>
111
+ <!-- <th>-->
112
+ <!-- <nobr>安检册类型</nobr>-->
113
+ <!-- </th>-->
114
+ <th>
115
+ <nobr>用户类型</nobr>
116
+ </th>
117
+ <th>
118
+ <nobr>创建日期</nobr>
119
+ </th>
120
+ <th>
121
+ <nobr>创建人</nobr>
122
+ </th>
123
+
124
+ <th>
125
+ <nobr>执行日期</nobr>
126
+ </th>
127
+ <th>
128
+ <nobr>执行周期</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>小区/单位数量</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>已下发</nobr>
135
+ </th>
136
+ <th>
137
+ <nobr>未下发</nobr>
138
+ </th>
139
+ <th>
140
+ <nobr>已检</nobr>
141
+ </th>
142
+ <th>
143
+ <nobr>未检</nobr>
144
+ </th>
145
+ <!-- <th v-show="$parent.$parent.$parent.showCaoZuo">-->
146
+ <!-- <nobr>操作</nobr>-->
147
+ <!-- </th>-->
148
+ </tr>
149
+ </template>
150
+ <template partial='body'>
151
+ <td style="text-align: center;">{{ row.f_checker_name }}</td>
152
+ <td style="text-align: center;">{{ row.f_check_book_name }}</td>
153
+ <!-- <td style="text-align: center;">{{ row.f_check_book_type }}</td>-->
154
+ <td style="text-align: center;">{{ row.f_user_type }}</td>
155
+ <td style="text-align: center;">{{ row.f_create_date }}</td>
156
+ <td style="text-align: center;">{{ row.f_create_person }}</td>
157
+ <td style="text-align: center;">{{ row.f_run_date }}</td>
158
+ <td style="text-align: center;">{{ row.f_around_time }}{{ row.f_around_unit }}</td>
159
+ <td style="text-align: center;">
160
+ <button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link">
161
+ <b>{{ row.f_user_type === '民用' ? row.num2 : row.num3 }}</b></button>
162
+ </td>
163
+ <td style="text-align: center;">{{ row.xiafa }}</td>
164
+ <td style="text-align: center;">
165
+ {{ row.f_user_type == '民用' ? Number(row.num - row.xiafa) : Number(row.num4 - row.xiafa) }}
166
+ </td>
167
+ <td style="text-align: center;">{{ row.yijian }}</td>
168
+ <td style="text-align: center;">{{ row.weijian }}</td>
169
+ <!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
170
+ </template>
171
+ </data-grid>
172
+ </criteria-paged>
173
+ <modal :show.sync="showModal" :backdrop="false" id="checkbookEntryShow">
174
+ <article slot="modal-body" class="modal-body">
175
+ <check-book-entry v-if="showModal" @select-changed="selectedEntry"></check-book-entry>
176
+ </article>
177
+ <footer slot="modal-footer">
178
+ </footer>
179
+
180
+ </modal>
181
+ <modal :show.sync="showSendModal" :backdrop="false" width="90%" height="90%">
182
+ <article slot="modal-body" class="modal-body" style="height: 80vh">
183
+ <check-book-search-user-list v-if="showSendModal" :row="checkBookRow" :bookrow="checkBookRow"
184
+ :needprops="needprops" :userlogin="userlogin"></check-book-search-user-list>
185
+ </article>
186
+ <footer slot="modal-footer">
187
+ </footer>
188
+
189
+ </modal>
190
+ </div>
191
+ </template>
192
+
193
+ <script>
194
+ import {PagedList} from 'vue-client'
195
+ import {HttpResetClass} from 'vue-client'
196
+ import bus from "../../../bus";
197
+
198
+ export default {
199
+ title: '用户安检情况',
200
+ data() {
201
+ return {
202
+ showSendModal: false,
203
+ searchData: {
204
+ condition: '1=1'
205
+ },
206
+ showCaoZuo: false,
207
+ userlogin: {
208
+ id: this.$login.f.id,
209
+ name: this.$login.f.name,
210
+ orgid: this.$login.f.orgid,
211
+ orgstr: this.$login.f.orgs,
212
+ },
213
+ checkBooks: [],
214
+ bookTypes: [{label: '全部', value: ''}, {label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
215
+ userTypes: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
216
+ aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
217
+ showModal: false,
218
+ excelHeaders: {
219
+
220
+ 'f_userinfo_code': '用户编号',
221
+ 'f_user_name': '用户名称',
222
+ 'f_user_phone': '用户电话',
223
+ 'f_meternumber': '用户表号',
224
+ 'f_user_type': '用户类型',
225
+ 'f_last_checker': '安检员',
226
+ 'f_residential_area': '小区名称',
227
+ 'f_address': '地址',
228
+ 'f_last_check_date': '安检日期',
229
+ 'f_last_check_state': '安检状态',
230
+ 'f_last_check_result': '安检结果'
231
+ },
232
+ model: new PagedList('rs/sql/QueryCheckBook', 20),
233
+ checkBookRow: {},
234
+ checkBook: {
235
+ f_check_book_name: '',
236
+ f_run_date: '',
237
+ f_around_time: '',
238
+ f_around_unit: '',
239
+ f_create_date: '',
240
+ f_create_person: '',
241
+ f_orgid: '',
242
+ f_checker_name: ''
243
+ }
244
+ }
245
+ },
246
+ props: {
247
+ style: {
248
+ type: String,
249
+ default: 'col-sm-2 form-group'
250
+ },
251
+ style2: {
252
+ type: String,
253
+ default: 'col-sm-4 form-group'
254
+ },
255
+ needprops: {
256
+ type: Object,
257
+ default: {}
258
+ },
259
+ showtype: {
260
+ type: String
261
+ }
262
+ },
263
+ ready() {
264
+ bus.$on('fresh-main', () => {
265
+ console.log("进入方法")
266
+ this.$refs.paged.$refs.criteria.search()
267
+ })
268
+ this.freshCheckBook()
269
+ },
270
+ beforeDestroy() {
271
+ //tag
272
+ bus.$off('fresh-main')
273
+ },
274
+ methods: {
275
+ send(row) {
276
+ console.log("7758521", row)
277
+ this.checkBookRow = row
278
+ this.showSendModal = true
279
+ },
280
+ freshCheckBook() {
281
+ this.checkBooks = []
282
+ new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
283
+ data: {
284
+ items: 'id,f_check_book_name',
285
+ tablename: 't_check_book',
286
+ condition: this.$refs.paged.$refs.criteria.model.f_orgid ? `f_orgid in ${this.$refs.paged.$refs.criteria.model.f_orgid} and f_user_type ='${this.showtype}' ` : `f_user_type ='${this.showtype}'`,
287
+ orderitem: 'id desc'
288
+ }
289
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
290
+ this.checkBooks.push({label: '全部', value: ''})
291
+ res.data.forEach(ress => {
292
+ this.checkBooks.push({
293
+ label: ress.f_check_book_name,
294
+ value: ress.id
295
+ })
296
+ })
297
+ })
298
+ },
299
+ selectedEntry() {
300
+ console.log("666666666666666666")
301
+ },
302
+ details(row) {
303
+ this.$emit('showdetails', row)
304
+ },
305
+ add() {
306
+ this.$emit('addbook')
307
+ },
308
+ ok() {
309
+ //tag
310
+ let http = new HttpResetClass()
311
+ http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
312
+ {resolveMsg: '更新安检册信息成功', rejectMsg: '保存安检册信息成功'}).then(res => {
313
+ if (res.data.code === 200) {
314
+ this.$showMessage('修改成功')
315
+ this.showModal = false
316
+ this.checkBook = {}
317
+ }
318
+ })
319
+ },
320
+ cancel() {
321
+ this.showModal = false
322
+ this.checkBook = {}
323
+ },
324
+ updateCheckBook(val) {
325
+ this.checkBook = val
326
+ this.showModal = true
327
+ },
328
+ search(args) {
329
+ // //tag
330
+ this.$parent.showItem = false
331
+ this.$parent.showItemUser = false
332
+ args.condition += ` and f_orgid in ${this.model.f_filialeids}`
333
+ args.condition += ` and tcb.f_user_type ='${this.showtype}' `
334
+ return this.model.search(args.condition, args.model)
335
+ },
336
+ getRes(obj) {
337
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids)
338
+ },
339
+ async deleteCheckBook(val) {
340
+ try {
341
+ //tag
342
+ let http = new HttpResetClass()
343
+ let upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${val.id}'`
344
+ let delCheckBook = `delete from t_check_book where id ='${val.id}'`
345
+ await http.load('POST', 'rs/logic/runSQL', {data: {sql: upAddress}},
346
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
347
+ await http.load('POST', 'rs/logic/runSQL', {data: {sql: delCheckBook}},
348
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
349
+ this.$showMessage('删除成功')
350
+ this.$refs.paged.$refs.criteria.search()
351
+ } catch (e) {
352
+ this.$showMessage('删除失败', e)
353
+ }
354
+ }
355
+ },
356
+
357
+ watch: {
358
+ 'model.rows'(val) {
359
+ console.log("997997", val)
360
+ this.showCaoZuo = val.filter(item => item.f_check_book_type != '小区').length > 0
361
+ }
362
+ },
363
+ computed: {
364
+ selected() {
365
+ return this.$refs.paged.$refs.grid.selected
366
+ }
367
+ }
368
+ }
369
+ </script>
370
+ <style scoped>
371
+ .newcolor {
372
+ color: red;
373
+ }
374
+
375
+ .table th {
376
+ background-color: #f2f6fa;
377
+ color: black;
378
+ }
379
+ </style>
380
+ <style lang="less">
381
+ #checkbookEntryShow {
382
+ .modal-dialog {
383
+ width: 80%;
384
+ }
385
+ }
386
+ </style>