safecheck-client 3.0.33-99 → 3.0.34-1

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 (386) 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/package.json +3 -4
  62. package/publish.bat +7 -7
  63. package/release.bat +5 -5
  64. package/src/Widget.vue +13 -13
  65. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  66. package/src/android-bootstrap/less/.csscomb.json +304 -304
  67. package/src/android-bootstrap/less/.csslintrc +19 -19
  68. package/src/android-bootstrap/less/alerts.less +73 -73
  69. package/src/android-bootstrap/less/badges.less +66 -66
  70. package/src/android-bootstrap/less/bootstrap.less +56 -56
  71. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  72. package/src/android-bootstrap/less/button-groups.less +247 -247
  73. package/src/android-bootstrap/less/buttons.less +173 -173
  74. package/src/android-bootstrap/less/carousel.less +269 -269
  75. package/src/android-bootstrap/less/close.less +34 -34
  76. package/src/android-bootstrap/less/code.less +69 -69
  77. package/src/android-bootstrap/less/component-animations.less +33 -33
  78. package/src/android-bootstrap/less/grid.less +84 -84
  79. package/src/android-bootstrap/less/input-groups.less +167 -167
  80. package/src/android-bootstrap/less/jumbotron.less +52 -52
  81. package/src/android-bootstrap/less/labels.less +64 -64
  82. package/src/android-bootstrap/less/list-group.less +141 -141
  83. package/src/android-bootstrap/less/media.less +66 -66
  84. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  85. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  86. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  87. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  88. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  89. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  90. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  91. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  92. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  93. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  94. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  95. package/src/android-bootstrap/less/mixins/image.less +33 -33
  96. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  97. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  98. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  99. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  100. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  101. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  102. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  103. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  104. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  105. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  106. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  107. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  108. package/src/android-bootstrap/less/mixins/size.less +10 -10
  109. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  110. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  111. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  112. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  113. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  114. package/src/android-bootstrap/less/mixins.less +40 -40
  115. package/src/android-bootstrap/less/modals.less +151 -151
  116. package/src/android-bootstrap/less/navbar.less +660 -660
  117. package/src/android-bootstrap/less/navs.less +290 -290
  118. package/src/android-bootstrap/less/normalize.less +424 -424
  119. package/src/android-bootstrap/less/pager.less +76 -76
  120. package/src/android-bootstrap/less/pagination.less +89 -89
  121. package/src/android-bootstrap/less/panels.less +274 -274
  122. package/src/android-bootstrap/less/popovers.less +131 -131
  123. package/src/android-bootstrap/less/print.less +101 -101
  124. package/src/android-bootstrap/less/progress-bars.less +87 -87
  125. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  126. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  127. package/src/android-bootstrap/less/scaffolding.less +161 -161
  128. package/src/android-bootstrap/less/tables.less +262 -262
  129. package/src/android-bootstrap/less/theme.less +291 -291
  130. package/src/android-bootstrap/less/thumbnails.less +36 -36
  131. package/src/android-bootstrap/less/tooltip.less +102 -102
  132. package/src/android-bootstrap/less/type.less +303 -303
  133. package/src/android-bootstrap/less/utilities.less +55 -55
  134. package/src/android-bootstrap/less/variables.less +896 -896
  135. package/src/android-bootstrap/less/wells.less +29 -29
  136. package/src/androidTest.js +20 -20
  137. package/src/bootstrap/less/.csscomb.json +304 -304
  138. package/src/bootstrap/less/.csslintrc +19 -19
  139. package/src/bootstrap/less/alerts.less +73 -73
  140. package/src/bootstrap/less/badges.less +66 -66
  141. package/src/bootstrap/less/breadcrumbs.less +26 -26
  142. package/src/bootstrap/less/button-groups.less +247 -247
  143. package/src/bootstrap/less/buttons.less +172 -172
  144. package/src/bootstrap/less/carousel.less +269 -269
  145. package/src/bootstrap/less/close.less +34 -34
  146. package/src/bootstrap/less/code.less +69 -69
  147. package/src/bootstrap/less/component-animations.less +33 -33
  148. package/src/bootstrap/less/dropdowns.less +216 -216
  149. package/src/bootstrap/less/forms.less +626 -626
  150. package/src/bootstrap/less/grid.less +84 -84
  151. package/src/bootstrap/less/input-groups.less +167 -167
  152. package/src/bootstrap/less/jumbotron.less +52 -52
  153. package/src/bootstrap/less/labels.less +64 -64
  154. package/src/bootstrap/less/list-group.less +141 -141
  155. package/src/bootstrap/less/media.less +66 -66
  156. package/src/bootstrap/less/mixins/alerts.less +14 -14
  157. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  158. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  159. package/src/bootstrap/less/mixins/buttons.less +69 -69
  160. package/src/bootstrap/less/mixins/center-block.less +7 -7
  161. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  162. package/src/bootstrap/less/mixins/forms.less +90 -90
  163. package/src/bootstrap/less/mixins/gradients.less +59 -59
  164. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  165. package/src/bootstrap/less/mixins/grid.less +122 -122
  166. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  167. package/src/bootstrap/less/mixins/image.less +33 -33
  168. package/src/bootstrap/less/mixins/labels.less +12 -12
  169. package/src/bootstrap/less/mixins/list-group.less +30 -30
  170. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  171. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  172. package/src/bootstrap/less/mixins/opacity.less +8 -8
  173. package/src/bootstrap/less/mixins/pagination.less +24 -24
  174. package/src/bootstrap/less/mixins/panels.less +24 -24
  175. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  176. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  177. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  178. package/src/bootstrap/less/mixins/resize.less +6 -6
  179. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  180. package/src/bootstrap/less/mixins/size.less +10 -10
  181. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  182. package/src/bootstrap/less/mixins/table-row.less +44 -44
  183. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  184. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  185. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  186. package/src/bootstrap/less/mixins.less +40 -40
  187. package/src/bootstrap/less/modals.less +151 -151
  188. package/src/bootstrap/less/navbar.less +660 -660
  189. package/src/bootstrap/less/normalize.less +424 -424
  190. package/src/bootstrap/less/pager.less +76 -76
  191. package/src/bootstrap/less/pagination.less +89 -89
  192. package/src/bootstrap/less/panels.less +275 -275
  193. package/src/bootstrap/less/popovers.less +131 -131
  194. package/src/bootstrap/less/print.less +101 -101
  195. package/src/bootstrap/less/progress-bars.less +87 -87
  196. package/src/bootstrap/less/responsive-embed.less +35 -35
  197. package/src/bootstrap/less/responsive-utilities.less +194 -194
  198. package/src/bootstrap/less/scaffolding.less +161 -161
  199. package/src/bootstrap/less/theme.less +291 -291
  200. package/src/bootstrap/less/thumbnails.less +36 -36
  201. package/src/bootstrap/less/tooltip.less +102 -102
  202. package/src/bootstrap/less/type.less +303 -303
  203. package/src/bootstrap/less/utilities.less +55 -55
  204. package/src/bootstrap/less/wells.less +29 -29
  205. package/src/components/FileUpload.vue +696 -696
  206. package/src/components/Hello.vue +39 -39
  207. package/src/components/LeftTree.vue +27 -27
  208. package/src/components/Util/ImgSelfSafePlus.vue +7 -0
  209. package/src/components/Util.js +7 -0
  210. package/src/components/android/AddGas.vue +147 -147
  211. package/src/components/android/AddressList.vue +61 -61
  212. package/src/components/android/AreaPlan.vue +2 -1
  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/EquipmentInspection.vue +348 -348
  221. package/src/components/android/FootprintMap.vue +120 -120
  222. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  223. package/src/components/android/ImgSelfAndroid.vue +181 -181
  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/SafePlanItem.vue +14 -2
  239. package/src/components/android/SafecheckDevices.vue +3 -1
  240. package/src/components/android/SafecheckOrderV.vue +18 -12
  241. package/src/components/android/StationMaster.vue +12 -12
  242. package/src/components/android/SwitchValve.vue +1 -1
  243. package/src/components/checkerphonestate/Checker.vue +32 -32
  244. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  245. package/src/components/defects/AddDefectModal.vue +120 -120
  246. package/src/components/defects/AddDevice.vue +95 -95
  247. package/src/components/defects/DefectModal.vue +101 -101
  248. package/src/components/defects/DevicesAndItem.vue +39 -39
  249. package/src/components/defects/DevicesSeting.vue +106 -106
  250. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  251. package/src/components/map/checkScreen.vue +27 -21
  252. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  253. package/src/components/metterfiles/MetterFiles.vue +104 -104
  254. package/src/components/notice/NoticeForm.vue +100 -100
  255. package/src/components/notice/NoticeIssue.vue +20 -20
  256. package/src/components/notice/NoticeQuery.vue +76 -76
  257. package/src/components/paper/PicViewer.vue +18 -18
  258. package/src/components/paper/PlanChooser.vue +167 -167
  259. package/src/components/paper/RepairVerifyForm.vue +76 -76
  260. package/src/components/pc/NewCheckpaper.vue +11 -8
  261. package/src/components/phonestate/DailyTraffic.vue +57 -57
  262. package/src/components/phonestate/LastKnownState.vue +74 -74
  263. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  264. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  265. package/src/components/phonestate/PostMap.vue +82 -82
  266. package/src/components/planmanage/PlanManage.vue +843 -836
  267. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  268. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +2 -3
  269. package/src/components/rongcheng/PaperListNPSQ.vue +6 -5
  270. package/src/components/rongcheng/PaperListSQ.vue +1 -1
  271. package/src/components/safecheckNew/PaperList.vue +785 -0
  272. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  273. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  274. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  275. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  276. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  277. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
  278. package/src/components/task/RepairAnnual.vue +79 -79
  279. package/src/components/task/RepairAnnualDetail.vue +49 -49
  280. package/src/components/task/RepairMonthly.vue +91 -91
  281. package/src/components/task/TaskAnnual.vue +77 -77
  282. package/src/components/task/TaskAnnualDetail.vue +47 -47
  283. package/src/components/task/TaskMonthly.vue +89 -89
  284. package/src/components/userfile/MeterFile.vue +145 -145
  285. package/src/components/userfile/MeterModify.vue +46 -46
  286. package/src/components/userfile/UserFile.vue +118 -118
  287. package/src/components/userfile/UserfileChange.vue +277 -277
  288. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  289. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  290. package/src/filiale/baiyin/android.js +10 -0
  291. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
  292. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
  293. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
  294. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
  295. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
  296. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  297. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  298. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  299. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  300. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  301. package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
  302. package/src/filiale/baiyin/pc.js +21 -0
  303. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  304. package/src/filiale/bayan/android/SafecheckOrderV.vue +15 -3
  305. package/src/filiale/bayan/android/SafecheckUserInfo.vue +34 -6
  306. package/src/filiale/bayan/android.js +1 -0
  307. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  308. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  309. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  310. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  311. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  312. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  313. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  314. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  315. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  316. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  317. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  318. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  319. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  320. package/src/filiale/bayan/pc.js +7 -0
  321. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  322. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +4 -4
  323. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
  324. package/src/filiale/jiaxian/android.js +10 -0
  325. package/src/filiale/jiaxian/pc.js +12 -0
  326. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
  327. package/src/filiale/liaoyuan/pc.js +18 -18
  328. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  329. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1268
  330. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2779
  331. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +5 -1
  332. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  333. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  334. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  335. package/src/filiale/siyang/android.js +11 -0
  336. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
  337. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  338. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  339. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  340. package/src/filiale/siyang/pc/checkUserList.vue +786 -0
  341. package/src/filiale/siyang/pc.js +16 -0
  342. package/src/filiale/tianke/pc/checkScreen.vue +27 -21
  343. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  344. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  345. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  346. package/src/filiale/weinan/android/SafecheckDevices.vue +2 -2
  347. package/src/filiale/weinan/android/SafecheckOrderV.vue +10 -0
  348. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  349. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  350. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  351. package/src/filiale/weinan/pc.js +1 -0
  352. package/src/filiale/wenxi/android/CurrentCreate.vue +1 -1
  353. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  354. package/src/filiale/wenxi/android/SafecheckOrderV.vue +14 -0
  355. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  356. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  357. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  358. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  359. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  360. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  361. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  362. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
  363. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2843
  364. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -879
  365. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  366. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  367. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +944 -849
  368. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  369. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  370. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
  371. package/src/filiale/yuansheng/android.js +2 -0
  372. package/src/main.js +33 -33
  373. package/src/plugins/LoadData.js +10 -10
  374. package/src/plugins/LoadParams.js +24 -24
  375. package/src/safecheck-android.js +6 -0
  376. package/src/safecheck.js +3 -0
  377. package/src/stores/wxconfig.js +10 -10
  378. package/src/utils/getNowDate.js +33 -33
  379. package/test/e2e/custom-assertions/elementCount.js +26 -26
  380. package/test/e2e/nightwatch.conf.js +40 -40
  381. package/test/e2e/runner.js +30 -30
  382. package/test/e2e/specs/test.js +13 -13
  383. package/test/unit/.eslintrc +5 -5
  384. package/test/unit/TestUtil.js +62 -62
  385. package/test/unit/context.html +20 -20
  386. package/test/unit/index.js +13 -13
