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
@@ -274,7 +274,7 @@
274
274
  style="width: 60%" placeholder="距上次安检天数" >
275
275
  </div>
276
276
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
277
- <label class="font_normal_body">到访不遇次数</label>
277
+ <label class="font_normal_body">到访次数</label>
278
278
  <input type="number" class="input_search" v-model="model.f_check_version"
279
279
  style="width: 60%" placeholder="到访不遇次数" condition="f_check_version = '{}'" >
280
280
  </div>
@@ -0,0 +1,364 @@
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div :class="{'form-group col-sm-6':$parent.$parent.$parent.showItem,'form-group col-sm-4':!$parent.$parent.$parent.showItem}" style="margin: 0">
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
+ </role-selector-safe>
15
+ </div>
16
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
17
+ <label class="font_normal_body">计划起始</label>
18
+ <datepicker
19
+ :value.sync="$parent.$parent.f_check_start"
20
+ placeholder='起始月份' style="width:60%"
21
+ :disabled-days-of-week="[]"
22
+ :format="'yyyy-MM'"
23
+ :select-month="true"
24
+ :show-rest-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
28
+ <label class="font_normal_body">计划截止</label>
29
+ <datepicker
30
+ :value.sync="$parent.$parent.f_check_end"
31
+ placeholder='结束月份' style="width:60%"
32
+ :disabled-days-of-week="[]"
33
+ :format="'yyyy-MM'"
34
+ :select-month="true"
35
+ :show-rest-button="reset">
36
+ </datepicker>
37
+ </div>
38
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
39
+ <label class="font_normal_body">安检状态</label>
40
+ <v-select :value.sync="model.f_last_check_state" :options='$parent.$parent.checkStates' placeholder='上次安检状态' close-on-select
41
+ style="width:60% " class="select select_list" v-model='model.f_last_check_state' condition="i.f_last_check_state = '{}'">
42
+ </v-select>
43
+ </div>-->
44
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
45
+ <label class="font_normal_body">安检起始</label>
46
+ <datepicker
47
+ :value.sync="$parent.$parent.f_start_time"
48
+ placeholder='安检起始' style="width:60%"
49
+ :show-rest-button="reset">
50
+ </datepicker>
51
+ </div>
52
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
53
+ <label class="font_normal_body">安检截止</label>
54
+ <datepicker
55
+ :value.sync="$parent.$parent.f_end_time"
56
+ placeholder='安检截止' style="width:60%"
57
+ :show-rest-button="reset">
58
+ </datepicker>
59
+ </div>
60
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
61
+ <!--<label class="font_normal_body">安检起始</label>-->
62
+ <!--<datepicker-->
63
+ <!--:value.sync="$parent.$parent.f_start_time"-->
64
+ <!--placeholder='起始时间' style="width:60%"-->
65
+ <!--:disabled-days-of-week="[]"-->
66
+ <!--:format="'yyyy-MM-dd'"-->
67
+ <!--:show-rest-button="reset">-->
68
+ <!--</datepicker>-->
69
+ <!--</div>-->
70
+ <!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" v-if="$parent.$parent.criteriaShow">-->
71
+ <!--<label class="font_normal_body">安检结束</label>-->
72
+ <!--<datepicker-->
73
+ <!--:value.sync="$parent.$parent.f_end_time"-->
74
+ <!--placeholder='结束时间' style="width:60%"-->
75
+ <!--:disabled-days-of-week="[]"-->
76
+ <!--:format="'yyyy-MM-dd'"-->
77
+ <!--:show-rest-button="reset">-->
78
+ <!--</datepicker>-->
79
+ <!--</div>-->
80
+ <div style="width: auto;margin-top:8px;float: right" :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
81
+ <export-excel-safe :data="$parent.$parent.searchData"
82
+ :field="$parent.$parent.excelHeaders"
83
+ progress="safeGetExportProgress"
84
+ sqlurl="rs/logic/SafeExportExcel" sql-name="planCount" template-name='安检计划明细' ></export-excel-safe>
85
+ <button id="btnaaa" type="button" class="button_search button_spacing" @click="search()">查询</button>
86
+ <!--<div class="button_spacing"-->
87
+ <!--:class="{'button_shrink_top':$parent.criteriaShow,'button_shrink_bottom':!$parent.criteriaShow}"-->
88
+ <!--@click="$parent.$parent.hidden()">-->
89
+ <!--</div>-->
90
+ <div class="button_spacing"
91
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
92
+ @click="$parent.$parent.hiddenr()"></div>
93
+ </div>
94
+ </div>
95
+ <div class="row">
96
+ <div class="col-sm-12">
97
+ <label class="control-label" style="color: #c7254e">汇 总 项</label>
98
+ <input type="checkbox" id="f_residential_area" value="f_residential_area" v-model="$parent.$parent.nameForSql"/>
99
+ <label for="f_residential_area">小区名称</label>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </criteria>
104
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
105
+ <template partial='head'>
106
+ <tr>
107
+ <th>
108
+ <nobr>序号</nobr>
109
+ </th>
110
+ <th v-if="$parent.$parent.$parent.nameForSql.includes('f_residential_area')"><nobr>小区名称</nobr></th>
111
+ <th>安检员</th>
112
+ <th>总入户量</th>
113
+ <th>总到访不遇量</th>
114
+ <th>总拒检量</th>
115
+ <th>安检总量</th>
116
+ <th>计划总数</th>
117
+ <th>入户</th>
118
+ <th>到访不遇</th>
119
+ <th>拒检</th>
120
+ <th>无计划总数</th>
121
+ <th>无计划入户</th>
122
+ <th>无计划到访不遇</th>
123
+ <th>无计划拒检</th>
124
+ </tr>
125
+ </template>
126
+ <template partial='body'>
127
+ <td style="text-align:center;">{{$index + 1}}</td>
128
+ <td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_residential_area')">{{row.f_residential_area}}</td>
129
+ <td style="text-align: center">{{row.f_checker}}</td>
130
+ <td style="text-align: center">{{row.ruhu_total}}</td>
131
+ <td style="text-align: center">{{row.daofang_total}}</td>
132
+ <td style="text-align: center">{{row.jujian_total}}</td>
133
+ <td style="text-align: center">{{row.total_sum}}</td>
134
+ <td style="text-align: center">{{row.plannum}}</td>
135
+ <td style="text-align: center">{{row.ruhu}}</td>
136
+ <td style="text-align: center">{{row.daofang}}</td>
137
+ <td style="text-align: center">{{row.jujian}}</td>
138
+ <td style="text-align: center">{{row.no_plan_num}}</td>
139
+ <td style="text-align: center">{{row.noruhu}}</td>
140
+ <td style="text-align: center">{{row.nodaofang}}</td>
141
+ <td style="text-align: center">{{row.nojujian}}</td>
142
+ </template>
143
+ <template partial="foot">
144
+ <td style="text-align: center"><span><b>合计:</b></span></td>
145
+ <td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_residential_area')"></td>
146
+ <td style="text-align:center;"></td>
147
+ <td style="text-align: center">{{model.sums.ruhu_total}}</td>
148
+ <td style="text-align: center">{{model.sums.daofang_total}}</td>
149
+ <td style="text-align: center">{{model.sums.jujian_total}}</td>
150
+ <td style="text-align: center">{{model.sums.total_sum}}</td>
151
+ <td style="text-align: center">{{model.sums.plannum}}</td>
152
+ <td style="text-align: center">{{model.sums.ruhu}}</td>
153
+ <td style="text-align: center">{{model.sums.daofang}}</td>
154
+ <td style="text-align: center">{{model.sums.jujian}}</td>
155
+ <td style="text-align: center">{{model.sums.no_plan_num}}</td>
156
+ <td style="text-align: center">{{model.sums.noruhu}}</td>
157
+ <td style="text-align: center">{{model.sums.nodaofang}}</td>
158
+ <td style="text-align: center">{{model.sums.nojujian}}</td>
159
+ </template>
160
+ </data-grid>
161
+ </criteria-paged>
162
+ </div>
163
+ </template>
164
+ <script>
165
+ import {PagedList} from 'vue-client'
166
+
167
+
168
+ export default {
169
+ title: '安检计划查询',
170
+ data() {
171
+ let options = []
172
+ let year = (new Date()).getFullYear()
173
+ for (let i = year - 8; i <= year + 1; i++)
174
+ options.push({label: i + '', value: i + ''})
175
+ let model = new PagedList('rs/sql/planCount', 20, {
176
+ f_filialeids: 'this.f_filialeids',
177
+ f_start_time: 'this.f_start_time',
178
+ condition1:'this.condition1',
179
+ condition2:'this.condition2',
180
+ condition3:'this.condition3',
181
+ otheritem:'this.otheritem',
182
+ f_end_time: 'this.f_end_time'
183
+ }, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:'',ruhu_total:'',daofang_total:'',jujian_total:'',total_sum:''})
184
+ model.f_filialeids = '('+this.$login.f.orgid+')'
185
+ return {
186
+ excelHeaders:{
187
+ 'f_checker': '安检员',
188
+ 'plannum': '计划总数',
189
+ // 'yrj': '计划中已入户',
190
+ // 'wrj': '计划中未入户',
191
+ 'ruhu': '入户',
192
+ 'jujian': '拒检',
193
+ 'daofang': '到访不遇',
194
+ 'no_plan_num': '无计划总数',
195
+ 'noruhu': '无计划入户',
196
+ 'nojujian': '无计划拒检',
197
+ 'nodaofang': '无计划到访不遇'
198
+ },
199
+ nameForSql: [],
200
+ groupNameForSql: '',
201
+ searchData:{
202
+ condition:"1=1",
203
+ condition1:"1=1",
204
+ condition2:"1=1",
205
+ condition3:"and 1=1",
206
+ otheritem:'',
207
+ f_plan_year:year[0],
208
+ f_checker:'',
209
+ f_filialeids:'('+this.$login.f.orgid+')',
210
+ f_start_time:'',
211
+ f_end_time:''
212
+ },
213
+ checker: this.$login.f,
214
+ checkers: [],
215
+ checkersname: [],
216
+ checkStates: this.$appdata.getParam('安检状态'),
217
+ f: this.$login.f,
218
+ criteriaShow: false,
219
+ model: model,
220
+ c_year_list: options,
221
+ f_check_start:'',
222
+ f_check_end: '',
223
+ f_start_time:'',
224
+ f_end_time:''
225
+ }
226
+ },
227
+ methods: {
228
+ hidden() {
229
+ this.criteriaShow = !this.criteriaShow
230
+ },
231
+ hiddenr() {
232
+ this.$parent.showItem = !this.$parent.showItem
233
+ },
234
+ search(args) {
235
+ if (this.nameForSql.length >0 ){
236
+ this.excelHeaders = {
237
+ 'f_residential_area':'小区名称',
238
+ 'f_checker': '安检员',
239
+ 'plannum': '计划总数',
240
+ 'ruhu': '入户',
241
+ 'jujian': '拒检',
242
+ 'daofang': '到访不遇',
243
+ 'no_plan_num': '无计划总数',
244
+ 'noruhu': '无计划入户',
245
+ 'nojujian': '无计划拒检',
246
+ 'nodaofang': '无计划到访不遇'
247
+ }
248
+ this.groupNameForSql = `,${this.nameForSql.join().trim()}`
249
+ }else {
250
+ this.excelHeaders = {
251
+ 'f_checker': '安检员',
252
+ 'plannum': '计划总数',
253
+ 'ruhu': '入户',
254
+ 'jujian': '拒检',
255
+ 'daofang': '到访不遇',
256
+ 'no_plan_num': '无计划总数',
257
+ 'noruhu': '无计划入户',
258
+ 'nojujian': '无计划拒检',
259
+ 'nodaofang': '无计划到访不遇'
260
+ }
261
+ this.groupNameForSql = ``
262
+ }
263
+
264
+ let tempStr = args.condition
265
+ let condition1 =tempStr
266
+ let condition2 =tempStr
267
+ let condition3 = ' and 1=1 '
268
+ if (this.f_check_start) {
269
+ condition1 += ` AND f_plan_year >= ${this.f_check_start.substr(0,4)} `
270
+ condition1 += ` AND f_plan_month >= ${this.f_check_start.substr(5,2)} `
271
+ }
272
+ if (this.f_check_end) {
273
+ condition1 += ` AND f_plan_year <= ${this.f_check_end.substr(0,4)} `
274
+ condition1 += ` AND f_plan_month <= ${this.f_check_end.substr(5,2)} `
275
+ }
276
+ if(this.f_start_time){
277
+ condition2 += ` AND f_offsite_time >= '${this.f_start_time} 00:00:00'`
278
+ }
279
+ if (this.f_end_time){
280
+ condition2 += ` AND f_offsite_time <= '${this.f_end_time} 23:59:59'`
281
+ }
282
+ if (this.$refs.paged.$refs.cri.model.f_checker_id){
283
+ condition3 += ` AND f_checker = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
284
+ condition2 += ` AND f_checker_name = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
285
+ }
286
+ this.model.f_start_time=this.f_start_time
287
+ this.model.f_end_time=this.f_end_time
288
+ this.model.condition1=condition1
289
+ this.model.condition2=condition2
290
+ this.model.condition3=condition3
291
+ this.model.otheritem = this.groupNameForSql
292
+ this.searchData.condition1=condition1
293
+ this.searchData.condition2=condition2
294
+ this.searchData.condition3=condition3
295
+ this.searchData.otheritem = this.groupNameForSql
296
+ this.model.search(args.condition, args.model)
297
+ },
298
+ getRes(obj){
299
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids);
300
+ //tag
301
+ }
302
+ },
303
+ ready() {
304
+ this.model.id = this.$login.f.id
305
+ this.model.f_subcompany = this.$login.f.f_fengongsi
306
+ this.model.f_filialeid = this.$login.f.orgid
307
+ },
308
+
309
+ watch: {
310
+ 'nameForSql' () {
311
+ var e = document.createEvent("MouseEvents");
312
+ e.initEvent("click", true, true);
313
+ document.getElementById("btnaaa").dispatchEvent(e);
314
+ },
315
+ 'model.condition'(val) {
316
+ if(val){
317
+ this.searchData.condition = val
318
+ }
319
+ },
320
+ 'model.f_checker'(val) {
321
+ if(val){
322
+ this.searchData.f_checker = val
323
+ }
324
+ },
325
+ 'f_start_time'(val) {
326
+ if(val){
327
+ this.searchData.f_start_time = val
328
+ }
329
+ },
330
+ 'f_end_time'(val) {
331
+ if(val){
332
+ this.searchData.f_end_time = val
333
+ }
334
+ },
335
+ 'checker'() {
336
+ // //tag
337
+ //tag
338
+ this.model.chosenOrg = this.checker[0]
339
+ },
340
+ 'model.rows.length'() {
341
+ // 如果查询无结果,将合计置为0
342
+ if(this.model.rows.length < 1 &&this. model.sums){
343
+ this.model.sums.yrj = 0
344
+ this.model.sums.no_plan_num = 0
345
+ this.model.sums.wrj = 0
346
+ this.model.sums.ruhu = 0
347
+ this.model.sums.jujian = 0
348
+ this.model.sums.daofang = 0
349
+ this.model.sums.ruhu_total=0
350
+ this.model.sums.daofang_total=0
351
+ this.model.sums.jujian_total=0
352
+ this.model.sums.total_sum=0
353
+ }
354
+ }
355
+ },
356
+ computed: {
357
+ selected() {
358
+ // //tag
359
+ // this.$parent.showItem=!this.$parent.showItem
360
+ return this.$refs.paged.$refs.grid.selected
361
+ }
362
+ }
363
+ }
364
+ </script>
@@ -5,59 +5,26 @@
5
5
  <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
