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
@@ -1552,98 +1552,63 @@ export default {
1552
1552
  if (res.code == 200) {
1553
1553
  //tag
1554
1554
  if (!this.onlySave) {
1555
- let codata = this.getAllDefect()
1556
- //获取微信推送内容
1557
- // let WxResult = this.getWeixin(codata)
1558
- let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1559
- f_check_item_id: this.data.f_check_item_id
1560
- })
1561
- //如果是转维修上传,则不做校验,上传完成后自动转维修
1562
- //tag
1563
- //tag
1564
- if (!this.isToRepair) {
1565
- if (haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)) {
1566
- //tag
1567
- //tag
1568
- if (!this.isSafeCheckToRepair) {
1569
-
1570
- }
1555
+ let day = this.$appdata.getSingleValue('到访不遇间隔限制') || 7
1556
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
1557
+ data: {
1558
+ items: 'count(0) as num',
1559
+ tablename: 't_check_paper',
1560
+ condition: `f_userinfoid = '${this.item.f_userinfoid}' and f_entry_status = '到访不遇' and f_offsite_time BETWEEN DATEADD(DAY, ${day * -1}, GETDATE()) AND GETDATE()`,
1561
+ orderitem: '1'
1571
1562
  }
1572
- }
1573
- //tag
1574
- for (let key in codata) {
1575
- if (key.startsWith("device")) {
1576
- codata[key] = []
1563
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
1564
+ if (this.data.f_entry_status != '到访不遇' || res.data[0].num == 0){
1565
+ let codata = this.getAllDefect()
1566
+ let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1567
+ f_check_item_id: this.data.f_check_item_id
1568
+ })
1569
+ for (let key in codata) {
1570
+ if (key.startsWith("device")) {
1571
+ codata[key] = []
1572
+ }
1573
+ }
1574
+ codata.f_devices = this.f_devices
1575
+ if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1576
+ this.rowCodata = Object.assign({}, this.rowCodata, codata)
1577
+ } else {
1578
+ this.rowCodata = codata
1579
+ }
1580
+ let param = {
1581
+ f_check_item_id: this.data.f_check_item_id,
1582
+ f_checker_id: this.data.f_checker_id,
1583
+ row: this.rowCodata
1584
+ }
1585
+ let paramStr = JSON.stringify(param)
1586
+ let subLength = 800
1587
+ for (let i = 0; i < paramStr.length; i += subLength) {
1588
+ HostApp.param_cache(paramStr.substr(i, subLength))
1589
+ }
1590
+ HostApp.__this__ = this
1591
+ HostApp.syncLogic({
1592
+ 'logic': '上传安检信息',
1593
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1594
+ 'backresult': 1
1595
+ })
1596
+ }else {
1597
+ this.$showMessage('距上次到访不遇时间不足七天,请核实后重新上传')
1577
1598
  }
1578
- }
1579
- //tag}`)
1580
-
1581
- //tag
1582
- // let isStart = true
1583
- // let res
1584
- // for (let i in this.f_devices){
1585
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1586
- // if(res.code == 200){
1587
- // isStart = false
1588
- // }else{
1589
- // this.$showMessage("上传失败!")
1590
- // return
1591
- // }
1592
- // }
1593
- // let result = HostApp.organizeJSON({
1594
- // isStart:false,
1595
- // isJSON:true,
1596
- // jsonstr:{
1597
- // f_check_item_id: this.data.f_check_item_id,
1598
- // f_checker_id: this.data.f_checker_id,
1599
- // row: codata
1600
- // }
1601
- // })
1602
- codata.f_devices = this.f_devices
1603
- if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1604
- this.rowCodata = Object.assign({}, this.rowCodata, codata)
1605
- } else {
1606
- this.rowCodata = codata
1607
- }
1608
- let param = {
1609
- f_check_item_id: this.data.f_check_item_id,
1610
- f_checker_id: this.data.f_checker_id,
1611
- // row: codata
1612
- row: this.rowCodata
1613
- }
1614
- //tag)
1615
- let paramStr = JSON.stringify(param)
1616
- // 多长截断一次
1617
- let subLength = 800
1618
- for (let i = 0; i < paramStr.length; i += subLength) {
1619
- HostApp.param_cache(paramStr.substr(i, subLength))
1620
- }
1621
- HostApp.__this__ = this
1622
- HostApp.syncLogic({
1623
- // logic别名,key必须为logic
1624
- 'logic': '上传安检信息',
1625
- // 回调执行方法名,key必须为callback
1626
- 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1627
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1628
- // 执行回调方法传入key为backresult
1629
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1630
- 'backresult': 1
1631
1599
  })
