safecheck-client 3.0.34-6 → 3.0.34-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (373) 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 -566
  204. package/src/components/android/AreaSelect.vue +208 -0
  205. package/src/components/android/AttendanceTally.vue +116 -116
  206. package/src/components/android/Blank.vue +10 -10
  207. package/src/components/android/BuildingSelect.vue +217 -0
  208. package/src/components/android/CheckPlanSelect.vue +248 -0
  209. package/src/components/android/CheckUnplanPage.vue +56 -56
  210. package/src/components/android/Checker.vue +12 -12
  211. package/src/components/android/CheckerAnnual.vue +81 -81
  212. package/src/components/android/CheckerAvarta.vue +82 -82
  213. package/src/components/android/CheckerMonthly.vue +84 -84
  214. package/src/components/android/EquipmentInspection.vue +348 -348
  215. package/src/components/android/FootprintMap.vue +120 -120
  216. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  217. package/src/components/android/LcheckUnplan.vue +108 -108
  218. package/src/components/android/MasterMain.vue +77 -77
  219. package/src/components/android/Menu.vue +132 -132
  220. package/src/components/android/NavBottom.vue +157 -157
  221. package/src/components/android/PaperAlarm.vue +85 -85
  222. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  223. package/src/components/android/PaperFeedback.vue +33 -0
  224. package/src/components/android/PlumberAnnual.vue +83 -83
  225. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  226. package/src/components/android/PlumberMonthly.vue +84 -84
  227. package/src/components/android/PostMap.vue +83 -83
  228. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  229. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  230. package/src/components/android/QueryCheckHistory.vue +122 -122
  231. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  232. package/src/components/android/RepairMain.vue +60 -60
  233. package/src/components/android/Repairman.vue +12 -12
  234. package/src/components/android/SafecheckDevices.vue +1298 -1298
  235. package/src/components/android/SafecheckOrderV.vue +2805 -2809
  236. package/src/components/android/StationMaster.vue +12 -12
  237. package/src/components/android/SwitchValve.vue +323 -323
  238. package/src/components/android/examples/SafeListExamples.vue +96 -0
  239. package/src/components/android/examples/UserExamples.vue +130 -0
  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/rongcheng/AddPlanItem.vue +4 -0
  262. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  263. package/src/components/rongcheng/CheckSearchUser.vue +40 -14
  264. package/src/components/rongcheng/PaperStatem.vue +6 -1
  265. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  266. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  267. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  268. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  269. package/src/components/task/RepairAnnual.vue +79 -79
  270. package/src/components/task/RepairAnnualDetail.vue +49 -49
  271. package/src/components/task/RepairMonthly.vue +91 -91
  272. package/src/components/task/TaskAnnual.vue +77 -77
  273. package/src/components/task/TaskAnnualDetail.vue +47 -47
  274. package/src/components/task/TaskMonthly.vue +89 -89
  275. package/src/components/userfile/MeterFile.vue +145 -145
  276. package/src/components/userfile/MeterModify.vue +46 -46
  277. package/src/components/userfile/UserfileChange.vue +277 -277
  278. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  279. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  280. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  281. package/src/filiale/baiyin/android.js +1 -0
  282. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  283. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  284. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  285. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  286. package/src/filiale/baiyin/pc.js +21 -21
  287. package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
  288. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  289. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  290. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  291. package/src/filiale/huaran/android.js +12 -0
  292. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  293. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  294. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  295. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  296. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  297. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  298. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  299. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  300. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  301. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  302. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  303. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  304. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  305. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  306. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  307. package/src/filiale/huaran/pc.js +27 -0
  308. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  309. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  310. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  311. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  312. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  313. package/src/filiale/jiaxian/android.js +4 -0
  314. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  315. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  316. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  317. package/src/filiale/ruihua/android.js +11 -0
  318. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
  319. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  320. package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
  321. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  322. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  323. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  324. package/src/filiale/siyang/pc.js +5 -0
  325. package/src/filiale/tongchuan/android/Select.vue +421 -0
  326. package/src/filiale/tongchuan/android.js +1 -0
  327. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  328. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  329. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  330. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  331. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
  332. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  333. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  334. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  335. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  336. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  337. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
  338. package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
  339. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  340. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
  341. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  342. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  343. package/src/filiale/weinan/pc/checkUserList.vue +49 -113
  344. package/src/filiale/weinan/pc.js +47 -46
  345. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
  346. package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
  347. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1192
  348. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -472
  349. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -473
  350. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
  351. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
  352. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  353. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
  354. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +6 -6
  355. package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
  356. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  357. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  358. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  359. package/src/main.js +33 -33
  360. package/src/plugins/LoadData.js +10 -10
  361. package/src/plugins/LoadParams.js +24 -24
  362. package/src/safecheck-android.js +7 -0
  363. package/src/safecheck-page.js +10 -0
  364. package/src/stores/wxconfig.js +10 -10
  365. package/src/utils/getNowDate.js +33 -33
  366. package/test/e2e/custom-assertions/elementCount.js +26 -26
  367. package/test/e2e/nightwatch.conf.js +40 -40
  368. package/test/e2e/runner.js +30 -30
  369. package/test/e2e/specs/test.js +13 -13
  370. package/test/unit/.eslintrc +5 -5
  371. package/test/unit/TestUtil.js +62 -62
  372. package/test/unit/context.html +20 -20
  373. package/test/unit/index.js +13 -13