6
  <div partial>
7
7
  <div class="row">
8
- <div class="form-group col-sm-4">
9
- <label class="font_normal_body">开始时间:</label>
10
- <datepicker
11
- placeholder='请选择'
12
- style="width:60%"
13
- :disabled-days-of-week="[]"
14
- :format="'yyyy-MM-dd'"
15
- :show-rest-button="reset"
16
- :value.sync="model.start_time"
17
- v-model="model.start_time"
18
- condition="tcp.f_upload_date >= '{} 00:00:00'">
19
- </datepicker>
20
- </div>
21
- <div class="form-group col-sm-4">
22
- <label class="font_normal_body">结束时间:</label>
23
- <datepicker
24
- placeholder='请选择'
25
- :disabled-days-of-week="[]"
26
- style="width:60%"
27
- :format="'yyyy-MM-dd'"
28
- :show-rest-button="reset"
29
- :value.sync="model.end_time"
30
- v-model="model.end_time"
31
- condition="tcp.f_upload_date <= '{} 23:59:59'">
32
- </datepicker>
33
- </div>
34
8
  <div class="col-sm-4 form-group">
35
- <label class="font_normal_body">小区名称:</label>
36
- <input style="width: 60%" class="input_search" v-model="model.f_residential_area"
37
- placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
9
+ <label class="font_normal_body">用户名称:</label>
10
+ <input style="width: 60%" class="input_search" v-model="model.f_user_name"
11
+ placeholder="请输入用户名称(可模糊查询)" condition="f_user_name like '%{}%'">
38
12
  </div>
