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
@@ -13,37 +13,9 @@
13
13
  @re-res="$parent.$parent.getRes"
14
14
  :value.sync="model.f_checker_id"
15
15
  v-model="model.f_checker_id"
16
- condition="f_checker_name = '{}'">
16
+ condition="f_checker = '{}'">
17
17
  </role-selector-safe>
18
18
  </div>
19
- <div class="col-sm-3 form-group form-input-group" style="width: 20%;">
20
- <label for="startDate" class="font_normal_body">起始时间</label>
21
- <datepicker
22
- class="select_list select"
23
- :value.sync="model.startDate"
24
- id="startDate"
25
- placeholder='开始时间' style="width: 60%"
26
- :disabled-days-of-week="[]"
27
- :format="'yyyy-MM-dd 00:00:00'"
28
- :show-rest-button="reset"
29
- v-model="model.startDate"
30
- condition="f_upload_date > ='{} '">
31
- </datepicker>
32
- </div>
33
- <div class="col-sm-3 form-group form-input-group" style="width: 20%;">
34
- <label for="endDate" class="font_normal_body">结束时间</label>
35
- <datepicker
36
- class="select_list select"
37
- :value.sync="model.endDate"
38
- id="endDate"
39
- placeholder='结束日期' style="width: 60%"
40
- :disabled-days-of-week="[]"
41
- :format="'yyyy-MM-dd 23:59:59'"
42
- :show-rest-button="reset"
43
- v-model="model.endDate"
44
- condition="f_upload_date <='{} '">
45
- </datepicker>
46
- </div>
47
19
  <div class="form-group col-sm-3 form-input-group" style="width: 20%;">
48
20
  <label class="font_normal_body">用户类型</label>
49
21
  <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
@@ -51,13 +23,13 @@
51
23
  class="select_list select"
52
24
  :options='$parent.$parent.user_types' placeholder='用户类型'
53
25
  close-on-select
54
- condition="f_check_type = '{}'"></v-select>
26
+ condition="f_user_type = '{}'"></v-select>
55
27
  </div>
56
28
  <div class="col-sm-3 form-group form-input-group" style="width: 20%;float: right;">
57
29
  <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
58
30
  :field="$parent.$parent.excelHeaders"
59
31
  :defaultfield="$parent.$parent.defaultPrint"
60
- :titletable="'无计划安检汇总'" :starthead="$parent.$parent.getstart"
32
+ :titletable="'安检员考核'" :starthead="$parent.$parent.getstart"
61
33
  ></print-data-safe>
62
34
  <export-excel-safe :data="$parent.$parent.searchData"
63
35
  :field="$parent.$parent.excelHeaders"
@@ -69,84 +41,277 @@
69
41
  <button type="button" name="button" class="button_search" style="margin-left: 9px" @click="search">查询</button>
70
42
  </div>
71
43
  </div>
44
+ <div class="row">
45
+ <div class="form-group col-sm-4">
46
+ <label class="font_normal_body">计划开始:</label>
47
+ <datepicker
48
+ placeholder='计划开始'
49
+ style="width:60%"
50
+ :disabled-days-of-week="[]"
51
+ :format="'yyyy-MM-dd'"
52
+ :show-rest-button="reset"
53
+ :value.sync="model.start_time"
54
+ v-model="model.start_time"
55
+ condition="tcp.f_create_time >= '{} 00:00:00'">
56
+ </datepicker>
57
+ </div>
58
+ <div class="form-group col-sm-4">
59
+ <label class="font_normal_body">计划结束:</label>
60
+ <datepicker
61
+ placeholder='计划结束'
62
+ :disabled-days-of-week="[]"
63
+ style="width:60%"
64
+ :format="'yyyy-MM-dd'"
65
+ :show-rest-button="reset"
66
+ :value.sync="model.end_time"
67
+ v-model="model.end_time"
68
+ condition="tcp.f_create_time <= '{} 23:59:59'">
69
+ </datepicker>
70
+ </div>
71
+ </div>
72
+ <div class="row">
73
+ <div class="col-sm-4 form-group">
74
+ <label for="startDate" class="font_normal_body">安检开始:</label>
75
+ <datepicker id="startDate" placeholder="安检开始"
76
+ v-model="model.checkstart"
77
+ :value.sync="model.checkstart"
78
+ style="width: 60%;"
79
+ :disabled-days-of-Week="[]"
80
+ :format="'yyyy-MM-dd 00:00:00'"
81
+ condition="tcpi.f_last_check_date >= '{}'"
82
+ :show-reset-button="reset">
83
+ </datepicker>
84
+ </div>
85
+ <div class="col-sm-4 form-group">
86
+ <label for="endDate" class="font_normal_body">安检结束:</label>
87
+ <datepicker id="endDate" placeholder="安检结束"
88
+ v-model="model.checkend"
89
+ :value.sync="model.checkend"
90
+ :disabled-days-of-Week="[]"
91
+ style="width: 60%;"
92
+ condition="tcpi.f_last_check_date <= '{}'"
93
+ :format="'yyyy-MM-dd 23:59:59'"
94
+ :show-reset-button="reset">
95
+ </datepicker>
96
+ </div>
97
+ </div>
72
98
  </div>