1632
1600
  } else {
1633
1601
  this.$showMessage('保存成功!')
1634
1602
  if (this.clickBack) {
1635
1603
  this.isStrat = false
1636
1604
  this.$dispatch('confirm')
1637
- //this.$back()
1638
1605
  }
1639
1606
  }
1640
1607
  } else {
1641
1608
  this.$showMessage('保存失败!')
1642
- return
1643
1609
  }
1644
1610
  } else {
1645
1611
  this.$showMessage('服务器内部错误,保存失败!')
1646
- return
1647
1612
  }
1648
1613
  },
1649
1614
  uploadCallBack(jo) {
@@ -2080,74 +2045,74 @@ export default {
2080
2045
  ]
2081
2046
  })
2082
2047
  } else if (this.devices[de].device == "燃气表") {
2083
- this.data['device' + this.devices[de].n].push({
2084
- f_device_type: "燃气表",
2085
- f_items: [
2086
- {
2087
- f_defect_level: null,
2088
- f_device_id: "",
2089
- f_is_defect: "",
2090
- f_item_name: "基表编号",
2091
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
2092
- f_path: "",
2093
- type: "number"
2094
- },
2095
- {
2096
- f_defect_level: null,
2097
- f_device_id: "",
2098
- f_is_defect: "",
2099
- f_item_name: "气表型号",
2100
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2101
- f_path: "",
2102
- type: "string"
2103
- },
2104
- {
2105
- f_defect_level: null,
2106
- f_device_id: "",
2107
- f_is_defect: "",
2108
- f_item_name: "气表品牌",
2109
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
2110
- f_path: "",
2111
- type: "string"
2112
- },
2113
- {
2114
- f_defect_level: null,
2115
- f_device_id: "",
2116
- f_is_defect: "",
2117
- f_item_name: "进气方向",
2118
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2119
- f_path: "",
2120
- type: "string"
2121
- },
2122
- {
2123
- f_defect_level: null,
2124
- f_device_id: "",
2125
- f_is_defect: "",
2126
- f_item_name: "上期表读数",
2127
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2128
- f_path: "",
2129
- type: "number"
2130
- },
2131
- {
2132
- f_defect_level: null,
2133
- f_device_id: "",
2134
- f_is_defect: "",
2135
- f_item_name: "表箱号",
2136
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
2137
- f_path: "",
2138
- type: "string"
2139
- },
2140
- {
2141
- f_defect_level: null,
2142
- f_device_id: "",
2143
- f_is_defect: "",
2144
- f_item_name: "系统表底数",
2145
- f_item_value: this.item.f_plan_meters[i].f_meter_base,
2146
- f_path: "",
2147
- type: "string"
2148
- }
2149
- ]
2150
- })
2048
+ this.data['device' + this.devices[de].n].push({
2049
+ f_device_type: "燃气表",
2050
+ f_items: [
2051
+ {
2052
+ f_defect_level: null,
2053
+ f_device_id: "",
2054
+ f_is_defect: "",
2055
+ f_item_name: "基表编号",
2056
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
2057
+ f_path: "",
2058
+ type: "number"
2059
+ },
2060
+ {
2061
+ f_defect_level: null,
2062
+ f_device_id: "",
2063
+ f_is_defect: "",
2064
+ f_item_name: "气表型号",
2065
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2066
+ f_path: "",
2067
+ type: "string"
2068
+ },
2069
+ {
2070
+ f_defect_level: null,
2071
+ f_device_id: "",
2072
+ f_is_defect: "",
2073
+ f_item_name: "气表品牌",
2074
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
2075
+ f_path: "",
2076
+ type: "string"
2077
+ },
2078
+ {
2079
+ f_defect_level: null,
2080
+ f_device_id: "",
2081
+ f_is_defect: "",
2082
+ f_item_name: "进气方向",
2083
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2084
+ f_path: "",
2085
+ type: "string"
2086
+ },
2087
+ {
2088
+ f_defect_level: null,
2089
+ f_device_id: "",
2090
+ f_is_defect: "",
2091
+ f_item_name: "上期表读数",
2092
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2093
+ f_path: "",
2094
+ type: "number"
2095
+ },
2096
+ {
2097
+ f_defect_level: null,
2098
+ f_device_id: "",
2099
+ f_is_defect: "",
2100
+ f_item_name: "表箱号",
2101
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
2102
+ f_path: "",
2103
+ type: "string"
2104
+ },
2105
+ {
2106
+ f_defect_level: null,
2107
+ f_device_id: "",
2108
+ f_is_defect: "",
2109
+ f_item_name: "系统表底数",
2110
+ f_item_value: this.item.f_plan_meters[i].f_meter_base,
2111
+ f_path: "",
2112
+ type: "string"
2113
+ }
2114
+ ]
2115
+ })
2151
2116
  }
