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
@@ -1,82 +1,82 @@
1
- <template>
2
- <div class="auto">
3
- <button type="button" class="btn btn-default" @click="this.$back('ass')">&lt;&lt;</button>
4
- <div id="allmap2" :style="mapStyle"></div>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- // because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
10
-
11
- import Vue from 'vue'
12
-
13
- export default {
14
- title: '岗位图',
15
- props: ['lonlats'],
16
- data () {
17
- return {
18
- mapStyle: {
19
- width: (this.$parent.$el.clientWidth -30) + 'px',
20
- height: (this.$parent.$el.clientHeight - 80) + 'px'
21
- },
22
- markers : []
23
- }
24
- },
25
- ready () {
26
- this.lonlats.filter((item) => {
27
- return item.f_longitude != 0 && item.f_latitude != 0
28
- }).forEach((item) => {
29
- this.markers.push({
30
- longitude: item.f_longitude,
31
- latitude: item.f_latitude,
32
- hint: item.f_user_name + '[' + item.f_datetime + ']'
33
- })
34
- })
35
- if(Vue.mapLoaded) {
36
- this.render()
37
- } else {
38
- window.__mapCallback__ = this.mapCallback
39
- let element = document.createElement('script')
40
- element.setAttribute("type","text/javascript")
41
- element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
42
- document.body.appendChild(element)
43
- }
44
- },
45
- methods: {
46
- mapCallback () {
47
- Vue.mapLoaded = true
48
- this.render()
49
- },
50
- patch () {
51
- let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
52
- if(a.length != 0) {
53
- a[0].style.height = 'auto'
54
- } else {
55
- window.setTimeout(this.patch, 500)
56
- }
57
- },
58
- render () {
59
- window.map = new BMap.Map("allmap2")
60
- window.map.clearOverlays();
61
- if(this.markers.length == 0)
62
- window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
63
- else
64
- window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
65
- window.map.addControl(new BMap.NavigationControl())
66
- this.markers.forEach(function(pos) {
67
- var point = new BMap.Point(pos.longitude,pos.latitude)
68
- var marker = new BMap.Marker(point) // 创建标注
69
- var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
70
- marker.setLabel(label)
71
- label.setStyle({ border : '0px', padding: '0px'})
72
- window.map.addOverlay(marker) // 将标注添加到地图中
73
- // var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
74
- // marker.addEventListener("click", function(){
75
- // window.map.openInfoWindow(infoWindow,point) //开启信息窗口
76
- // })
77
- })
78
- this.patch()
79
- }
80
- }
81
- }
82
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <button type="button" class="btn btn-default" @click="this.$back('ass')">&lt;&lt;</button>
4
+ <div id="allmap2" :style="mapStyle"></div>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ // because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
10
+
11
+ import Vue from 'vue'
12
+
13
+ export default {
14
+ title: '岗位图',
15
+ props: ['lonlats'],
16
+ data () {
17
+ return {
18
+ mapStyle: {
19
+ width: (this.$parent.$el.clientWidth -30) + 'px',
20
+ height: (this.$parent.$el.clientHeight - 80) + 'px'
21
+ },
22
+ markers : []
23
+ }
24
+ },
25
+ ready () {
26
+ this.lonlats.filter((item) => {
27
+ return item.f_longitude != 0 && item.f_latitude != 0
28
+ }).forEach((item) => {
29
+ this.markers.push({
30
+ longitude: item.f_longitude,
31
+ latitude: item.f_latitude,
32
+ hint: item.f_user_name + '[' + item.f_datetime + ']'
33
+ })
34
+ })
35
+ if(Vue.mapLoaded) {
36
+ this.render()
37
+ } else {
38
+ window.__mapCallback__ = this.mapCallback
39
+ let element = document.createElement('script')
40
+ element.setAttribute("type","text/javascript")
41
+ element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
42
+ document.body.appendChild(element)
43
+ }
44
+ },
45
+ methods: {
46
+ mapCallback () {
47
+ Vue.mapLoaded = true
48
+ this.render()
49
+ },
50
+ patch () {
51
+ let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
52
+ if(a.length != 0) {
53
+ a[0].style.height = 'auto'
54
+ } else {
55
+ window.setTimeout(this.patch, 500)
56
+ }
57
+ },
58
+ render () {
59
+ window.map = new BMap.Map("allmap2")
60
+ window.map.clearOverlays();
61
+ if(this.markers.length == 0)
62
+ window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
63
+ else
64
+ window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
65
+ window.map.addControl(new BMap.NavigationControl())
66
+ this.markers.forEach(function(pos) {
67
+ var point = new BMap.Point(pos.longitude,pos.latitude)
68
+ var marker = new BMap.Marker(point) // 创建标注
69
+ var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
70
+ marker.setLabel(label)
71
+ label.setStyle({ border : '0px', padding: '0px'})
72
+ window.map.addOverlay(marker) // 将标注添加到地图中
73
+ // var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
74
+ // marker.addEventListener("click", function(){
75
+ // window.map.openInfoWindow(infoWindow,point) //开启信息窗口
76
+ // })
77
+ })
78
+ this.patch()
79
+ }
80
+ }
81
+ }
82
+ </script>
@@ -16,7 +16,7 @@
16
16
  close-on-select value-single >