73
99
  </criteria>
74
100
  <data-grid :model="model" partial='list' class="list_area table_sy" id="tongchuan" v-ref:grid >
75
101
  <template partial='head'>
76
102
  <tr>
77
- <!-- <th>-->
78
- <!-- <nobr>序号</nobr>-->
79
- <!-- </th>-->
80
- <!-- <th>-->
81
- <!-- <nobr>安检月份</nobr>-->
82
- <!-- </th>-->
103
+ <th>
104
+ <nobr>序号</nobr>
105
+ </th>
83
106
  <th>
84
107
  <nobr>安检员</nobr>
85
108
  </th>
86
109
  <th>
87
- <nobr>已检</nobr>
110
+ <nobr>计划安检总户数</nobr>
111
+ </th>
112
+ <th>
113
+ <nobr>未检户数</nobr>
114
+ </th>
115
+ <th>
116
+ <nobr>已检户数</nobr>
88
117
  </th>
89
118
  <th>
90
- <nobr>入户</nobr>
119
+ <nobr>入户户数</nobr>
91
120
  </th>
92
121
  <th>
93
- <nobr>到访不遇</nobr>
122
+ <nobr>三次到访不遇户数</nobr>
94
123
  </th>
95
124
  <th>
96
- <nobr>拒检</nobr>
125
+ <nobr>拒检户数</nobr>
97
126
  </th>
98
- <!-- <th>-->
99
- <!-- <nobr>隐患数</nobr>-->
100
- <!-- </th>-->
101
127
  <th>
102
- <nobr>入户率</nobr>
128
+ <nobr>安检率</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>申请安检户数</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>总入户数</nobr>
103
135
  </th>
104
136
  </tr>
105
137
  </template>
106
138
  <template partial='body'>
107
- <tr>
108
- <!-- <td style="text-align:center">{{$index + 1}}</td>-->
109
- <!-- <td style="text-align:center">-->
110
- <!-- <nobr>{{ row.yuefeng }}</nobr>-->
111
- <!-- </td>-->
112
- <td style="text-align:center">
113
- <nobr>{{ row.f_checker_name }}</nobr>
114
- </td>
115
- <td style="text-align:center">
116
- <nobr>{{ row.yijian }}</nobr>
117
- </td>
118
- <td style="text-align:center">
119
- <nobr>{{ row.ruhu }}</nobr>
120
- </td>
121
- <td style="text-align:center">
122
- <nobr>{{ row.daofang }}</nobr>
123
- </td>
124
- <td style="text-align:center">
125
- <nobr>{{ row.jujian }}</nobr>
126
- </td>
127
- <!-- <td style="text-align:center">-->
128
- <!-- <nobr>{{ row.yinhuan }}</nobr>-->
129
- <!-- </td>-->
130
- <td style="text-align:center">
131
- <nobr>{{ row.ruhu_bv }}</nobr>
132
- </td>
133
- </tr>
139
+
140
+ <td style="text-align: center">{{ $index + 1 }}</td>
141
+ <td style="text-align: center">{{ row.checker }}</td>
142
+ <td style="text-align: center"><a @click="$parent.$parent.$parent.modalShow(row,'1')">{{ row.data1 }}</a></td>
143
+ <td style="text-align: center">{{ row.data2 }}</td>
144
+ <td style="text-align: center">{{ row.data3 }}</td>
145
+ <td style="text-align: center">{{ row.data4 }}</td>
146
+ <td style="text-align: center">{{ row.data5 }}</td>
147
+ <td style="text-align: center">{{ row.data6 }}</td>
148
+ <td style="text-align: center">{{ row.data7 }}</td>
149
+ <td style="text-align: center"><a @click="$parent.$parent.$parent.modalShow(row,'0')">{{ row.data8 }}</a></td>
150
+ <td style="text-align: center">{{ row.data9 }}</td>
134
151
  </template>
