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
@@ -4,36 +4,59 @@
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
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"
|
7
|
+
<div class="form-group col-sm-3">
|
8
8
|
<label class="font_normal_body">客户编号</label>
|
9
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
|
10
|
+
placeholder='客户编号'
|
10
11
|
condition="f_userinfo_code = '{}'" @keyup.enter="search()">
|
11
12
|
</div>
|
12
|
-
<div class="form-group col-sm-2 button-range"
|
13
|
-
<button class="button_search" style="margin-right: 10px"
|
13
|
+
<div class="form-group col-sm-2 button-range">
|
14
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
<div class="form-group col-sm-2 button-range">
|
18
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delOfCheckBook()" v-el:cba>移出</button>
|
14
19
|
|
15
20
|
</div>
|
16
21
|
</div>
|
17
22
|
</div>
|
18
23
|
</criteria>
|
19
|
-
<data-grid :model="model" class="table_sy"
|
20
|
-
<template partial='head'
|
24
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid>
|
25
|
+
<template partial='head'>
|
21
26
|
<tr>
|
22
|
-
<th
|
23
|
-
|
24
|
-
|
25
|
-
<th
|
26
|
-
|
27
|
+
<th>
|
28
|
+
<nobr><input type="checkbox" v-model="$parent.$parent.$parent.bookAll"></input>全选</nobr>
|
29
|
+
</th>
|
30
|
+
<th>
|
31
|
+
<nobr>序号</nobr>
|
32
|
+
</th>
|
33
|
+
<th>
|
34
|
+
<nobr>用户编号</nobr>
|
35
|
+
</th>
|
36
|
+
<th>
|
37
|
+
<nobr>用户姓名</nobr>
|
38
|
+
</th>
|
39
|
+
<th>
|
40
|
+
<nobr>用户电话</nobr>
|
41
|
+
</th>
|
42
|
+
<th>
|
43
|
+
<nobr>用户地址</nobr>
|
44
|
+
</th>
|
27
45
|
|
28
46
|
</tr>
|
29
47
|
</template>
|
30
|
-
<template partial='body'
|
31
|
-
<tr
|
32
|
-
<td style="text-align:center
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
48
|
+
<template partial='body'>
|
49
|
+
<tr>
|
50
|
+
<td style="text-align: center">
|
51
|
+
<nobr><input type="checkbox" :checked="$parent.$parent.$parent.checkModel(row)"
|
52
|
+
@change="$parent.$parent.$parent.checkChange(row, $event)"></input>
|
53
|
+
</nobr>
|
54
|
+
</td>
|
55
|
+
<td style="text-align:center;">{{ $index + 1 }}</td>
|
56
|
+
<td style="text-align:center">{{ row.f_userinfo_code }}</td>
|
57
|
+
<td style="text-align:center">{{ row.f_user_name }}</td>
|
58
|
+
<td style="text-align:center">{{ row.f_user_phone }}</td>
|
59
|
+
<td style="text-align:center">{{ row.f_address }}</td>
|
37
60
|
</tr>
|
38
61
|
</template>
|
39
62
|
<template partial='foot'></template>
|
@@ -43,58 +66,92 @@
|
|
43
66
|
</template>
|
44
67
|
|
45
68
|
<script>
|
46
|
-
import {PagedList} from 'vue-client'
|
69
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
47
70
|
|
48
71
|
export default {
|
49
72
|
title: '安检记录列表',
|
50
73
|
props: ['row'],
|
51
|
-
data
|
74
|
+
data() {
|
52
75
|
return {
|
53
76
|
rowdata: this.row,
|
54
|
-
|
77
|
+
bookAll: false,
|
78
|
+
bookList:[],
|
79
|
+
model: new PagedList('rs/sql/safe_singleTable_OrderBy', 50,
|
80
|
+
{
|
81
|
+
items: '"tua.f_address,tui.f_userinfo_code,tui.f_user_name,tui.f_user_phone,tui.f_userinfo_id"',
|
82
|
+
tablename: '"t_user_address tua left join t_userinfo tui on tua.f_userinfo_id = tui.f_userinfo_id"',
|
83
|
+
orderitem: '"tua.id desc"'
|
84
|
+
}
|
85
|
+
)
|
55
86
|
}
|
56
87
|
},
|
57
|
-
ready(){
|
58
|
-
if(this.row){
|
59
|
-
let condition=''
|
60
|
-
|
61
|
-
this.model.url = 'rs/sql/getUserByCheckBook'
|
62
|
-
condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
|
63
|
-
}else{
|
64
|
-
this.model.url = 'rs/sql/getUserByCheckBookCompany'
|
65
|
-
condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
|
66
|
-
}
|
88
|
+
ready() {
|
89
|
+
if (this.row) {
|
90
|
+
let condition = ''
|
91
|
+
condition = `tua.f_check_book_id =${this.row.id}`
|
67
92
|
this.model.search(condition)
|
68
93
|
//只显示用户页面
|
69
|
-
this.row.f_check_book_type='用户'
|
94
|
+
this.row.f_check_book_type = '用户'
|
70
95
|
}
|
71
96
|
},
|
72
97
|
watch: {
|
73
|
-
'row'
|
98
|
+
'row'(val) {
|
74
99
|
if (val) {
|
75
100
|
this.rowdata = val
|
76
|
-
let condition=''
|
77
|
-
|
78
|
-
condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
|
79
|
-
}else{
|
80
|
-
condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
|
81
|
-
}
|
101
|
+
let condition = ''
|
102
|
+
condition = `tua.f_check_book_id =${val.id} `
|
82
103
|
this.model.search(condition)
|
83
104
|
}
|
84
105
|
}
|
85
106
|
},
|
86
107
|
methods: {
|
87
|
-
selfSearch
|
108
|
+
selfSearch(args) {
|
88
109
|
if (this.rowdata.id) {
|
89
|
-
|
90
|
-
args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
|
91
|
-
}else{
|
92
|
-
args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
|
93
|
-
}
|
110
|
+
args.condition += `and tua.f_check_book_id =${this.rowdata.id}`
|
94
111
|
this.model.search(args.condition)
|
95
112
|
} else {
|
96
113
|
this.$showMessage('请选择片区')
|
97
114
|
}
|
115
|
+
},
|
116
|
+
checkModel (row) {
|
117
|
+
if (this.bookAll) {
|
118
|
+
return true
|
119
|
+
} else {
|
120
|
+
return this.bookList.findIndex(res => res === row.f_userinfo_id) !== -1;
|
121
|
+
}
|
122
|
+
},
|
123
|
+
checkChange (row, e) {
|
124
|
+
if (e.target.checked) {
|
125
|
+
this.bookList.push(row.f_userinfo_id)
|
126
|
+
} else {
|
127
|
+
this.bookList.splice(this.bookList.findIndex(res => res === row.f_userinfo_id), 1)
|
128
|
+
}
|
129
|
+
},
|
130
|
+
delOfCheckBook(){
|
131
|
+
try {
|
132
|
+
let upAddress = `update t_user_address set f_check_book_id = null where 1 = 2 `
|
133
|
+
if (this.bookAll){
|
134
|
+
upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${this.row.id}'`
|
135
|
+
}else if (this.bookList.length > 0){
|
136
|
+
let codes = this.bookList.map( item => { return `'${item}'` } ).join()
|
137
|
+
upAddress = `update t_user_address set f_check_book_id = null where f_userinfo_id in (${codes})`
|
138
|
+
}
|
139
|
+
this.$showMessage('确认移出安检册', ['confirm', 'cancel']).then((res) => {
|
140
|
+
if (res === 'confirm') {
|
141
|
+
let http = new HttpResetClass()
|
142
|
+
http.load('POST', 'rs/logic/runSQL', {data: {sql: upAddress}},
|
143
|
+
{resolveMsg: null, rejectMsg: '移出安检册失败'}).then(resp=>{
|
144
|
+
this.$showMessage('移出成功')
|
145
|
+
this.$refs.paged.$refs.criteria.search()
|
146
|
+
}).catch(error=>{
|
147
|
+
this.$showMessage('移出失败',error)
|
148
|
+
|
149
|
+
})
|
150
|
+
}
|
151
|
+
})
|
152
|
+
}catch (e) {
|
153
|
+
this.$showMessage('移出失败',e)
|
154
|
+
}
|
98
155
|
}
|
99
156
|
}
|
100
157
|
}
|
@@ -199,9 +199,9 @@
|
|
199
199
|
v-model="model.f_user_tags"
|
200
200
|
:options='$parent.$parent.userTags'
|
201
201
|
filer-key="name"
|
202
|
-
|
203
|
-
condition="f_user_tags
|
204
|
-
|
202
|
+
:multiple="true"
|
203
|
+
condition="f_user_tags in {}"
|
204
|
+
>
|
205
205
|
</v-select>
|
206
206
|
</div>
|
207
207
|
<div :class="$parent.$parent.style">
|
@@ -212,9 +212,9 @@
|
|
212
212
|
v-model="model.f_user_gas_type"
|
213
213
|
:options='$parent.$parent.userGasType'
|
214
214
|
filer-key="name"
|
215
|
-
|
216
|
-
condition="f_user_gas_type
|
217
|
-
|
215
|
+
:multiple="true"
|
216
|
+
condition="f_user_gas_type in {}"
|
217
|
+
>
|
218
218
|
</v-select>
|
219
219
|
</div>
|
220
220
|
</div>
|
@@ -414,6 +414,8 @@
|
|
414
414
|
<th><nobr>用户电话</nobr></th>
|
415
415
|
<th><nobr>用户小区</nobr></th>
|
416
416
|
<th><nobr>用户地址</nobr></th>
|
417
|
+
<th><nobr>用户标签</nobr></th>
|
418
|
+
<th><nobr>用气类型</nobr></th>
|
417
419
|
<th><nobr>开户时间</nobr></th>
|
418
420
|
<th><nobr>安检时间</nobr></th>
|
419
421
|
<th><nobr>安检员</nobr></th>
|
@@ -436,6 +438,8 @@
|
|
436
438
|
<td style="text-align: center;white-space:nowrap;">{{row.f_user_phone}}</td>
|
437
439
|
<td style="text-align: center;white-space:nowrap;">{{row.f_residential_area}}</td>
|
438
440
|
<td style="text-align: center;white-space:nowrap;">{{row.f_address}}</td>
|
441
|
+
<td style="text-align: center">{{ row.f_user_tags }}</td>
|
442
|
+
<td style="text-align: center">{{ row.f_user_gas_type }}</td>
|
439
443
|
<td style="text-align: center;white-space:nowrap;">{{row.f_gas_date}}</td>
|
440
444
|
<td style="text-align: center;white-space:nowrap;">{{row.f_offsite_time}}</td>
|
441
445
|
<td style="text-align: center;white-space:nowrap;">{{row.f_checker_name}}</td>
|
@@ -193,9 +193,8 @@
|
|
193
193
|
v-model="model.f_user_tags"
|
194
194
|
:options='$parent.$parent.userTags'
|
195
195
|
filer-key="name"
|
196
|
-
|
197
|
-
|
198
|
-
:value-single="true">
|
196
|
+
condition="f_user_tags in {}"
|
197
|
+
:multiple="true">
|
199
198
|
</v-select>
|
200
199
|
</div>
|
201
200
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
@@ -206,9 +205,8 @@
|
|
206
205
|
v-model="model.f_user_gas_type"
|
207
206
|
:options='$parent.$parent.userGasType'
|
208
207
|
filer-key="name"
|
209
|
-
|
210
|
-
|
211
|
-
:value-single="true">
|
208
|
+
condition="f_user_gas_type in {}"
|
209
|
+
:multiple="true">
|
212
210
|
</v-select>
|
213
211
|
</div>
|
214
212
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
@@ -267,6 +265,12 @@
|
|
267
265
|
<th>
|
268
266
|
<nobr>客户小区</nobr>
|
269
267
|
</th>
|
268
|
+
<th>
|
269
|
+
<nobr>用户标签</nobr>
|
270
|
+
</th>
|
271
|
+
<th>
|
272
|
+
<nobr>用气类型</nobr>
|
273
|
+
</th>
|
270
274
|
<th>
|
271
275
|
<data-order field="f_address" name="客户地址"></data-order>
|
272
276
|
</th>
|
@@ -312,6 +316,8 @@
|
|
312
316
|
<td style="text-align: center">{{row.f_user_name}}</td>
|
313
317
|
<td style="text-align: center">{{row.f_user_phone}}</td>
|
314
318
|
<td style="text-align: center">{{row.f_residential_area}}</td>
|
319
|
+
<td style="text-align: center">{{ row.f_user_tags }}</td>
|
320
|
+
<td style="text-align: center">{{ row.f_user_gas_type }}</td>
|
315
321
|
<td style="text-align: center">{{row.f_address}}</td>
|
316
322
|
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
317
323
|
<td style="text-align: center">{{row.f_checker_name}}</td>
|
@@ -295,9 +295,9 @@
|
|
295
295
|
:value.sync="model.f_user_tags" v-model="model.f_user_tags"
|
296
296
|
:options='$parent.$parent.userTags'
|
297
297
|
filer-key="name"
|
298
|
-
|
299
|
-
condition="f_user_tags
|
300
|
-
|
298
|
+
:multiple="true"
|
299
|
+
condition="f_user_tags in {}"
|
300
|
+
>
|
301
301
|
</v-select>
|
302
302
|
</div>
|
303
303
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
@@ -307,9 +307,9 @@
|
|
307
307
|
:value.sync="model.f_user_gas_type" v-model="model.f_user_gas_type"
|
308
308
|
:options='$parent.$parent.userGasType'
|
309
309
|
filer-key="name"
|
310
|
-
|
311
|
-
condition="f_user_gas_type
|
312
|
-
|
310
|
+
:multiple="true"
|
311
|
+
condition="f_user_gas_type in {}"
|
312
|
+
>
|
313
313
|
</v-select>
|
314
314
|
</div>
|
315
315
|
</div>
|
@@ -362,6 +362,12 @@
|
|
362
362
|
<th>
|
363
363
|
<nobr>用气状态</nobr>
|
364
364
|
</th>
|
365
|
+
<th>
|
366
|
+
<nobr>用户标签</nobr>
|
367
|
+
</th>
|
368
|
+
<th>
|
369
|
+
<nobr>用气类型</nobr>
|
370
|
+
</th>
|
365
371
|
<th>
|
366
372
|
<data-order field="f_offsite_time" name="安检时间"></data-order>
|
367
373
|
</th>
|
@@ -407,6 +413,8 @@
|
|
407
413
|
<td style="text-align: center">{{ row.f_entry_status }}</td>
|
408
414
|
<td style="text-align: center">{{ row.f_plan_name }}</td>
|
409
415
|
<td style="text-align: center">{{ row.f_usegas }}</td>
|
416
|
+
<td style="text-align: center">{{ row.f_user_tags }}</td>
|
417
|
+
<td style="text-align: center">{{ row.f_user_gas_type }}</td>
|
410
418
|
<td style="text-align: center">{{ row.f_offsite_time }}</td>
|
411
419
|
<td style="text-align: center">{{ row.f_checker_name }}</td>
|
412
420
|
<td style="text-align: center">{{ row.f_repair_approved_note }}</td>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
|
28
28
|
<table style="width:100%;table-layout:fixed">
|
29
29
|
<tr class="safe-planfont">
|
30
|
-
<td rowspan="
|
30
|
+
<td rowspan="7"><input type="checkbox" style="pointer-events:auto"
|
31
31
|
v-show="row.plan_count==0 || row.f_issued=='未下发'"
|
32
32
|
onClick="event.cancelBubble = true"
|
33
33
|
:checked="checkplan.check.isChecked(row.f_check_item_id)"
|
@@ -59,6 +59,18 @@
|
|
59
59
|
:title="row.f_create_time">{{ row.f_create_time }}
|
60
60
|
</td>
|
61
61
|
</tr>
|
62
|
+
<tr class="safe-bodyfont" v-if="row.f_end_time">
|
63
|
+
<td colspan="3">结束时间 :</td>
|
64
|
+
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
65
|
+
:title="row.f_end_time">{{ row.f_end_time }}
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr class="safe-bodyfont" >
|
69
|
+
<td colspan="3">计划状态:</td>
|
70
|
+
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
71
|
+
>{{ checkState(row.f_end_time,row.unchecked)}}
|
72
|
+
</td>
|
73
|
+
</tr>
|
62
74
|
<tr class="safe-bodyfont" v-if="row.f_safecheck_type">
|
63
75
|
<td colspan="3">安检类型 :</td>
|
64
76
|
<td colspan="5" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
@@ -66,7 +78,7 @@
|
|
66
78
|
</td>
|
67
79
|
</tr>
|
68
80
|
<tr class="safe-bodyfont" v-if="row.f_safecheck_type">
|
69
|
-
<td >
|
81
|
+
<td colspan="8">
|
70
82
|
<input type="button" style="pointer-events:auto"
|
71
83
|
@click="showPlanHistory(row)"
|
72
84
|
onClick="event.cancelBubble = true"/>变更记录
|
@@ -139,18 +151,20 @@
|
|
139
151
|
<label class="font_normal_body">开始时间</label>
|
140
152
|
<datepicker
|
141
153
|
:value.sync="planCondition.f_start_time"
|
154
|
+
style="width: 60%;margin-bottom: 8px"
|
142
155
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
143
156
|
v-model="planCondition.f_start_time"
|
144
|
-
:show-reset-button="reset" placeholder="请输入开始时间"
|
157
|
+
:show-reset-button="reset" placeholder="请输入开始时间">
|
145
158
|
</datepicker>
|
146
159
|
</div>
|
147
160
|
<div class="form-group col-sm-4">
|
148
161
|
<label class="font_normal_body">结束时间:</label>
|
149
162
|
<datepicker
|
150
163
|
:value.sync="planCondition.f_end_time"
|
164
|
+
style="width: 60%;margin-bottom: 8px"
|
151
165
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
152
166
|
v-model="planCondition.f_end_time"
|
153
|
-
:show-reset-button="reset" placeholder="请输入结束时间"
|
167
|
+
:show-reset-button="reset" placeholder="请输入结束时间">
|
154
168
|
</datepicker>
|
155
169
|
</div>
|
156
170
|
<div class="form-group col-sm-4">
|
@@ -231,6 +245,21 @@
|
|
231
245
|
>
|
232
246
|
</v-select>
|
233
247
|
</div>
|
248
|
+
<div class="form-group col-sm-4">
|
249
|
+
<label class="font_normal_body">计划类型:</label>
|
250
|
+
<v-select
|
251
|
+
class="select select_list"
|
252
|
+
:value.sync="planCondition.f_plan_type"
|
253
|
+
v-model="planCondition.f_plan_type"
|
254
|
+
@change="setProperty('checkplan','f_plan_type',planCondition.f_plan_type)"
|
255
|
+
:search="false"
|
256
|
+
:options='planType'
|
257
|
+
placeholder='请选择'
|
258
|
+
close-on-select
|
259
|
+
value-single
|
260
|
+
>
|
261
|
+
</v-select>
|
262
|
+
</div>
|
234
263
|
</div>
|
235
264
|
</div>
|
236
265
|
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
@@ -397,7 +426,7 @@
|
|
397
426
|
value-single>
|
398
427
|
</v-select>
|
399
428
|
</div>
|
400
|
-
<div class="form-group col-sm-4"
|
429
|
+
<div class="form-group col-sm-4" >
|
401
430
|
<label class="font_normal_body">结束时间:</label>
|
402
431
|
<datepicker
|
403
432
|
:value.sync="upCheckPlan.f_end_time"
|
@@ -602,6 +631,29 @@ export default {
|
|
602
631
|
|
603
632
|
},
|
604
633
|
methods: {
|
634
|
+
//判断计划状态
|
635
|
+
checkState(time,unchecked) {
|
636
|
+
//判断当前时间与time的大小,time格式为 yyyy-MM-dd HH:mm:ss
|
637
|
+
let now = new Date()
|
638
|
+
let last = new Date(time)
|
639
|
+
if(time==undefined || time==''){
|
640
|
+
return '无'
|
641
|
+
}else{
|
642
|
+
if(last.getTime() >now.getTime() ){
|
643
|
+
return '安检中'
|
644
|
+
}else if(last.getTime() <now.getTime()){
|
645
|
+
//结束时间小于当前时间,
|
646
|
+
//判断未检数,未检大于0,则逾期
|
647
|
+
if(unchecked>0){
|
648
|
+
return '逾期'
|
649
|
+
}
|
650
|
+
if(unchecked<=0){
|
651
|
+
return '已完成'
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
|
656
|
+
},
|
605
657
|
showPlanHistory(row){
|
606
658
|
this.showPlanHistoryButton = true
|
607
659
|
this.planHistory = JSON.parse(row.f_update_check_plan)
|
@@ -776,7 +828,8 @@ export default {
|
|
776
828
|
"isAndNot": "f_checker {}",
|
777
829
|
"safechecktype": "f_safecheck_type='{}'",
|
778
830
|
"issude": "f_issued = '{}'",
|
779
|
-
"f_create_operator": "f_create_operator like '%{}%'"
|
831
|
+
"f_create_operator": "f_create_operator like '%{}%'",
|
832
|
+
"f_plan_type": "f_plan_type = '{}'"
|
780
833
|
},
|
781
834
|
{
|
782
835
|
orderitem: fieldValue,
|
@@ -807,10 +860,10 @@ export default {
|
|
807
860
|
this.showUpPlan = true
|
808
861
|
},
|
809
862
|
async upPlan() {
|
810
|
-
if (this.upCheckPlan.f_issued == '已下发') {
|
863
|
+
/*if (this.upCheckPlan.f_issued == '已下发') {
|
811
864
|
this.$showMessage("该计划已下发,无法进行修改!")
|
812
865
|
return
|
813
|
-
}
|
866
|
+
}*/
|
814
867
|
if (!this.upCheckPlan.f_plan_name) {
|
815
868
|
Vue.showMessage("请输入安检计划名称!")
|
816
869
|
return false
|
@@ -849,6 +902,7 @@ export default {
|
|
849
902
|
f_end_time: this.upCheckPlan.f_end_time,
|
850
903
|
f_operetiom_name:this.upCheckPlan.f_operetiom_name,
|
851
904
|
f_update_message:this.upCheckPlan.f_update_message,
|
905
|
+
issued: '是' // 修改已下发计划
|
852
906
|
}
|
853
907
|
}, {resolveMsg: null, rejectMsg: null})
|
854
908
|
if (res.data.code == 200) {
|