17
17
  </v-select>
18
18
  </div>
19
- <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
19
+ <div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
20
20
  </div>
21
21
  <div class="leftplan-center safe_plan_list">
22
22
  <div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
@@ -399,6 +399,7 @@
399
399
  a:'1',
400
400
  opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
401
401
  currentorder:'按时间降序',
402
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
402
403
  checkplan : new SearchList(true),
403
404
  selectPlan:{id:''},
404
405
  upCheckPlan:{
@@ -451,6 +452,13 @@
451
452
  },
452
453
  async ready(){
453
454
  await this.loadpage()
455
+ if (!this.userlogin.orgid){
456
+ if (this.$login.f.f_orgids){
457
+ this.userlogin.orgid = this.$login.f.f_orgids.endsWith('.')?this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1):this.$login.f.f_orgids
458
+ }else {
459
+ this.userlogin.orgid = ''
460
+ }
461
+ }
454
462
  },
455
463
  computed: {
456
464
  ntoway() {
@@ -575,8 +583,10 @@
575
583
  //查询安检员selectChanged
576
584
  async searchChecker(id){
577
585
  let res=await new HttpResetClass().load('POST', '/rs/search', {
578
- source: `root.getResourceById($${this.userlogin.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
579
- userid: this.$login.f.id
586
+ data:{
587
+ source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
588
+ userid: this.userlogin.orgid
589
+ }
580
590
  }, {resolveMsg: null, rejectMsg: null})
581
591
  let arr = []
582
592
  res.data.forEach((resRow) => {
@@ -727,7 +737,7 @@
727
737
  this.isSend=true
728
738
  let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
729
739
  data:{
730
- f_operator:this.userlogin.orgstr,//global.login.name,
740
+ f_operator:this.userlogin.name,//global.login.name,
731
741
  condition:"",
732
742
  switchCheckAll:true,
733
743
  checkAll:false,
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div class="form-group col-sm-2" style="float: right">
52
52
  <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
53
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
53
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
54
54
  </div>
55
55
  <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
56
56
  <div slot="modal-header" class="modal-header">
@@ -178,6 +178,7 @@
178
178
  data() {
179
179
  return {
180
180
  model:new PagedList('/rs/sql/planItem', 100, {}),
181
+ isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
181
182
  a:'1',
182
183
  opt:[{label:"测试",value:"测试"}],
183
184
  showCondtion:false,
@@ -371,6 +371,7 @@
371
371
  <th><nobr>抄表册</nobr></th>
372
372
  <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
373
373
  <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
374
+ <th><nobr>首次通气时间</nobr></th>
374
375
  <th><nobr>详细地址</nobr></th>
375
376
  </tr>
376
377
  </template>
@@ -386,6 +387,7 @@
386
387
  <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
387
388
  <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
388
389
  <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
390
+ <td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
389
391
  <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
390
392
  </template>
391
393
  </data-grid>
@@ -1,59 +1,59 @@
1
- <template>
2
- <div style="height: 100%;width: 100%;padding:10px 0px 10px 0px;">
3
- <div class="auto">
4
- <partial-view v-ref:pv>
5
- <div class="row" style="padding-bottom: 10px">
6
- <label class = "col-sm-4 control-label">用户姓名:</label>
7
- <span class = "col-sm-8">{{rowdata.f_user_name}}</span>
8
- </div>
9
- <div class="row" style="padding-bottom: 10px">
10
- <label class = "col-sm-4 control-label">用户地址:</label>
11
- <span class = "col-sm-8">{{rowdata.f_address}}</span>
12
- </div>
13
- <div class="row" style="padding-bottom: 10px">
14
- <label class = "col-sm-3 control-label">安检人:</label>
15
- <span class = "col-sm-3">{{rowdata.f_checker_name}}</span>
16
- <label class = "col-sm-3 control-label">安检状态:</label>
17
- <span class = "col-sm-3">{{rowdata.f_entry_status}}</span>
18
- </div>
19
- <div class="row" style="padding-bottom: 10px">
20
- <label class = "col-sm-3 control-label">入户时间:</label>
21
- <span class = "col-sm-9">{{rowdata.f_onsite_time}}</span>
22
- </div>
23
- <div class="row" style="padding-bottom: 10px">
24
- <label class = "col-sm-3 control-label">离开时间:</label>
25
- <span class = "col-sm-9">{{rowdata.f_offsite_time}}</span>
26
- </div>
27
- <div class="row" style="padding-bottom: 10px">
28
- <label class = "col-sm-3 control-label">用户评价:</label>
29
- <span class = "col-sm-3">{{rowdata.f_client_evaluation}}</span>
30
- </div>
31
- </partial-view>
32
- </div>
33
- <check-paper-items :row="rowdata"></check-paper-items>
34
- </div>
35
- </template>
36
-
37
- <script>
38
- import Vue from 'vue'
39
- import co from 'co'
40
-
41
- export default {
42
- title: '安检项信息',
43
- name: 'CheckPaperItem',
44
- props: ['row'],
45
- data () {
46
- return {
47
- rowdata: this.row
48
- }
49
- },
50
- ready () {
51
- this.rowdata = this.row
52
- },
53
- watch: {
54
- 'row' (val) {
55
- this.rowdata = val
56
- }
57
- }
58
- }
59
- </script>
1
+ <template>
2
+ <div style="height: 100%;width: 100%;padding:10px 0px 10px 0px;">
3
+ <div class="auto">
4
+ <partial-view v-ref:pv>
5
+ <div class="row" style="padding-bottom: 10px">
6
+ <label class = "col-sm-4 control-label">用户姓名:</label>
7
+ <span class = "col-sm-8">{{rowdata.f_user_name}}</span>
8
+ </div>
9
+ <div class="row" style="padding-bottom: 10px">
10
+ <label class = "col-sm-4 control-label">用户地址:</label>
11
+ <span class = "col-sm-8">{{rowdata.f_address}}</span>
12
+ </div>
13
+ <div class="row" style="padding-bottom: 10px">
14
+ <label class = "col-sm-3 control-label">安检人:</label>
15
+ <span class = "col-sm-3">{{rowdata.f_checker_name}}</span>
16
+ <label class = "col-sm-3 control-label">安检状态:</label>
17
+ <span class = "col-sm-3">{{rowdata.f_entry_status}}</span>
18
+ </div>
19
+ <div class="row" style="padding-bottom: 10px">
20
+ <label class = "col-sm-3 control-label">入户时间:</label>
21
+ <span class = "col-sm-9">{{rowdata.f_onsite_time}}</span>
22
+ </div>
23
+ <div class="row" style="padding-bottom: 10px">
24
+ <label class = "col-sm-3 control-label">离开时间:</label>
25
+ <span class = "col-sm-9">{{rowdata.f_offsite_time}}</span>
26
+ </div>
27
+ <div class="row" style="padding-bottom: 10px">
28
+ <label class = "col-sm-3 control-label">用户评价:</label>
29
+ <span class = "col-sm-3">{{rowdata.f_client_evaluation}}</span>
30
+ </div>
31
+ </partial-view>
32
+ </div>
33
+ <check-paper-items :row="rowdata"></check-paper-items>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ import Vue from 'vue'
39
+ import co from 'co'
40
+
41
+ export default {
42
+ title: '安检项信息',
43
+ name: 'CheckPaperItem',
44
+ props: ['row'],
45
+ data () {
46
+ return {
47
+ rowdata: this.row
48
+ }
49
+ },
50
+ ready () {
51
+ this.rowdata = this.row
52
+ },
53
+ watch: {
54
+ 'row' (val) {
55
+ this.rowdata = val
56
+ }
57
+ }
58
+ }
59
+ </script>
@@ -1,120 +1,120 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="row">
7
- <div class="col-sm-4 form-group">
8
- <role-selector-safe
9
- role-name="安检员"
10
- role-lable="安&ensp;检&ensp;员"
11
- @re-res="$parent.$parent.getRes"
12
- :value.sync="model.f_checker_id"
13
- v-model="model.f_checker_id"
14
- condition="f_checker_name = '{}'">
15
- </role-selector-safe>
16
- </div>
17
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
18
- <label class="font_normal_body">小区名称</label>
19
- <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
20
- condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
21
- </div>
22
- <div class="col-sm-2 form-group">
23
- <label for="startDate" class="font_normal_body">开始日期:</label>
24
- <datepicker id="startDate" placeholder="开始日期"
25
- v-model="model.startDate"
26
- :value.sync="model.startDate"
27
- style="width: 60%;"
28
- :disabled-days-of-Week="[]"
29
- :format="'yyyy-MM-dd HH:mm:ss'"
30
- :show-reset-button="reset">
31
- </datepicker>
32
- </div>
33
- <div class="col-sm-2 form-group">
34
- <label for="endDate" class="font_normal_body">结束日期:</label>
35
- <datepicker id="endDate" placeholder="结束日期"
36
- v-model="model.endDate"
37
- :value.sync="model.endDate"
38
- :disabled-days-of-Week="[]"
39
- style="width: 60%;"
40
- :format="'yyyy-MM-dd HH:mm:ss'"
41
- :show-reset-button="reset">
42
- </datepicker>
43
- </div>
44
- <div class="col-sm-3 form-group" style="margin-top: 8px">
45
- <button class="button_search button_spacing" @click="search()">查询</button>
46
- <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
47
- <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
48
- </div>
49
- </div>
50
- </div>
51
- </criteria>
52
- <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
53
- <table class='tableprint' style="margin: 0px auto">
54
- <thead>
55
- <tr>
56
- <th colspan='5' style="font-weight: normal; text-align: left;">
57
- <h3 style="text-align: center">安检数据报表</h3>
58
- </th>
59
- </tr>
60
- <tr>
61
- <th colspan='5' style="font-weight: normal; text-align: center;">
62
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
63
- 结束时间:{{ model.model.endDate }}
64
- </th>
65
- </tr>
66
- </thead>
67
- <tr>
68
- <th colspan='5' style="font-weight: normal;">
69
- {{{ model.data.substring(26,model.data.length-8) }}}
70
- </th>
71
- </tr>
72
- </table>
73
- </div>
74
- </criteria-paged>
75
- </div>
76
-
77
- </template>
78
-
79
- <script>
80
- import {DataModel} from 'vue-client'
81
- import * as Util from "../Util";
82
-
83
- export default {
84
- title: '维修员报表',
85
- data() {
86
- let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
87
- model.f_filialeid = '(' + this.$login.f.orgid + ')'
88
- return {
89
- filialeNameStr: '',
90
- filialeCodeStr: '',
91
- userid: this.$login.f.id,
92
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
93
- model: model
94
- }
95
- },
96
- methods: {
97
- getRes(obj) {
98
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
99
- },
100
- search(args){
101
- if (args.model.endDate){
102
- args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
103
- }
104
- if (args.model.startDate){
105
- args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
106
- }
107
- this.model.search(args.condition,args.model)
108
- }
109
- },
110
- ready() {
111
- this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
112
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
113
- },
114
- computed: {
115
- selected() {
116
- return this.$refs.grid.selected
117
- },
118
- }
119
- }
120
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
+ <div novalidate class="form-inline auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-4 form-group">
8
+ <role-selector-safe
9
+ role-name="安检员"
10
+ role-lable="安&ensp;检&ensp;员"
11
+ @re-res="$parent.$parent.getRes"
12
+ :value.sync="model.f_checker_id"
13
+ v-model="model.f_checker_id"
14
+ condition="f_checker_name = '{}'">
15
+ </role-selector-safe>
16
+ </div>
17
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
18
+ <label class="font_normal_body">小区名称</label>
19
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
20
+ condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label for="startDate" class="font_normal_body">开始日期:</label>
24
+ <datepicker id="startDate" placeholder="开始日期"
25
+ v-model="model.startDate"
26
+ :value.sync="model.startDate"
27
+ style="width: 60%;"
28
+ :disabled-days-of-Week="[]"
29
+ :format="'yyyy-MM-dd HH:mm:ss'"
30
+ :show-reset-button="reset">
31
+ </datepicker>
32
+ </div>
33
+ <div class="col-sm-2 form-group">
34
+ <label for="endDate" class="font_normal_body">结束日期:</label>
35
+ <datepicker id="endDate" placeholder="结束日期"
36
+ v-model="model.endDate"
37
+ :value.sync="model.endDate"
38
+ :disabled-days-of-Week="[]"
39
+ style="width: 60%;"
40
+ :format="'yyyy-MM-dd HH:mm:ss'"
41
+ :show-reset-button="reset">
42
+ </datepicker>
43
+ </div>
44
+ <div class="col-sm-3 form-group" style="margin-top: 8px">
45
+ <button class="button_search button_spacing" @click="search()">查询</button>
46
+ <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
47
+ <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </criteria>
52
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
53
+ <table class='tableprint' style="margin: 0px auto">
54
+ <thead>
55
+ <tr>
56
+ <th colspan='5' style="font-weight: normal; text-align: left;">
57
+ <h3 style="text-align: center">安检数据报表</h3>
58
+ </th>
59
+ </tr>
60
+ <tr>
61
+ <th colspan='5' style="font-weight: normal; text-align: center;">
62
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
63
+ 结束时间:{{ model.model.endDate }}
64
+ </th>
65
+ </tr>
66
+ </thead>
67
+ <tr>
68
+ <th colspan='5' style="font-weight: normal;">
69
+ {{{ model.data.substring(26,model.data.length-8) }}}
70
+ </th>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ </criteria-paged>
75
+ </div>
76
+
77
+ </template>
78
+
79
+ <script>
80
+ import {DataModel} from 'vue-client'
81
+ import * as Util from "../Util";
82
+
83
+ export default {
84
+ title: '维修员报表',
85
+ data() {
86
+ let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
87
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
88
+ return {
89
+ filialeNameStr: '',
90
+ filialeCodeStr: '',
91
+ userid: this.$login.f.id,
92
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
93
+ model: model
94
+ }
95
+ },
96
+ methods: {
97
+ getRes(obj) {
98
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
99
+ },
100
+ search(args){
101
+ if (args.model.endDate){
102
+ args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
103
+ }
104
+ if (args.model.startDate){
105
+ args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
106
+ }
107
+ this.model.search(args.condition,args.model)
108
+ }
109
+ },
110
+ ready() {
111
+ this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
112
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
113
+ },
114
+ computed: {
115
+ selected() {
116
+ return this.$refs.grid.selected
117
+ },
118
+ }
119
+ }
120
+ </script>
@@ -51,9 +51,9 @@
51
51
  v-model='model.userType'
52
52
  :value.sync="model.userType"
53
53
  :options='$parent.$parent.userTypes'
54
- condition="tuf.f_gasproperties = '{}'"
55
- :value-single="true"
56
- close-on-select clear-button></v-select>
54
+ condition="tuf.f_gasproperties in {} "
55
+ :multiple="true"
56
+ ></v-select>
57
57
  </div>
58
58
  <div class="col-sm-2 form-group" >
59
59
  <label class="font_normal_body">气表类型</label>