135
152
  <template partial="foot">
136
- <td style="text-align: center"><span><b>合计:</b></span></td>
137
- <!-- <td style="text-align: center"><span><b> </b></span></td>-->
138
- <!-- <td style="text-align: center"><span><b> </b></span></td>-->
139
- <td style="text-align: center">{{model.sums.yijian}}</td>
140
- <td style="text-align: center">{{model.sums.ruhu}}</td>
141
- <td style="text-align: center">{{model.sums.daofang}}</td>
142
- <td style="text-align: center">{{model.sums.jujian}}</td>
143
- <!-- <td style="text-align: center">{{model.sums.yinhuan}}</td>-->
144
- <td style="text-align: center">{{ (model.sums.ruhu && model.sums.yijian) ? (model.sums.ruhu / model.sums.yijian * 100.0).toFixed(2) : 0.00}}%</td>
153
+ <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
154
+ <td style="text-align: center">{{ model.sums.data1 }}</td>
155
+ <td style="text-align: center">{{ model.sums.data2 }}</td>
156
+ <td style="text-align: center">{{ model.sums.data3 }}</td>
157
+ <td style="text-align: center">{{ model.sums.data4 }}</td>
158
+ <td style="text-align: center">{{ model.sums.data5 }}</td>
159
+ <td style="text-align: center">{{ model.sums.data6 }}</td>
160
+ <td style="text-align: center">{{ (model.sums.data3/model.sums.data1 * 100.0).toFixed(2)}}%</td>
161
+ <td style="text-align: center">{{ model.sums.data8 }}</td>
162
+ <td style="text-align: center">{{ model.sums.data9 }}</td>
145
163
  </template>
146
164
  </data-grid>
147
165
  </criteria-paged>
148
166
  </div>
149
167
  </section>
