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.
- package/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/android.html +18 -18
- package/build/css-loaders.js +34 -34
- package/build/dev-android.js +151 -151
- package/build/dev-client.js +8 -8
- package/build/release.sh +28 -28
- package/build/utils.js +71 -71
- package/build/webpack.baseandroid.conf.js +83 -83
- package/build/webpack.devandroid.conf.js +33 -33
- package/build/webpack.hanwei.conf.js +57 -57
- package/build/webpack.hwbase.conf.js +78 -78
- package/build/webpack.prodandroid.conf.js +60 -60
- package/build/webpack.test.conf.js +31 -31
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/docs/AppBase.md +22 -22
- package/docs/Busy.md +14 -14
- package/docs/Criteria.md +47 -47
- package/docs/CriteriaPaged.md +47 -47
- package/docs/DataGrid.md +54 -54
- package/docs/DataModel.md +22 -22
- package/docs/Dynamic.md +42 -42
- package/docs/FormPrint.md +18 -18
- package/docs/GetParams.md +11 -11
- package/docs/GridTree.md +47 -47
- package/docs/HttpBusy.md +13 -13
- package/docs/HttpStore.md +29 -29
- package/docs/MessageBox.md +28 -28
- package/docs/PagedList.md +29 -29
- package/docs/Pager.md +21 -21
- package/docs/PrintFile.md +38 -38
- package/docs/Project.md +23 -23
- package/docs/Route.md +105 -105
- package/docs/SafetyCheck/AdjustPlan.md +13 -13
- package/docs/SafetyCheck/CheckerPlan.md +12 -12
- package/docs/Task.md +46 -46
- package/docs/TreeList.md +28 -28
- package/docs/TreeMixin.md +18 -18
- package/docs/all.md +10 -10
- package/docs/list.md +42 -42
- package/docs/partial.md +75 -75
- package/docs/selector.md +82 -82
- package/docs/tree.md +40 -40
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
- 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
- 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
- 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
- package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
- package/examples/AddressList/App.vue +13 -13
- package/examples/AddressList/index.html +11 -11
- package/examples/DispatchList/App.vue +10 -10
- package/examples/DispatchList/BaseTree.vue +13 -13
- package/examples/DispatchList/Init.vue +22 -22
- package/examples/DispatchList/Test.vue +20 -20
- package/examples/DispatchList/index.html +11 -11
- package/examples/DispatchList/main.js +18 -18
- package/home.html +16 -16
- package/index.html +6 -2
- package/package.json +3 -3
- package/publish.bat +7 -7
- package/release.bat +5 -5
- package/src/Widget.vue +13 -13
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/android-bootstrap/less/.csscomb.json +304 -304
- package/src/android-bootstrap/less/.csslintrc +19 -19
- package/src/android-bootstrap/less/alerts.less +73 -73
- package/src/android-bootstrap/less/badges.less +66 -66
- package/src/android-bootstrap/less/bootstrap.less +56 -56
- package/src/android-bootstrap/less/breadcrumbs.less +26 -26
- package/src/android-bootstrap/less/button-groups.less +247 -247
- package/src/android-bootstrap/less/buttons.less +173 -173
- package/src/android-bootstrap/less/carousel.less +269 -269
- package/src/android-bootstrap/less/close.less +34 -34
- package/src/android-bootstrap/less/code.less +69 -69
- package/src/android-bootstrap/less/component-animations.less +33 -33
- package/src/android-bootstrap/less/grid.less +84 -84
- package/src/android-bootstrap/less/input-groups.less +167 -167
- package/src/android-bootstrap/less/jumbotron.less +52 -52
- package/src/android-bootstrap/less/labels.less +64 -64
- package/src/android-bootstrap/less/list-group.less +141 -141
- package/src/android-bootstrap/less/media.less +66 -66
- package/src/android-bootstrap/less/mixins/alerts.less +14 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
- package/src/android-bootstrap/less/mixins/buttons.less +69 -69
- package/src/android-bootstrap/less/mixins/center-block.less +7 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
- package/src/android-bootstrap/less/mixins/forms.less +90 -90
- package/src/android-bootstrap/less/mixins/gradients.less +59 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/android-bootstrap/less/mixins/grid.less +122 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
- package/src/android-bootstrap/less/mixins/image.less +33 -33
- package/src/android-bootstrap/less/mixins/labels.less +12 -12
- package/src/android-bootstrap/less/mixins/list-group.less +30 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/android-bootstrap/less/mixins/opacity.less +8 -8
- package/src/android-bootstrap/less/mixins/pagination.less +24 -24
- package/src/android-bootstrap/less/mixins/panels.less +24 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
- package/src/android-bootstrap/less/mixins/resize.less +6 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/android-bootstrap/less/mixins/size.less +10 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/android-bootstrap/less/mixins/table-row.less +44 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/android-bootstrap/less/mixins.less +40 -40
- package/src/android-bootstrap/less/modals.less +151 -151
- package/src/android-bootstrap/less/navbar.less +660 -660
- package/src/android-bootstrap/less/navs.less +290 -290
- package/src/android-bootstrap/less/normalize.less +424 -424
- package/src/android-bootstrap/less/pager.less +76 -76
- package/src/android-bootstrap/less/pagination.less +89 -89
- package/src/android-bootstrap/less/panels.less +274 -274
- package/src/android-bootstrap/less/popovers.less +131 -131
- package/src/android-bootstrap/less/print.less +101 -101
- package/src/android-bootstrap/less/progress-bars.less +87 -87
- package/src/android-bootstrap/less/responsive-embed.less +35 -35
- package/src/android-bootstrap/less/responsive-utilities.less +194 -194
- package/src/android-bootstrap/less/scaffolding.less +161 -161
- package/src/android-bootstrap/less/tables.less +262 -262
- package/src/android-bootstrap/less/theme.less +291 -291
- package/src/android-bootstrap/less/thumbnails.less +36 -36
- package/src/android-bootstrap/less/tooltip.less +102 -102
- package/src/android-bootstrap/less/type.less +303 -303
- package/src/android-bootstrap/less/utilities.less +55 -55
- package/src/android-bootstrap/less/variables.less +896 -896
- package/src/android-bootstrap/less/wells.less +29 -29
- package/src/androidTest.js +20 -20
- package/src/bootstrap/less/.csscomb.json +304 -304
- package/src/bootstrap/less/.csslintrc +19 -19
- package/src/bootstrap/less/alerts.less +73 -73
- package/src/bootstrap/less/badges.less +66 -66
- package/src/bootstrap/less/breadcrumbs.less +26 -26
- package/src/bootstrap/less/button-groups.less +247 -247
- package/src/bootstrap/less/buttons.less +172 -172
- package/src/bootstrap/less/carousel.less +269 -269
- package/src/bootstrap/less/close.less +34 -34
- package/src/bootstrap/less/code.less +69 -69
- package/src/bootstrap/less/component-animations.less +33 -33
- package/src/bootstrap/less/dropdowns.less +216 -216
- package/src/bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/grid.less +84 -84
- package/src/bootstrap/less/input-groups.less +167 -167
- package/src/bootstrap/less/jumbotron.less +52 -52
- package/src/bootstrap/less/labels.less +64 -64
- package/src/bootstrap/less/list-group.less +141 -141
- package/src/bootstrap/less/media.less +66 -66
- package/src/bootstrap/less/mixins/alerts.less +14 -14
- package/src/bootstrap/less/mixins/background-variant.less +9 -9
- package/src/bootstrap/less/mixins/border-radius.less +18 -18
- package/src/bootstrap/less/mixins/buttons.less +69 -69
- package/src/bootstrap/less/mixins/center-block.less +7 -7
- package/src/bootstrap/less/mixins/clearfix.less +22 -22
- package/src/bootstrap/less/mixins/forms.less +90 -90
- package/src/bootstrap/less/mixins/gradients.less +59 -59
- package/src/bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/bootstrap/less/mixins/grid.less +122 -122
- package/src/bootstrap/less/mixins/hide-text.less +21 -21
- package/src/bootstrap/less/mixins/image.less +33 -33
- package/src/bootstrap/less/mixins/labels.less +12 -12
- package/src/bootstrap/less/mixins/list-group.less +30 -30
- package/src/bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/bootstrap/less/mixins/opacity.less +8 -8
- package/src/bootstrap/less/mixins/pagination.less +24 -24
- package/src/bootstrap/less/mixins/panels.less +24 -24
- package/src/bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/bootstrap/less/mixins/reset-text.less +18 -18
- package/src/bootstrap/less/mixins/resize.less +6 -6
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/bootstrap/less/mixins/size.less +10 -10
- package/src/bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/bootstrap/less/mixins/table-row.less +44 -44
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/bootstrap/less/mixins.less +40 -40
- package/src/bootstrap/less/modals.less +151 -151
- package/src/bootstrap/less/navbar.less +660 -660
- package/src/bootstrap/less/normalize.less +424 -424
- package/src/bootstrap/less/pager.less +76 -76
- package/src/bootstrap/less/pagination.less +89 -89
- package/src/bootstrap/less/panels.less +275 -275
- package/src/bootstrap/less/popovers.less +131 -131
- package/src/bootstrap/less/print.less +101 -101
- package/src/bootstrap/less/progress-bars.less +87 -87
- package/src/bootstrap/less/responsive-embed.less +35 -35
- package/src/bootstrap/less/responsive-utilities.less +194 -194
- package/src/bootstrap/less/scaffolding.less +161 -161
- package/src/bootstrap/less/theme.less +291 -291
- package/src/bootstrap/less/thumbnails.less +36 -36
- package/src/bootstrap/less/tooltip.less +102 -102
- package/src/bootstrap/less/type.less +303 -303
- package/src/bootstrap/less/utilities.less +55 -55
- package/src/bootstrap/less/wells.less +29 -29
- package/src/components/FileUpload.vue +696 -696
- package/src/components/Hello.vue +39 -39
- package/src/components/LeftTree.vue +27 -27
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AddressList.vue +61 -61
- package/src/components/android/AttendanceTally.vue +116 -116
- package/src/components/android/Blank.vue +10 -10
- package/src/components/android/CheckUnplanPage.vue +56 -56
- package/src/components/android/Checker.vue +12 -12
- package/src/components/android/CheckerAnnual.vue +81 -81
- package/src/components/android/CheckerAvarta.vue +82 -82
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/MasterMain.vue +77 -77
- package/src/components/android/Menu.vue +132 -132
- package/src/components/android/NavBottom.vue +157 -157
- package/src/components/android/PaperAlarm.vue +85 -85
- package/src/components/android/PaperDeviceNoncivil.vue +214 -214
- package/src/components/android/PlumberAnnual.vue +83 -83
- package/src/components/android/PlumberAnnualDetail.vue +65 -65
- package/src/components/android/PlumberMonthly.vue +84 -84
- package/src/components/android/PostMap.vue +83 -83
- package/src/components/android/QueryCheckHistory.vue +122 -122
- package/src/components/android/QueryCheckHistoryItem.vue +62 -62
- package/src/components/android/RepairMain.vue +60 -60
- package/src/components/android/Repairman.vue +12 -12
- package/src/components/android/SafecheckDevices.vue +1298 -1294
- package/src/components/android/SafecheckOrderV.vue +15 -11
- package/src/components/android/StationMaster.vue +12 -12
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DefectModal.vue +101 -101
- package/src/components/defects/DevicesAndItem.vue +39 -39
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/issueplan/IssuePlanMain.vue +23 -23
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeForm.vue +100 -100
- package/src/components/notice/NoticeIssue.vue +20 -20
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/PicViewer.vue +18 -18
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/phonestate/MonthlyTraffic.vue +66 -66
- package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
- package/src/components/phonestate/PostMap.vue +82 -82
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/report/CheckPlanCountChartArea.vue +120 -120
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/MeterFile.vue +145 -145
- package/src/components/userfile/MeterModify.vue +46 -46
- package/src/components/userfile/UserFile.vue +118 -118
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android.js +9 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc.js +13 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +1 -1
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/rongcheng.js +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
- package/src/stores/wxconfig.js +10 -10
- package/src/utils/getNowDate.js +33 -33
- package/test/e2e/custom-assertions/elementCount.js +26 -26
- package/test/e2e/nightwatch.conf.js +40 -40
- package/test/e2e/runner.js +30 -30
- package/test/e2e/specs/test.js +13 -13
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +62 -62
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
@@ -1,82 +1,82 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto">
|
3
|
-
<button type="button" class="btn btn-default" @click="this.$back('ass')"><<</button>
|
4
|
-
<div id="allmap2" :style="mapStyle"></div>
|
5
|
-
</div>
|
6
|
-
</template>
|
7
|
-
|
8
|
-
<script>
|
9
|
-
// because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
|
10
|
-
|
11
|
-
import Vue from 'vue'
|
12
|
-
|
13
|
-
export default {
|
14
|
-
title: '岗位图',
|
15
|
-
props: ['lonlats'],
|
16
|
-
data () {
|
17
|
-
return {
|
18
|
-
mapStyle: {
|
19
|
-
width: (this.$parent.$el.clientWidth -30) + 'px',
|
20
|
-
height: (this.$parent.$el.clientHeight - 80) + 'px'
|
21
|
-
},
|
22
|
-
markers : []
|
23
|
-
}
|
24
|
-
},
|
25
|
-
ready () {
|
26
|
-
this.lonlats.filter((item) => {
|
27
|
-
return item.f_longitude != 0 && item.f_latitude != 0
|
28
|
-
}).forEach((item) => {
|
29
|
-
this.markers.push({
|
30
|
-
longitude: item.f_longitude,
|
31
|
-
latitude: item.f_latitude,
|
32
|
-
hint: item.f_user_name + '[' + item.f_datetime + ']'
|
33
|
-
})
|
34
|
-
})
|
35
|
-
if(Vue.mapLoaded) {
|
36
|
-
this.render()
|
37
|
-
} else {
|
38
|
-
window.__mapCallback__ = this.mapCallback
|
39
|
-
let element = document.createElement('script')
|
40
|
-
element.setAttribute("type","text/javascript")
|
41
|
-
element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
|
42
|
-
document.body.appendChild(element)
|
43
|
-
}
|
44
|
-
},
|
45
|
-
methods: {
|
46
|
-
mapCallback () {
|
47
|
-
Vue.mapLoaded = true
|
48
|
-
this.render()
|
49
|
-
},
|
50
|
-
patch () {
|
51
|
-
let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
|
52
|
-
if(a.length != 0) {
|
53
|
-
a[0].style.height = 'auto'
|
54
|
-
} else {
|
55
|
-
window.setTimeout(this.patch, 500)
|
56
|
-
}
|
57
|
-
},
|
58
|
-
render () {
|
59
|
-
window.map = new BMap.Map("allmap2")
|
60
|
-
window.map.clearOverlays();
|
61
|
-
if(this.markers.length == 0)
|
62
|
-
window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
|
63
|
-
else
|
64
|
-
window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
|
65
|
-
window.map.addControl(new BMap.NavigationControl())
|
66
|
-
this.markers.forEach(function(pos) {
|
67
|
-
var point = new BMap.Point(pos.longitude,pos.latitude)
|
68
|
-
var marker = new BMap.Marker(point) // 创建标注
|
69
|
-
var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
|
70
|
-
marker.setLabel(label)
|
71
|
-
label.setStyle({ border : '0px', padding: '0px'})
|
72
|
-
window.map.addOverlay(marker) // 将标注添加到地图中
|
73
|
-
// var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
|
74
|
-
// marker.addEventListener("click", function(){
|
75
|
-
// window.map.openInfoWindow(infoWindow,point) //开启信息窗口
|
76
|
-
// })
|
77
|
-
})
|
78
|
-
this.patch()
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="auto">
|
3
|
+
<button type="button" class="btn btn-default" @click="this.$back('ass')"><<</button>
|
4
|
+
<div id="allmap2" :style="mapStyle"></div>
|
5
|
+
</div>
|
6
|
+
</template>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
// because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
|
10
|
+
|
11
|
+
import Vue from 'vue'
|
12
|
+
|
13
|
+
export default {
|
14
|
+
title: '岗位图',
|
15
|
+
props: ['lonlats'],
|
16
|
+
data () {
|
17
|
+
return {
|
18
|
+
mapStyle: {
|
19
|
+
width: (this.$parent.$el.clientWidth -30) + 'px',
|
20
|
+
height: (this.$parent.$el.clientHeight - 80) + 'px'
|
21
|
+
},
|
22
|
+
markers : []
|
23
|
+
}
|
24
|
+
},
|
25
|
+
ready () {
|
26
|
+
this.lonlats.filter((item) => {
|
27
|
+
return item.f_longitude != 0 && item.f_latitude != 0
|
28
|
+
}).forEach((item) => {
|
29
|
+
this.markers.push({
|
30
|
+
longitude: item.f_longitude,
|
31
|
+
latitude: item.f_latitude,
|
32
|
+
hint: item.f_user_name + '[' + item.f_datetime + ']'
|
33
|
+
})
|
34
|
+
})
|
35
|
+
if(Vue.mapLoaded) {
|
36
|
+
this.render()
|
37
|
+
} else {
|
38
|
+
window.__mapCallback__ = this.mapCallback
|
39
|
+
let element = document.createElement('script')
|
40
|
+
element.setAttribute("type","text/javascript")
|
41
|
+
element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
|
42
|
+
document.body.appendChild(element)
|
43
|
+
}
|
44
|
+
},
|
45
|
+
methods: {
|
46
|
+
mapCallback () {
|
47
|
+
Vue.mapLoaded = true
|
48
|
+
this.render()
|
49
|
+
},
|
50
|
+
patch () {
|
51
|
+
let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
|
52
|
+
if(a.length != 0) {
|
53
|
+
a[0].style.height = 'auto'
|
54
|
+
} else {
|
55
|
+
window.setTimeout(this.patch, 500)
|
56
|
+
}
|
57
|
+
},
|
58
|
+
render () {
|
59
|
+
window.map = new BMap.Map("allmap2")
|
60
|
+
window.map.clearOverlays();
|
61
|
+
if(this.markers.length == 0)
|
62
|
+
window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
|
63
|
+
else
|
64
|
+
window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
|
65
|
+
window.map.addControl(new BMap.NavigationControl())
|
66
|
+
this.markers.forEach(function(pos) {
|
67
|
+
var point = new BMap.Point(pos.longitude,pos.latitude)
|
68
|
+
var marker = new BMap.Marker(point) // 创建标注
|
69
|
+
var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
|
70
|
+
marker.setLabel(label)
|
71
|
+
label.setStyle({ border : '0px', padding: '0px'})
|
72
|
+
window.map.addOverlay(marker) // 将标注添加到地图中
|
73
|
+
// var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
|
74
|
+
// marker.addEventListener("click", function(){
|
75
|
+
// window.map.openInfoWindow(infoWindow,point) //开启信息窗口
|
76
|
+
// })
|
77
|
+
})
|
78
|
+
this.patch()
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
</script>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
close-on-select value-single >
|
17
17
|
</v-select>
|
18
18
|
</div>
|
19
|
-
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
19
|
+
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
20
20
|
</div>
|
21
21
|
<div class="leftplan-center safe_plan_list">
|
22
22
|
<div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
|
@@ -399,6 +399,7 @@
|
|
399
399
|
a:'1',
|
400
400
|
opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
|
401
401
|
currentorder:'按时间降序',
|
402
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
402
403
|
checkplan : new SearchList(true),
|
403
404
|
selectPlan:{id:''},
|
404
405
|
upCheckPlan:{
|
@@ -451,6 +452,13 @@
|
|
451
452
|
},
|
452
453
|
async ready(){
|
453
454
|
await this.loadpage()
|
455
|
+
if (!this.userlogin.orgid){
|
456
|
+
if (this.$login.f.f_orgids){
|
457
|
+
this.userlogin.orgid = this.$login.f.f_orgids.endsWith('.')?this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1):this.$login.f.f_orgids
|
458
|
+
}else {
|
459
|
+
this.userlogin.orgid = ''
|
460
|
+
}
|
461
|
+
}
|
454
462
|
},
|
455
463
|
computed: {
|
456
464
|
ntoway() {
|
@@ -575,8 +583,10 @@
|
|
575
583
|
//查询安检员selectChanged
|
576
584
|
async searchChecker(id){
|
577
585
|
let res=await new HttpResetClass().load('POST', '/rs/search', {
|
578
|
-
|
579
|
-
|
586
|
+
data:{
|
587
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
588
|
+
userid: this.userlogin.orgid
|
589
|
+
}
|
580
590
|
}, {resolveMsg: null, rejectMsg: null})
|
581
591
|
let arr = []
|
582
592
|
res.data.forEach((resRow) => {
|
@@ -727,7 +737,7 @@
|
|
727
737
|
this.isSend=true
|
728
738
|
let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
|
729
739
|
data:{
|
730
|
-
f_operator:this.userlogin.
|
740
|
+
f_operator:this.userlogin.name,//global.login.name,
|
731
741
|
condition:"",
|
732
742
|
switchCheckAll:true,
|
733
743
|
checkAll:false,
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</div>
|
51
51
|
<div class="form-group col-sm-2" style="float: right">
|
52
52
|
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
|
53
|
-
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
|
53
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
|
54
54
|
</div>
|
55
55
|
<modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
|
56
56
|
<div slot="modal-header" class="modal-header">
|
@@ -178,6 +178,7 @@
|
|
178
178
|
data() {
|
179
179
|
return {
|
180
180
|
model:new PagedList('/rs/sql/planItem', 100, {}),
|
181
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
181
182
|
a:'1',
|
182
183
|
opt:[{label:"测试",value:"测试"}],
|
183
184
|
showCondtion:false,
|
@@ -371,6 +371,7 @@
|
|
371
371
|
<th><nobr>抄表册</nobr></th>
|
372
372
|
<th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
|
373
373
|
<th title="最后一次安检日期"><nobr>安检日期</nobr></th>
|
374
|
+
<th><nobr>首次通气时间</nobr></th>
|
374
375
|
<th><nobr>详细地址</nobr></th>
|
375
376
|
</tr>
|
376
377
|
</template>
|
@@ -386,6 +387,7 @@
|
|
386
387
|
<td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
|
387
388
|
<td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
|
388
389
|
<td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
|
390
|
+
<td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
|
389
391
|
<td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
|
390
392
|
</template>
|
391
393
|
</data-grid>
|
@@ -1,59 +1,59 @@
|
|
1
|
-
<template>
|
2
|
-
<div style="height: 100%;width: 100%;padding:10px 0px 10px 0px;">
|
3
|
-
<div class="auto">
|
4
|
-
<partial-view v-ref:pv>
|
5
|
-
<div class="row" style="padding-bottom: 10px">
|
6
|
-
<label class = "col-sm-4 control-label">用户姓名:</label>
|
7
|
-
<span class = "col-sm-8">{{rowdata.f_user_name}}</span>
|
8
|
-
</div>
|
9
|
-
<div class="row" style="padding-bottom: 10px">
|
10
|
-
<label class = "col-sm-4 control-label">用户地址:</label>
|
11
|
-
<span class = "col-sm-8">{{rowdata.f_address}}</span>
|
12
|
-
</div>
|
13
|
-
<div class="row" style="padding-bottom: 10px">
|
14
|
-
<label class = "col-sm-3 control-label">安检人:</label>
|
15
|
-
<span class = "col-sm-3">{{rowdata.f_checker_name}}</span>
|
16
|
-
<label class = "col-sm-3 control-label">安检状态:</label>
|
17
|
-
<span class = "col-sm-3">{{rowdata.f_entry_status}}</span>
|
18
|
-
</div>
|
19
|
-
<div class="row" style="padding-bottom: 10px">
|
20
|
-
<label class = "col-sm-3 control-label">入户时间:</label>
|
21
|
-
<span class = "col-sm-9">{{rowdata.f_onsite_time}}</span>
|
22
|
-
</div>
|
23
|
-
<div class="row" style="padding-bottom: 10px">
|
24
|
-
<label class = "col-sm-3 control-label">离开时间:</label>
|
25
|
-
<span class = "col-sm-9">{{rowdata.f_offsite_time}}</span>
|
26
|
-
</div>
|
27
|
-
<div class="row" style="padding-bottom: 10px">
|
28
|
-
<label class = "col-sm-3 control-label">用户评价:</label>
|
29
|
-
<span class = "col-sm-3">{{rowdata.f_client_evaluation}}</span>
|
30
|
-
</div>
|
31
|
-
</partial-view>
|
32
|
-
</div>
|
33
|
-
<check-paper-items :row="rowdata"></check-paper-items>
|
34
|
-
</div>
|
35
|
-
</template>
|
36
|
-
|
37
|
-
<script>
|
38
|
-
import Vue from 'vue'
|
39
|
-
import co from 'co'
|
40
|
-
|
41
|
-
export default {
|
42
|
-
title: '安检项信息',
|
43
|
-
name: 'CheckPaperItem',
|
44
|
-
props: ['row'],
|
45
|
-
data () {
|
46
|
-
return {
|
47
|
-
rowdata: this.row
|
48
|
-
}
|
49
|
-
},
|
50
|
-
ready () {
|
51
|
-
this.rowdata = this.row
|
52
|
-
},
|
53
|
-
watch: {
|
54
|
-
'row' (val) {
|
55
|
-
this.rowdata = val
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div style="height: 100%;width: 100%;padding:10px 0px 10px 0px;">
|
3
|
+
<div class="auto">
|
4
|
+
<partial-view v-ref:pv>
|
5
|
+
<div class="row" style="padding-bottom: 10px">
|
6
|
+
<label class = "col-sm-4 control-label">用户姓名:</label>
|
7
|
+
<span class = "col-sm-8">{{rowdata.f_user_name}}</span>
|
8
|
+
</div>
|
9
|
+
<div class="row" style="padding-bottom: 10px">
|
10
|
+
<label class = "col-sm-4 control-label">用户地址:</label>
|
11
|
+
<span class = "col-sm-8">{{rowdata.f_address}}</span>
|
12
|
+
</div>
|
13
|
+
<div class="row" style="padding-bottom: 10px">
|
14
|
+
<label class = "col-sm-3 control-label">安检人:</label>
|
15
|
+
<span class = "col-sm-3">{{rowdata.f_checker_name}}</span>
|
16
|
+
<label class = "col-sm-3 control-label">安检状态:</label>
|
17
|
+
<span class = "col-sm-3">{{rowdata.f_entry_status}}</span>
|
18
|
+
</div>
|
19
|
+
<div class="row" style="padding-bottom: 10px">
|
20
|
+
<label class = "col-sm-3 control-label">入户时间:</label>
|
21
|
+
<span class = "col-sm-9">{{rowdata.f_onsite_time}}</span>
|
22
|
+
</div>
|
23
|
+
<div class="row" style="padding-bottom: 10px">
|
24
|
+
<label class = "col-sm-3 control-label">离开时间:</label>
|
25
|
+
<span class = "col-sm-9">{{rowdata.f_offsite_time}}</span>
|
26
|
+
</div>
|
27
|
+
<div class="row" style="padding-bottom: 10px">
|
28
|
+
<label class = "col-sm-3 control-label">用户评价:</label>
|
29
|
+
<span class = "col-sm-3">{{rowdata.f_client_evaluation}}</span>
|
30
|
+
</div>
|
31
|
+
</partial-view>
|
32
|
+
</div>
|
33
|
+
<check-paper-items :row="rowdata"></check-paper-items>
|
34
|
+
</div>
|
35
|
+
</template>
|
36
|
+
|
37
|
+
<script>
|
38
|
+
import Vue from 'vue'
|
39
|
+
import co from 'co'
|
40
|
+
|
41
|
+
export default {
|
42
|
+
title: '安检项信息',
|
43
|
+
name: 'CheckPaperItem',
|
44
|
+
props: ['row'],
|
45
|
+
data () {
|
46
|
+
return {
|
47
|
+
rowdata: this.row
|
48
|
+
}
|
49
|
+
},
|
50
|
+
ready () {
|
51
|
+
this.rowdata = this.row
|
52
|
+
},
|
53
|
+
watch: {
|
54
|
+
'row' (val) {
|
55
|
+
this.rowdata = val
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
</script>
|
@@ -1,120 +1,120 @@
|
|
1
|
-
<template>
|
2
|
-
<div id='app' class="basic-main" style="height: 100%">
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
|
5
|
-
<div novalidate class="form-inline auto" partial>
|
6
|
-
<div class="row">
|
7
|
-
<div class="col-sm-4 form-group">
|
8
|
-
<role-selector-safe
|
9
|
-
role-name="安检员"
|
10
|
-
role-lable="安 检 员"
|
11
|
-
@re-res="$parent.$parent.getRes"
|
12
|
-
:value.sync="model.f_checker_id"
|
13
|
-
v-model="model.f_checker_id"
|
14
|
-
condition="f_checker_name = '{}'">
|
15
|
-
</role-selector-safe>
|
16
|
-
</div>
|
17
|
-
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
18
|
-
<label class="font_normal_body">小区名称</label>
|
19
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
|
20
|
-
condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
|
21
|
-
</div>
|
22
|
-
<div class="col-sm-2 form-group">
|
23
|
-
<label for="startDate" class="font_normal_body">开始日期:</label>
|
24
|
-
<datepicker id="startDate" placeholder="开始日期"
|
25
|
-
v-model="model.startDate"
|
26
|
-
:value.sync="model.startDate"
|
27
|
-
style="width: 60%;"
|
28
|
-
:disabled-days-of-Week="[]"
|
29
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
30
|
-
:show-reset-button="reset">
|
31
|
-
</datepicker>
|
32
|
-
</div>
|
33
|
-
<div class="col-sm-2 form-group">
|
34
|
-
<label for="endDate" class="font_normal_body">结束日期:</label>
|
35
|
-
<datepicker id="endDate" placeholder="结束日期"
|
36
|
-
v-model="model.endDate"
|
37
|
-
:value.sync="model.endDate"
|
38
|
-
:disabled-days-of-Week="[]"
|
39
|
-
style="width: 60%;"
|
40
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
41
|
-
:show-reset-button="reset">
|
42
|
-
</datepicker>
|
43
|
-
</div>
|
44
|
-
<div class="col-sm-3 form-group" style="margin-top: 8px">
|
45
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
46
|
-
<report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
47
|
-
<report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
</criteria>
|
52
|
-
<div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
|
53
|
-
<table class='tableprint' style="margin: 0px auto">
|
54
|
-
<thead>
|
55
|
-
<tr>
|
56
|
-
<th colspan='5' style="font-weight: normal; text-align: left;">
|
57
|
-
<h3 style="text-align: center">安检数据报表</h3>
|
58
|
-
</th>
|
59
|
-
</tr>
|
60
|
-
<tr>
|
61
|
-
<th colspan='5' style="font-weight: normal; text-align: center;">
|
62
|
-
开始时间:{{model.model.startDate}}
|
63
|
-
结束时间:{{ model.model.endDate }}
|
64
|
-
</th>
|
65
|
-
</tr>
|
66
|
-
</thead>
|
67
|
-
<tr>
|
68
|
-
<th colspan='5' style="font-weight: normal;">
|
69
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
70
|
-
</th>
|
71
|
-
</tr>
|
72
|
-
</table>
|
73
|
-
</div>
|
74
|
-
</criteria-paged>
|
75
|
-
</div>
|
76
|
-
|
77
|
-
</template>
|
78
|
-
|
79
|
-
<script>
|
80
|
-
import {DataModel} from 'vue-client'
|
81
|
-
import * as Util from "../Util";
|
82
|
-
|
83
|
-
export default {
|
84
|
-
title: '维修员报表',
|
85
|
-
data() {
|
86
|
-
let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
|
87
|
-
model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
88
|
-
return {
|
89
|
-
filialeNameStr: '',
|
90
|
-
filialeCodeStr: '',
|
91
|
-
userid: this.$login.f.id,
|
92
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
93
|
-
model: model
|
94
|
-
}
|
95
|
-
},
|
96
|
-
methods: {
|
97
|
-
getRes(obj) {
|
98
|
-
this.model.f_filialeid = this.$login.convertToIn(obj.resids);
|
99
|
-
},
|
100
|
-
search(args){
|
101
|
-
if (args.model.endDate){
|
102
|
-
args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
|
103
|
-
}
|
104
|
-
if (args.model.startDate){
|
105
|
-
args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
|
106
|
-
}
|
107
|
-
this.model.search(args.condition,args.model)
|
108
|
-
}
|
109
|
-
},
|
110
|
-
ready() {
|
111
|
-
this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
|
112
|
-
this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
|
113
|
-
},
|
114
|
-
computed: {
|
115
|
-
selected() {
|
116
|
-
return this.$refs.grid.selected
|
117
|
-
},
|
118
|
-
}
|
119
|
-
}
|
120
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div id='app' class="basic-main" style="height: 100%">
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
|
5
|
+
<div novalidate class="form-inline auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-sm-4 form-group">
|
8
|
+
<role-selector-safe
|
9
|
+
role-name="安检员"
|
10
|
+
role-lable="安 检 员"
|
11
|
+
@re-res="$parent.$parent.getRes"
|
12
|
+
:value.sync="model.f_checker_id"
|
13
|
+
v-model="model.f_checker_id"
|
14
|
+
condition="f_checker_name = '{}'">
|
15
|
+
</role-selector-safe>
|
16
|
+
</div>
|
17
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
18
|
+
<label class="font_normal_body">小区名称</label>
|
19
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
|
20
|
+
condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
|
21
|
+
</div>
|
22
|
+
<div class="col-sm-2 form-group">
|
23
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
24
|
+
<datepicker id="startDate" placeholder="开始日期"
|
25
|
+
v-model="model.startDate"
|
26
|
+
:value.sync="model.startDate"
|
27
|
+
style="width: 60%;"
|
28
|
+
:disabled-days-of-Week="[]"
|
29
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
30
|
+
:show-reset-button="reset">
|
31
|
+
</datepicker>
|
32
|
+
</div>
|
33
|
+
<div class="col-sm-2 form-group">
|
34
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
35
|
+
<datepicker id="endDate" placeholder="结束日期"
|
36
|
+
v-model="model.endDate"
|
37
|
+
:value.sync="model.endDate"
|
38
|
+
:disabled-days-of-Week="[]"
|
39
|
+
style="width: 60%;"
|
40
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
41
|
+
:show-reset-button="reset">
|
42
|
+
</datepicker>
|
43
|
+
</div>
|
44
|
+
<div class="col-sm-3 form-group" style="margin-top: 8px">
|
45
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
46
|
+
<report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
|
47
|
+
<report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</criteria>
|
52
|
+
<div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
|
53
|
+
<table class='tableprint' style="margin: 0px auto">
|
54
|
+
<thead>
|
55
|
+
<tr>
|
56
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
57
|
+
<h3 style="text-align: center">安检数据报表</h3>
|
58
|
+
</th>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
62
|
+
开始时间:{{model.model.startDate}}
|
63
|
+
结束时间:{{ model.model.endDate }}
|
64
|
+
</th>
|
65
|
+
</tr>
|
66
|
+
</thead>
|
67
|
+
<tr>
|
68
|
+
<th colspan='5' style="font-weight: normal;">
|
69
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
70
|
+
</th>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
</div>
|
74
|
+
</criteria-paged>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
</template>
|
78
|
+
|
79
|
+
<script>
|
80
|
+
import {DataModel} from 'vue-client'
|
81
|
+
import * as Util from "../Util";
|
82
|
+
|
83
|
+
export default {
|
84
|
+
title: '维修员报表',
|
85
|
+
data() {
|
86
|
+
let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
|
87
|
+
model.f_filialeid = '(' + this.$login.f.orgid + ')'
|
88
|
+
return {
|
89
|
+
filialeNameStr: '',
|
90
|
+
filialeCodeStr: '',
|
91
|
+
userid: this.$login.f.id,
|
92
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
93
|
+
model: model
|
94
|
+
}
|
95
|
+
},
|
96
|
+
methods: {
|
97
|
+
getRes(obj) {
|
98
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids);
|
99
|
+
},
|
100
|
+
search(args){
|
101
|
+
if (args.model.endDate){
|
102
|
+
args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
|
103
|
+
}
|
104
|
+
if (args.model.startDate){
|
105
|
+
args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
|
106
|
+
}
|
107
|
+
this.model.search(args.condition,args.model)
|
108
|
+
}
|
109
|
+
},
|
110
|
+
ready() {
|
111
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
|
112
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
|
113
|
+
},
|
114
|
+
computed: {
|
115
|
+
selected() {
|
116
|
+
return this.$refs.grid.selected
|
117
|
+
},
|
118
|
+
}
|
119
|
+
}
|
120
|
+
</script>
|
@@ -51,9 +51,9 @@
|
|
51
51
|
v-model='model.userType'
|
52
52
|
:value.sync="model.userType"
|
53
53
|
:options='$parent.$parent.userTypes'
|
54
|
-
condition="tuf.f_gasproperties
|
55
|
-
:
|
56
|
-
|
54
|
+
condition="tuf.f_gasproperties in {} "
|
55
|
+
:multiple="true"
|
56
|
+
></v-select>
|
57
57
|
</div>
|
58
58
|
<div class="col-sm-2 form-group" >
|
59
59
|
<label class="font_normal_body">气表类型</label>
|