39
- <div class="col-sm-4 form-group" style="margin: 0">
40
- <role-selector-safe
41
- role-name="安检员"
42
- :resobjprop.sync="$parent.$parent.resids"
43
- role-lable="安&nbsp;检&nbsp;员&nbsp;"
44
- @re-res="$parent.$parent.getRes"
45
- :value.sync="model.f_checker_id"
46
- v-model="model.f_checker_id"
47
- condition="tcp.f_checker_name = '{}'">
48
- </role-selector-safe>
13
+ <div class="col-sm-4 form-group">
14
+ <label class="font_normal_body">安检年份:</label>
15
+ <input style="width: 60%" class="input_search" v-model="model.year">
49
16
  </div>
50
17
  <div style="float: right">
51
18
  <export-excel-safe :data="$parent.$parent.searchData"
52
19
  :field="$parent.$parent.excelHeaders"
53
20
  progress="safeGetExportProgress"
54
21
  sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailG"
55
- template-name='工商隐患类型明细' :choose-col="true"></export-excel-safe>
22
+ template-name='工商情况明细表' :choose-col="true"></export-excel-safe>
56
23
  </div>
57
- <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"
58
- :defaultfield="$parent.$parent.defaultPrint" :chooserow="true"
59
- :titletable="'工商隐患类型明细'" :starthead="$parent.$parent.getstart"
60
- ></print-data-safe>
24
+ <!-- <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model" :field="$parent.$parent.excelHeaders"-->
25
+ <!-- :defaultfield="$parent.$parent.defaultPrint" :chooserow="true"-->
26
+ <!-- :titletable="'工商情况明细表'" :starthead="$parent.$parent.getstart"-->
27
+ <!-- ></print-data-safe>-->
61
28
  <button class="button_spacing button_search" @click="search()">查询</button>