168
+ <modal :show.sync="modal_show" backdrop="false"
169
+ class="allQuotaRecordModalShow" width="80%">
170
+ <header slot="modal-header" class="modal-header" style="text-align: center">
171
+ </header>
172
+ <article slot="modal-body" class="modal-body">
173
+ <criteria-paged :model="modalModel" v-ref:paged2>
174
+ <criteria partial='criteria' class="search_area" v-ref:criteria2>
175
+ <div partial>
176
+ <div class="row">
177
+ <div class="form-group col-sm-4">
178
+ <label class="font_normal_body">开始时间</label>
179
+ <datepicker
180
+ placeholder='请选择'
181
+ style="width:60%"
182
+ :disabled-days-of-week="[]"
183
+ :format="'yyyy-MM-dd'"
184
+ :show-rest-button="reset"
185
+ :value.sync="$parent.$parent.modalSearchData.start_time"
186
+ v-model="$parent.$parent.modalSearchData.start_time"
187
+ >
188
+ </datepicker>
189
+ </div>
190
+ <div class="form-group col-sm-4">
191
+ <label class="font_normal_body">结束时间</label>
192
+ <datepicker
193
+ placeholder='请选择'
194
+ :disabled-days-of-week="[]"
195
+ style="width:60%"
196
+ :format="'yyyy-MM-dd'"
197
+ :show-rest-button="reset"
198
+ :value.sync="$parent.$parent.$parent.modalSearchData.end_time"
199
+ v-model="$parent.$parent.$parent.modalSearchData.end_time">
200
+ </datepicker>
201
+ </div>
202
+ <div class="col-sm-4 form-group">
203
+ <label class="font_normal_body">用户编号</label>
204
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_userinfo_code">
205
+ </div>
206
+ <div class="col-sm-4 form-group">
207
+ <label class="font_normal_body">用户名称</label>
208
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_user_name">
209
+ </div>
210
+ <div class="col-sm-4 form-group">
211
+ <label class="font_normal_body">用户地址</label>
212
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_address">
213
+ </div>
214
+ <div class="col-sm-4 form-group">
215
+ <label class="font_normal_body">用户电话</label>
216
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_user_phone">
217
+ </div>
218
+ <div class="col-sm-4 form-group">
219
+ <label class="font_normal_body">小区</label>
220
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_residential_area">
221
+ </div>
222
+ <div class="col-sm-4 form-group">
223
+ <label class="font_normal_body">安&nbsp;检&nbsp;员</label>
224
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_checker">
225
+ </div>
226
+ <div class="col-sm-4 form-group">
227
+ <label class="font_normal_body">安检状态</label>
228
+ <v-select :value.sync="$parent.$parent.$parent.modalSearchData.f_last_check_state" v-model='$parent.$parent.$parent.modalSearchData.f_last_check_state'
229
+ :value-single="true" style="width: 60%"
230
+ class="select_list select"
231
+ :options='$parent.$parent.$parent.last_check_states' placeholder='安检状态'
232
+ close-on-select
233
+ ></v-select>
234
+ </div>
235
+ <div class="form-group col-sm-4">
236
+ <label class="font_normal_body">用户类型</label>
237
+ <v-select :value.sync="$parent.$parent.$parent.modalSearchData.f_user_type" v-model='$parent.$parent.$parent.modalSearchData.f_user_type'
238
+ :value-single="true" style="width: 60%"
239
+ class="select_list select"
240
+ :options='$parent.$parent.$parent.user_types' placeholder='用户类型'
241
+ close-on-select
242
+ ></v-select>
243
+ </div>
244
+ <div class="col-sm-4 form-group">
245
+ <label class="font_normal_body">到访次数</label>
246
+ <input style="width: 60%" class="input_search" v-model="$parent.$parent.$parent.modalSearchData.f_check_version">
247
+ </div>
248
+ <div style="float: right">
249
+ <button class="button_spacing button_search" @click="$parent.$parent.$parent.modalSearch()">查询</button>
250
+ <export-excel-safe :data="$parent.$parent.$parent.modalSearchExcelData"
251
+ :field="$parent.$parent.$parent.modalExcelHeaders"
252
+ progress="safeGetExportProgress"
253
+ sqlurl="rs/logic/SafeExportExcel" sql-name="safe_singleTable_OrderBy" template-name='安检情况明细'
254
+ :choose-col="true"></export-excel-safe>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ </criteria>
259
+ <data-grid class="list_area table_sy" :model="$parent.$parent.modalModel" v-ref:modalgrid partial='list'>
260
+ <template partial='head'>
261
+ <th>
262
+ <nobr>用户编号</nobr>
263
+ </th>
264
+ <th>
265
+ <nobr>用户名称</nobr>
266
+ </th>
267
+ <th>
268
+ <nobr>小区</nobr>
269
+ </th>
270
+ <th>
271
+ <nobr>地址</nobr>
272
+ </th>
273
+ <th>
274
+ <nobr>客户电话</nobr>
275
+ </th>
276
+ <th>
277
+ <nobr>到访不遇次数</nobr>
278
+ </th>
279
+ <th>
280
+ <nobr>安检时间</nobr>
281
+ </th>
282
+ <th>
283
+ <nobr>安检员</nobr>
284
+ </th>
285
+ <th>
286
+ <nobr>计划名称</nobr>
287
+ </th>
288
+ <th>
289
+ <nobr>用户类型</nobr>
290
+ </th>
291
+ <th>
292
+ <nobr>安检状态</nobr>
293
+ </th>
294
+ </template>
295
+ <template partial='body'>
296
+ <td style="text-align:center">{{row.f_userinfo_code}}</td>
297
+ <td style="text-align:center">{{row.f_user_name }}</td>
298
+ <td style="text-align:center">{{row.f_residential_area}}</td>
299
+ <td style="text-align:center">{{row.f_address}}</td>
300
+ <td style="text-align:center">{{row.f_user_phone}}</td>
301
+ <td style="text-align:center">{{row.f_check_version}}</td>
302
+ <td style="text-align:center">{{row.f_last_check_date}}</td>
303
+ <td style="text-align:center">{{row.f_checker}}</td>
304
+ <td style="text-align:center">{{row.f_plan_name}}</td>
305
+ <td style="text-align:center">{{row.f_user_type}}</td>
306
+ <td style="text-align:center">{{row.f_last_check_state}}</td>
307
+ </template>
308
+ </data-grid>
309
+ </criteria-paged>
310
+ </article>
311
+ <footer slot="modal-footer" class="modal-footer">
312
+ <button type="button" class="btn btn-default" @click='modal_show = false'>关闭</button>
313
+ </footer>
314
+ </modal>
150
315
  </div>
