safecheck-client 3.0.33-99 → 3.0.34-1
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/package.json +3 -4
- 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 +7 -0
- 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/AreaPlan.vue +2 -1
- 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/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- 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/SafePlanItem.vue +14 -2
- package/src/components/android/SafecheckDevices.vue +3 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- 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 +167 -167
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/pc/NewCheckpaper.vue +11 -8
- 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 +843 -836
- package/src/components/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +2 -3
- package/src/components/rongcheng/PaperListNPSQ.vue +6 -5
- package/src/components/rongcheng/PaperListSQ.vue +1 -1
- 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 +2731 -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/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android.js +10 -0
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
- package/src/filiale/baiyin/pc.js +21 -0
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +15 -3
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +34 -6
- 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/DeviceChange.vue +1838 -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 +7 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
- package/src/filiale/jiaxian/android.js +10 -0
- package/src/filiale/jiaxian/pc.js +12 -0
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
- package/src/filiale/liaoyuan/pc.js +18 -18
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1268
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2779
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +5 -1
- 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/NewCheckpaper.vue +1938 -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 +786 -0
- package/src/filiale/siyang/pc.js +16 -0
- package/src/filiale/tianke/pc/checkScreen.vue +27 -21
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/weinan/android/SafecheckDevices.vue +2 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +10 -0
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +1 -1
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +14 -0
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2843
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -879
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +944 -849
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
- package/src/filiale/yuansheng/android.js +2 -0
- package/src/main.js +33 -33
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- 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
@@ -1229,7 +1229,7 @@ export default {
|
|
1229
1229
|
////tag)
|
1230
1230
|
////tag
|
1231
1231
|
let limit_times=1
|
1232
|
-
let limit_value=
|
1232
|
+
let limit_value=5
|
1233
1233
|
if(Vue.config.safecheck && Vue.config.safecheck.ApproveConfig.limit_times && Vue.config.safecheck.ApproveConfig.limit_value){
|
1234
1234
|
limit_times = Vue.config.safecheck.ApproveConfig.limit_times
|
1235
1235
|
limit_value = Vue.config.safecheck.ApproveConfig.limit_value
|
@@ -0,0 +1,652 @@
|
|
1
|
+
<style scoped>
|
2
|
+
.bg {
|
3
|
+
background-color: blue;
|
4
|
+
height: 1px;
|
5
|
+
border: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
.app-row {
|
9
|
+
background-color: white;
|
10
|
+
padding: 10px 10px 0 10px;
|
11
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
12
|
+
}
|
13
|
+
|
14
|
+
.search_input {
|
15
|
+
border: 0;
|
16
|
+
outline: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
.font {
|
20
|
+
font: 15px PingFang-SC-Medium;
|
21
|
+
color: #666666;
|
22
|
+
}
|
23
|
+
|
24
|
+
.input-font {
|
25
|
+
font: 15px PingFang-SC-Medium;
|
26
|
+
color: #333333;
|
27
|
+
}
|
28
|
+
|
29
|
+
.btn-font {
|
30
|
+
font: 600 16px PingFang-SC-Bold;
|
31
|
+
color: #499EDF;
|
32
|
+
}
|
33
|
+
|
34
|
+
.btn-color {
|
35
|
+
background-color: #FFFFFF;
|
36
|
+
border-radius: 10px;
|
37
|
+
border: 1px solid #499EDF;
|
38
|
+
}
|
39
|
+
|
40
|
+
.app-text {
|
41
|
+
font-size: 12px;
|
42
|
+
}
|
43
|
+
|
44
|
+
.panel-self {
|
45
|
+
border-radius: 10px;
|
46
|
+
border: 1px solid #499EDF;
|
47
|
+
background-color: #F8F8F8;
|
48
|
+
}
|
49
|
+
|
50
|
+
.yybtn-color {
|
51
|
+
background-color: #499edf;
|
52
|
+
border-radius: 4px;
|
53
|
+
border: 1px solid #499EDF;
|
54
|
+
color: #FFFFFF;
|
55
|
+
font: 14px PingFang-SC-Bold;
|
56
|
+
}
|
57
|
+
|
58
|
+
.qxbtn-color {
|
59
|
+
background-color: #FFFFFF;
|
60
|
+
border-radius: 4px;
|
61
|
+
color: #499edf;
|
62
|
+
font: 14px PingFang-SC-Bold;
|
63
|
+
border: 1px solid #499EDF;
|
64
|
+
}
|
65
|
+
|
66
|
+
.button_shrink_top {
|
67
|
+
width: 35px;
|
68
|
+
height: 35px;
|
69
|
+
background-size: 100%;
|
70
|
+
background-image: url("../../../../static/newStyle/stretch_top.png")
|
71
|
+
}
|
72
|
+
|
73
|
+
.button_shrink_bottom {
|
74
|
+
width: 35px;
|
75
|
+
height: 35px;
|
76
|
+
background-size: 100%;
|
77
|
+
background-image: url("../../../../static/newStyle/stretch_bottom.png")
|
78
|
+
}
|
79
|
+
|
80
|
+
.button_shrink_left {
|
81
|
+
width: 35px;
|
82
|
+
height: 35px;
|
83
|
+
background-size: 100%;
|
84
|
+
background-image: url("../../../../static/newStyle/stretch_left.png")
|
85
|
+
}
|
86
|
+
|
87
|
+
.button_shrink_right {
|
88
|
+
width: 35px;
|
89
|
+
height: 35px;
|
90
|
+
background-size: 100%;
|
91
|
+
background-image: url("../../../../static/newStyle/stretch_right.png")
|
92
|
+
}
|
93
|
+
</style>
|
94
|
+
<template>
|
95
|
+
<div style="height: auto;width: 100%">
|
96
|
+
<criteria-paged :model="model" v-ref:paged>
|
97
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
98
|
+
<div partial>
|
99
|
+
<form>
|
100
|
+
<div class="row app-row">
|
101
|
+
<div class="col-xs-4">
|
102
|
+
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
103
|
+
<label class="font text-left">用户姓名:</label>
|
104
|
+
</div>
|
105
|
+
<div class="col-xs-8">
|
106
|
+
<input class="search_input input-font" v-model=model.f_user_name
|
107
|
+
condition="tcp.f_user_name like '%{}%'"/>
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="row app-row">
|
111
|
+
<div class="col-xs-4">
|
112
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
113
|
+
<label for="f_userinfo_code" class="font text-left">用户编号:</label>
|
114
|
+
</div>
|
115
|
+
<div class="col-xs-8">
|
116
|
+
<input id="f_userinfo_code" class="search_input input-font"
|
117
|
+
v-model=model.f_userinfo_code condition="tcp.f_userinfo_code like '%{}%'"/>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div class="row app-row">
|
121
|
+
<div class="col-xs-4">
|
122
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
123
|
+
<label for="f_userinfo_code" class="font text-left">安检人员:</label>
|
124
|
+
</div>
|
125
|
+
<div class="col-xs-8">
|
126
|
+
<input id="f_userinfo_code" class="search_input input-font"
|
127
|
+
v-model=model.f_checker_name condition="tcp.f_checker_name like '%{}%'"/>
|
128
|
+
</div>
|
129
|
+
</div>
|
130
|
+
<div class="row app-row">
|
131
|
+
<div class="col-xs-4">
|
132
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
133
|
+
<label class="font text-left">用户地址:</label>
|
134
|
+
</div>
|
135
|
+
<div class="col-xs-8">
|
136
|
+
<input class="search_input input-font"
|
137
|
+
v-model=model.f_address condition="tcp.f_address like '%{}%'"/>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
<div class="row app-row">
|
141
|
+
<div class="col-xs-4">
|
142
|
+
<img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
|
143
|
+
<label for="f_state" class="font text-left">起始时间:</label>
|
144
|
+
</div>
|
145
|
+
<datepicker id="f_start_date"
|
146
|
+
placeholder='起始时间'
|
147
|
+
:value.sync="model.f_start_date"
|
148
|
+
:disabled-days-of-Week="[]"
|
149
|
+
v-model="model.f_start_date"
|
150
|
+
class="input-font col-xs-8"
|
151
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
152
|
+
:show-reset-button="reset" readonly="readonly">
|
153
|
+
</datepicker>
|
154
|
+
</div>
|
155
|
+
<div class="row app-row">
|
156
|
+
<div class="col-xs-4">
|
157
|
+
<img src="../../../assets/是否已检.png" style="width: 20px;margin-bottom: 5px" alt="">
|
158
|
+
<label for="f_state" class="font text-left">结束时间:</label>
|
159
|
+
</div>
|
160
|
+
<datepicker id="f_end_date"
|
161
|
+
placeholder='结束时间'
|
162
|
+
:value.sync="model.f_end_date"
|
163
|
+
:disabled-days-of-Week="[]"
|
164
|
+
v-model="model.f_end_date"
|
165
|
+
class="input-font col-xs-8"
|
166
|
+
:format="'yyyy-MM-dd 23:59:00'"
|
167
|
+
:show-reset-button="reset" readonly="readonly">
|
168
|
+
</datepicker>
|
169
|
+
</div>
|
170
|
+
<div class="row app-row">
|
171
|
+
<div class="col-xs-4">
|
172
|
+
<img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
|
173
|
+
<label for="f_user_type" class="font text-left">用户类型:</label>
|
174
|
+
</div>
|
175
|
+
<v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
|
176
|
+
:width="'60%'"
|
177
|
+
:options='$parent.$parent.user_types' placeholder='请选择用户类型'
|
178
|
+
v-model="model.f_user_type" condition="f_user_type = '{}'" close-on-select
|
179
|
+
clear-button></v-select>
|
180
|
+
</div>
|
181
|
+
<div class="row app-row">
|
182
|
+
<div class="col-xs-4">
|
183
|
+
<img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
|
184
|
+
<label for="f_deal_dispose" class="font text-left">处理方式:</label>
|
185
|
+
</div>
|
186
|
+
<v-select id="f_deal_dispose" :value.sync="model.f_deal_dispose" class="input-font"
|
187
|
+
:width="'60%'"
|
188
|
+
:options='$parent.$parent.deal_dispose' placeholder='请选择处理方式'
|
189
|
+
v-model="model.f_deal_dispose" condition="f_deal_dispose = '{}'" close-on-select
|
190
|
+
clear-button></v-select>
|
191
|
+
</div>
|
192
|
+
<div class="row text-center" style="margin-top: 20px;">
|
193
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;"
|
194
|
+
@click="$parent.$parent.selfSearch">查询
|
195
|
+
</button>
|
196
|
+
<div style="float: right;margin-right: 3% " class="button_spacing"
|
197
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
198
|
+
@click="$parent.$parent.hidden()"></div>
|
199
|
+
</div>
|
200
|
+
<div style="height:30px;"></div>
|
201
|
+
</form>
|
202
|
+
</div>
|
203
|
+
</criteria>
|
204
|
+
<list :model="model" partial='list'>
|
205
|
+
<div partial>
|
206
|
+
<div class="auto app-text" style="margin-top: 5px;">
|
207
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
208
|
+
<div class="panel-body panel-self">
|
209
|
+
<div class="col-xs-12">
|
210
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
|
211
|
+
<p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
|
212
|
+
</div>
|
213
|
+
<div class="col-xs-12">
|
214
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
|
215
|
+
<p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
|
216
|
+
</div>
|
217
|
+
<div class="col-xs-12">
|
218
|
+
<p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
|
219
|
+
<p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
|
220
|
+
</div>
|
221
|
+
<div class="col-xs-12">
|
222
|
+
<p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
|
223
|
+
<p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
|
224
|
+
</div>
|
225
|
+
<div class="col-xs-12">
|
226
|
+
<p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
|
227
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
|
228
|
+
</div>
|
229
|
+
<div class="col-xs-12">
|
230
|
+
<p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
|
231
|
+
<p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
|
232
|
+
</div>
|
233
|
+
<div class="col-xs-6">
|
234
|
+
<p class="panel-title col-xs-5 text-left font"><b>检 查 项:</b></p>
|
235
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
|
236
|
+
</div>
|
237
|
+
<div class="col-xs-6">
|
238
|
+
<p class="panel-title col-xs-5 text-left font"><b>隐 患 项:</b></p>
|
239
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
|
240
|
+
</div>
|
241
|
+
<div class="col-xs-12">
|
242
|
+
<p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
|
243
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
|
244
|
+
</div>
|
245
|
+
<div class="col-xs-12">
|
246
|
+
<p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
|
247
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div class="col-xs-12">
|
251
|
+
<button type="button" name="button" class="btn btn-primary"
|
252
|
+
style="background-color:#499edf;float: right"
|
253
|
+
@click="$parent.$parent.$parent.openshowModal(row)">查看
|
254
|
+
</button>
|
255
|
+
<button type="button" name="button" class="btn btn-primary"
|
256
|
+
style="background-color:#499edf;float: right;margin-right:10px;"
|
257
|
+
@click="$parent.$parent.$parent.openshowModal1(row)">处理
|
258
|
+
</button>
|
259
|
+
<!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
</list>
|
266
|
+
</criteria-paged>
|
267
|
+
</div>
|
268
|
+
<modal :show.sync="showModal">
|
269
|
+
<div slot="modal-header" class="modal-header">
|
270
|
+
<h4 class="modal-title">
|
271
|
+
隐患照片
|
272
|
+
</h4>
|
273
|
+
</div>
|
274
|
+
<div slot="modal-body" class="modal-body">
|
275
|
+
<div class="from-group">
|
276
|
+
<div class="row">
|
277
|
+
<div class="col-md-6">
|
278
|
+
<img-self v-if="row.f_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_path" width="300" height="400"></img-self>
|
279
|
+
<img-self v-if="row.f_p1_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p1_path" width="300" height="400"></img-self>
|
280
|
+
<img-self v-if="row.f_p2_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p2_path" width="300" height="400"></img-self>
|
281
|
+
</div>
|
282
|
+
</div>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<div slot="modal-footer" class="modal-footer">
|
286
|
+
<button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
|
287
|
+
</div>
|
288
|
+
</modal>
|
289
|
+
<modal :show.sync="showModal1">
|
290
|
+
<div slot="modal-header" class="modal-header">
|
291
|
+
<h4 class="modal-title">
|
292
|
+
处理结果
|
293
|
+
</h4>
|
294
|
+
</div>
|
295
|
+
<div slot="modal-body" class="modal-body">
|
296
|
+
<div class="row" style="margin-bottom: 10px">
|
297
|
+
<p class="panel-title col-xs-3 text-left font"><b>隐 患 项:</b></p>
|
298
|
+
<p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
|
299
|
+
</div>
|
300
|
+
<div class="row" style="margin-bottom: 10px">
|
301
|
+
<p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
|
302
|
+
<p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
|
303
|
+
</div>
|
304
|
+
<div class="form-group col-sm-12">
|
305
|
+
<div class="auto">
|
306
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
307
|
+
<div class="panel-body panel-self"
|
308
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
309
|
+
<img-self :src="deal.f_deal_path" alt="整改照片" :width="140" :height="170" capture="camera"
|
310
|
+
type="file"></img-self>
|
311
|
+
<div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
|
312
|
+
<img src="../../../assets/remove.png" @click="delfile('f_deal_path', deal.f_deal_path)"></img>
|
313
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
314
|
+
@click="takePic('f_deal_path','整改照片')">拍照
|
315
|
+
</button>
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
<div class="panel-body panel-self"
|
319
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
320
|
+
<img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
|
321
|
+
type="file"></img-self>
|
322
|
+
<div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
|
323
|
+
<img src="../../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"></img>
|
324
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
325
|
+
@click="takePic('f_other_dealpath1','整改照片')">拍照
|
326
|
+
</button>
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<div class="panel-body panel-self"
|
330
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
331
|
+
<img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
|
332
|
+
type="file"></img-self>
|
333
|
+
<div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
|
334
|
+
<img src="../../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"></img>
|
335
|
+
<button type="button" name="button" class="btn btn-primary btn-photo"
|
336
|
+
@click="takePic('f_other_dealpath2','整改照片')">拍照
|
337
|
+
</button>
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
</div>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
<div class="form-group col-sm-12" v-if="isNeedDealSign">
|
344
|
+
<p class="panel-title text-left font" style="text-align: center">用户签名:</p>
|
345
|
+
<div class="auto">
|
346
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
347
|
+
<div class="panel-body panel-self"
|
348
|
+
style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
|
349
|
+
<img :src="deal.f_dealsign_path" :width="200" :height="150"/>
|
350
|
+
<div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
|
351
|
+
<button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
|
352
|
+
</div>
|
353
|
+
</div>
|
354
|
+
</div>
|
355
|
+
</div>
|
356
|
+
</div>
|
357
|
+
<div class="row">
|
358
|
+
<div class="col-xs-2">
|
359
|
+
<p class="panel-title text-left font" style="text-align: center">处理结果</p>
|
360
|
+
</div>
|
361
|
+
<div class="col-xs-9">
|
362
|
+
<textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
|
363
|
+
</div>
|
364
|
+
</div>
|
365
|
+
<div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">
|
366
|
+
<input type="checkbox" v-model="deletebacklistisselect"/>
|
367
|
+
<div style="height: 18px">取消限制该用户购气</div>
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
<div slot="modal-footer" class="modal-footer">
|
371
|
+
<button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
|
372
|
+
<button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
|
373
|
+
</div>
|
374
|
+
</modal>
|
375
|
+
</template>
|
376
|
+
|
377
|
+
<script>
|
378
|
+
import Vue from 'vue'
|
379
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
380
|
+
import * as Util from '../../Util'
|
381
|
+
|
382
|
+
export default {
|
383
|
+
title: '无计划安检查询',
|
384
|
+
data() {
|
385
|
+
return {
|
386
|
+
row:{},
|
387
|
+
showModal: false,
|
388
|
+
showModal1: false,
|
389
|
+
showimg: '',
|
390
|
+
deal: {
|
391
|
+
result: {},
|
392
|
+
f_deal_path: '',
|
393
|
+
f_other_dealpath1: '',
|
394
|
+
f_other_dealpath2: '',
|
395
|
+
f_deal_remark: '',
|
396
|
+
f_dealsign_path: '', //签名
|
397
|
+
f_dealer: Vue.user.name,
|
398
|
+
f_dealer_id: Vue.user.id
|
399
|
+
},
|
400
|
+
user_types: [
|
401
|
+
{label: '请选择用户类型', value: ''},
|
402
|
+
{label: '民用', value: '民用'},
|
403
|
+
{label: '非民用', value: '非民用'},
|
404
|
+
],
|
405
|
+
deal_dispose:[{label: '请选择', value: ''},
|
406
|
+
{label: '自行处理', value: '自行处理'},
|
407
|
+
{label: '未处理', value: '未处理'}],
|
408
|
+
f_filialeids: '',
|
409
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/AndroidDealWith`, 20, {
|
410
|
+
condition: 'this.condition',
|
411
|
+
f_filialeids: `'${Vue.user.orgid}'`,
|
412
|
+
f_checker_id: `'${Vue.user.id}'`
|
413
|
+
}),
|
414
|
+
criteriaShow: false,
|
415
|
+
isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
|
416
|
+
isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
|
417
|
+
deletebacklistisselect: false
|
418
|
+
}
|
419
|
+
},
|
420
|
+
ready() {
|
421
|
+
this.selfSearch()
|
422
|
+
},
|
423
|
+
methods: {
|
424
|
+
async deletebacklist() {
|
425
|
+
////tag)
|
426
|
+
let http = new HttpResetClass()
|
427
|
+
////tag
|
428
|
+
let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
|
429
|
+
data: {
|
430
|
+
items: "*",
|
431
|
+
tablename: "t_userinfo",
|
432
|
+
condition: `f_userinfo_code = ${this.deal.result.f_userinfo_code}`,
|
433
|
+
orderitem: "f_userinfo_code"
|
434
|
+
}
|
435
|
+
}, {resolveMsg: null, rejectMsg: null})
|
436
|
+
////tag)
|
437
|
+
////tag
|
438
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/backlistOperate`, {
|
439
|
+
data: {
|
440
|
+
"f_operat_type": "取消拉黑",
|
441
|
+
"f_state": "有效",
|
442
|
+
"f_user_name": this.deal.result.f_user_name,
|
443
|
+
"f_comments": '',
|
444
|
+
"f_operator": Vue.user.name,
|
445
|
+
"f_operatorid": Vue.user.id,
|
446
|
+
"f_orgid": Vue.user.orgid,
|
447
|
+
"f_orgname": Vue.user.orgs,
|
448
|
+
"f_depid": Vue.user.depids,
|
449
|
+
"f_depname": Vue.user.deps,
|
450
|
+
"f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
|
451
|
+
"f_userinfo_id": {
|
452
|
+
"f_userinfo_id": res1.data[0].f_userinfo_id,
|
453
|
+
"f_user_state": "正常",
|
454
|
+
"version": res1.data[0].version
|
455
|
+
},
|
456
|
+
"f_limit_times":"",
|
457
|
+
"f_limit_value":""
|
458
|
+
}
|
459
|
+
}, {resolveMsg: null, rejectMsg: null})
|
460
|
+
},
|
461
|
+
// 签名回调
|
462
|
+
signCallback(prop, fileName) {
|
463
|
+
console.log("签名回调地址" + fileName)
|
464
|
+
// HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
|
465
|
+
HostApp.__this__.$set('deal.f_dealsign_path', fileName)
|
466
|
+
HostApp.__callback__ = null
|
467
|
+
HostApp.__this__ = null
|
468
|
+
},
|
469
|
+
// 用户签名
|
470
|
+
sign() {
|
471
|
+
if (!this.deal.f_deal_path) {
|
472
|
+
this.$showMessage('请先拍摄处理后照片!!!')
|
473
|
+
return
|
474
|
+
}
|
475
|
+
this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
|
476
|
+
let prop = 'f_dealsign_path'
|
477
|
+
let idx = 'aofeng'
|
478
|
+
let fileName
|
479
|
+
if (!this.deal.f_dealsign_path) {
|
480
|
+
fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
|
481
|
+
} else {
|
482
|
+
fileName = Util.getFileName(this.deal.f_dealsign_path)
|
483
|
+
}
|
484
|
+
HostApp.__callback__ = this.signCallback
|
485
|
+
HostApp.__this__ = this
|
486
|
+
HostApp.getSignature({
|
487
|
+
file: fileName,
|
488
|
+
requestCode: 111,
|
489
|
+
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
|
490
|
+
})
|
491
|
+
},
|
492
|
+
delAudioFile(prop, fileName) {
|
493
|
+
if (!fileName)
|
494
|
+
return
|
495
|
+
else {
|
496
|
+
HostApp.delfile(fileName)
|
497
|
+
this.deal[prop] = null
|
498
|
+
}
|
499
|
+
},
|
500
|
+
commitDealDefect() {
|
501
|
+
//tag
|
502
|
+
//tag)
|
503
|
+
// if (!this.deal.f_deal_path) {
|
504
|
+
// this.$showMessage('处理后照片必须上传')
|
505
|
+
// return
|
506
|
+
// }
|
507
|
+
if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
|
508
|
+
this.$showMessage('签名必须上传')
|
509
|
+
return
|
510
|
+
}
|
511
|
+
if (this.deletebacklistisselect){
|
512
|
+
this.deletebacklist()
|
513
|
+
}
|
514
|
+
HostApp.__this__ = this
|
515
|
+
HostApp.logicWithHint({
|
516
|
+
'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
|
517
|
+
'data': this.deal, 'backresult': 1
|
518
|
+
})
|
519
|
+
},
|
520
|
+
commitCallBack(jo) {
|
521
|
+
//tag
|
522
|
+
//tag)
|
523
|
+
if (jo.state == 'ok') {
|
524
|
+
let ress = JSON.parse(jo.result)
|
525
|
+
if (ress.code == 200) {
|
526
|
+
this.$showMessage(ress.msg)
|
527
|
+
this.closeshowModal1()
|
528
|
+
} else {
|
529
|
+
this.$showMessage(ress.msg)
|
530
|
+
}
|
531
|
+
} else {
|
532
|
+
this.$showMessage('本地服务调用失败')
|
533
|
+
}
|
534
|
+
},
|
535
|
+
delfile(prop, fileName) {
|
536
|
+
if (fileName == Vue.nopic)
|
537
|
+
return
|
538
|
+
else {
|
539
|
+
HostApp.delfile(fileName)
|
540
|
+
this.deal[prop] = Vue.nopic
|
541
|
+
}
|
542
|
+
},
|
543
|
+
openshowModal(val) {
|
544
|
+
this.row = val
|
545
|
+
this.showModal = true
|
546
|
+
},
|
547
|
+
closeshowModal() {
|
548
|
+
this.showimg = ''
|
549
|
+
this.showModal = false
|
550
|
+
},
|
551
|
+
openshowModal1(val) {
|
552
|
+
this.deal.result = val
|
553
|
+
//tag
|
554
|
+
//tag
|
555
|
+
this.deletebacklistisselect = false
|
556
|
+
this.showModal1 = true
|
557
|
+
},
|
558
|
+
closeshowModal1() {
|
559
|
+
this.deal = {
|
560
|
+
result: {},
|
561
|
+
f_deal_path: '',
|
562
|
+
f_other_dealpath1: '',
|
563
|
+
f_other_dealpath2: '',
|
564
|
+
f_deal_remark: '',
|
565
|
+
f_dealsign_path: '', //签名
|
566
|
+
f_dealer: Vue.user.name,
|
567
|
+
f_dealer_id: Vue.user.id
|
568
|
+
}
|
569
|
+
this.showModal1 = false
|
570
|
+
this.selfSearch()
|
571
|
+
},
|
572
|
+
cameraCallBack(prop, fileName) {
|
573
|
+
HostApp.__this__.$set( 'deal.'+prop+'', fileName)
|
574
|
+
HostApp.__callback__ = null
|
575
|
+
HostApp.__this__ = null
|
576
|
+
},
|
577
|
+
takePic(prop, title) {
|
578
|
+
HostApp.__callback__ = this.cameraCallBack
|
579
|
+
HostApp.__this__ = this
|
580
|
+
let fileName
|
581
|
+
if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
|
582
|
+
fileName = Util.guid() + '-' + prop + '.jpg'
|
583
|
+
} else {
|
584
|
+
fileName = Util.getFileName(this.deal[prop])
|
585
|
+
}
|
586
|
+
//tag
|
587
|
+
//tag
|
588
|
+
HostApp._open_a_page({
|
589
|
+
type: 'boomerang',
|
590
|
+
page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
|
591
|
+
param: {
|
592
|
+
file: fileName,
|
593
|
+
requestCode: 111,
|
594
|
+
callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
|
595
|
+
watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
|
596
|
+
}
|
597
|
+
})
|
598
|
+
},
|
599
|
+
selfSearch() {
|
600
|
+
|
601
|
+
let condition = "1=1 "
|
602
|
+
if (this.$refs.paged.$refs.cri.model.f_user_name) {
|
603
|
+
if (this.$refs.paged.$refs.cri.model.f_user_name.toString().trim()) {
|
604
|
+
condition += " and tcp.f_user_name like '" + this.$refs.paged.$refs.cri.model.f_user_name + "%'"
|
605
|
+
}
|
606
|
+
}
|
607
|
+
if (this.$refs.paged.$refs.cri.model.f_userinfo_code) {
|
608
|
+
if (this.$refs.paged.$refs.cri.model.f_userinfo_code.toString().trim()) {
|
609
|
+
condition += " and tcp.f_userinfo_code = '" + this.$refs.paged.$refs.cri.model.f_userinfo_code + "'"
|
610
|
+
}
|
611
|
+
}
|
612
|
+
if (this.$refs.paged.$refs.cri.model.f_checker_name) {
|
613
|
+
if (this.$refs.paged.$refs.cri.model.f_checker_name.toString().trim()) {
|
614
|
+
condition += " and tcp.f_checker_name = '" + this.$refs.paged.$refs.cri.model.f_checker_name + "'"
|
615
|
+
}
|
616
|
+
}
|
617
|
+
if (this.$refs.paged.$refs.cri.model.f_address) {
|
618
|
+
if (this.$refs.paged.$refs.cri.model.f_address.toString().trim()) {
|
619
|
+
condition += " and tcp.f_address like '%" + this.$refs.paged.$refs.cri.model.f_address + "%'"
|
620
|
+
}
|
621
|
+
}
|
622
|
+
if (this.$refs.paged.$refs.cri.model.f_start_date) {
|
623
|
+
if (this.$refs.paged.$refs.cri.model.f_start_date.toString().trim()) {
|
624
|
+
condition += " and tdl.f_create_time > '" + this.$refs.paged.$refs.cri.model.f_start_date + "'"
|
625
|
+
}
|
626
|
+
}
|
627
|
+
if (this.$refs.paged.$refs.cri.model.f_end_date) {
|
628
|
+
if (this.$refs.paged.$refs.cri.model.f_end_date.toString().trim()) {
|
629
|
+
condition += " and tdl.f_create_time < '" + this.$refs.paged.$refs.cri.model.f_end_date + "'"
|
630
|
+
}
|
631
|
+
}
|
632
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type) {
|
633
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()) {
|
634
|
+
condition += " and f_user_type = '" + this.$refs.paged.$refs.cri.model.f_user_type + "'"
|
635
|
+
}
|
636
|
+
}
|
637
|
+
if (this.$refs.paged.$refs.cri.model.f_deal_dispose) {
|
638
|
+
if (this.$refs.paged.$refs.cri.model.f_deal_dispose.toString().trim()) {
|
639
|
+
condition += " and f_deal_dispose = '" + this.$refs.paged.$refs.cri.model.f_deal_dispose + "'"
|
640
|
+
}
|
641
|
+
}
|
642
|
+
|
643
|
+
//tag
|
644
|
+
this.model.search(condition)
|
645
|
+
},
|
646
|
+
|
647
|
+
hidden() {
|
648
|
+
this.criteriaShow = !this.criteriaShow
|
649
|
+
}
|
650
|
+
}
|
651
|
+
}
|
652
|
+
</script>
|