62
29
  </div>
63
30
  </div>
@@ -65,56 +32,35 @@
65
32
  <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
66
33
  <template partial='head'>
67
34
  <tr>
68
- <th>
69
- <nobr>序号</nobr>
70
- </th>
71
- <th>
72
- <nobr>小区名称</nobr>
73
- </th>
74
- <th>
75
- <nobr>隐患类型-漏气</nobr>
76
- </th>
77
- <th>
78
- <nobr>隐患类型-胶管</nobr>
79
- </th>
80
- <th>
81
- <nobr>隐患类型-燃气具老化</nobr>
82
- </th>
83
- <th>
84
- <nobr>存在隐患户数</nobr>
85
- </th>
86
- <th>
87
- <nobr>已处理户数</nobr>
88
- </th>
89
- <th>
90
- <nobr>处理中户数</nobr>
91
- </th>
92
- <th>
93
- <nobr>未处理户数</nobr>
94
- </th>
35
+ <th rowspan="2">序号</th>
36
+ <th rowspan="2">用户名称</th>
37
+ <th colspan="2">1季度完成情况</th>
38
+ <th colspan="2">2季度完成情况</th>
39
+ <th colspan="2">3季度完成情况</th>
40
+ <th colspan="2">4季度完成情况</th>
41
+ </tr>
42
+ <tr>
43
+ <th>已安检</th>
44
+ <th>未安检原因</th>
45
+ <th>已安检</th>
46
+ <th>未安检原因</th>
47
+ <th>已安检</th>
48
+ <th>未安检原因</th>
49
+ <th>已安检</th>
50
+ <th>未安检原因</th>
95
51
  </tr>