151
316
  </template>
152
317
  <script>
@@ -154,13 +319,46 @@ import {PagedList, HttpResetClass} from 'vue-client'
154
319
  import * as Util from '../../Util'
155
320
 
156
321
  export default {
157
- title: '无计划安检汇总',
322
+ title: '安检员考核',
158
323
  data () {
159
324
  let model = new PagedList('rs/sql/SafecheckSummary', 20, {
160
325
  f_filiale_id: 'this.f_filiale_id'
161
- },{yijian:'',ruhu:'',daofang:'',jujian:'',yinhuan:''})
326
+ },{data1:'',data2:'',data3:'',data4:'',data5:'',data6:'',data8:'',data9:''})
162
327
  model.f_filiale_id = `('${this.$login.f.orgid}')`
163
328
  return {
329
+ modal_show:false,
330
+ modalModel: new PagedList('rs/sql/safe_singleTable_OrderBy', 15, {
331
+ items: '"tcpi.*,tcp.f_checker,tcp.f_plan_name"',
332
+ tablename: '"t_check_plan_item tcpi left join t_check_plan tcp on tcpi.f_plan_id = tcp.id"',
333
+ orderitem: '"1"'
334
+ }),
335
+ modalModel2: new PagedList('rs/sql/safe_singleTable_OrderBy', 15, {
336
+ items: '"*,f_offsite_time as f_last_check_date,f_checker_name as f_checker,f_check_type as f_user_type,f_entry_status as f_last_check_state"',
337
+ tablename: '"t_check_paper"',
338
+ orderitem: '"1"'
339
+ }),
340
+ modalSearchData:{},
341
+ modalSearchExcelData:{
342
+ items: "tcpi.*,tcp.f_checker,tcp.f_plan_name",
343
+ tablename: "t_check_plan_item tcpi left join t_check_plan tcp on tcpi.f_plan_id = tcp.id",
344
+ orderitem: "f_userinfo_code"
345
+ },
346
+ modalExcelHeaders:{
347
+ 'f_userinfo_code': '用户编号',
348
+ 'f_user_name': '用户名称',
349
+ 'f_residential_area': '小区',
350
+ 'f_address': '地址',
351
+ 'f_user_phone': '客户电话',
352
+ 'f_check_version': '到访不遇次数',
353
+ 'f_last_check_date': '安检时间',
354
+ 'f_checker': '安检员',
355
+ 'f_plan_name':"计划名称",
356
+ 'f_user_type': '用户类型',
357
+ 'f_last_check_state': '安检状态'
358
+ },
359
+ type:'',
360
+ modalRow:{},
361
+ last_check_states:[{label:'全部',value:''},{label:'入户',value:'入户'},{label:'拒检',value:'拒检'},{label:'到访不遇',value:'到访不遇'}],
164
362
  user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
165
363
  f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
166
364
  model: model,
@@ -169,60 +367,167 @@ export default {
169
367
  orgname: '',
170
368
  // checker:{},
171
369
  searchData: {
172
- condition: '',
370
+ condition: {
371
+ condition1 : '1=1',
372
+ condition2 : `1=1 and f_entry_status = '入户'`
373
+ },
173
374
  f_filiale_id: ''
174
375
  },
175
376
  print_model:{},
176
377
  excelHeaders: {
177
- 'f_checker_name': '安检员',
178
- 'yijian': '已检',
179
- 'ruhu': '入户',
180
- 'daofang': '到访不遇',
181
- 'jujian': '拒检',
182
- 'ruhu_bv': '入户率'
378
+ 'checker': '安检员',
379
+ 'data1': '计划安检总户数',
380
+ 'data2': '未检户数',
381
+ 'data3': '已检户数',
382
+ 'data4': '入户户数',
383
+ 'data5': '三次到访不遇户数',
384
+ 'data6': '拒检户数',
385
+ 'data7': '安检率',
386
+ 'data8': '申请安检户数',
387
+ 'data9': '总入户数'
183
388
  },
184
- defaultPrint: ['f_checker_name', 'yijian', 'ruhu', 'daofang', 'jujian', 'ruhu_bv'],
389
+ defaultPrint: ['checker','data1','data2','data3','data4','data5','data6','data7','data8','data9'],
185
390
 
186
391
  }
187
392
  },
