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
@@ -22,13 +22,13 @@
|
|
22
22
|
<v-select
|
23
23
|
class="select select_list"
|
24
24
|
:width="'95%'"
|
25
|
-
:value.sync="model.
|
26
|
-
v-model="model.
|
25
|
+
:value.sync="model.f_check_book_id"
|
26
|
+
v-model="model.f_check_book_id"
|
27
27
|
:options='$parent.$parent.areaList'
|
28
28
|
:timeout="500"
|
29
29
|
@select-search="$parent.$parent.select_search"
|
30
30
|
placeholder='安检册筛选'
|
31
|
-
condition="ua.
|
31
|
+
condition="ua.f_check_book_id ='{}'"
|
32
32
|
close-on-select
|
33
33
|
value-single
|
34
34
|
>
|
@@ -81,35 +81,33 @@
|
|
81
81
|
>
|
82
82
|
</v-select>
|
83
83
|
</div>
|
84
|
-
<div class="
|
85
|
-
<label class="font_normal_body"
|
86
|
-
<v-select
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
placeholder='请选择'
|
93
|
-
condition="ua.f_slice_area ='{}'"
|
94
|
-
close-on-select
|
95
|
-
value-single
|
96
|
-
>
|
84
|
+
<div class="col-sm-3 form-group">
|
85
|
+
<label class="font_normal_body">街道/乡镇</label>
|
86
|
+
<v-select :value.sync="model.f_street_id" :value-single="true"
|
87
|
+
:options='$parent.$parent.streetslist' placeholder='请选择'
|
88
|
+
condition=" area.f_street_id = '{}'"
|
89
|
+
v-model='model.f_street_id'
|
90
|
+
@change="$parent.$parent.streetChange"
|
91
|
+
close-on-select :search="true" >
|
97
92
|
</v-select>
|
98
93
|
</div>
|
99
|
-
<div class="
|
100
|
-
<label class="font_normal_body"
|
101
|
-
<
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
style="width: 60%" placeholder="街道/乡镇" condition="f_street like '%{}%'">
|
94
|
+
<div class="col-sm-3 form-group">
|
95
|
+
<label class="font_normal_body">片区/行政村</label>
|
96
|
+
<v-select :value.sync="model.f_community_id" v-model='model.f_community_id'
|
97
|
+
:options='$parent.$parent.communitylist' placeholder='片区/管理站' filer-key="name"
|
98
|
+
condition="ua.f_community_id = '{}'"
|
99
|
+
@change="$parent.$parent.communityChange"
|
100
|
+
close-on-select v-ref:slice>
|
101
|
+
</v-select>
|
108
102
|
</div>
|
109
|
-
<div
|
110
|
-
<label class="font_normal_body"
|
111
|
-
<
|
112
|
-
|
103
|
+
<div class="col-sm-3 form-group">
|
104
|
+
<label class="font_normal_body">小区/自然村</label>
|
105
|
+
<v-select :value.sync="model.f_residential_area_id" :value-single="true"
|
106
|
+
:options='$parent.$parent.areaslist' placeholder='请选择'
|
107
|
+
condition="ua.f_residential_area_id = '{}'"
|
108
|
+
v-model='model.f_residential_area_id'
|
109
|
+
close-on-select>
|
110
|
+
</v-select>
|
113
111
|
</div>
|
114
112
|
<div class="form-group col-sm-4" >
|
115
113
|
<label class="font_normal_body">派发情况:</label>
|
@@ -381,7 +379,11 @@
|
|
381
379
|
checkAll:false,
|
382
380
|
checkes:[],
|
383
381
|
excelUserCondtion:false,
|
384
|
-
uploadCodeCondition:''
|
382
|
+
uploadCodeCondition:'',
|
383
|
+
streetslist:[],
|
384
|
+
communitylist:[],
|
385
|
+
areaslist:[],
|
386
|
+
f_filialeids: this.$login.f.orgid,
|
385
387
|
}
|
386
388
|
},
|
387
389
|
props:["selectplan","userlogin"],
|
@@ -394,8 +396,182 @@
|
|
394
396
|
this.setConList()
|
395
397
|
this.loadpage()
|
396
398
|
this.getCommunity()
|
399
|
+
this.initpcds(` f_orgid = '${this.userlogin.orgid}'`)
|
400
|
+
this.initstreets(` f_orgid = '${this.userlogin.orgid}' `)
|
401
|
+
this.initareas(` f_orgid = '${this.userlogin.orgid}'`)
|
397
402
|
},
|
398
403
|
methods: {
|
404
|
+
// 初始化省市区,添加街道
|
405
|
+
async initpcds (pconditon) {
|
406
|
+
this.pcdslist = []
|
407
|
+
let HttpReset = new HttpResetClass()
|
408
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
409
|
+
data: {
|
410
|
+
items: '*',
|
411
|
+
tablename: 't_pcd',
|
412
|
+
orderitem: 'id',
|
413
|
+
condition: pconditon
|
414
|
+
}
|
415
|
+
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
416
|
+
let redata = []
|
417
|
+
req.data.forEach((row, n) => {
|
418
|
+
redata[n] = {
|
419
|
+
label: row.f_pcd,
|
420
|
+
value: row.id,
|
421
|
+
data: row,
|
422
|
+
id: row.id
|
423
|
+
}
|
424
|
+
})
|
425
|
+
this.pcdslist = redata
|
426
|
+
console.log("xxxxxxxxxxxxxx")
|
427
|
+
console.log(this.pcdslist)
|
428
|
+
console.log("redataxxxxxxxx")
|
429
|
+
},
|
430
|
+
// 初始化街道 添加小区
|
431
|
+
async initstreets (pconditon) {
|
432
|
+
this.streetslist = []
|
433
|
+
let HttpReset = new HttpResetClass()
|
434
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
435
|
+
data: {
|
436
|
+
items: '*',
|
437
|
+
tablename: 't_street',
|
438
|
+
orderitem: 'id',
|
439
|
+
condition: pconditon
|
440
|
+
}
|
441
|
+
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
442
|
+
let redata = []
|
443
|
+
req.data.forEach((row, n) => {
|
444
|
+
redata[n] = {
|
445
|
+
label: row.f_street,
|
446
|
+
value: row.id,
|
447
|
+
data: row,
|
448
|
+
id: row.id
|
449
|
+
}
|
450
|
+
})
|
451
|
+
this.streetslist = redata
|
452
|
+
console.log("xxxxxxxxxxxxxx")
|
453
|
+
console.log(this.streetslist)
|
454
|
+
console.log("redataxxxxxxxx")
|
455
|
+
},
|
456
|
+
// 初始化小区添加小区
|
457
|
+
async initareas (pconditon) {
|
458
|
+
// if(this.usertype){
|
459
|
+
// pconditon=pconditon+` and f_special='1' `
|
460
|
+
// }
|
461
|
+
this.areaslist = []
|
462
|
+
let HttpReset = new HttpResetClass()
|
463
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
464
|
+
data: {
|
465
|
+
items: '*',
|
466
|
+
tablename: 't_area',
|
467
|
+
orderitem: 'id',
|
468
|
+
condition: pconditon
|
469
|
+
}
|
470
|
+
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
471
|
+
let redata = []
|
472
|
+
req.data.forEach((row) => {
|
473
|
+
redata.push({
|
474
|
+
label: row.f_residential_area,
|
475
|
+
value: row.id,
|
476
|
+
data: row,
|
477
|
+
id: row.id
|
478
|
+
})
|
479
|
+
})
|
480
|
+
this.areaslist = redata
|
481
|
+
},
|
482
|
+
//小区变化
|
483
|
+
areaChange(val){
|
484
|
+
console.log("小区变化",val)
|
485
|
+
// 选择小区后级联出省市区和街道
|
486
|
+
let selectArea // 选中的小区数据
|
487
|
+
for (let row of this.areaslist) {
|
488
|
+
if (val == row.value) {
|
489
|
+
selectArea = row.data
|
490
|
+
break
|
491
|
+
}
|
492
|
+
}
|
493
|
+
if (selectArea) {
|
494
|
+
this.model.f_street_id = selectArea.f_street_id
|
495
|
+
this.model.f_pcd_id = selectArea.f_pcd_id
|
496
|
+
this.model.f_community_id = selectArea.f_community_id
|
497
|
+
console.log( this.model.f_community_id)
|
498
|
+
|
499
|
+
this.initstreets(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_street_id}' `)
|
500
|
+
this.initpcds(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_pcd_id}' `)
|
501
|
+
if(selectArea.f_community_id){
|
502
|
+
this.initcommunity(` f_filialeid = '${this.f_filialeids}' and id ='${selectArea.f_community_id}' `)
|
503
|
+
}
|
504
|
+
// this.model.f_slice_area = selectArea.f_slice_area
|
505
|
+
// 拼接地址
|
506
|
+
this.model.f_address = `${selectArea.f_street}${selectArea.f_community}${selectArea.f_residential_area}`
|
507
|
+
console.log( this.model.f_community_id)
|
508
|
+
}
|
509
|
+
this.$nextTick(() => {
|
510
|
+
this.$resetValidation()
|
511
|
+
})
|
512
|
+
},
|
513
|
+
// 片区变化 f_area_code
|
514
|
+
async areasChange (val) {
|
515
|
+
console.log('街道变化', val)
|
516
|
+
if (this.streetslist[0]) {
|
517
|
+
var street = ''
|
518
|
+
this.streetslist.forEach((item) => {
|
519
|
+
if (item.id === val) {
|
520
|
+
street = item.label
|
521
|
+
}
|
522
|
+
})
|
523
|
+
// this.model.f_address = street
|
524
|
+
}
|
525
|
+
if (val) {
|
526
|
+
// 那就把[小区]重新组织一下
|
527
|
+
await this.initareas(` f_area_code ='${val}' `)
|
528
|
+
if (this.$refs.paged.$refs.criteria.model.f_residential_area_id) {
|
529
|
+
if (this.findbyid(this.areaslist, this.$refs.paged.$refs.criteria.model.f_residential_area_id)) {
|
530
|
+
let street_id = this.findbyid(this.areaslist,this.$refs.paged.$refs.criteria.model.f_residential_area_id).f_street_id
|
531
|
+
if (street_id != val) {
|
532
|
+
this.$refs.paged.$refs.criteria.model.f_residential_area_id = ''
|
533
|
+
}
|
534
|
+
} else {
|
535
|
+
this.$refs.paged.$refs.criteria.model.f_residential_area_id = ''
|
536
|
+
}
|
537
|
+
}
|
538
|
+
}
|
539
|
+
},
|
540
|
+
//街道变化
|
541
|
+
//初始化街道 添加小区
|
542
|
+
async initcommunity(pconditon){
|
543
|
+
this.communitylist = []
|
544
|
+
let HttpReset = new HttpResetClass()
|
545
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
546
|
+
data: {
|
547
|
+
items: '*',
|
548
|
+
tablename: 't_community',
|
549
|
+
orderitem: 'id',
|
550
|
+
condition: pconditon
|
551
|
+
}
|
552
|
+
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
553
|
+
let redata = []
|
554
|
+
req.data.forEach((row, n) => {
|
555
|
+
redata[n] = {
|
556
|
+
label: row.f_community_name,
|
557
|
+
value: row.id,
|
558
|
+
data:row,
|
559
|
+
id:row.id
|
560
|
+
}
|
561
|
+
})
|
562
|
+
this.communitylist=redata
|
563
|
+
},
|
564
|
+
async streetChange(val){
|
565
|
+
if(val){
|
566
|
+
await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
|
567
|
+
}
|
568
|
+
},
|
569
|
+
async communityChange(val){
|
570
|
+
console.log(val)
|
571
|
+
if(val){
|
572
|
+
await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
|
573
|
+
}
|
574
|
+
},
|
399
575
|
getCommunity(){
|
400
576
|
this.community=[]
|
401
577
|
new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
|
@@ -518,19 +694,23 @@
|
|
518
694
|
value: ''
|
519
695
|
}, ...this.$appdata.getParam('气表类型')] : [{label: '全部', value: ''}]
|
520
696
|
},
|
521
|
-
select_search(
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
this.
|
528
|
-
|
529
|
-
res.data.forEach((result)=>{
|
530
|
-
this.areaList.push({label:result.f_residential_area,value:result.f_residential_area})
|
531
|
-
})
|
697
|
+
select_search(){
|
698
|
+
this.areaList = []
|
699
|
+
new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
|
700
|
+
data: {
|
701
|
+
items: 'id,f_check_book_name',
|
702
|
+
tablename: 't_check_book',
|
703
|
+
condition: `f_orgid = '${this.userlogin.orgid}'`,
|
704
|
+
orderitem: 'id desc'
|
532
705
|
}
|
533
|
-
|
706
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
707
|
+
this.areaList.push({label: '全部', value: ''})
|
708
|
+
res.data.forEach(ress => {
|
709
|
+
this.areaList.push({
|
710
|
+
label: ress.f_check_book_name,
|
711
|
+
value: ress.id
|
712
|
+
})
|
713
|
+
})
|
534
714
|
})
|
535
715
|
},
|
536
716
|
//获取抄表册
|
@@ -183,7 +183,7 @@
|
|
183
183
|
//后台查询数据
|
184
184
|
let getData = function* (self) {
|
185
185
|
let load = new HttpResetClass()
|
186
|
-
load.load('POST', 'rs/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type}},
|
186
|
+
load.load('POST', 'rs/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
187
187
|
{resolveMsg: null, rejectMsg: null})
|
188
188
|
.then((res) => {
|
189
189
|
let echartData = res.data
|
@@ -202,7 +202,7 @@
|
|
202
202
|
|
203
203
|
let getData1 = function* (self) {
|
204
204
|
let Http = new HttpResetClass()
|
205
|
-
Http.load('POST','rs/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type}},
|
205
|
+
Http.load('POST','rs/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
206
206
|
{resolveMsg: null, rejectMsg: null})
|
207
207
|
.then((res) => {
|
208
208
|
let legendname = [] //分类名,横坐标分类,隐患级别
|
@@ -259,7 +259,8 @@
|
|
259
259
|
endDate: Util.toStandardDateString(),
|
260
260
|
xc: '',
|
261
261
|
plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
|
262
|
-
plan_type:''
|
262
|
+
plan_type:'',
|
263
|
+
f_safecheck_type:''
|
263
264
|
}
|
264
265
|
},
|
265
266
|
props:{
|
@@ -304,19 +305,21 @@
|
|
304
305
|
this.$emit('echarts-changed', this.echarts)
|
305
306
|
},
|
306
307
|
setstatustable() {
|
307
|
-
this.model = new PagedList('rs/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type'},{rh:'',dfby:'',wsy:'',jj:''})
|
308
|
+
this.model = new PagedList('rs/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{rh:'',dfby:'',wsy:'',jj:''})
|
308
309
|
this.model.startDate = this.startDate
|
309
310
|
this.model.endDate = this.endDate
|
310
311
|
this.model.orgid = this.orgid
|
311
312
|
this.model.plan_type = this.plan_type
|
313
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
312
314
|
this.model.search('1=1')
|
313
315
|
},
|
314
316
|
setleveltable() {
|
315
|
-
this.model1 = new PagedList('rs/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
|
317
|
+
this.model1 = new PagedList('rs/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
|
316
318
|
this.model1.startDate = this.startDate
|
317
319
|
this.model1.endDate = this.endDate
|
318
320
|
this.model1.orgid = this.orgid
|
319
321
|
this.model1.plan_type = this.plan_type
|
322
|
+
this.model1.f_safecheck_type = this.f_safecheck_type
|
320
323
|
this.model1.search('1=1')
|
321
324
|
},
|
322
325
|
//隐患饼状图
|
@@ -575,6 +578,13 @@
|
|
575
578
|
},
|
576
579
|
'plan_type' (val) {
|
577
580
|
console.log("我是watch")
|
581
|
+
this.f_safecheck_type = ''
|
582
|
+
if (this.plan_type == 'false') {
|
583
|
+
this.f_safecheck_type = '年度普检'
|
584
|
+
}
|
585
|
+
if (this.plan_type == 'true') {
|
586
|
+
this.f_safecheck_type = '首次通气'
|
587
|
+
}
|
578
588
|
this.searchdata()
|
579
589
|
this.searchdata1()
|
580
590
|
},
|
@@ -149,7 +149,7 @@ let getData = function* (self) {
|
|
149
149
|
console.log('self.plan_type', self.plan_type)
|
150
150
|
console.log('self.orgid', self.orgid)
|
151
151
|
self.set()
|
152
|
-
load.load('POST', 'rs/sql/YearCountRate', {data: {year: self.year, orgid: self.orgid, plan_type: self.plan_type}},
|
152
|
+
load.load('POST', 'rs/sql/YearCountRate', {data: {year: self.year, orgid: self.orgid, plan_type: self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
153
153
|
{resolveMsg: null, rejectMsg: null})
|
154
154
|
.then((res) => {
|
155
155
|
let legendname = []
|
@@ -222,6 +222,7 @@ export default {
|
|
222
222
|
// orgid:'2586252.6314787',
|
223
223
|
year: (new Date()).getFullYear(),
|
224
224
|
plan_type: '',
|
225
|
+
f_safecheck_type:'',
|
225
226
|
xc: '',
|
226
227
|
plan_types: [{label: '全部', value: ''}, {label: '年度安检单', value: 'false'}, {label: '首次通气单', value: 'true'}]
|
227
228
|
}
|
@@ -271,11 +272,13 @@ export default {
|
|
271
272
|
this.model = new PagedList('rs/sql/YearCountRate', 20, {
|
272
273
|
year: 'this.year',
|
273
274
|
orgid: 'this.orgid',
|
274
|
-
plan_type: 'this.plan_type'
|
275
|
+
plan_type: 'this.plan_type',
|
276
|
+
f_safecheck_type: 'this.f_safecheck_type'
|
275
277
|
})
|
276
278
|
this.model.year = this.year
|
277
279
|
this.model.orgid = this.orgid
|
278
280
|
this.model.plan_type = this.plan_type
|
281
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
279
282
|
this.model.search('1=1')
|
280
283
|
},
|
281
284
|
set(legendname, zongliangArray, yijianArray) {
|
@@ -435,6 +438,13 @@ export default {
|
|
435
438
|
},
|
436
439
|
'plan_type'(val) {
|
437
440
|
console.log("我是plan_type")
|
441
|
+
this.f_safecheck_type = ''
|
442
|
+
if (this.plan_type == 'false') {
|
443
|
+
this.f_safecheck_type = '年度普检'
|
444
|
+
}
|
445
|
+
if (this.plan_type == 'true') {
|
446
|
+
this.f_safecheck_type = '首次通气'
|
447
|
+
}
|
438
448
|
this.searchdata()
|
439
449
|
},
|
440
450
|
'f_filialeids'(){
|
@@ -92,7 +92,7 @@
|
|
92
92
|
let getData = function * (self) {
|
93
93
|
let load = new HttpResetClass()
|
94
94
|
self.set()
|
95
|
-
load.load('POST','rs/sql/CheckComplete', {data: {year:self.year,orgid:self.orgid,plan_type:self.plan_type}},
|
95
|
+
load.load('POST','rs/sql/CheckComplete', {data: {year:self.year,orgid:self.orgid,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
|
96
96
|
{resolveMsg: null, rejectMsg: null})
|
97
97
|
.then((res) => {
|
98
98
|
let legendname = []
|
@@ -158,7 +158,8 @@
|
|
158
158
|
year:(new Date()).getFullYear(),
|
159
159
|
xc: '',
|
160
160
|
plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
|
161
|
-
plan_type:''
|
161
|
+
plan_type:'',
|
162
|
+
f_safecheck_type:''
|
162
163
|
}
|
163
164
|
},
|
164
165
|
props:{
|
@@ -203,10 +204,11 @@
|
|
203
204
|
this.$emit('echarts-changed', this.echarts)
|
204
205
|
},
|
205
206
|
settable() {
|
206
|
-
this.model= new PagedList('rs/sql/CheckComplete',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type'})
|
207
|
+
this.model= new PagedList('rs/sql/CheckComplete',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'})
|
207
208
|
this.model.year = this.year
|
208
209
|
this.model.orgid = this.orgid
|
209
210
|
this.model.plan_type = this.plan_type
|
211
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
210
212
|
this.model.search('1=1')
|
211
213
|
},
|
212
214
|
set(scaledata,legendname,zongliangArray,yijianArray) {
|
@@ -370,6 +372,13 @@
|
|
370
372
|
this.searchdata()
|
371
373
|
},
|
372
374
|
'plan_type' (val) {
|
375
|
+
this.f_safecheck_type = ''
|
376
|
+
if (this.plan_type == 'false') {
|
377
|
+
this.f_safecheck_type = '年度普检'
|
378
|
+
}
|
379
|
+
if (this.plan_type == 'true') {
|
380
|
+
this.f_safecheck_type = '首次通气'
|
381
|
+
}
|
373
382
|
console.log("我是plan_type")
|
374
383
|
this.searchdata()
|
375
384
|
},
|
@@ -218,6 +218,18 @@
|
|
218
218
|
:options='$parent.$parent.entry_status'
|
219
219
|
></v-select>
|
220
220
|
</div>
|
221
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
222
|
+
<label class="font_normal_body">计划类型</label>
|
223
|
+
<v-select class="select_list select"
|
224
|
+
placeholder='请选择'
|
225
|
+
:value.sync="model.f_safe_type" v-model="model.f_safe_type"
|
226
|
+
:options='$parent.$parent.safe_types'
|
227
|
+
filer-key="name"
|
228
|
+
condition="f_safe_type = '{}'"
|
229
|
+
close-on-select clear-button
|
230
|
+
:value-single="true">
|
231
|
+
</v-select>
|
232
|
+
</div>
|
221
233
|
</div>
|
222
234
|
|
223
235
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
@@ -520,6 +532,7 @@ export default {
|
|
520
532
|
f_defect_content: 'this.f_defect_content'
|
521
533
|
}),
|
522
534
|
entry_status:[{label: '入户', value: '入户'}, {label: '拒检', value: '拒检'}, {label: '到访不遇', value: '到访不遇'}],
|
535
|
+
safe_types:this.$appdata.getParam('计划类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('计划类型')]:[{label: '全部', value: ''}],
|
523
536
|
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",
|
524
537
|
orgstrs: [{label: '全部', value: ''}],
|
525
538
|
checkersid: [],
|
@@ -221,7 +221,7 @@
|
|
221
221
|
:show-rest-button="reset"
|
222
222
|
:value.sync="model.f_start_time"
|
223
223
|
v-model="model.f_start_time"
|
224
|
-
|
224
|
+
|
225
225
|
</datepicker>
|
226
226
|
</div>
|
227
227
|
<div class="form-group col-sm-4" >
|
@@ -234,7 +234,7 @@
|
|
234
234
|
:show-rest-button="reset"
|
235
235
|
:value.sync="model.f_end_time"
|
236
236
|
v-model="model.f_end_time"
|
237
|
-
|
237
|
+
|
238
238
|
</datepicker>
|
239
239
|
</div>
|
240
240
|
<div class="form-group col-sm-4">
|
@@ -246,7 +246,6 @@
|
|
246
246
|
v-model="model.f_last_check_state"
|
247
247
|
:options='$parent.$parent.entry_status'
|
248
248
|
placeholder='请选择'
|
249
|
-
condition="ui.f_last_check_state = '{}'"
|
250
249
|
:search="false"
|
251
250
|
close-on-select
|
252
251
|
value-single
|
@@ -485,13 +484,7 @@
|
|
485
484
|
this.excelUserCondtion=true
|
486
485
|
},
|
487
486
|
selfSearch (args) {
|
488
|
-
//tag)
|
489
487
|
args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
|
490
|
-
/*if(args.model.f_hasHousehold=='已入户'){
|
491
|
-
args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
|
492
|
-
}else if(args.model.f_hasHousehold=='未入户'){
|
493
|
-
args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
|
494
|
-
}*/
|
495
488
|
if(args.model.checkBook){
|
496
489
|
let arr=args.model.checkBook.split('-')
|
497
490
|
if(arr[1] == '用户'){
|
@@ -500,8 +493,34 @@
|
|
500
493
|
args.condition +=` and area.f_check_book_id=${arr[0]} and ua.f_check_book_id is null`
|
501
494
|
}
|
502
495
|
}
|
503
|
-
if (args.model.f_last_check_state == '未检'){
|
504
|
-
|
496
|
+
// if (args.model.f_last_check_state == '未检'){
|
497
|
+
// args.condition += ` and ui.f_last_check_date <='${args.model.f_start_time}' or ui.f_last_check_date >='${args.model.f_start_time}' and ( ui.f_last_check_date is null or ui.f_last_check_state is null or ui.f_last_check_date ='' ) `
|
498
|
+
// }else if(args.model.f_last_check_state == '') {
|
499
|
+
// args.model.f_start_time ==''?
|
500
|
+
// args.condition +=` and ui.f_last_check_date >='${args.model.f_start_time}' and ui.f_last_check_date <='${args.model.f_start_time}' `
|
501
|
+
// }else {
|
502
|
+
// args.condition +=` and ui.f_last_check_state = ${args.model.f_last_check_state?args.model.f_last_check_state:''} and ui.f_last_check_date >='${args.model.f_start_time}' and ui.f_last_check_date <='${args.model.f_start_time}' `
|
503
|
+
// }
|
504
|
+
if (!Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_start_time) || !Util.isEmpty(args.model.f_end_time) )){
|
505
|
+
if (args.model.f_last_check_state == '未检'){
|
506
|
+
var lscon = args.model.f_start_time ? ` or ui.f_last_check_date <= '${args.model.f_start_time} 00:00:00'` :''
|
507
|
+
lscon += lscon ? (args.model.f_end_time ? ` or ui.f_last_check_date >= '${args.model.f_end_time} 23:59:59'` :''): (args.model.f_end_time ? `ui.f_last_check_date >= '${args.model.f_end_time} 23:59:59'` :'')
|
508
|
+
args.condition +=`and (ui.f_last_check_state is null or ui.f_last_check_state ='' ${lscon} ) `
|
509
|
+
}else {
|
510
|
+
var lscon = args.model.f_start_time ? ` and ui.f_last_check_date >= '${args.model.f_start_time} 00:00:00'` :''
|
511
|
+
lscon += lscon ? (args.model.f_end_time ? ` and ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'') : (args.model.f_end_time ? ` ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'')
|
512
|
+
args.condition += `and ui.f_last_check_state = '${args.model.f_last_check_state}' ${lscon}`
|
513
|
+
}
|
514
|
+
|
515
|
+
}else if (Util.isEmpty(args.model.f_last_check_state) && (!Util.isEmpty(args.model.f_start_time) || !Util.isEmpty(args.model.f_end_time) )) {
|
516
|
+
var lscon = args.model.f_start_time ? ` and ui.f_last_check_date >= '${args.model.f_start_time} 00:00:00'` :''
|
517
|
+
lscon += lscon ? (args.model.f_end_time ? ` and ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'') : (args.model.f_end_time ? ` ui.f_last_check_date <= '${args.model.f_end_time} 23:59:59'` :'')
|
518
|
+
args.condition += lscon
|
519
|
+
}else if (!Util.isEmpty(args.model.f_last_check_state) && Util.isEmpty(args.model.f_start_time) && Util.isEmpty(args.model.f_end_time)){
|
520
|
+
this.$showMessage("选择安检状态时,需要选择安检时间区间!")
|
521
|
+
return
|
522
|
+
}else{
|
523
|
+
console.log('这块无条件')
|
505
524
|
}
|
506
525
|
if(this.uploadCodeCondition){
|
507
526
|
args.condition +=` and ${this.uploadCodeCondition}`
|
@@ -129,7 +129,7 @@
|
|
129
129
|
console.log('self.plan_type',self.plan_type)
|
130
130
|
console.log('self.orgid',self.orgid)
|
131
131
|
self.set()
|
132
|
-
load.load('POST','rs/sql/YearCheckerCountRate', {data: {orgid:self.orgid,plan_type:self.plan_type,f_start_time:self.f_start_time,f_end_time:self.f_end_time}},
|
132
|
+
load.load('POST','rs/sql/YearCheckerCountRate', {data: {orgid:self.orgid,plan_type:self.plan_type,f_start_time:self.f_start_time,f_end_time:self.f_end_time,f_safecheck_type:self.f_safecheck_type}},
|
133
133
|
{resolveMsg: null, rejectMsg: null})
|
134
134
|
.then((res) => {
|
135
135
|
let checkerArrray = []
|
@@ -202,6 +202,7 @@
|
|
202
202
|
// orgid:'2586252.6314787',
|
203
203
|
year:(new Date()).getFullYear(),
|
204
204
|
plan_type:'',
|
205
|
+
f_safecheck_type:'',
|
205
206
|
f_start_time:'',
|
206
207
|
f_end_time:'',
|
207
208
|
xc: '',
|
@@ -250,12 +251,13 @@
|
|
250
251
|
this.$emit('echarts-changed', this.echarts)
|
251
252
|
},
|
252
253
|
settable() {
|
253
|
-
this.model= new PagedList('rs/sql/YearCheckerCountRate',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_start_time:'this.f_start_time',f_end_time:'this.f_end_time'})
|
254
|
+
this.model= new PagedList('rs/sql/YearCheckerCountRate',20, {year:'this.year',orgid:'this.orgid',plan_type:'this.plan_type',f_start_time:'this.f_start_time',f_end_time:'this.f_end_time',f_safecheck_type: 'this.f_safecheck_type'})
|
254
255
|
this.model.year = this.year
|
255
256
|
this.model.orgid = this.orgid
|
256
257
|
this.model.f_start_time = this.f_start_time
|
257
258
|
this.model.f_end_time = this.f_end_time
|
258
259
|
this.model.plan_type = this.plan_type
|
260
|
+
this.model.f_safecheck_type = this.f_safecheck_type
|
259
261
|
this.model.search('1=1')
|
260
262
|
},
|
261
263
|
set(checkerArrray,ruhuArray,dfbyArray,jjArray,wsytrqArray) {
|
@@ -458,6 +460,13 @@
|
|
458
460
|
},
|
459
461
|
'plan_type' (val) {
|
460
462
|
console.log("我是plan_type")
|
463
|
+
this.f_safecheck_type = ''
|
464
|
+
if (this.plan_type == 'false') {
|
465
|
+
this.f_safecheck_type = '年度普检'
|
466
|
+
}
|
467
|
+
if (this.plan_type == 'true') {
|
468
|
+
this.f_safecheck_type = '首次通气'
|
469
|
+
}
|
461
470
|
this.searchdata()
|
462
471
|
},
|
463
472
|
'f_filialeids'(){
|