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
@@ -0,0 +1,543 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="form-group col-sm-2" >
|
9
|
+
<label class="font_normal_body">客户编号</label>
|
10
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
11
|
+
style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2" >
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
15
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
|
+
</div>
|
18
|
+
<div class="form-group col-sm-2" >
|
19
|
+
<label class="font_normal_body">客户电话</label>
|
20
|
+
<input type="text" class="input_search" v-model="model.f_user_phone"
|
21
|
+
style="width: 60%" placeholder="客户电话" condition="f_user_phone = '{}'">
|
22
|
+
</div>
|
23
|
+
<div class="form-group col-sm-2" >
|
24
|
+
<label class="font_normal_body">小  区</label>
|
25
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
26
|
+
style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
|
27
|
+
</div>
|
28
|
+
<div class="form-group col-sm-2" >
|
29
|
+
<label class="font_normal_body">详细地址</label>
|
30
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
31
|
+
style="width: 60%" placeholder="详细地址" condition="f_address like '%{}%'">
|
32
|
+
</div>
|
33
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
34
|
+
|
35
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
36
|
+
:field="$parent.$parent.excelHeaders"
|
37
|
+
:choose-col="true"
|
38
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="ReportCheckItemList" template-name='安检结果明细导出'></export-excel-safe>
|
39
|
+
|
40
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
41
|
+
<div style="float: right" class="button_spacing"
|
42
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
43
|
+
@click="$parent.$parent.hidden()"></div>
|
44
|
+
</div>
|
45
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
46
|
+
<label class="font_normal_body">开始时间</label>
|
47
|
+
<datepicker
|
48
|
+
:value.sync="model.f_check_start"
|
49
|
+
placeholder='开始时间' style="width: 60%"
|
50
|
+
:disabled-days-of-week="[]"
|
51
|
+
:format="'yyyy-MM-dd'"
|
52
|
+
:show-rest-button="reset"
|
53
|
+
v-model="model.f_check_start"
|
54
|
+
condition="f_offsite_time > ='{} 00:00:00'">
|
55
|
+
</datepicker>
|
56
|
+
</div>
|
57
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
58
|
+
<label class="font_normal_body">结束时间</label>
|
59
|
+
<datepicker
|
60
|
+
:value.sync="model.f_check_end"
|
61
|
+
placeholder='结束时间' style="width: 60%"
|
62
|
+
:disabled-days-of-week="[]"
|
63
|
+
:format="'yyyy-MM-dd'"
|
64
|
+
:show-rest-button="reset"
|
65
|
+
v-model="model.f_check_end"
|
66
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
67
|
+
</datepicker>
|
68
|
+
</div>
|
69
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
70
|
+
<label class="font_normal_body">安检状态</label>
|
71
|
+
<v-select id="f_entry"
|
72
|
+
class="select_list select"
|
73
|
+
placeholder='安检状态' style="width: 60%"
|
74
|
+
v-model='model.f_entry'
|
75
|
+
:value.sync="$parent.$parent.model.f_entry"
|
76
|
+
:options='$parent.$parent.f_entry_status'
|
77
|
+
condition="f_entry_status = '{}'"
|
78
|
+
:value-single="true"
|
79
|
+
close-on-select clear-button></v-select>
|
80
|
+
</div>
|
81
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
82
|
+
<label class="font_normal_body">开户时间</label>
|
83
|
+
<datepicker
|
84
|
+
:value.sync="model.f_check_gasstart"
|
85
|
+
placeholder='开始时间' style="width: 60%"
|
86
|
+
:disabled-days-of-week="[]"
|
87
|
+
:format="'yyyy-MM-dd'"
|
88
|
+
:show-rest-button="reset"
|
89
|
+
v-model="model.f_check_gasstart"
|
90
|
+
condition="f_gas_date > ='{} 00:00:00'">
|
91
|
+
</datepicker>
|
92
|
+
</div>
|
93
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
94
|
+
<label class="font_normal_body">开户时间</label>
|
95
|
+
<datepicker
|
96
|
+
:value.sync="model.f_check_gasend"
|
97
|
+
placeholder='结束时间' style="width: 60%"
|
98
|
+
:disabled-days-of-week="[]"
|
99
|
+
:format="'yyyy-MM-dd'"
|
100
|
+
:show-rest-button="reset"
|
101
|
+
v-model="model.f_check_gasend"
|
102
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
103
|
+
</datepicker>
|
104
|
+
</div>
|
105
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
106
|
+
<label class="font_normal_body">气表品牌</label>
|
107
|
+
<v-select
|
108
|
+
class="select_list select"
|
109
|
+
placeholder='气表品牌' style="width: 60%"
|
110
|
+
v-model='model.tableBrand'
|
111
|
+
:value.sync="model.tableBrand"
|
112
|
+
:options='$parent.$parent.tableBrands'
|
113
|
+
condition="f_rqb_qbpp = '{}'"
|
114
|
+
:value-single="true"
|
115
|
+
close-on-select clear-button></v-select>
|
116
|
+
</div>
|
117
|
+
<div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
|
118
|
+
<role-selector-safe
|
119
|
+
role-name="安检员"
|
120
|
+
role-lable="安 检 员 "
|
121
|
+
@re-res="$parent.$parent.getRes"
|
122
|
+
:value.sync="model.f_checker_id"
|
123
|
+
v-model="model.f_checker_id"
|
124
|
+
condition="f_checker_name = '{}'">
|
125
|
+
</role-selector-safe>
|
126
|
+
</div>
|
127
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
128
|
+
<label class="font_normal_body">未用燃气</label>
|
129
|
+
<v-select class="select_list select"
|
130
|
+
placeholder='请选择' style="width: 60%"
|
131
|
+
:value.sync="model.f_usegas" v-model="model.f_usegas"
|
132
|
+
:options='$parent.$parent.usegas'
|
133
|
+
filer-key="name"
|
134
|
+
close-on-select clear-button
|
135
|
+
condition="f_usegas='{}'"
|
136
|
+
:value-single="true">
|
137
|
+
</v-select>
|
138
|
+
</div>
|
139
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
140
|
+
<label class="font_normal_body">导 出 项</label>
|
141
|
+
<v-select class="select_list select"
|
142
|
+
placeholder='请选择' style="width: 60%"
|
143
|
+
:value.sync="$parent.$parent.f_excel_items" v-model="$parent.$parent.f_excel_items"
|
144
|
+
:options='$parent.$parent.excelitems'
|
145
|
+
:multiple="true"
|
146
|
+
filer-key="name"
|
147
|
+
clear-button>
|
148
|
+
</v-select>
|
149
|
+
</div>
|
150
|
+
<modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
|
151
|
+
<div slot="modal-header" class="modal-header">
|
152
|
+
<h4 class="modal-title">
|
153
|
+
选择计划
|
154
|
+
</h4>
|
155
|
+
</div>
|
156
|
+
<div slot="modal-body" class="modal-body">
|
157
|
+
<plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
|
158
|
+
</div>
|
159
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
160
|
+
<button class="button_search" @click="$parent.$parent.ok">确认</button>
|
161
|
+
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
162
|
+
</div>
|
163
|
+
</modal>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
</criteria>
|
167
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
168
|
+
<template partial='head'>
|
169
|
+
<tr>
|
170
|
+
<th>
|
171
|
+
<nobr>客户编号</nobr>
|
172
|
+
</th>
|
173
|
+
<th>
|
174
|
+
<nobr>客户名称</nobr>
|
175
|
+
</th>
|
176
|
+
<th>
|
177
|
+
<nobr>客户表号</nobr>
|
178
|
+
</th>
|
179
|
+
<th>
|
180
|
+
<nobr>气表品牌</nobr>
|
181
|
+
</th>
|
182
|
+
<th>
|
183
|
+
<nobr>客户电话</nobr>
|
184
|
+
</th>
|
185
|
+
<th>
|
186
|
+
<nobr>客户类型</nobr>
|
187
|
+
</th>
|
188
|
+
<th>
|
189
|
+
<nobr>客户地址</nobr>
|
190
|
+
</th>
|
191
|
+
<th>
|
192
|
+
<nobr>安检状态</nobr>
|
193
|
+
</th>
|
194
|
+
<th>
|
195
|
+
<nobr>用气状态</nobr>
|
196
|
+
</th>
|
197
|
+
<th>
|
198
|
+
<data-order field="f_offsite_time" name="安检时间"></data-order>
|
199
|
+
</th>
|
200
|
+
<th>
|
201
|
+
<nobr>安检员</nobr>
|
202
|
+
</th>
|
203
|
+
<th>
|
204
|
+
<nobr>备注</nobr>
|
205
|
+
</th>
|
206
|
+
<th>
|
207
|
+
<nobr>开户时间</nobr>
|
208
|
+
</th>
|
209
|
+
</tr>
|
210
|
+
</template>
|
211
|
+
<template partial='body'>
|
212
|
+
|
213
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
214
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
215
|
+
<td style="text-align: center">{{row.f_meternumber}}</td>
|
216
|
+
<td style="text-align: center">{{row.f_meter_brand}}</td>
|
217
|
+
<td style="text-align: center">{{row.f_user_phone}}</td>
|
218
|
+
<td style="text-align: center">{{row.f_check_type}}</td>
|
219
|
+
<td style="text-align: center">{{ row.f_address }}</td>
|
220
|
+
<td style="text-align: center">{{ row.f_entry_status }}</td>
|
221
|
+
<td style="text-align: center">{{ row.f_usegas }}</td>
|
222
|
+
<td style="text-align: center">{{ row.f_offsite_time }}</td>
|
223
|
+
<td style="text-align: center">{{ row.f_checker_name }}</td>
|
224
|
+
<td style="text-align: center">{{ row.f_repair_approved_note }}</td>
|
225
|
+
<td style="text-align: center">{{ row.f_gas_date }}</td>
|
226
|
+
</template>
|
227
|
+
</data-grid>
|
228
|
+
</criteria-paged>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
</template>
|
232
|
+
|
233
|
+
<script>
|
234
|
+
import {PagedList} from 'vue-client'
|
235
|
+
import Vue from 'vue'
|
236
|
+
import co from 'co'
|
237
|
+
import AppData from '../../../stores/AppData'
|
238
|
+
import * as Util from '../../Util'
|
239
|
+
import getNowDate from "../../../utils/getNowDate";
|
240
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
241
|
+
import BenzAMRRecorder from 'benz-amr-recorder'
|
242
|
+
|
243
|
+
const Excelconfig = {
|
244
|
+
'燃气表': {
|
245
|
+
'f_rqb_jbbh':'基表编号',
|
246
|
+
'f_rqb_qbpp': '气表品牌',
|
247
|
+
'f_rqb_qpxh': '气表型号',
|
248
|
+
'f_rqb_jqfx': '进气方向',
|
249
|
+
'f_rqb_lgql': '累购气量',
|
250
|
+
'f_rqb_lgje': '累购金额',
|
251
|
+
'f_rqb_yyql': '已用气量',
|
252
|
+
'f_rqb_yyje': '已用金额',
|
253
|
+
'f_rqb_syql': '剩余气量',
|
254
|
+
'f_rqb_syje': '剩余金额',
|
255
|
+
'f_rqb_qlyccz': '气量异常差值',
|
256
|
+
'f_rqb_jeyccz': '金额异常差值',
|
257
|
+
'f_rqb_bxh': '表箱号',
|
258
|
+
'f_rqb_scrq': '生产日期',
|
259
|
+
'f_rqb_kssyrq': '开始使用日期',
|
260
|
+
'f_rqb_lq': '表漏气',
|
261
|
+
'f_rqb_ztb': '直通表',
|
262
|
+
'f_rqb_sb': '死表',
|
263
|
+
'f_rqb_fs': '表腐蚀',
|
264
|
+
'f_rqb_qbgb': '气不过表',
|
265
|
+
'f_rqb_kbbh': '卡表表号',
|
266
|
+
'f_rqb_bsh': '表损坏',
|
267
|
+
'f_rqb_jbds':'机械读数'
|
268
|
+
},
|
269
|
+
'立管': {
|
270
|
+
'f_lg_fs': '立管腐蚀',
|
271
|
+
'f_lg_bg': '立管包裹',
|
272
|
+
'f_lg_yxylsfzc': '立管运行压力是否正常',
|
273
|
+
'f_lg_jglq':'立管接口漏气'
|
274
|
+
},
|
275
|
+
'阀门': {
|
276
|
+
'f_fm_bqfsflq': '表前阀是否漏气',
|
277
|
+
'f_fm_bqfsfbg': '表前阀是否包裹',
|
278
|
+
'f_fm_zbfsflq': '自闭阀是否漏气',
|
279
|
+
'f_fm_zbfsfbg':'自闭阀是否包裹',
|
280
|
+
'f_fm_zbfsfsh': '自闭阀是否损坏',
|
281
|
+
'f_fm_zqfsflq': '灶前阀是否漏气',
|
282
|
+
'f_fm_fmxs':'阀门形式'
|
283
|
+
},
|
284
|
+
'管道': {
|
285
|
+
'f_gd_lq': '管道漏气',
|
286
|
+
'f_gd_ckt': '管道穿客厅',
|
287
|
+
'f_gd_cws': '管道穿卧室',
|
288
|
+
'f_gd_ydqgj':'管道与电气过近',
|
289
|
+
'f_gd_af': '管道暗封',
|
290
|
+
'f_gd_sg': '管道私改',
|
291
|
+
'f_gd_cfty':'管道厨房他用',
|
292
|
+
'f_gd_gdk': '管道固定卡',
|
293
|
+
'f_gd_rg':'管道软管'
|
294
|
+
},
|
295
|
+
'报警器': {
|
296
|
+
'f_bjq_sfaz':'报警器是否安装'
|
297
|
+
},
|
298
|
+
'灶具': {
|
299
|
+
'f_zj_sbpp': '灶具设备品牌',
|
300
|
+
'f_zj_sbxh': '灶具设备型号',
|
301
|
+
'f_zj_scrq': '灶具生产日期',
|
302
|
+
'f_zj_kssyrq':'灶具开始使用日期',
|
303
|
+
'f_zj_rgcd': '灶具软管长度(米)',
|
304
|
+
'f_zj_qysfpp': '灶具气源是否匹配',
|
305
|
+
'f_zj_sfsh':'灶具是否损坏',
|
306
|
+
'f_zj_sfbf': '灶具是否报废',
|
307
|
+
'f_zj_yqmjlbz':'灶具与墙面距离不足',
|
308
|
+
'f_zj_xhbhsfzc': '灶具熄火保护是否正常',
|
309
|
+
'f_zj_rgcz': '灶具软管材质',
|
310
|
+
'f_zj_zjxs':'灶具灶具形成',
|
311
|
+
'f_zj_yhdabh': '灶具用户档案编号',
|
312
|
+
'f_zj_ygnx':'灶具已过年限'
|
313
|
+
},
|
314
|
+
'热水器': {
|
315
|
+
'f_rsq_sbpp': '热水器设备品牌',
|
316
|
+
'f_rsq_sbxh': '热水器设备型号',
|
317
|
+
'f_rsq_kssyrq': '热水器开始使用日期',
|
318
|
+
'f_rsq_rgcd':'热水器软管长度(米)',
|
319
|
+
'f_rsq_lq': '热水器漏气',
|
320
|
+
'f_rsq_yd': '热水器烟道',
|
321
|
+
'f_rsq_rgcz':'热水器软管材质',
|
322
|
+
'f_rsq_azwz': '热水器安装位置'
|
323
|
+
},
|
324
|
+
'壁挂炉': {
|
325
|
+
'f_bgl_sbpp': '壁挂炉设备品牌',
|
326
|
+
'f_bgl_sbxh': '壁挂炉设备型号',
|
327
|
+
'f_bgl_kssyrq': '壁挂炉开始使用日期',
|
328
|
+
'f_bgl_rgcd':'壁挂炉软管长度(米)',
|
329
|
+
'f_bgl_yd': '壁挂炉烟道',
|
330
|
+
'f_bgl_czxx': '壁挂炉材质选项',
|
331
|
+
'f_bgl_azwz':'壁挂炉安装位置'
|
332
|
+
},
|
333
|
+
'隐患': {
|
334
|
+
'f_yh_tfbl': '通风不良',
|
335
|
+
'f_yh_rqssazzws': '燃气设施安装在卧室/卫生间',
|
336
|
+
'f_yh_rgcg': '软管超过两米',
|
337
|
+
'f_yh_rgrh':'软管老化',
|
338
|
+
'f_yh_dewy': '第二火源',
|
339
|
+
'f_yh_dfyrybp': '堆放易燃易爆品',
|
340
|
+
'f_yh_rgcq':'软管穿墙/棚顶',
|
341
|
+
'f_yh_rgyjt': '软管有接头',
|
342
|
+
'f_yh_rglhygj': '软管离火源过近',
|
343
|
+
'f_yh_kfscf': '开放式厨房',
|
344
|
+
'f_yh_rqgddzzw':'燃气管道/燃气表搭挂重物',
|
345
|
+
'f_yh_rqssgdblg': '燃气设施固定不牢固',
|
346
|
+
'f_yh_zdyh': '重点用户',
|
347
|
+
'f_yh_dxcr':'电线缠绕',
|
348
|
+
'f_yh_ddbgf': '断电不关阀',
|
349
|
+
'f_yh_ddbg': '吊顶包管',
|
350
|
+
'f_yh_sjrrq': '私接热水器或壁挂炉',
|
351
|
+
'f_yh_sflq':'是否漏气',
|
352
|
+
'f_yh_lqwz': '漏气位置',
|
353
|
+
'f_yh_qlyc': '气量异常',
|
354
|
+
'f_yh_sjst':'私接三通',
|
355
|
+
'f_yh_sjsyz':'私接商用灶'
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
export default {
|
360
|
+
title: '安检项明细导出',
|
361
|
+
data() {
|
362
|
+
let model = new PagedList('rs/sql/ReportCheckItemList', 20)
|
363
|
+
return {
|
364
|
+
tableBrands: [{label: '全部', value: ''}],
|
365
|
+
audioshow: false,
|
366
|
+
safeAudit: this.$appdata.getSingleValue('安检审核') == '是' ? true : false,
|
367
|
+
searchData: {
|
368
|
+
condition: "1=1",
|
369
|
+
orderitem: "f_offsite_time desc",
|
370
|
+
f_plan_id: "",
|
371
|
+
f_approved: '',
|
372
|
+
f_entry_status: '',
|
373
|
+
f_no_checkplan: '',
|
374
|
+
f_filialeid: `('${this.$login.f.orgid}')`
|
375
|
+
},
|
376
|
+
model: model,
|
377
|
+
excelHeadersStr:{
|
378
|
+
'f_userinfo_code': '客户编号',
|
379
|
+
'f_user_name': '客户姓名',
|
380
|
+
'f_meternumber':'客户表号',
|
381
|
+
'f_user_phone':'客户电话',
|
382
|
+
'f_check_type': '客户类型',
|
383
|
+
'f_residential_area': '小区',
|
384
|
+
'f_address': '客户地址',
|
385
|
+
'f_entry_status': '安检状态',
|
386
|
+
'f_usegas': '用气状态',
|
387
|
+
'f_offsite_time': '安检时间',
|
388
|
+
'f_checker_name': '安检员',
|
389
|
+
'f_repair_approved_note': '备注',
|
390
|
+
'f_gas_date': '开户时间',
|
391
|
+
'f_plan_name': '计划名称'
|
392
|
+
},
|
393
|
+
excelHeaders: {
|
394
|
+
'f_userinfo_code': '客户编号',
|
395
|
+
'f_user_name': '客户姓名',
|
396
|
+
'f_meternumber':'客户表号',
|
397
|
+
'f_user_phone':'客户电话',
|
398
|
+
'f_check_type': '客户类型',
|
399
|
+
'f_residential_area': '小区',
|
400
|
+
'f_address': '客户地址',
|
401
|
+
'f_entry_status': '安检状态',
|
402
|
+
'f_usegas': '用气状态',
|
403
|
+
'f_offsite_time': '安检时间',
|
404
|
+
'f_checker_name': '安检员',
|
405
|
+
'f_repair_approved_note': '备注',
|
406
|
+
'f_gas_date': '开户时间',
|
407
|
+
'f_plan_name': '计划名称'
|
408
|
+
},
|
409
|
+
fun: this.$login.f,
|
410
|
+
pcds:[],
|
411
|
+
checkersid: [],
|
412
|
+
f_excel_items:[],
|
413
|
+
excelitems:this.$appdata.getParam('安检结果导出项'),
|
414
|
+
safetype: this.$appdata.getParam('安检类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检类型')]:[{label: '全部', value: ''}],
|
415
|
+
criteriaShow: false,
|
416
|
+
checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
|
417
|
+
f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
418
|
+
showModal: false,
|
419
|
+
safe_types:this.$appdata.getParam('计划类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('计划类型')]:[{label: '全部', value: ''}],
|
420
|
+
f_approval_states: this.$appdata.getParam('安检单审核状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检单审核状态')]:[{label: '全部', value: ''}],
|
421
|
+
f_entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
|
422
|
+
no_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
|
423
|
+
usegas: this.$appdata.getParam('用气状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用气状态')]:[{label: '全部', value: ''}],
|
424
|
+
showcheckmsg: false,
|
425
|
+
checkInfo: {},
|
426
|
+
orderDefault: "'f_offsite_time'",
|
427
|
+
orderFields: {
|
428
|
+
f_offsite_time: 'no'
|
429
|
+
},
|
430
|
+
sliceArea: [],
|
431
|
+
cbc:[]
|
432
|
+
}
|
433
|
+
},
|
434
|
+
methods: {
|
435
|
+
//气表品牌查询
|
436
|
+
getTableBrands() {
|
437
|
+
new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
|
438
|
+
{data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
|
439
|
+
{resolveMsg: null, rejectMsg: null}).then((resp) => {
|
440
|
+
resp.data.forEach((result) => {
|
441
|
+
this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
|
442
|
+
})
|
443
|
+
})
|
444
|
+
},
|
445
|
+
getRes(obj) {
|
446
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids);
|
447
|
+
this.searchData.f_filialeid = this.$login.convertToIn(obj.resids);
|
448
|
+
},
|
449
|
+
showChooser() {
|
450
|
+
this.showModal = true
|
451
|
+
},
|
452
|
+
hidden() {
|
453
|
+
this.criteriaShow = !this.criteriaShow
|
454
|
+
},
|
455
|
+
ok() {
|
456
|
+
this.showModal = false
|
457
|
+
if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
|
458
|
+
this.$refs.paged.$refs.criteria.$refs.modal.f_plan_name = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
|
459
|
+
this.$refs.paged.$refs.criteria.$refs.modal.f_check_plan=this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow
|
460
|
+
}
|
461
|
+
},
|
462
|
+
cancel() {
|
463
|
+
this.showModal = false
|
464
|
+
this.$refs.paged.$refs.criteria.$refs.modal.f_check_plan = {f_plan_name: '', id: ''}
|
465
|
+
this.$refs.paged.$refs.criteria.$refs.modal.f_plan_id=''
|
466
|
+
},
|
467
|
+
sort(field, rule) {
|
468
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
469
|
+
for (let key in this.orderFields) {
|
470
|
+
if (key === field) {
|
471
|
+
this.orderFields[key] = rule
|
472
|
+
} else {
|
473
|
+
this.orderFields[key] = 'no'
|
474
|
+
}
|
475
|
+
}
|
476
|
+
// 如果新规则不排序,还原为默认排序
|
477
|
+
if (rule === 'no') {
|
478
|
+
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
479
|
+
} else {
|
480
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
481
|
+
}
|
482
|
+
this.search()
|
483
|
+
},
|
484
|
+
search() {
|
485
|
+
this.$refs.paged.$refs.criteria.search()
|
486
|
+
},
|
487
|
+
selfSearch(args) {
|
488
|
+
////tag
|
489
|
+
//args.condition+=" and f_check_type='民用'"
|
490
|
+
if(args.model.f_check_date){
|
491
|
+
const daysBefore = Number(args.model.f_check_date);
|
492
|
+
if ( daysBefore > 0) {
|
493
|
+
// 获取当前日期
|
494
|
+
const now = new Date();
|
495
|
+
// 计算三天前的日期
|
496
|
+
const threeDaysBefore = new Date(now.getTime() - (daysBefore * 24 * 60 * 60 * 1000));
|
497
|
+
// 如果需要格式化日期,可以使用Date对象的方法
|
498
|
+
var formattedDate = threeDaysBefore.toISOString().split('T')[0];
|
499
|
+
args.condition += ` and f_offsite_time <='${formattedDate} 23:59:59'`;
|
500
|
+
} else {
|
501
|
+
console.error('f_check_date不是一个有效的正整数');
|
502
|
+
}
|
503
|
+
}
|
504
|
+
this.model.search(args.condition, args.model, args.condValue)
|
505
|
+
}
|
506
|
+
},
|
507
|
+
|
508
|
+
ready() {
|
509
|
+
////tag
|
510
|
+
this.function = this.f
|
511
|
+
////tag
|
512
|
+
//获取气表品牌
|
513
|
+
this.getTableBrands()
|
514
|
+
// let gen = select(this)
|
515
|
+
// co(gen)
|
516
|
+
},
|
517
|
+
watch: {
|
518
|
+
'model.f_no_checkplan'(val) {
|
519
|
+
if (this.model.f_no_checkplan){
|
520
|
+
this.searchData.f_no_checkplan = val
|
521
|
+
}
|
522
|
+
if (this.model.f_no_checkplan == '有计划安检') {
|
523
|
+
|
524
|
+
this.showChooser()
|
525
|
+
}
|
526
|
+
},
|
527
|
+
'model.condition'(val) {
|
528
|
+
if (val) {
|
529
|
+
this.searchData.condition = val
|
530
|
+
}
|
531
|
+
},
|
532
|
+
'f_excel_items'(val){
|
533
|
+
this.excelHeaders = JSON.parse(JSON.stringify(this.excelHeadersStr))
|
534
|
+
if(val.length > 0){
|
535
|
+
val.forEach((item)=>{
|
536
|
+
this.excelHeaders = Object.assign(this.excelHeaders, JSON.parse(JSON.stringify(this.excelHeaders)),Excelconfig[item])
|
537
|
+
})
|
538
|
+
}
|
539
|
+
}
|
540
|
+
}
|
541
|
+
|
542
|
+
}
|
543
|
+
</script>
|
@@ -5,6 +5,7 @@ import Vue from "vue";
|
|
5
5
|
let specialComp = {
|
6
6
|
'UserInfoAuditNew': (resolve) => { require(['./pc/UserInfoAuditNew'], resolve) },
|
7
7
|
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
8
|
+
'report_check_item_list': (resolve) => { require(['./pc/ReportCheckItemList'], resolve) },
|
8
9
|
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
9
10
|
}
|
10
11
|
exports.specialComp = specialComp
|
@@ -1,18 +1,9 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="flex">
|
3
|
-
<criteria-paged :model="model" v-ref:paged :pager="
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager="true">
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
6
|
<div class="row">
|
7
|
-
<!--<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
8
|
-
<label class="font_normal_body">组织机构</label>
|
9
|
-
<res-select restype='organization'
|
10
|
-
class="select select_list"
|
11
|
-
style="width: 60%"
|
12
|
-
@res-select="$parent.$parent.getorg"
|
13
|
-
:initresid='$parent.$parent.curorgid'>
|
14
|
-
</res-select>
|
15
|
-
</div>-->
|
16
7
|
<div :class="{'col-sm-6':$parent.$parent.$parent.isdetail,'col-sm-4':!$parent.$parent.$parent.isdetail}">
|
17
8
|
<role-selector-safe
|
18
9
|
role-name="安检员"
|
@@ -41,12 +32,6 @@
|
|
41
32
|
close-on-select clear-button></v-select>
|
42
33
|
|
43
34
|
</div>
|
44
|
-
<!--<div :class="{
|
45
|
-
'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
46
|
-
<label class="font_normal_body">安 检 员</label>
|
47
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_checker_name" placeholder='安检员'
|
48
|
-
condition="f_checker_name like '%{}%'" v-next-el="cx" v-el:qjmc>
|
49
|
-
</div>-->
|
50
35
|
<div class="form-group col-sm-2" v-if="!$parent.$parent.$parent.isdetail"></div>
|
51
36
|
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}" style="float:right; padding-right: 25px">
|
52
37
|
<div class="span" style="float:right;">
|
@@ -57,11 +42,6 @@
|
|
57
42
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
58
43
|
@click="$parent.$parent.hidden()">
|
59
44
|
</div>
|
60
|
-
<!-- <export-excel-safe :data="$parent.$parent.exportParameter"
|
61
|
-
:field="$parent.$parent.exportExcelField"
|
62
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanAreaList"
|
63
|
-
template-name='安检汇总' :choose-col="true">
|
64
|
-
</export-excel-safe>-->
|
65
45
|
<button id="btnaaaa" style="float: right" class="button_search"
|
66
46
|
@click="$parent.$parent.exportexcel()"
|
67
47
|
v-el:cx>导出</button>
|
@@ -206,7 +186,7 @@
|
|
206
186
|
export default {
|
207
187
|
data () {
|
208
188
|
return {
|
209
|
-
model: new PagedList('rs/sql/getCheckPlanAreaList',
|
189
|
+
model: new PagedList('rs/sql/getCheckPlanAreaList', 20),
|
210
190
|
// 公司下拉
|
211
191
|
curorgid: [this.$login.f.orgid],
|
212
192
|
row: {},
|