96
52
  </template>
97
53
  <template partial='body'>
98
-
99
54
  <td style="text-align: center">{{ $index + 1 }}</td>
100
- <td style="text-align: center">{{ row.f_residential_area }}</td>
101
- <td style="text-align: center">{{ row.ljcount }}</td>
102
- <td style="text-align: center">{{ row.jgcount }}</td>
103
- <td style="text-align: center">{{ row.rqjcount }}</td>
104
- <td style="text-align: center">{{ row.yhhs }}</td>
105
- <td style="text-align: center">{{ row.yclyh }}</td>
106
- <td style="text-align: center">{{ row.clzyh }}</td>
107
- <td style="text-align: center">{{ row.wcl }}</td>
108
- </template>
109
- <template partial="foot">
110
- <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
111
- <td style="text-align: center">{{ model.sums.yhhs }}</td>
112
- <td style="text-align: center">{{ model.sums.ljcount }}</td>
113
- <td style="text-align: center">{{ model.sums.jgcount }}</td>
114
- <td style="text-align: center">{{ model.sums.rqjcount }}</td>
115
- <td style="text-align: center">{{ model.sums.yclyh }}</td>
116
- <td style="text-align: center">{{ model.sums.clzyh }}</td>
117
- <td style="text-align: center">{{ model.sums.wcl }}</td>
55
+ <td style="text-align: center">{{ row.f_user_name }}</td>
56
+ <td style="text-align: center">{{ row.m1_safe }}</td>
57
+ <td style="text-align: center">{{ row.m1_remarks }}</td>
58
+ <td style="text-align: center">{{ row.m2_safe }}</td>
59
+ <td style="text-align: center">{{ row.m2_remarks }}</td>
60
+ <td style="text-align: center">{{ row.m3_safe }}</td>
61
+ <td style="text-align: center">{{ row.m3_remarks }}</td>
62
+ <td style="text-align: center">{{ row.m4_safe }}</td>
63
+ <td style="text-align: center">{{ row.m4_remarks }}</td>
118
64
  </template>