188
393
  methods: {
394
+ async modalShow (row,type) {
395
+ this.type = type
396
+ this.modalRow = row
397
+ this.modal_show = true
398
+ this.modalSearchData = {}
399
+ await this.modalSearch(row)
400
+ },
401
+ modalSearch () {
402
+ this.modalModel = new PagedList('rs/sql/safe_singleTable_OrderBy', 15, {
403
+ items: '"tcpi.*,tcp.f_checker,tcp.f_plan_name"',
404
+ tablename: '"t_check_plan_item tcpi left join t_check_plan tcp on tcpi.f_plan_id = tcp.id"',
405
+ orderitem: '"1"'
406
+ })
407
+ let modalCondition = '1=1'
408
+ if (this.type == '0') {
409
+ modalCondition = this.$refs.paged.model.condition.condition2
410
+ modalCondition += ` and f_checker_name = '${this.modalRow.checker}'`
411
+ modalCondition += ` and f_no_checkplan='无计划安检'`
412
+ if (this.modalSearchData.f_user_name){
413
+ modalCondition += ` and f_user_name = '${this.modalSearchData.f_user_name}'`
414
+ }
415
+ if (this.modalSearchData.f_residential_area){
416
+ modalCondition += ` and f_residential_area = '${this.modalSearchData.f_residential_area}'`
417
+ }
418
+ if (this.modalSearchData.f_user_type){
419
+ modalCondition += ` and f_check_type = '${this.modalSearchData.f_user_type}'`
420
+ }
421
+ if (this.modalSearchData.start_time){
422
+ modalCondition += ` and f_offsite_time >= '${this.modalSearchData.start_time}'`
423
+ }
424
+ if (this.modalSearchData.end_time){
425
+ modalCondition += ` and f_offsite_time <= '${this.modalSearchData.end_time}'`
426
+ }
427
+ if (this.modalSearchData.f_userinfo_code){
428
+ modalCondition += ` and f_userinfo_code = '${this.modalSearchData.f_userinfo_code}'`
429
+ }
430
+ if (this.modalSearchData.f_address){
431
+ modalCondition += ` and f_address = '${this.modalSearchData.f_address}'`
432
+ }
433
+ if (this.modalSearchData.f_user_phone){
434
+ modalCondition += ` and f_user_phone = '${this.modalSearchData.f_user_phone}'`
435
+ }
436
+ if (this.modalSearchData.f_checker){
437
+ modalCondition += ` and f_checker_name = '${this.modalSearchData.f_checker}'`
438
+ }
439
+ this.modalModel = this.modalModel2
440
+ this.modalModel.search(modalCondition, this.modalModel)
441
+ }else {
442
+ modalCondition = this.$refs.paged.model.condition.condition1
443
+ modalCondition += ` and f_checker = '${this.modalRow.checker}'`
444
+ if (this.modalSearchData.f_last_check_state){
445
+ modalCondition += ` and tcpi.f_last_check_state = '${this.modalSearchData.f_last_check_state}'`
446
+ }
447
+ if (this.modalSearchData.f_residential_area){
448
+ modalCondition += ` and f_residential_area = '${this.modalSearchData.f_residential_area}'`
449
+ }
450
+ if (this.modalSearchData.f_user_name){
451
+ modalCondition += ` and tcpi.f_user_name = '${this.modalSearchData.f_user_name}'`
452
+ }
453
+ if (this.modalSearchData.f_user_type){
454
+ modalCondition += ` and tcpi.f_user_type = '${this.modalSearchData.f_user_type}'`
455
+ }
456
+ if (this.modalSearchData.start_time){
457
+ modalCondition += ` and tcp.f_create_time >= '${this.modalSearchData.start_time}'`
458
+ }
459
+ if (this.modalSearchData.end_time){
460
+ modalCondition += ` and tcp.f_create_time <= '${this.modalSearchData.end_time}'`
461
+ }
462
+ if (this.modalSearchData.f_userinfo_code){
463
+ modalCondition += ` and tcpi.f_userinfo_code = '${this.modalSearchData.f_userinfo_code}'`
464
+ }
465
+ if (this.modalSearchData.f_address){
466
+ modalCondition += ` and tcpi.f_address = '${this.modalSearchData.f_address}'`
467
+ }
468
+ if (this.modalSearchData.f_user_phone){
469
+ modalCondition += ` and tcpi.f_user_phone = '${this.modalSearchData.f_user_phone}'`
470
+ }
471
+ if (this.modalSearchData.f_checker){
472
+ modalCondition += ` and tcp.f_checker = '${this.modalSearchData.f_checker}'`
473
+ }
474
+ if (this.modalSearchData.f_check_version){
475
+ modalCondition += ` and tcpi.f_check_version = '${this.modalSearchData.f_check_version}'`
476
+ }
477
+ this.modalModel.search(modalCondition, this.modalModel)
478
+ }
479
+ this.modalSearchExcelData.condition = modalCondition
480
+ },
189
481
  getRes (obj) {
190
482
  this.f_filiale_id = this.$login.convertToIn(obj.resids)
191
483
  this.orgname = obj.res[0]
192
484
  this.$set('orgname', obj.res[0])
193
- console.log(
194
- `%c 无计划安检汇总公司名 %c 呼叫模块 %c`,
195
- 'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
196
- 'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
197
- 'background:transparent',
198
- this.orgname
199
- )
200
485
  },
201
486
  async selfSearch (args) {
202
487
  if (!this.f_filiale_id) {
203
488
  return this.$showMessage("请选择公司进行查询!!!")
204
489
  }
205
490
  this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
491
+ let condition = {
492
+ condition1 : args.condition,
493
+ condition2 : `1=1 and f_entry_status = '入户'`
494
+ }
495
+ if (args.model.f_checker_id){
496
+ condition.condition2 += ` and f_checker_name = '${args.model.f_checker_id}'`
497
+ }
498
+ if (args.model.f_user_type){
499
+ condition.condition2 += ` and f_check_type = '${args.model.f_user_type}'`
500
+ }
501
+ if (args.model.checkstart){
502
+ condition.condition2 += ` and f_offsite_time >= '${args.model.checkstart}'`
503
+ }
504
+ if (args.model.checkend){
505
+ condition.condition2 += ` and f_offsite_time <= '${args.model.checkend}'`
506
+ }
206
507
  this.searchData.f_filiale_id = this.f_filiale_id //导出
207
508
  this.searchData.condition=args.condition //导出
208
- await this.model.search(args.condition, args.model)
209
- this.searchData.condition = args.condition
509
+ await this.model.search(condition, args.model)
510
+ this.searchData.condition = condition
210
511
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
211
512
  this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
212
513
  this.print_model.rows.push({
213
- f_checker_name: '合计',
214
- yijian: this.sumsmodel.yijian,
215
- ruhu: this.sumsmodel.ruhu,
216
- daofang: this.sumsmodel.daofang,
217
- jujian: this.sumsmodel.jujian,
218
- ruhu_bv:`${(this.sumsmodel.ruhu && this.sumsmodel.yijian) ? (this.sumsmodel.ruhu / this.sumsmodel.yijian * 100.0).toFixed(2) : 0.00}%`
514
+ checker: '合计',
515
+ data1: this.sumsmodel.data1,
516
+ data2: this.sumsmodel.data2,
517
+ data3: this.sumsmodel.data3,
518
+ data4: this.sumsmodel.data4,
519
+ data5: this.sumsmodel.data5,
520
+ data6: this.sumsmodel.data6,
521
+ data7: `${(this.sumsmodel.data3/this.sumsmodel.data1*100.0).toFixed(2)}%`,
522
+ data8: this.sumsmodel.data8,
523
+ data9: this.sumsmodel.data9
219
524
  })
220
525
  this.print_model.totalPage = 0
221
526
  }
222
527
  },
223
528
  computed: {
224
529
  excelTitle() {
225
- return `${this.orgname }无计划安检汇总`
530
+ return `${this.orgname }安检员考核`
226
531
  },
227
532
  getstart() {
228
533
  return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`