safecheck-client 3.0.34-5 → 3.0.34-51
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/android.html +18 -18
- 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/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/package.json +1 -1
- package/publish.bat +7 -7
- package/release.bat +5 -5
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- 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/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- 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/LoadData.vue +62 -0
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AddressList.vue +61 -61
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AreaPlan.vue +566 -572
- package/src/components/android/AreaSelect.vue +208 -0
- package/src/components/android/AttendanceTally.vue +116 -116
- package/src/components/android/Blank.vue +10 -10
- package/src/components/android/BuildingSelect.vue +217 -0
- package/src/components/android/CheckPlanSelect.vue +248 -0
- 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/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/PaperFeedback.vue +1514 -1481
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- 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/QRCode/QRCodeBinding.vue +294 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- 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 -1298
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +2809 -2809
- package/src/components/android/StationMaster.vue +12 -12
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +126 -0
- package/src/components/android/userinfo/SafecheckUserInfo.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/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/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/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/rongcheng/AddPlanItem.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +40 -14
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -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/UserfileChange.vue +277 -277
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/baiyin/pc.js +21 -21
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +4 -4
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +22 -18
- package/src/filiale/siyang/pc.js +21 -16
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +57 -59
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +34 -113
- package/src/filiale/weinan/pc.js +47 -46
- package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1200
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -480
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -481
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/safecheck-android.js +303 -296
- 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,386 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row" v-show="!$parent.$parent.$parent.showItemAll">
|
7
|
+
<div :class="$parent.$parent.style2" style="margin: 0px">
|
8
|
+
<role-selector-safe
|
9
|
+
role-name="安检员"
|
10
|
+
role-lable="安 检 员 "
|
11
|
+
@re-res="$parent.$parent.getRes"
|
12
|
+
:value.sync="model.f_checker_id"
|
13
|
+
v-model="model.f_checker_id"
|
14
|
+
:value-multiple="true"
|
15
|
+
condition=" f_checker_name in {}">
|
16
|
+
</role-selector-safe>
|
17
|
+
</div>
|
18
|
+
<div :class="$parent.$parent.style">
|
19
|
+
<label class="font_normal_body">安检册名称</label>
|
20
|
+
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
21
|
+
:value-single="true" style="width: 60%"
|
22
|
+
class="select_list select"
|
23
|
+
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
24
|
+
close-on-select
|
25
|
+
condition="tcb.id ='{}'"></v-select>
|
26
|
+
</div>
|
27
|
+
<!-- <div :class="$parent.$parent.style">-->
|
28
|
+
<!-- <label class="font_normal_body">表册类型</label>-->
|
29
|
+
<!-- <v-select :value.sync="model.f_check_book_type" v-model='model.f_check_book_type'-->
|
30
|
+
<!-- :value-single="true" style="width: 60%"-->
|
31
|
+
<!-- class="select_list select"-->
|
32
|
+
<!-- :options='$parent.$parent.bookTypes' placeholder='表册类型'-->
|
33
|
+
<!-- close-on-select-->
|
34
|
+
<!-- condition="tcb.f_check_book_type ='{}'"></v-select>-->
|
35
|
+
<!-- </div>-->
|
36
|
+
<!-- <div :class="$parent.$parent.style">-->
|
37
|
+
<!-- <label class="font_normal_body">用户类型</label>-->
|
38
|
+
<!-- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'-->
|
39
|
+
<!-- :value-single="true" style="width: 60%"-->
|
40
|
+
<!-- class="select_list select"-->
|
41
|
+
<!-- :options='$parent.$parent.userTypes' placeholder='用户类型'-->
|
42
|
+
<!-- close-on-select-->
|
43
|
+
<!-- condition="tcb.f_user_type ='{}'"></v-select>-->
|
44
|
+
<!-- </div>-->
|
45
|
+
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
46
|
+
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
47
|
+
<button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
|
48
|
+
<button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">
|
49
|
+
安检册用户管理
|
50
|
+
</button>
|
51
|
+
<div style="float: right" class="button_spacing"
|
52
|
+
v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
|
53
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
|
54
|
+
@click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
</div>
|
59
|
+
|
60
|
+
|
61
|
+
<div class="row" v-show="$parent.$parent.$parent.showItemAll">
|
62
|
+
<div :class="$parent.$parent.style2" style="margin: 0px">
|
63
|
+
<role-selector-safe
|
64
|
+
role-name="安检员"
|
65
|
+
role-lable="安 检 员 "
|
66
|
+
@re-res="$parent.$parent.getRes"
|
67
|
+
:value.sync="model.f_checker_id"
|
68
|
+
v-model="model.f_checker_id"
|
69
|
+
:value-multiple="true"
|
70
|
+
condition=" f_checker_name in {}">
|
71
|
+
</role-selector-safe>
|
72
|
+
</div>
|
73
|
+
<div :class="$parent.$parent.style">
|
74
|
+
<label class="font_normal_body">安检册名</label>
|
75
|
+
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
76
|
+
:value-single="true" style="width: 60%"
|
77
|
+
class="select_list select"
|
78
|
+
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
79
|
+
close-on-select
|
80
|
+
condition="tcb.id ='{}'"></v-select>
|
81
|
+
</div>
|
82
|
+
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
83
|
+
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
84
|
+
<button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
|
85
|
+
<button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">
|
86
|
+
安检册用户管理
|
87
|
+
</button>
|
88
|
+
<div style="float: right" class="button_spacing"
|
89
|
+
v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
|
90
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
|
91
|
+
@click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
|
92
|
+
<!-- <div style="float: right" class="button_spacing"-->
|
93
|
+
<!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
|
94
|
+
<!-- @click="$parent.$parent.hidden()">-->
|
95
|
+
<!-- </div>-->
|
96
|
+
</div>
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
</criteria>
|
102
|
+
<data-grid :model="model" partial="list" class="list_area table_sy" v-ref:grid>
|
103
|
+
<template partial='head'>
|
104
|
+
<tr>
|
105
|
+
<th>
|
106
|
+
<nobr>所属安检员</nobr>
|
107
|
+
</th>
|
108
|
+
<th>
|
109
|
+
<nobr>安检册名称</nobr>
|
110
|
+
</th>
|
111
|
+
<!-- <th>-->
|
112
|
+
<!-- <nobr>安检册类型</nobr>-->
|
113
|
+
<!-- </th>-->
|
114
|
+
<th>
|
115
|
+
<nobr>用户类型</nobr>
|
116
|
+
</th>
|
117
|
+
<th>
|
118
|
+
<nobr>创建日期</nobr>
|
119
|
+
</th>
|
120
|
+
<th>
|
121
|
+
<nobr>创建人</nobr>
|
122
|
+
</th>
|
123
|
+
|
124
|
+
<th>
|
125
|
+
<nobr>执行日期</nobr>
|
126
|
+
</th>
|
127
|
+
<th>
|
128
|
+
<nobr>执行周期</nobr>
|
129
|
+
</th>
|
130
|
+
<th>
|
131
|
+
<nobr>小区/单位数量</nobr>
|
132
|
+
</th>
|
133
|
+
<th>
|
134
|
+
<nobr>已下发</nobr>
|
135
|
+
</th>
|
136
|
+
<th>
|
137
|
+
<nobr>未下发</nobr>
|
138
|
+
</th>
|
139
|
+
<th>
|
140
|
+
<nobr>已检</nobr>
|
141
|
+
</th>
|
142
|
+
<th>
|
143
|
+
<nobr>未检</nobr>
|
144
|
+
</th>
|
145
|
+
<!-- <th v-show="$parent.$parent.$parent.showCaoZuo">-->
|
146
|
+
<!-- <nobr>操作</nobr>-->
|
147
|
+
<!-- </th>-->
|
148
|
+
</tr>
|
149
|
+
</template>
|
150
|
+
<template partial='body'>
|
151
|
+
<td style="text-align: center;">{{ row.f_checker_name }}</td>
|
152
|
+
<td style="text-align: center;">{{ row.f_check_book_name }}</td>
|
153
|
+
<!-- <td style="text-align: center;">{{ row.f_check_book_type }}</td>-->
|
154
|
+
<td style="text-align: center;">{{ row.f_user_type }}</td>
|
155
|
+
<td style="text-align: center;">{{ row.f_create_date }}</td>
|
156
|
+
<td style="text-align: center;">{{ row.f_create_person }}</td>
|
157
|
+
<td style="text-align: center;">{{ row.f_run_date }}</td>
|
158
|
+
<td style="text-align: center;">{{ row.f_around_time }}{{ row.f_around_unit }}</td>
|
159
|
+
<td style="text-align: center;">
|
160
|
+
<button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link">
|
161
|
+
<b>{{ row.f_user_type === '民用' ? row.num2 : row.num3 }}</b></button>
|
162
|
+
</td>
|
163
|
+
<td style="text-align: center;">{{ row.xiafa }}</td>
|
164
|
+
<td style="text-align: center;">
|
165
|
+
{{ row.f_user_type == '民用' ? Number(row.num - row.xiafa) : Number(row.num4 - row.xiafa) }}
|
166
|
+
</td>
|
167
|
+
<td style="text-align: center;">{{ row.yijian }}</td>
|
168
|
+
<td style="text-align: center;">{{ row.weijian }}</td>
|
169
|
+
<!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
|
170
|
+
</template>
|
171
|
+
</data-grid>
|
172
|
+
</criteria-paged>
|
173
|
+
<modal :show.sync="showModal" :backdrop="false" id="checkbookEntryShow">
|
174
|
+
<article slot="modal-body" class="modal-body">
|
175
|
+
<check-book-entry v-if="showModal" @select-changed="selectedEntry"></check-book-entry>
|
176
|
+
</article>
|
177
|
+
<footer slot="modal-footer">
|
178
|
+
</footer>
|
179
|
+
|
180
|
+
</modal>
|
181
|
+
<modal :show.sync="showSendModal" :backdrop="false" width="90%" height="90%">
|
182
|
+
<article slot="modal-body" class="modal-body" style="height: 80vh">
|
183
|
+
<check-book-search-user-list v-if="showSendModal" :row="checkBookRow" :bookrow="checkBookRow"
|
184
|
+
:needprops="needprops" :userlogin="userlogin"></check-book-search-user-list>
|
185
|
+
</article>
|
186
|
+
<footer slot="modal-footer">
|
187
|
+
</footer>
|
188
|
+
|
189
|
+
</modal>
|
190
|
+
</div>
|
191
|
+
</template>
|
192
|
+
|
193
|
+
<script>
|
194
|
+
import {PagedList} from 'vue-client'
|
195
|
+
import {HttpResetClass} from 'vue-client'
|
196
|
+
import bus from "../../../bus";
|
197
|
+
|
198
|
+
export default {
|
199
|
+
title: '用户安检情况',
|
200
|
+
data() {
|
201
|
+
return {
|
202
|
+
showSendModal: false,
|
203
|
+
searchData: {
|
204
|
+
condition: '1=1'
|
205
|
+
},
|
206
|
+
showCaoZuo: false,
|
207
|
+
userlogin: {
|
208
|
+
id: this.$login.f.id,
|
209
|
+
name: this.$login.f.name,
|
210
|
+
orgid: this.$login.f.orgid,
|
211
|
+
orgstr: this.$login.f.orgs,
|
212
|
+
},
|
213
|
+
checkBooks: [],
|
214
|
+
bookTypes: [{label: '全部', value: ''}, {label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
|
215
|
+
userTypes: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
216
|
+
aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
|
217
|
+
showModal: false,
|
218
|
+
excelHeaders: {
|
219
|
+
|
220
|
+
'f_userinfo_code': '用户编号',
|
221
|
+
'f_user_name': '用户名称',
|
222
|
+
'f_user_phone': '用户电话',
|
223
|
+
'f_meternumber': '用户表号',
|
224
|
+
'f_user_type': '用户类型',
|
225
|
+
'f_last_checker': '安检员',
|
226
|
+
'f_residential_area': '小区名称',
|
227
|
+
'f_address': '地址',
|
228
|
+
'f_last_check_date': '安检日期',
|
229
|
+
'f_last_check_state': '安检状态',
|
230
|
+
'f_last_check_result': '安检结果'
|
231
|
+
},
|
232
|
+
model: new PagedList('rs/sql/QueryCheckBook', 20),
|
233
|
+
checkBookRow: {},
|
234
|
+
checkBook: {
|
235
|
+
f_check_book_name: '',
|
236
|
+
f_run_date: '',
|
237
|
+
f_around_time: '',
|
238
|
+
f_around_unit: '',
|
239
|
+
f_create_date: '',
|
240
|
+
f_create_person: '',
|
241
|
+
f_orgid: '',
|
242
|
+
f_checker_name: ''
|
243
|
+
}
|
244
|
+
}
|
245
|
+
},
|
246
|
+
props: {
|
247
|
+
style: {
|
248
|
+
type: String,
|
249
|
+
default: 'col-sm-2 form-group'
|
250
|
+
},
|
251
|
+
style2: {
|
252
|
+
type: String,
|
253
|
+
default: 'col-sm-4 form-group'
|
254
|
+
},
|
255
|
+
needprops: {
|
256
|
+
type: Object,
|
257
|
+
default: {}
|
258
|
+
},
|
259
|
+
showtype: {
|
260
|
+
type: String
|
261
|
+
}
|
262
|
+
},
|
263
|
+
ready() {
|
264
|
+
bus.$on('fresh-main', () => {
|
265
|
+
console.log("进入方法")
|
266
|
+
this.$refs.paged.$refs.criteria.search()
|
267
|
+
})
|
268
|
+
this.freshCheckBook()
|
269
|
+
},
|
270
|
+
beforeDestroy() {
|
271
|
+
//tag
|
272
|
+
bus.$off('fresh-main')
|
273
|
+
},
|
274
|
+
methods: {
|
275
|
+
send(row) {
|
276
|
+
console.log("7758521", row)
|
277
|
+
this.checkBookRow = row
|
278
|
+
this.showSendModal = true
|
279
|
+
},
|
280
|
+
freshCheckBook() {
|
281
|
+
this.checkBooks = []
|
282
|
+
new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
|
283
|
+
data: {
|
284
|
+
items: 'id,f_check_book_name',
|
285
|
+
tablename: 't_check_book',
|
286
|
+
condition: this.$refs.paged.$refs.criteria.model.f_orgid ? `f_orgid in ${this.$refs.paged.$refs.criteria.model.f_orgid} and f_user_type ='${this.showtype}' ` : `f_user_type ='${this.showtype}'`,
|
287
|
+
orderitem: 'id desc'
|
288
|
+
}
|
289
|
+
}, {resolveMsg: null, rejectMsg: null}).then(res => {
|
290
|
+
this.checkBooks.push({label: '全部', value: ''})
|
291
|
+
res.data.forEach(ress => {
|
292
|
+
this.checkBooks.push({
|
293
|
+
label: ress.f_check_book_name,
|
294
|
+
value: ress.id
|
295
|
+
})
|
296
|
+
})
|
297
|
+
})
|
298
|
+
},
|
299
|
+
selectedEntry() {
|
300
|
+
console.log("666666666666666666")
|
301
|
+
},
|
302
|
+
details(row) {
|
303
|
+
this.$emit('showdetails', row)
|
304
|
+
},
|
305
|
+
add() {
|
306
|
+
this.$emit('addbook')
|
307
|
+
},
|
308
|
+
ok() {
|
309
|
+
//tag
|
310
|
+
let http = new HttpResetClass()
|
311
|
+
http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
312
|
+
{resolveMsg: '更新安检册信息成功', rejectMsg: '保存安检册信息成功'}).then(res => {
|
313
|
+
if (res.data.code === 200) {
|
314
|
+
this.$showMessage('修改成功')
|
315
|
+
this.showModal = false
|
316
|
+
this.checkBook = {}
|
317
|
+
}
|
318
|
+
})
|
319
|
+
},
|
320
|
+
cancel() {
|
321
|
+
this.showModal = false
|
322
|
+
this.checkBook = {}
|
323
|
+
},
|
324
|
+
updateCheckBook(val) {
|
325
|
+
this.checkBook = val
|
326
|
+
this.showModal = true
|
327
|
+
},
|
328
|
+
search(args) {
|
329
|
+
// //tag
|
330
|
+
this.$parent.showItem = false
|
331
|
+
this.$parent.showItemUser = false
|
332
|
+
args.condition += ` and f_orgid in ${this.model.f_filialeids}`
|
333
|
+
args.condition += ` and tcb.f_user_type ='${this.showtype}' `
|
334
|
+
return this.model.search(args.condition, args.model)
|
335
|
+
},
|
336
|
+
getRes(obj) {
|
337
|
+
this.model.f_filialeids = this.$login.convertToIn(obj.resids)
|
338
|
+
},
|
339
|
+
async deleteCheckBook(val) {
|
340
|
+
try {
|
341
|
+
//tag
|
342
|
+
let http = new HttpResetClass()
|
343
|
+
let upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${val.id}'`
|
344
|
+
let delCheckBook = `delete from t_check_book where id ='${val.id}'`
|
345
|
+
await http.load('POST', 'rs/logic/runSQL', {data: {sql: upAddress}},
|
346
|
+
{resolveMsg: null, rejectMsg: '删除安检册失败'})
|
347
|
+
await http.load('POST', 'rs/logic/runSQL', {data: {sql: delCheckBook}},
|
348
|
+
{resolveMsg: null, rejectMsg: '删除安检册失败'})
|
349
|
+
this.$showMessage('删除成功')
|
350
|
+
this.$refs.paged.$refs.criteria.search()
|
351
|
+
} catch (e) {
|
352
|
+
this.$showMessage('删除失败', e)
|
353
|
+
}
|
354
|
+
}
|
355
|
+
},
|
356
|
+
|
357
|
+
watch: {
|
358
|
+
'model.rows'(val) {
|
359
|
+
console.log("997997", val)
|
360
|
+
this.showCaoZuo = val.filter(item => item.f_check_book_type != '小区').length > 0
|
361
|
+
}
|
362
|
+
},
|
363
|
+
computed: {
|
364
|
+
selected() {
|
365
|
+
return this.$refs.paged.$refs.grid.selected
|
366
|
+
}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
</script>
|
370
|
+
<style scoped>
|
371
|
+
.newcolor {
|
372
|
+
color: red;
|
373
|
+
}
|
374
|
+
|
375
|
+
.table th {
|
376
|
+
background-color: #f2f6fa;
|
377
|
+
color: black;
|
378
|
+
}
|
379
|
+
</style>
|
380
|
+
<style lang="less">
|
381
|
+
#checkbookEntryShow {
|
382
|
+
.modal-dialog {
|
383
|
+
width: 80%;
|
384
|
+
}
|
385
|
+
}
|
386
|
+
</style>
|