@@ -0,0 +1,1067 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
7
+ <div :class="$parent.$parent.style">
8
+ <label class="font_normal_body">用户编号</label>
9
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo_code"
10
+ id="f_userinfo_code"
11
+ placeholder="用户编号" condition="f_userinfo_code like '%{}%'">
12
+ </div>
13
+ <div :class="$parent.$parent.style">
14
+ <label class="font_normal_body">用户姓名</label>
15
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_user_name" id="f_user_name"
16
+ placeholder="用户姓名" condition="f_user_name like '%{}%'">
17
+ </div>
18
+ <div :class="$parent.$parent.style">
19
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
20
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
21
+ id="f_residential_area"
22
+ placeholder="小区" condition="f_residential_area like '%{}%'">
23
+ </div>
24
+ <div :class="$parent.$parent.style">
25
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
26
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_address" id="f_address"
27
+ placeholder="地址" condition="f_address like '%{}%'">
28
+ </div>
29
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
30
+ <export-excel-safe :data="$parent.$parent.searchData"
31
+ :field="$parent.$parent.excelHeaders"
32
+ :choose-col="true"
33
+ sqlurl="rs/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
34
+ template-name='用户安检情况'></export-excel-safe>
35
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
36
+ <div style="float: right" class="button_spacing"
37
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
38
+ @click="$parent.$parent.hiddenr()"></div>
39
+ <div style="float: right" class="button_spacing"
40
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
41
+ @click="$parent.$parent.hidden()">
42
+
43
+ </div>
44
+ </div>
45
+
46
+
47
+ </div>
48
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
49
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
50
+ <label class="font_normal_body">用户类型</label>
51
+ <v-select id="f_usertype"
52
+ placeholder='用户类型'
53
+ class="select select_list"
54
+ :value.sync="model.f_usertype"
55
+ :value-single="true"
56
+ :options='$parent.$parent.usertypes'
57
+ v-model="model.f_usertype"
58
+ condition="f_user_type = '{}'"
59
+ close-on-select clear-button></v-select>
60
+ </div>
61
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
62
+
63
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
64
+ <label class="font_normal_body" style="color: red;">安检筛选</label>
65
+ <v-select
66
+ placeholder='安检筛选'
67
+ :value-single="true"
68
+ class="select select_list"
69
+ :value.sync="$parent.$parent.SafeCheckXZ"
70
+ :options='$parent.$parent.SafeCheckXZs'
71
+ v-model="$parent.$parent.SafeCheckXZ"
72
+ close-on-select clear-button></v-select>
73
+ </div>
74
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
75
+ <label class="font_normal_body">安检起始</label>
76
+ <datepicker
77
+ :value.sync="model.f_check_start"
78
+ placeholder='最后安检时间起始'
79
+ style="width: 60%"
80
+ :format="'yyyy-MM-dd 00:00:00'"
81
+ :show-rest-button="reset"
82
+ v-model="model.f_check_start">
83
+ </datepicker>
84
+ </div>
85
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
86
+ <label class="font_normal_body">安检结束</label>
87
+ <datepicker
88
+ :value.sync="model.f_check_end"
89
+ placeholder='最后安检时间结束'
90
+ style="width: 60%"
91
+ :format="'yyyy-MM-dd 23:59:59'"
92
+ :show-rest-button="reset"
93
+ v-model="model.f_check_end">
94
+ </datepicker>
95
+ </div>
96
+
97
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
98
+ <label class="font_normal_body">安检状态</label>
99
+ <v-select id="f_entry"
100
+ placeholder='安检状态'
101
+ :multiple="true"
102
+ class="select select_list"
103
+ :value.sync="$parent.$parent.checkStates"
104
+ :options='$parent.$parent.checkstatus'
105
+ ></v-select>
106
+ </div>
107
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
108
+ <label class="font_normal_body">隐患情况</label>
109
+ <v-select
110
+ placeholder='隐患情况'
111
+ class="select select_list"
112
+ :value-single="true"
113
+ v-model='model.f_check_result'
114
+ :value.sync="model.f_check_result"
115
+ :options='$parent.$parent.f_check_results'
116
+ condition="f_defect_content like '%{}%'"
117
+ close-on-select clear-button></v-select>
118
+ </div>
119
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
120
+ </div>
121
+ <div class="row" v-show="!$parent.$parent.$parent.showItem">
122
+
123
+ <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
124
+ <role-selector-safe
125
+ role-name="安检员"
126
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
127
+ @re-res="$parent.$parent.getRes"
128
+ :value.sync="model.f_checker_id"
129
+ v-model="model.f_checker_id"
130
+ :value-multiple="true"
131
+ condition=" f_checker_name in {}">
132
+ </role-selector-safe>
133
+ </div>
134
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
135
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
136
+ <v-select class="select_list select"
137
+ placeholder='片区/管理站' style="width: 60%"
138
+ :value.sync="model.f_slice_area" v-model="model.f_slice_area"
139
+ :options='$parent.$parent.sliceArea'
140
+ filer-key="name"
141
+ close-on-select clear-button
142
+ condition="f_slice_area='{}'"
143
+ @change="$parent.$parent.getmeterbook(model.f_slice_area)"
144
+ :value-single="true">
145
+ </v-select>
146
+ </div>
147
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
148
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
149
+ <v-select class="select_list select"
150
+ placeholder='抄表册' style="width: 60%"
151
+ :value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
152
+ :options='$parent.$parent.cbc'
153
+ filer-key="name"
154
+ close-on-select clear-button
155
+ condition="f_meter_book_num={}"
156
+ :value-single="true">
157
+ </v-select>
158
+ </div>
159
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
160
+ <label class="font_normal_body">省&ensp;市&ensp;区</label>
161
+ <v-select class="select_list select"
162
+ placeholder='请选择' style="width: 60%"
163
+ :value.sync="model.f_pcd" v-model="model.f_pcd"
164
+ :options='$parent.$parent.pcds'
165
+ filer-key="name"
166
+ close-on-select clear-button
167
+ condition="f_pcd='{}'"
168
+ :value-single="true">
169
+ </v-select>
170
+ </div>
171
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
172
+ <label class="font_normal_body">用户状态</label>
173
+ <v-select class="select_list select"
174
+ placeholder='用户状态' style="width: 60%"
175
+ :value.sync="model.f_user_state" v-model="model.f_user_state"
176
+ :options='$parent.$parent.userstates'
177
+ close-on-select clear-button
178
+ condition="f_user_state = '{}'"
179
+ :value-single="true">
180
+ </v-select>
181
+ </div>
182
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
183
+ <label class="font_normal_body">距上次安检天数</label>
184
+ <input type="number" class="input_search" v-model="model.f_check_date"
185
+ style="width: 60%" placeholder="距上次安检天数" >
186
+ </div>
187
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
188
+ <label class="font_normal_body">到访不遇次数</label>
189
+ <input type="number" class="input_search" v-model="model.f_check_version"
190
+ style="width: 60%" placeholder="到访不遇次数">
191
+ </div>
192
+ </div>
193
+
194
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
195
+ <div :class="$parent.$parent.style">
196
+ <label class="font_normal_body">用户编号</label>
197
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo_code"
198
+
199
+ placeholder="用户编号" condition="f_userinfo_code like '%{}%'">
200
+ </div>
201
+ <div :class="$parent.$parent.style">
202
+ <label class="font_normal_body">用户姓名</label>
203
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_user_name"
204
+ placeholder="用户姓名" condition="f_user_name like '%{}%'">
205
+ </div>
206
+ <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
207
+ <export-excel-safe :data="$parent.$parent.searchData"
208
+ :field="$parent.$parent.excelHeaders"
209
+ sqlurl="rs/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
210
+ template-name='用户安检情况'></export-excel-safe>
211
+ <button type="button" class="button_search button_spacing" @click="search()">查询</button>
212
+ <div style="float: right" class="button_spacing"
213
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
214
+ @click="$parent.$parent.hiddenr()"></div>
215
+ <div style="float: right" class="button_spacing"
216
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
217
+ @click="$parent.$parent.hidden()">
218
+
219
+ </div>
220
+ </div>
221
+
222
+ </div>
223
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
224
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
225
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
226
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
227
+
228
+ placeholder="小区" condition="f_residential_area like '%{}%'">
229
+ </div>
230
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
231
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
232
+ <input style="width: 60%" type="text" class="input_search" v-model="model.f_address"
233
+
234
+ placeholder="地址" condition="f_address like '%{}%'">
235
+ </div>
236
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
237
+ <label class="font_normal_body">用户类型</label>
238
+ <v-select
239
+ placeholder='用户类型'
240
+ class="select select_list"
241
+
242
+ :value.sync="model.f_usertype"
243
+ :value-single="true"
244
+ :options='$parent.$parent.usertypes'
245
+ v-model="model.f_usertype"
246
+ condition="f_user_type = '{}'"
247
+ close-on-select clear-button></v-select>
248
+ </div>
249
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
250
+
251
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
252
+ <label class="font_normal_body" style="color: red;">安检筛选</label>
253
+ <v-select
254
+ placeholder='安检筛选'
255
+ :value-single="true"
256
+
257
+ class="select select_list"
258
+ :value.sync="$parent.$parent.SafeCheckXZ"
259
+ :options='$parent.$parent.SafeCheckXZs'
260
+ v-model="$parent.$parent.SafeCheckXZ"
261
+ close-on-select clear-button></v-select>
262
+ </div>
263
+
264
+ </div>
265
+ <div class="row" v-show="$parent.$parent.$parent.showItem">
266
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
267
+ <label class="font_normal_body">安检起始</label>
268
+ <datepicker
269
+ :value.sync="model.f_check_start"
270
+ placeholder='最后安检时间起始'
271
+ :disabled-days-of-week="[]"
272
+ style="width: 60%"
273
+ :format="'yyyy-MM-dd'"
274
+ :show-rest-button="reset"
275
+ v-model="model.f_check_start">
276
+ </datepicker>
277
+ </div>
278
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
279
+ <label class="font_normal_body">安检结束</label>
280
+ <datepicker
281
+ :value.sync="model.f_check_end"
282
+ placeholder='最后安检时间结束'
283
+ style="width: 60%"
284
+ :disabled-days-of-week="[]"
285
+ :format="'yyyy-MM-dd'"
286
+ :show-rest-button="reset"
287
+ v-model="model.f_check_end">
288
+ </datepicker>
289
+ </div>
290
+
291
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
292
+ <label class="font_normal_body">安检状态</label>
293
+ <v-select
294
+ placeholder='安检状态'
295
+ class="select select_list"
296
+ :value.sync="$parent.$parent.checkStates"
297
+ :options='$parent.$parent.checkstatus'
298
+ :multiple="true"
299
+ close-on-select clear-button></v-select>
300
+ </div>
301
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
302
+ <label class="font_normal_body">隐患情况</label>
303
+ <v-select
304
+ placeholder='隐患情况'
305
+ class="select select_list"
306
+ :value-single="true"
307
+ v-model='model.f_check_result'
308
+ :value.sync="model.f_check_result"
309
+ :options='$parent.$parent.f_check_results'
310
+ condition="f_defect_content like '%{}%'"
311
+ close-on-select clear-button></v-select>
312
+ </div>
313
+ </div>
314
+ <!--<div class="row" v-show="$parent.$parent.$parent.showItem">
315
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
316
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
317
+ <right-tree @re-res="$parent.$parent.getRes" :initresid="$parent.$parent.$login.f.orgid">
318
+ </right-tree>
319
+ </div>
320
+
321
+ </div>-->
322
+ </div>
323
+ </criteria>
324
+ <data-grid :model="model" partial="list" class="list_area table_sy" v-ref:grid>
325
+ <template partial='head'>
326
+ <tr>
327
+ <th>
328
+ <nobr>用户编号</nobr>
329
+ </th>
330
+ <th>
331
+ <nobr>用户名称</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>已安检天数</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>用户电话</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>用户表号</nobr>
341
+ </th>
342
+ <!-- <th>-->
343
+ <!-- <nobr>气表品牌</nobr>-->
344
+ <!-- </th>-->
345
+ <th>
346
+ <nobr>用户类型</nobr>
347
+ </th>
348
+ <!-- <th>-->
349
+ <!-- <nobr>壁挂炉</nobr>-->
350
+ <!-- </th>-->
351
+ <!-- <th>-->
352
+ <!-- <nobr>灶具</nobr>-->
353
+ <!-- </th>-->
354
+ <th>
355
+ <nobr>小区名称</nobr>
356
+ </th>
357
+ <th style="padding: 0 40px">
358
+ <nobr>地址</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>安检员</nobr>
362
+ </th>
363
+ <!-- <th>-->
364
+ <!-- <nobr>安检员备注</nobr>-->
365
+ <!-- </th>-->
366
+ <th>
367
+ <nobr>安检日期</nobr>
368
+ </th>
369
+ <th>
370
+ <nobr>安检状态</nobr>
371
+ </th>
372
+ <th>
373
+ <nobr>安检结果</nobr>
374
+ </th>
375
+ <th>
376
+ <nobr>建档日期</nobr>
377
+ </th>
378
+ <th>
379
+ <nobr>通气日期</nobr>
380
+ </th>
381
+ <th v-show="$parent.$parent.$parent.showcode">
382
+ <nobr>二维码</nobr>
383
+ </th>
384
+ </tr>
385
+ </template>
386
+ <template partial='body'>
387
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_userinfo_code }}</td>
388
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_name }}</td>
389
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{$parent.$parent.$parent.dateDiff(row.f_last_check_date)}}</td>
390
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
391
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
392
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
393
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
394
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
395
+ <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
396
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
397
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_address }}</td>
398
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_checker_name }}</td>
399
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_date }}</td>
400
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_last_check_state }}</td>
401
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">
402
+ {{row.f_last_check_state!='入户' ? '': (row.f_last_check_result == '无隐患' ? '无问题' : row.f_last_check_result) }}
403
+ </td>
404
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
405
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
406
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
407
+ <button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
408
+ </td>
409
+ </template>
410
+ </data-grid>
411
+ </criteria-paged>
412
+ <modal :show.sync="dialogVisible" style="text-align: center" destroyOnClose={true} v-ref:modal v-if="dialogVisible">
413
+ <div slot="modal-header" class="modal-header">
414
+ <h4 class="modal-title">
415
+ 二维码
416
+ </h4>
417
+ </div>
418
+ <div slot="modal-body" class="modal-body" >
419
+ <div id="dd" ></div>
420
+ </div>
421
+ <div slot="modal-footer" class="modal-footer">
422
+ <print-element class="btn btn-success width-80" id="dd" styleid='style1' top='40' left='60' width='100%' height='100%' v-ref:printelement>打印</print-element>
423
+ <button type="button" class="btn btn-success width-80" @click="dialogVisible = false">确认</button>
424
+ <button type="button" class="btn btn-success width-80" @click="dialogVisible = false" >取消</button>
425
+ </div>
426
+ </modal>
427
+ </div>
428
+
429
+ </template>
430
+
431
+ <script>
432
+ import {PagedList} from 'vue-client'
433
+ import {HttpResetClass} from 'vue-client'
434
+ import co from 'co'
435
+ import * as Util from '../../Util'
436
+ import Vue from 'vue'
437
+
438
+ // let select = function * (self,userid) {
439
+ // let http = new HttpResetClass()
440
+ // let getGasman = yield http.load('POST','/rs/search', {
441
+ // source: 'this.getChildByName($安检员$).getUsers()',
442
+ // userid: userid
443
+ // }, {resolveMsg: null, rejectMsg: null})
444
+ // //tag
445
+ // getGasman.data.forEach((checker)=>{
446
+ // self.checkersid.push({label:checker.name,value:checker.id})
447
+ // })
448
+ // self.checkersid.push({label:'全部',value:''})
449
+ // }
450
+
451
+
452
+ export default {
453
+ title: '用户安检情况',
454
+ data() {
455
+ let options = []
456
+ let year = (new Date()).getFullYear()
457
+ for (let i = year; i <= year + 3; i++)
458
+ options.push({label: i + '', value: i + ''})
459
+ let moptions = []
460
+ for (let i = 1; i <= 12; i++)
461
+ moptions.push({label: i + '', value: i + ''})
462
+
463
+ return {
464
+ dialogVisible: false,
465
+ searchData: {
466
+ condition: '1=1',
467
+ orderitem: "f_last_check_date",
468
+ timetype: "dd",
469
+ f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
470
+ },
471
+ excelHeaders: {
472
+ //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
473
+
474
+ 'f_userinfo_code': '用户编号',
475
+ 'f_user_name': '用户名称',
476
+ 'f_user_phone': '用户电话',
477
+ 'f_meternumber': '用户表号',
478
+ 'f_user_type': '用户类型',
479
+ 'f_checker_name': '安检员',
480
+ 'f_residential_area': '小区名称',
481
+ 'f_address': '地址',
482
+ 'f_last_check_date': '安检日期',
483
+ 'f_last_check_state': '安检状态',
484
+ 'f_last_check_result': '安检结果',
485
+ 'f_createfile_date': '建档日期',
486
+ 'f_gas_date': '通气日期'
487
+ },
488
+ model: new PagedList('rs/sql/根据安检员查询用户档案', 20, {
489
+ orderitem: "'f_last_check_date'",
490
+ timetype: "'dd'",
491
+ f_defect_content: 'this.f_defect_content'
492
+ }),
493
+ f_defect_content:"CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END",
494
+ orgstrs: [{label: '全部', value: ''}],
495
+ checkersid: [],
496
+ checkStates:[],
497
+ SafeCheckXZ: '',
498
+ civil: '', //民用安检周期
499
+ civilian: '', //非民用安检周期
500
+ SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
501
+ SafeCheckSXs: [{label: '是', value: '是'}, {label: '否', value: '否'}, {label: '全部', value: ''}],
502
+ // user_states:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],
503
+ IsShares: [{label: '是', value: '是'}, {label: '否', value: '否'}],
504
+ IsShare: '否',
505
+ checker: {},
506
+ NoBuys: [{label: '是', value: '是'}, {label: '否', value: '否'}],
507
+ criteriaShow: false,
508
+ checkers: [],
509
+ showcode:false,
510
+ chosenOrg: {id: 0},
511
+ showModal: false,
512
+ checkedAll: false,
513
+ checkrows: [],
514
+ adjustables: [],
515
+ f_plan_year: year + '',
516
+ f_plan_month: moptions[new Date().getMonth()].value,
517
+ f_effective_start_time: '', //计划有效起始时间
518
+ f_effective_end_time: '', //计划有效结束时间
519
+ checkboxModel: {},
520
+ c_year_list: options,
521
+ c_month_list: moptions,
522
+ // areas: this.areas(),
523
+ checkstatus: this.checkstatus(),
524
+ usertypes: this.usertypes(),
525
+ userstates: this.userstates(),
526
+ sqlname: '',
527
+ f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '有隐患', value: '有隐患'}],
528
+ creatPlanWay: '',
529
+ sliceArea: [],
530
+ cbcs:[],
531
+ cbc:[],
532
+ pcds:[]
533
+ }
534
+ },
535
+ props: {
536
+ style: {
537
+ type: String,
538
+ default: 'col-sm-2 form-group'
539
+ },
540
+ style2: {
541
+ type: String,
542
+ default: 'col-sm-4 form-group'
543
+ },
544
+ checkplan: { // 传入一条安检计划信息
545
+ type: Object
546
+ },
547
+ additemshow: {
548
+ type: Boolean,
549
+ default: false
550
+ }
551
+ },
552
+ ready() {
553
+ // 获取分公司信息
554
+ this.model.f_defect_content=this.f_defect_content
555
+ this.showcode=this.$appdata.getSingleValue('用户安检情况二维码')
556
+ //this.getfengongsi()
557
+ this.model.chosenOrg = {id: 0}
558
+ //this.model.f_filialeids = this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)
559
+ this.model.f_filiale = this.$login.f.f_fengongsi
560
+ this.model.f_OrgStr = this.$login.f.orgpathstr
561
+ this.Mreadibook(`('${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}')`)
562
+ this.getAllMeterBook(`('${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}')`)
563
+ },
564
+ methods: {
565
+
566
+ dateDiff(date1Str) {
567
+ // 确保传入的date1Str是有效的字符串格式
568
+ if (typeof date1Str !== 'string' || !/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(date1Str)) {
569
+ throw new Error('Invalid date format. Expected format: yyyy-mm-dd hh:mm:ss');
570
+ }
571
+ // 将date1Str格式化为Date对象,并提取日期部分
572
+ const date1 = new Date(date1Str);
573
+ const year = date1.getFullYear();
574
+ const month = String(date1.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以需要加1
575
+ const day = String(date1.getDate()).padStart(2, '0');
576
+ const formattedDate1 = `${year}-${month}-${day}`;
577
+ // 获取当前日期,并同样格式化为yyyy-mm-dd
578
+ const date2 = new Date();
579
+ const currentYear = date2.getFullYear();
580
+ const currentMonth = String(date2.getMonth() + 1).padStart(2, '0');
581
+ const currentDay = String(date2.getDate()).padStart(2, '0');
582
+ const formattedDate2 = `${currentYear}-${currentMonth}-${currentDay}`;
583
+ // 将格式化后的日期字符串转换为Date对象,以便比较
584
+ const formattedDate1Obj = new Date(`${formattedDate1}T00:00:00`); // 添加时间部分以确保比较准确
585
+ const formattedDate2Obj = new Date(`${formattedDate2}T00:00:00`);
586
+ // 计算两个日期之间的差值(以毫秒为单位),然后转换为天数
587
+ const diffInMilliseconds = Math.abs(formattedDate2Obj - formattedDate1Obj);
588
+ const diffInDays = Math.ceil(diffInMilliseconds / (1000 * 60 * 60 * 24));
589
+ // 返回天数差
590
+ return diffInDays;
591
+ },
592
+ //查询二维码
593
+ searchInfo(val){
594
+ this.dialogVisible = true
595
+ //tag
596
+ new HttpResetClass().load('POST','rs/logic/QrcodeUtil', {
597
+ data: {
598
+ id:val
599
+ }
600
+ },{resolveMsg: null, rejectMsg: null}).then(res=>{
601
+ //tag
602
+ //tag
603
+ let imageer=new Image()
604
+ imageer.src="data:image/jpg;base64,"+res.data.result
605
+ document.getElementById("dd").appendChild(imageer);
606
+ //tag
607
+ })
608
+
609
+ },
610
+ //获取省市区列表
611
+ getPcd(val){
612
+ this.pcds = [{label:'全部',value:''}]
613
+ new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
614
+ {data:{items:"*",tablename:"t_pcd",orderitem:"id",condition:`f_orgid in ${val}`}},
615
+ {resolveMsg: null, rejectMsg: null}).then((pcdlist)=>{
616
+ pcdlist.data.forEach((result)=>{
617
+ this.pcds.push({label:result.f_pcd,value:result.f_pcd})
618
+ })
619
+ })
620
+ },
621
+ getmeterbook(val){
622
+
623
+ //tag
624
+ this.cbc=[]
625
+ this.cbc.push({
626
+ label:'全部',
627
+ value:''
628
+ })
629
+ if (val==''){
630
+
631
+ this.cbcs.forEach(res=>{
632
+ this.cbc.push({
633
+ label:res.f_book_name,
634
+ value:res.id
635
+ })
636
+ })
637
+ }else{
638
+ this.cbcs.forEach(res=>{
639
+ if (res.f_book_slice_area==val){
640
+ this.cbc.push({
641
+ label:res.f_book_name,
642
+ value:res.id
643
+ })
644
+ }
645
+ })
646
+ }
647
+ },
648
+ Mreadibook(val){
649
+ ////tag
650
+ ////tag
651
+ if (val){
652
+ new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_OrderBy`, {data: {
653
+ items: 'name',
654
+ tablename: 't_zone',
655
+ condition: `parentid in ${val}`,
656
+ orderitem: 'id'
657
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
658
+ this.sliceArea=[]
659
+ this.sliceArea.push({
660
+ label:'全部',
661
+ value:''
662
+ })
663
+ res.data.forEach(ress=>{
664
+ this.sliceArea.push({
665
+ label:ress.name,
666
+ value:ress.name
667
+ })
668
+ })
669
+
670
+ })
671
+ }
672
+ },
673
+ // 获取县域分公司内容
674
+ getfengongsi() {
675
+ let val = {
676
+ source: 'this.getParentByType($organization$).getSpecialResByType($organization$)',
677
+ userid: `${this.$login.f.id}`
678
+ }
679
+ let http = new HttpResetClass()
680
+ http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
681
+ res.data.forEach((item) => {
682
+ this.orgstrs.push({label: item.name, value: item.id})
683
+ })
684
+ //tag
685
+ })
686
+ },
687
+ // 县域分公司发生改变
688
+ // orgstrchange(val){
689
+ // if(val == undefined || val == ''){
690
+ // return
691
+ // }else {
692
+ // this.checkersid = []
693
+ // let gen = select(this,val)
694
+ // return co(gen)
695
+ // }
696
+ // },
697
+ getDefect(val) {
698
+ if (val) {
699
+ try {
700
+ var defect = JSON.parse(val)
701
+ return defect.result
702
+ } catch (e) {
703
+ //tag
704
+ return '正常'
705
+ }
706
+ }
707
+ return '正常'
708
+ },
709
+ checkerchange(val) {
710
+ this.checkboxModel.f_checker = val.name
711
+ this.checkboxModel.f_checker_id = val.id
712
+ },
713
+ search(args) {
714
+ if (this.SafeCheckXZ && (args.model.f_check_start == '' || args.model.f_check_end == '')) {
715
+ this.$showMessage('如果选择 已安检/未安检 选项,需要选择 安检起始时间!')
716
+ return
717
+ }
718
+ if ((args.model.f_check_start || args.model.f_check_end ) && !this.SafeCheckXZ) {
719
+ this.$showMessage('如果录入 安检起始时间,需要选择 安检筛选条件!')
720
+ return
721
+ }
722
+ /*if (this.SafeCheckXZ == '未安检') {
723
+ args.condition += " and ( f_last_check_date >= '" + args.model.f_check_start + "' or f_last_check_date <= '" + args.model.f_check_end + "' or f_last_check_date is null)"
724
+ } else {
725
+ if (args.model.f_check_start) {
726
+ args.condition += " and f_last_check_date >= '" + args.model.f_check_start + "'"
727
+ }
728
+ if (args.model.f_check_end) {
729
+ args.condition += " and f_last_check_date <= '" + args.model.f_check_end + "'"
730
+ }
731
+ }*/
732
+ args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)})`)
733
+ let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)})`)
734
+ con += args.model.f_userinfo_code ? ` and f_userinfo_code like '%${args.model.f_userinfo_code}%'`:''
735
+ /*con += args.model.f_user_name ? ` and f_user_name like '%${args.model.f_user_name}%'` : ''
736
+ con += args.model.f_residential_area ? ` and f_residential_area like '%${args.model.f_residential_area}%'` : ''
737
+ con += args.model.f_address ? ` and f_address like '%${args.model.f_address}%'` : ''
738
+ con += args.model.f_usertype ? ` and f_check_type = '${args.model.f_usertype}'` : ''*/
739
+ if (this.SafeCheckXZ) {
740
+ con += ` and f_offsite_time >= '${args.model.f_check_start}' and f_offsite_time <= '${args.model.f_check_end}' `
741
+ if (this.SafeCheckXZ == '未安检'){
742
+ args.condition += ' and ruhuid is null'
743
+ }else{
744
+ args.condition += ' and ruhuid is not null'
745
+ }
746
+ }
747
+ let states = ` (`
748
+ if (this.checkStates.length > 0 ){
749
+ for (let i = 0; i < this.checkStates.length; i++) {
750
+ if (this.checkStates[i]){
751
+ states += `'${this.checkStates[i]}',`
752
+ }else {
753
+ states = ''
754
+ break
755
+ }
756
+ }
757
+ if (states){
758
+ states=states.substring(0,states.length-1)
759
+ states += `) `
760
+ args.condition += ` and f_last_check_state in ${states}`
761
+ }
762
+ }else {
763
+ states = ''
764
+ }
765
+ if(args.model.f_check_date){
766
+ const daysBefore = Number(args.model.f_check_date);
767
+ if ( daysBefore > 0) {
768
+ // 获取当前日期
769
+ const now = new Date();
770
+ // 计算三天前的日期
771
+ const threeDaysBefore = new Date(now.getTime() - (daysBefore * 24 * 60 * 60 * 1000));
772
+ // 如果需要格式化日期,可以使用Date对象的方法
773
+ var formattedDate = threeDaysBefore.toISOString().split('T')[0];
774
+ args.condition += ` and f_last_check_date<='${formattedDate} 23:59:59'`;
775
+ } else {
776
+ console.error('f_check_date不是一个有效的正整数');
777
+ }
778
+ }
779
+ if (args.model.f_check_version){
780
+ con+= ` and f_check_version = '${args.model.f_check_version}'`
781
+ }
782
+ con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
783
+ let condition = {
784
+ condition1: args.condition,
785
+ condition2: con
786
+ }
787
+ this.searchData.condition = condition
788
+ return this.model.search(condition, args.model)
789
+ },
790
+ checkstatus() {
791
+ return this.$appdata.getParam('安检状态') ? [{
792
+ label: '全部',
793
+ value: ''
794
+ }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
795
+ },
796
+ usertypes() {
797
+ return this.$appdata.getParam('用户类型') ? [{
798
+ label: '全部',
799
+ value: ''
800
+ }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
801
+ },
802
+ userstates() {
803
+ return this.$appdata.getParam('用户状态') ? [{
804
+ label: '全部',
805
+ value: ''
806
+ }, ...this.$appdata.getParam('用户状态')] : [{label: '全部', value: ''}]
807
+ },
808
+ hiddenr() {
809
+ this.$parent.showItem = !this.$parent.showItem
810
+ },
811
+ hidden() {
812
+ this.criteriaShow = !this.criteriaShow
813
+ },
814
+ confirm() {
815
+ if (!this.checkboxModel.f_plan_name) {
816
+ this.$showMessage('请填写安检计划名称!')
817
+ return
818
+ }
819
+ // if(this.f_effective_start_time == ''){
820
+ // this.$showMessage('请选择有效起始日期!')
821
+ // return
822
+ // }
823
+ // if(this.f_effective_end_time == ''){
824
+ // this.$showMessage('请选择有效结束日期!')
825
+ // return
826
+ // }
827
+ if (this.IsShare == '否') {
828
+ if (!this.checkboxModel.f_checker_id) {
829
+ this.$showMessage('请选择安检员!')
830
+ return
831
+ }
832
+ }
833
+ let gen = saveGen(this)
834
+ return co(gen)
835
+ },
836
+ changeStates() {
837
+ if (this.checkedAll) {//实现反选/
838
+ this.checkrows = [];
839
+ for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
840
+ this.$set('$refs.paged.model.rows[' + i + '].checked', false)
841
+ }
842
+ } else {//实现全选
843
+ for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
844
+ this.$set('$refs.paged.model.rows[' + i + '].checked', true)
845
+ }
846
+ let _this = this
847
+ let condition = this.$refs.paged.$refs.criteria.condition
848
+ let url = this.model.url
849
+ this.$resetpost(`${url}?pageSize=9999999`, {
850
+ data: {
851
+ condition: condition,
852
+ groupitem: '',
853
+ orderitem: 'f_residential_area',
854
+ f_usertype: this.model.f_usertype,
855
+ f_filialeids: this.model.f_filialeids,
856
+ month: this.model.month,
857
+ safeCycle: this.model.safeCycle,
858
+ f_checktime_start: this.model.f_checktime_start,
859
+ f_checktime_end: this.model.f_checktime_end,
860
+ SafeCheckSX: this.model.SafeCheckSX,
861
+ f_last_check_state: this.model.f_last_check_state
862
+ },
863
+ }, {resolveMsg: null, rejectMsg: null}, -1).then(
864
+ (respanse) => {
865
+ if (respanse.data.length >= 5000) {
866
+ this.$showMessage("数据量太大,请重新选择")
867
+ } else {
868
+ _this.checkrows = []
869
+ for (let j = 0; j < respanse.data.length; j++) {
870
+ _this.checkrows.push(respanse.data[j])
871
+ }
872
+ //tag;
873
+ }
874
+ })
875
+ }
876
+ },
877
+ addChecked(item) {
878
+ //tag;
879
+ if (!item.checked) {
880
+ this.checkrows.push(item);
881
+ //tag;
882
+ } else {
883
+ for (let i = 0; i < this.checkrows.length; i++) {
884
+ if (item.f_userinfo_id == this.checkrows[i].f_userinfo_id) {
885
+ this.checkrows.splice(i, 1)
886
+ }
887
+ }
888
+ }
889
+ },
890
+ ToshowModal() {
891
+ this.creatPlanWay = 'single'
892
+ if (this.checkrows.length > 0) {
893
+ this.showModal = true
894
+ } else {
895
+ this.$showMessage("请选择需要安检的用户!")
896
+ }
897
+ },
898
+ FiltrationPlan() {
899
+ if (this.model.rows.length == 0) {
900
+ this.$showMessage("暂无可生成的计划!")
901
+ return
902
+ }
903
+ this.creatPlanWay = 'filtration'
904
+ this.showModal = true
905
+ },
906
+ AllPlan() {
907
+ if (this.model.rows.length == 0) {
908
+ this.$showMessage("暂无可生成的计划!")
909
+ return
910
+ }
911
+ this.creatPlanWay = 'all'
912
+ this.showModal = true
913
+ },
914
+ cancel() {
915
+ this.showModal = false
916
+ },
917
+ /*areas() {
918
+ let rs = []
919
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
920
+ let temp = {
921
+ label: this.$login.f.f_allArea[i].label,
922
+ value: this.$login.f.f_allArea[i].label
923
+ }
924
+ rs.push(temp)
925
+ }
926
+ return [{label: '全部', value: ''}, ...rs]
927
+ },*/
928
+ initAdjustables() {
929
+ //tag
930
+ let arr = []
931
+ let filter = this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)
932
+ this.$GetSaleParam.getAdjustable(filter).forEach((item) => {
933
+ let temp = {}
934
+ temp.label = `[${item.value.f_adjustable_id}]-${item.label}`
935
+ temp.value = `${item.value.id}`
936
+ arr.push(temp)
937
+ })
938
+ this.adjustables = [{label: '全部', value: ''}, ...arr]
939
+ },
940
+ getAllMeterBook(val){
941
+ ////tag
942
+ ////tag
943
+ this.cbcs=[]
944
+ if (val){
945
+ new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_OrderBy`, {data: {
946
+ items: 'f_book_name,f_book_slice_area,id',
947
+ tablename: 't_meter_book',
948
+ condition: `f_filiale_id in ${val}`,
949
+ orderitem: 'id'
950
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
951
+ res.data.forEach(ress=>{
952
+ this.cbcs.push({
953
+ id:ress.id,
954
+ f_book_name:ress.f_book_name,
955
+ f_book_slice_area:ress.f_book_slice_area
956
+ })
957
+ })
958
+ this.cbc=[]
959
+ this.cbc.push({
960
+ label:'全部',
961
+ value:''
962
+ })
963
+ this.cbcs.forEach(res=>{
964
+ this.cbc.push({
965
+ label:res.f_book_name,
966
+ value:res.id
967
+ })
968
+ })
969
+ })
970
+ }
971
+ },
972
+ getRes(obj) {
973
+ this.model.f_filialeids = this.$login.convertToIn(obj.resids);
974
+ this.Mreadibook(this.model.f_filialeids)
975
+ this.getAllMeterBook(this.model.f_filialeids)
976
+ this.getPcd(this.model.f_filialeids)
977
+ }
978
+ },
979
+
980
+ watch: {
981
+ 'model.f_usertype'(val) {
982
+ if (val == '民用') {
983
+ this.model.safeCycle = this.civil
984
+ } else if (val == '非民用') {
985
+ this.model.safeCycle = this.civilian
986
+ }
987
+ },
988
+ 'model.SafeCheckXZ'(val) {
989
+ this.model.SafeCheckSC = ''
990
+ if (val == '已安检') {
991
+ this.model.SafeCheckCQ = ''
992
+ this.model.SafeCheckSX = {
993
+ f_check_end: '', // 安检时间 查询起始条件
994
+ f_check_start: ''// 安检时间 查询终止条件
995
+ }
996
+ } else {
997
+ // 当使用筛选条件时,清空不需要的条件选项
998
+ this.model.f_issue_start = ''
999
+ this.model.f_issue_end = ''
1000
+ this.$refs.paged.$refs.criteria.model.f_check_start = ''
1001
+ this.$refs.paged.$refs.criteria.model.f_check_end = ''
1002
+ this.$refs.paged.$refs.criteria.model.f_last_check_state = ''
1003
+ this.model.month = ''
1004
+ if (val == '应安检') {
1005
+ this.model.SafeCheckSC = '否'
1006
+
1007
+ this.model.f_issue_start = Util.toStartDateString()
1008
+ this.model.f_issue_end = Util.toStandardDateString()
1009
+ }
1010
+ // this.model.f_checktime_start = ''
1011
+ // this.model.f_checktime_end = ''
1012
+ }
1013
+ },
1014
+ 'model.SafeCheckSC'(val) {
1015
+ if (val == '') {
1016
+ this.model.f_issue_start = ''
1017
+ this.model.f_issue_end = ''
1018
+ }
1019
+ },
1020
+ // 'checker'(val){
1021
+ // //tag
1022
+ // if(val){
1023
+ // this.checkboxModel.f_checker = this.checker[0].name
1024
+ // this.checkboxModel.f_checker_id = this.checker[0].id
1025
+ // }
1026
+ // },
1027
+ 'model.rows'() {
1028
+ // if (!this.checkedAll) {//实现反选/
1029
+ // this.checkrows = [];
1030
+ for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
1031
+ var k = false
1032
+ for (let j = 0; j < this.checkrows.length; j++) {
1033
+ if (this.$refs.paged.model.rows[i].f_userinfo_id == this.checkrows[j].f_userinfo_id) {
1034
+ this.$set('$refs.paged.model.rows[' + i + '].checked', true)
1035
+ k = true
1036
+ continue
1037
+ }
1038
+ }
1039
+ if (!k) {
1040
+ this.$set('$refs.paged.model.rows[' + i + '].checked', false)
1041
+ }
1042
+ }
1043
+ // } else {//实现全选
1044
+ // // this.checkboxModel = {};
1045
+ // for (let i = 0; i < this.$refs.paged.model.rows.length; i++) {
1046
+ // this.$set('$refs.paged.model.rows[' + i + '].checked', true)
1047
+ // }
1048
+ // }
1049
+ }
1050
+ },
1051
+ computed: {
1052
+ selected() {
1053
+ return this.$refs.paged.$refs.grid.selected
1054
+ }
1055
+ }
1056
+ }
1057
+ </script>
1058
+ <style scoped>
1059
+ .newcolor {
1060
+ color: red;
1061
+ }
1062
+
1063
+ .table th {
1064
+ background-color: #f2f6fa;
1065
+ color: black;
1066
+ }
1067
+ </style>