2152
2117
  if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
2153
2118
  this.data['device' + this.devices[de].n].forEach(device => {
@@ -2164,123 +2129,123 @@ export default {
2164
2129
  if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
2165
2130
  if (this.item.f_plan_meters[i].f_meter_type.indexOf('物联网') !==-1 ){
2166
2131
  if (!this.data.f_collection_type) {
2167
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2168
- delete this.config['燃气表']['items']['累购气量']
2169
- delete this.config['燃气表']['items']['已用金额']
2170
- delete this.config['燃气表']['items']['剩余气量']
2171
- delete this.config['燃气表']['items']['气量异常差值']
2172
- device.f_items.push(
2173
- {
2174
- f_defect_level: null,
2175
- f_device_id: "",
2176
- f_is_defect: "",
2177
- f_item_name: "初始表底",
2178
- isshow: false,
2179
- f_item_value: '',
2180
- f_path: "",
2181
- type: "number"
2182
- },
2183
- {
2184
- f_defect_level: null,
2185
- f_device_id: "",
2186
- f_is_defect: "",
2187
- f_item_name: "累购金额",
2188
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
2189
- f_path: "",
2190
- type: "number"
2191
- },
2192
- {
2193
- f_defect_level: null,
2194
- f_device_id: "",
2195
- f_is_defect: "",
2196
- f_item_name: "已用气量",
2197
- f_item_value: null,
2198
- f_path: "",
2199
- type: "number"
2200
- },
2201
- {
2202
- f_defect_level: null,
2203
- f_device_id: "",
2204
- f_is_defect: "",
2205
- f_item_name: "剩余金额",
2206
- f_item_value: null,
2207
- f_path: "",
2208
- type: "number"
2209
- },
2210
- {
2211
- f_defect_level: null,
2212
- f_device_id: "",
2213
- f_is_defect: "",
2214
- f_item_name: "金额异常差值",
2215
- f_item_value: null,
2216
- f_path: "",
2217
- type: "number"
2218
- }
2219
- )
2220
- //tag)
2221
- }
2132
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2133
+ delete this.config['燃气表']['items']['累购气量']
2134
+ delete this.config['燃气表']['items']['已用金额']
2135
+ delete this.config['燃气表']['items']['剩余气量']
2136
+ delete this.config['燃气表']['items']['气量异常差值']
2137
+ device.f_items.push(
2138
+ {
2139
+ f_defect_level: null,
2140
+ f_device_id: "",
2141
+ f_is_defect: "",
2142
+ f_item_name: "初始表底",
2143
+ isshow: false,
2144
+ f_item_value: '',
2145
+ f_path: "",
2146
+ type: "number"
2147
+ },
2148
+ {
2149
+ f_defect_level: null,
2150
+ f_device_id: "",
2151
+ f_is_defect: "",
2152
+ f_item_name: "累购金额",
2153
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2154
+ f_path: "",
2155
+ type: "number"
2156
+ },
2157
+ {
2158
+ f_defect_level: null,
2159
+ f_device_id: "",
2160
+ f_is_defect: "",
2161
+ f_item_name: "已用气量",
2162
+ f_item_value: null,
2163
+ f_path: "",
2164
+ type: "number"
2165
+ },
2166
+ {
2167
+ f_defect_level: null,
2168
+ f_device_id: "",
2169
+ f_is_defect: "",
2170
+ f_item_name: "剩余金额",
2171
+ f_item_value: null,
2172
+ f_path: "",
2173
+ type: "number"
2174
+ },
2175
+ {
2176
+ f_defect_level: null,
2177
+ f_device_id: "",
2178
+ f_is_defect: "",
2179
+ f_item_name: "金额异常差值",
2180
+ f_item_value: null,
2181
+ f_path: "",
2182
+ type: "number"
2183
+ }
2184
+ )
2185
+ //tag)
2186
+ }
2222
2187
  }
2223
2188
  else {
2224
2189
  if (!this.data.f_collection_type) {
2225
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2226
- delete this.config['燃气表']['items']['累购气量']
2227
- delete this.config['燃气表']['items']['已用气量']
2228
- delete this.config['燃气表']['items']['剩余气量']
2229
- delete this.config['燃气表']['items']['气量异常差值']
2230
- device.f_items.push(
2231
- {
2232
- f_defect_level: null,
2233
- f_device_id: "",
2234
- f_is_defect: "",
2235
- f_item_name: "初始表底",
2236
- isshow: false,
2237
- f_item_value: '',
2238
- f_path: "",
2239
- type: "number"
2240
- },
2241
- {
2242
- f_defect_level: null,
2243
- f_device_id: "",
2244
- f_is_defect: "",
2245
- f_item_name: "累购金额",
2246
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
2247
- f_path: "",
2248
- type: "number"
2249
- },
2250
- {
2251
- f_defect_level: null,
2252
- f_device_id: "",
2253
- f_is_defect: "",
2254
- f_item_name: "已用金额",
2255
- f_item_value: null,
2256
- f_path: "",
2257
- type: "number"
2258
- },
2259
- {
2260
- f_defect_level: null,
2261
- f_device_id: "",
2262
- f_is_defect: "",
2263
- f_item_name: "剩余金额",
2264
- f_item_value: null,
2265
- f_path: "",
2266
- type: "number"
2267
- },
2268
- {
2269
- f_defect_level: null,
2270
- f_device_id: "",
2271
- f_is_defect: "",
2272
- f_item_name: "金额异常差值",
2273
- f_item_value: null,
2274
- f_path: "",
2275
- type: "number"
2276
- }
2277
- )
2278
- //tag)
2279
- }
2190
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2191
+ delete this.config['燃气表']['items']['累购气量']
2192
+ delete this.config['燃气表']['items']['已用气量']
2193
+ delete this.config['燃气表']['items']['剩余气量']
2194
+ delete this.config['燃气表']['items']['气量异常差值']
2195
+ device.f_items.push(
2196
+ {
2197
+ f_defect_level: null,
2198
+ f_device_id: "",
2199
+ f_is_defect: "",
2200
+ f_item_name: "初始表底",
2201
+ isshow: false,
2202
+ f_item_value: '',
2203
+ f_path: "",
2204
+ type: "number"
2205
+ },
2206
+ {
2207
+ f_defect_level: null,
2208
+ f_device_id: "",
2209
+ f_is_defect: "",
2210
+ f_item_name: "累购金额",
2211
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2212
+ f_path: "",
2213
+ type: "number"
2214
+ },
2215
+ {
2216
+ f_defect_level: null,
2217
+ f_device_id: "",
2218
+ f_is_defect: "",
2219
+ f_item_name: "已用金额",
2220
+ f_item_value: null,
2221
+ f_path: "",
2222
+ type: "number"
2223
+ },
2224
+ {
2225
+ f_defect_level: null,
2226
+ f_device_id: "",
2227
+ f_is_defect: "",
2228
+ f_item_name: "剩余金额",
2229
+ f_item_value: null,
2230
+ f_path: "",
2231
+ type: "number"
2232
+ },
2233
+ {
2234
+ f_defect_level: null,
2235
+ f_device_id: "",
2236
+ f_is_defect: "",
2237
+ f_item_name: "金额异常差值",
2238
+ f_item_value: null,
2239
+ f_path: "",
2240
+ type: "number"
2241
+ }
2242
+ )
2243
+ //tag)
2244
+ }
2280
2245
  }
2281
2246
  }