@@ -0,0 +1,96 @@
1
+ <template>
2
+ <div class="panel panel-default auto repair-info-content">
3
+ <div class="panel-body">
4
+ <div class="panel panel-default well" v-if="model.length>0">
5
+ <div class="bg-info">
6
+ <div class="row form-group">
7
+ <div class="col-xs-12 col-sm-12 col-md-12">
8
+ <div class="row">
9
+ <div class="col-xs-12 col-sm-12 col-md-12">
10
+ 用户名称: {{ model[0].f_user_name }}
11
+ </div>
12
+ <div class="col-xs-12 col-sm-12 col-md-12">
13
+ 用户编号: {{ model[0].f_userinfo_code }}
14
+ </div>
15
+ <div class="col-xs-12 col-sm-12 col-md-12">
16
+ 用户电话: {{ model[0].f_user_phone }}
17
+ </div>
18
+ <div class="col-xs-12 col-sm-12 col-md-12">
19
+ 用户地址: {{ model[0].f_address }}
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <div class="panel panel-default well" v-for="row in model">
27
+ <div class="bg-info">
28
+ <div class="row form-group">
29
+ <div class="col-xs-12 col-sm-12 col-md-12">
30
+ <div class="row">
31
+ <div class="col-xs-12 col-sm-12 col-md-12">
32
+ 安检时间: {{ row.f_offsite_time }}
33
+ </div>
34
+ <div class="col-xs-12 col-sm-12 col-md-12">
35
+ 安检员: {{ row.f_checker_name }}
36
+ </div>
37
+ <div class="col-xs-12 col-sm-12 col-md-12">
38
+ 安检状态: {{ row.f_entry_status }}
39
+ </div>
40
+ <div class="col-xs-12 col-sm-12 col-md-12">
41
+ 安检结果: {{ row.f_defect_content.include('正常') ? '正常' : '有隐患' }}
42
+ </div>
43
+ <div class="col-xs-12 col-sm-12 col-md-12">
44
+ 整改内容: {{ row.f_defect_text }}
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </template>
54
+
55
+ <script>
56
+ import {HttpResetClass} from 'vue-client'
57
+
58
+ export default {
59
+ title: '查询用户',
60
+ data() {
61
+ return {
62
+ model: [],
63
+ f_safecheck_code: ''
64
+ }
65
+ },
66
+ methods: {
67
+ getmodel() {
68
+ let http = new HttpResetClass()
69
+ http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
70
+ data: {
71
+ items: "tcp.*,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
72
+ tablename: 't_check_paper tcp left join t_qr_code tqr on tcp.f_userinfo_code = tqr.f_userinfo_id and tcp.f_user_name = tqr.f_user_name',
73
+ condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}'`,
74
+ orderitem: 'tcp.f_offsite_time desc'
75
+ }
76
+ }).then((res) => {
77
+ this.model = res.data
78
+ })
79
+ },
80
+ },
81
+ ready() {
82
+ console.log(window.location.href)
83
+ let url = window.location.href
84
+ if (url.includes('id')){
85
+ const urlObj = new URL(url);
86
+ this.f_safecheck_code = urlObj.searchParams.get('id')
87
+ this.getmodel()
88
+ }else {
89
+ console.log(window.location.href)
90
+ console.log('非法数据')
91
+ }
92
+ }
93
+ }
94
+ </script>
95
+ <style>
96
+ </style>
@@ -0,0 +1,130 @@
1
+ <template>
2
+ <div class="work-badge" style="height: 100%">
3
+ <div class="badge-top" style="height: 33%">
4
+ <div class="badge-number">NO.{{ f_head_code }}</div>
5
+ </div>
6
+ <div class="badge-middle" style="height: 33%">
7
+ <img class="badge-image" :src="f_head_pic" alt="Badge Image">
8
+ <h1 class="name">{{ f_head_name }}</h1>
9
+ <div class="position">{{ f_head_post }}</div>
10
+ </div>
11
+ <div class="badge-bottom" style="height: 33%">
12
+ <div class="contact">
13
+ <img class="phone-icon" src="../../../assets/123.png" style="height: 30px;width: 30px" alt="Phone Icon">
14
+ <span style="font-size: 30px">{{ f_head_phone }}</span>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </template>
19
+ <script>
20
+ import {HttpResetClass} from "vue-client";
21
+
22
+ export default {
23
+ name: 'WorkBadge',
24
+ title:'WorkBadge',
25
+ data () {
26
+ return {
27
+ // 默认值或初始状态
28
+ f_head_pic: '',
29
+ f_head_code: '',
30
+ f_head_name: '',
31
+ f_head_post: '',
32
+ f_head_phone: ''
33
+ };
34
+ },
35
+ async ready () {
36
+ console.log(window.location.href)
37
+ let id = ''
38
+ let url = window.location.href
39
+ if (url.includes('id')){
40
+ const urlObj = new URL(url);
41
+ id = urlObj.searchParams.get('id');
42
+ let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
43
+ items: 'tqr.*,tf.f_downloadpath as url',
44
+ tablename: 't_qr_code tqr left join t_files tf on tf.f_businessid = tqr.id and f_table_name = \'t_qr_code\'',
45
+ condition: `f_head_code = '${id}'`,
46
+ orderitem: '1'
47
+ }})
48
+ if (QRCode && QRCode.data && QRCode.data.length > 0){
49
+ if (QRCode.data[0].url){
50
+ this.f_head_pic = QRCode.data[0].url
51
+ }else {
52
+ this.f_head_pic = `/rs/image/file/${QRCode.data[0].f_head_pic}`
53
+ }
54
+ this.f_head_code = QRCode.data[0].f_head_code
55
+ this.f_head_name = QRCode.data[0].f_head_name
56
+ this.f_head_post = QRCode.data[0].f_head_post
57
+ this.f_head_phone = QRCode.data[0].f_head_phone
58
+ }else {
59
+ console.log('获取二维码信息失败')
60
+ console.log(QRCode)
61
+ }
62
+ }
63
+ }
64
+ };
65
+ </script>
66
+ <style scoped>
67
+ .work-badge {
68
+ display: flex;
69
+ flex-direction: column;
70
+ background-image: url('../../../assets/f8632d3c8c4c1cb68e99da754cab1a7.png');
71
+ align-items: center;
72
+ background-color: #007BFF;
73
+ color: white;
74
+ padding: 20px;
75
+ border-radius: 10px;
76
+ }
77
+
78
+ .badge-top {
79
+ display: flex;
80
+ align-items: center;
81
+ justify-content: space-between;
82
+ width: 100%;
83
+ margin-bottom: 20px;
84
+ }
85
+
86
+ .badge-image {
87
+ width: 150px;
88
+ height: 150px;
89
+ margin-right: 20px;
90
+ }
91
+
92
+ .badge-number {
93
+ font-size: 24px;
94
+ float: left;
95
+ text-align: left;
96
+ font-weight: bold;
97
+ }
98
+
99
+ .badge-middle {
100
+ text-align: center;
101
+ margin-bottom: 20px;
102
+ }
103
+
104
+ .name {
105
+ font-size: 48px;
106
+ font-weight: bold;
107
+ margin-bottom: 10px;
108
+ }
109
+
110
+ .position {
111
+ font-size: 24px;
112
+ }
113
+
114
+ .badge-bottom {
115
+ display: flex;
116
+ align-items: center;
117
+ justify-content: center;
118
+ }
119
+
120
+ .contact {
121
+ display: flex;
122
+ align-items: center;
123
+ }
124
+
125
+ .phone-icon {
126
+ width: 30px;
127
+ height: 30px;
128
+ margin-right: 10px;
129
+ }
130
+ </style>
@@ -1,32 +1,32 @@
1
- <template>
2
- <div>
3
- 正在查询,请稍后!!!
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import co from 'co'
9
- let search = function * (self) {
10
- let state = yield self.$post('rs/sql/phone', {data: {f_period: '最新'}})
11
- self.$goto('checker-state', {state: state.date})
12
- }
13
- export default {
14
- title: '安检员状态',
15
- data () {
16
- return {
17
- model: {
18
- }
19
- }
20
- },
21
- methods: {
22
- getstate () {
23
- let gen = search(this)
24
- return co(gen)
25
- }
26
- },
27
- ready () {
28
- this.getstate()
29
- },
30
- components: {}
31
- }
32
- </script>
1
+ <template>
2
+ <div>
3
+ 正在查询,请稍后!!!
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import co from 'co'
9
+ let search = function * (self) {
10
+ let state = yield self.$post('rs/sql/phone', {data: {f_period: '最新'}})
11
+ self.$goto('checker-state', {state: state.date})
12
+ }
13
+ export default {
14
+ title: '安检员状态',
15
+ data () {
16
+ return {
17
+ model: {
18
+ }
19
+ }
20
+ },
21
+ methods: {
22
+ getstate () {
23
+ let gen = search(this)
24
+ return co(gen)
25
+ }
26
+ },
27
+ ready () {
28
+ this.getstate()
29
+ },
30
+ components: {}
31
+ }
32
+ </script>
@@ -1,97 +1,97 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='search'>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="form-group">
7
- <label for="f_state">状态:</label>
8
- <v-select id="f_state" :value.sync="$parent.$parent.f_period"
9
- :options='$parent.$parent.check_states'
10
- close-on-select clear-button></v-select>
11
- </div>
12
- <div class="form-group">
13
- 时间:
14
- <datepicker id="startdate"
15
- :value.sync="$parent.$parent.f_realtime"
16
- :disabled-days-of-Week="[]"
17
- :format="'yyyy-MM-dd'"
18
- :show-reset-button="reset">
19
- </datepicker>
20
- </div>
21
-
22
- <button class="btn btn-default" @click="search()">查询</button>
23
- </div>
24
- </criteria>
25
- <data-grid :model="model" partial='list' v-ref:grid>
26
- <template partial='head'>
27
- <tr>
28
- <th>时间</th>
29
- <th>手机使用者</th>
30
- <th>手机串码</th>
31
- <th>经度</th>
32
- <th>纬度</th>
33
- <th>海拔(米)</th>
34
- <th>电量%</th>
35
- <th>信号强度</th>
36
- <th>剩余空间M</th>
37
- <th>流量Kb</th>
38
- </tr>
39
- </template>
40
- <template partial='body'>
41
- <td>{{row.f_datetime}}</td>
42
- <td>{{row.f_user_name }}</td>
43
- <td>{{row.f_sn}}</td>
44
- <td>{{row.f_longitude}}</td>
45
- <td>{{row.f_latitude}}</td>
46
- <td>{{row.f_altitude}}</td>
47
- <td>{{row.f_battery_level}}</td>
48
- <td>{{row.f_signal_strength}}</td>
49
- <td>{{row.f_internal_quote}}</td>
50
- <td>{{row.f_traffic/1000}}</td>
51
- </template>
52
- </data-grid>
53
- </criteria-paged>
54
- </div>
55
- </template>
56
-
57
- <script>
58
- import { PagedList } from 'vue-client'
59
- export default {
60
- title: '安检员状态',
61
- data () {
62
- return {
63
- model: new PagedList('rs/sql/checkerphonestate', 20, {f_period: 'this.f_period', f_realtime: 'this.f_realtime'}),
64
- check_states: [
65
- {label: '最后在线', value: '最新'},
66
- {label: '分钟状态', value: '分'},
67
- {label: '天状态', value: '天'},
68
- {label: '月状态', value: '月'}
69
- ],
70
- f_period: ['最新'],
71
- f_realtime: this.toStandardDateString()
72
- }
73
- },
74
- methods: {
75
- getstate () {
76
- this.model.search()
77
- },
78
- toStandardDateString () {
79
- let dt = new Date()
80
- let month = dt.getMonth() + 1
81
- let date = dt.getDate()
82
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
83
- }
84
- },
85
- ready () {
86
- this.model.f_period = this.f_period[0]
87
- this.model.f_realtime = this.f_realtime
88
- this.$watch('f_period', function (val) {
89
- this.model.f_period = val[0]
90
- })
91
- this.$watch('f_realtime', function (val) {
92
- this.model.f_realtime = val
93
- })
94
- this.getstate()
95
- }
96
- }
97
- </script>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='search'>
5
+ <div novalidate class="form-inline auto" partial>
6
+ <div class="form-group">
7
+ <label for="f_state">状态:</label>
8
+ <v-select id="f_state" :value.sync="$parent.$parent.f_period"
9
+ :options='$parent.$parent.check_states'
10
+ close-on-select clear-button></v-select>
11
+ </div>
12
+ <div class="form-group">
13
+ 时间:
14
+ <datepicker id="startdate"
15
+ :value.sync="$parent.$parent.f_realtime"
16
+ :disabled-days-of-Week="[]"
17
+ :format="'yyyy-MM-dd'"
18
+ :show-reset-button="reset">
19
+ </datepicker>
20
+ </div>
21
+
22
+ <button class="btn btn-default" @click="search()">查询</button>
23
+ </div>
24
+ </criteria>
25
+ <data-grid :model="model" partial='list' v-ref:grid>
26
+ <template partial='head'>
27
+ <tr>
28
+ <th>时间</th>
29
+ <th>手机使用者</th>
30
+ <th>手机串码</th>
31
+ <th>经度</th>
32
+ <th>纬度</th>
33
+ <th>海拔(米)</th>
34
+ <th>电量%</th>
35
+ <th>信号强度</th>
36
+ <th>剩余空间M</th>
37
+ <th>流量Kb</th>
38
+ </tr>
39
+ </template>
40
+ <template partial='body'>
41
+ <td>{{row.f_datetime}}</td>
42
+ <td>{{row.f_user_name }}</td>
43
+ <td>{{row.f_sn}}</td>
44
+ <td>{{row.f_longitude}}</td>
45
+ <td>{{row.f_latitude}}</td>
46
+ <td>{{row.f_altitude}}</td>
47
+ <td>{{row.f_battery_level}}</td>
48
+ <td>{{row.f_signal_strength}}</td>
49
+ <td>{{row.f_internal_quote}}</td>
50
+ <td>{{row.f_traffic/1000}}</td>
51
+ </template>
52
+ </data-grid>
53
+ </criteria-paged>
54
+ </div>
55
+ </template>
56
+
57
+ <script>
58
+ import { PagedList } from 'vue-client'
59
+ export default {
60
+ title: '安检员状态',
61
+ data () {
62
+ return {
63
+ model: new PagedList('rs/sql/checkerphonestate', 20, {f_period: 'this.f_period', f_realtime: 'this.f_realtime'}),
64
+ check_states: [
65
+ {label: '最后在线', value: '最新'},
66
+ {label: '分钟状态', value: '分'},
67
+ {label: '天状态', value: '天'},
68
+ {label: '月状态', value: '月'}
69
+ ],
70
+ f_period: ['最新'],
71
+ f_realtime: this.toStandardDateString()
72
+ }
73
+ },
74
+ methods: {
75
+ getstate () {
76
+ this.model.search()
77
+ },
78
+ toStandardDateString () {
79
+ let dt = new Date()
80
+ let month = dt.getMonth() + 1
81
+ let date = dt.getDate()
82
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
83
+ }
84
+ },
85
+ ready () {
86
+ this.model.f_period = this.f_period[0]
87
+ this.model.f_realtime = this.f_realtime
88
+ this.$watch('f_period', function (val) {
89
+ this.model.f_period = val[0]
90
+ })
91
+ this.$watch('f_realtime', function (val) {
92
+ this.model.f_realtime = val
93
+ })
94
+ this.getstate()
95
+ }
96
+ }
97
+ </script>