119
65
  </data-grid>
120
66
  </criteria-paged>
@@ -127,58 +73,43 @@ import {PagedList} from "vue-client";
127
73
 
128
74
  export default {
129
75
  name: "communityTypeDetailG",
130
- title: "工商隐患类型明细",
76
+ title: "工商情况明细表",
131
77
  data() {
78
+ let model = new PagedList("/rs/sql/communityTypeDetailG", 20, {year: 'this.year'})
79
+ model.year = ''
132
80
  return {
133
- model: new PagedList("/rs/sql/communityTypeDetailG", 999, {orgid: this.$login.f.orgid}, {
134
- yhhs: '',
135
- yclyh: '',
136
- clzyh: '',
137
- rqjcount: '',
138
- ljcount: '',
139
- wcl:'',
140
- jgcount: ''
141
- }),
81
+ model: model,
142
82
  resids: {},
143
83
  print_model:{},
144
84
  searchData: {
145
85
  condition: "1=1",
146
- orgid: this.$login.f.orgid
86
+ year: null
147
87
  },
148
88
  excelHeaders: {
149
- 'f_residential_area': '小区名称',
150
- 'ljcount': '隐患类型-漏气',
151
- 'jgcount': '隐患类型-胶管',
152
- 'rqjcount': '隐患类型-燃气具老化',
153
- 'yhhs': '存在隐患户数',
154
- 'yclyh': '已处理户数',
155
- 'clzyh': '处理中户数',
156
- 'wcl' : '未处理户数'
89
+ 'f_user_name': '用户名称',
90
+ 'm1_safe': '1季度完成安检',
91
+ 'm1_remarks': '1季度未安检原因',
92
+ 'm2_safe': '2季度完成安检',
93
+ 'm2_remarks': '2季度未安检原因',
94
+ 'm3_safe': '3季度完成安检',
95
+ 'm3_remarks': '3季度未安检原因',
96
+ 'm4_safe' : '4季度完成安检',
97
+ 'm4_remarks' : '4季度未安检原因'
157
98
  },
158
99
  printshow: false,
159
- defaultPrint:['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh','wcl'],
160
- sumsmodel: {},
161
100
  }
162
101
  },
163
102
  ready() {
103
+ this.$refs.paged.$refs.criteria.model.year = new Date().getFullYear()
164
104
  // this.model.search('1=1')
165
105
  },
166
106
  methods: {
167
- async selfSearch(args) {
168
- await this.model.search(args.condition, args.model, args.condValue)
107
+ selfSearch(args) {
108
+ this.model.year = args.model.year
109
+ args.condition += ` and uf.f_user_type = '非民用' `
169
110
  this.searchData.condition = args.condition
170
- this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
171
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
172
- this.print_model.rows.push({
173
- f_residential_area: '合计',
174
- ljcount : this.sumsmodel.ljcount,
175
- jgcount : this.sumsmodel.jgcount,
176
- rqjcount : this.sumsmodel.rqjcount,
177
- yhhs: this.sumsmodel.yhhs,
178
- yclyh: this.sumsmodel.yclyh,
179
- clzyh: this.sumsmodel.clzyh,
180
- wcl: this.sumsmodel.wcl,
181
- })
111
+ this.searchData.year = args.model.year
112
+ this.model.search(args.condition, args.model, args.condValue)
182
113
  this.print_model.totalPage = 0
183
114
  },
184
115
  getRes(obj) {