2282
2247
  else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
2283
- if (!this.data.f_collection_type) {
2248
+ if (!this.data.f_collection_type) {
2284
2249
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2285
2250
  delete this.config['燃气表']['items']['累购金额']
2286
2251
  delete this.config['燃气表']['items']['已用金额']
@@ -0,0 +1,59 @@
1
+ <template>
2
+ <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
+ <!-- <section>-->
4
+
5
+ <div :class="{'basic-main':!showItem,'binary-left':showItem}" >
6
+ <select-check-plan @select-changed="selected" :style="style" :style2="style2" @checkstatus-changed="checkstatusChange" v-ref:check></select-check-plan>
7
+ </div>
8
+ <div class="binary-right" v-show="showItem">
9
+ <div class="flex">
10
+ <check-detail v-if='$refs.check && $refs.check.selected' :check='$refs.check.selected' :checkstatus="checkstatus" :checkstart="$refs.check.f_check_start" :checkend="$refs.check.f_check_end"
11
+ v-ref:detail></check-detail>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- </section>-->
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ import SelectCheckPlan from './SelectCheckPlan'
21
+ import CheckDetail from './../../../components/checkplan/CheckDetail'
22
+
23
+ export default {
24
+ title: '安检员考核',
25
+ props: ['f'],
26
+ components: {SelectCheckPlan, CheckDetail},
27
+ data() {
28
+ return {
29
+ showItem: false,
30
+ checkstatus: null,
31
+ style:'col-sm-2 form-group',
32
+ style2:'col-sm-4 form-group'
33
+ }
34
+ },
35
+ methods: {
36
+ selected(row) {
37
+ // //tag
38
+ this.showItem = true
39
+ },
40
+ checkstatusChange(val){
41
+ this.checkstatus = val
42
+ }
43
+ }
44
+ }
45
+ </script>
46
+ <style>
47
+ .form-input-group label {
48
+ text-align: right;
49
+ width: auto;
50
+ }
51
+
52
+ .datapanel {
53
+ color: #333;
54
+ background-color: white;
55
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
56
+ padding: 5px 7px 5px 7px;
57
+ border-radius: 10px;
58
+ }
59
+ </style>
@@ -197,7 +197,7 @@
197
197
  style="width: 60%" placeholder="距上次安检天数" >
198
198
  </div>
199
199
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
200
- <label class="font_normal_body">到访不遇次数</label>
200
+ <label class="font_normal_body">到访次数</label>
201
201
  <input type="number" class="input_search" v-model="model.f_check_version"
202
202
  style="width: 60%" placeholder="到访不遇次数">
203
203
  </div>