safecheck-client 3.0.39-8 → 3.0.39-80
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/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/GetParams.md +11 -11
- 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/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//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 +5 -5
- 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/assets//345/256/232/344/275/215.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/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/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 +2 -2
- package/src/components/android/AndroidDefectDeal.vue +2 -2
- 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/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/MasterMain.vue +77 -77
- package/src/components/android/Menu.vue +132 -132
- package/src/components/android/NewCheckpaperAndroid.vue +2 -2
- package/src/components/android/PaperAlarm.vue +85 -85
- package/src/components/android/PaperDeviceNoncivil.vue +214 -214
- package/src/components/android/PhoneUpUserinfo.vue +11 -0
- 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/StationMaster.vue +12 -12
- package/src/components/android/rejectInspecCheck.vue +322 -0
- package/src/components/defects/DefectModal.vue +101 -101
- package/src/components/defects/DevicesAndItem.vue +39 -39
- package/src/components/issueplan/IssuePlanMain.vue +23 -23
- package/src/components/notice/NoticeForm.vue +100 -100
- package/src/components/notice/NoticeIssue.vue +20 -20
- package/src/components/paper/PicViewer.vue +18 -18
- package/src/components/pc/AddPlanItemYyChange.vue +5 -1
- package/src/components/pc/NewCheckpaper.vue +108 -14
- package/src/components/pc/PaperDefectMain.vue +1 -1
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
- 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/PaperStatem.vue +6 -6
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1 -0
- package/src/components/userfile/MeterFile.vue +145 -145
- package/src/components/userfile/MeterModify.vue +46 -46
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/filiale/BFshiye/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
- package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +861 -861
- package/src/filiale/BFshiye/pc/DefectListNew.vue +637 -0
- package/src/filiale/BFshiye/pc/NewCheckpaper.vue +18 -56
- package/src/filiale/BFshiye/pc.js +3 -2
- package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
- package/src/filiale/bayan/pc/SelectAreaReport.vue +1 -0
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
- package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderVTemp.vue +4 -1
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +64 -4
- package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
- package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +183 -145
- package/src/filiale/jinhuang/android.js +2 -1
- package/src/filiale/kelai/android/PaperFeedback.vue +1553 -1550
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/PaperList.vue +13 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +4 -6
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +2 -3
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +125 -38
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +42 -19
- package/src/filiale/rongchuang/android/AddPlanItemVisitingWithoutMeeting.vue +454 -0
- package/src/filiale/rongchuang/android/AddPlanItemYy.vue +498 -0
- package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +3 -2
- package/src/filiale/rongchuang/android.js +3 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +13 -1
- package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +4 -4
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +58 -24
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +888 -889
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +909 -885
- package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartAreaByWangGeYuan.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
- package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
- package/src/filiale/tongchuan/pc.js +3 -0
- package/src/filiale/wenxi/pc/PaperList.vue +9 -3
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2242 -2242
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +659 -659
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +2 -1
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/safecheck-android.js +1 -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
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_userinfo_code" readonly/>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="row auto" style="margin: 5px 0">
|
|
17
|
-
<label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_user_name"
|
|
17
|
+
<label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_user_name" />
|
|
18
18
|
</div>
|
|
19
19
|
<div class="row auto" style="margin: 5px 0">
|
|
20
20
|
<label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly v-model="userinfo.baseinfo.base.f_user_state" />
|
|
@@ -1587,7 +1587,7 @@ export default {
|
|
|
1587
1587
|
&& HostApp.__this__.data.f_approved
|
|
1588
1588
|
&& HostApp.__this__.data.f_approved == '打回') {
|
|
1589
1589
|
//tag
|
|
1590
|
-
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
|
1590
|
+
// HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
|
1591
1591
|
HostApp.__this__.tick()
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
@@ -538,7 +538,7 @@ export default {
|
|
|
538
538
|
//tag
|
|
539
539
|
if (this.f_onsite_time) {
|
|
540
540
|
this.$parent.$parent.isStrat = true
|
|
541
|
-
this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
|
541
|
+
// this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
|
542
542
|
}
|
|
543
543
|
if (this.$parent.$parent.role == 'repair') {
|
|
544
544
|
this.$set('style__', 'divmask')
|
|
@@ -169,6 +169,18 @@
|
|
|
169
169
|
:value-single="true">
|
|
170
170
|
</v-select>
|
|
171
171
|
</div>
|
|
172
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
|
173
|
+
<label class="font_normal_body">有无计划</label>
|
|
174
|
+
<v-select class="select_list select"
|
|
175
|
+
placeholder='请选择' style="width: 60%"
|
|
176
|
+
:value.sync="model.f_no_checkplan" v-model="model.f_no_checkplan"
|
|
177
|
+
:options='$parent.$parent.no_checkplans'
|
|
178
|
+
filer-key="name"
|
|
179
|
+
close-on-select clear-button
|
|
180
|
+
condition="f_no_checkplan='{}'"
|
|
181
|
+
:value-single="true">
|
|
182
|
+
</v-select>
|
|
183
|
+
</div>
|
|
172
184
|
</div>
|
|
173
185
|
<modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
|
|
174
186
|
<div slot="modal-header" class="modal-header">
|
|
@@ -330,6 +342,7 @@ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
|
|
330
342
|
// }
|
|
331
343
|
// model.f_subcompany = this.$login.f.f_fengongsi
|
|
332
344
|
return {
|
|
345
|
+
no_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
|
|
333
346
|
audioshow:false,
|
|
334
347
|
searchData: {
|
|
335
348
|
condition: "1=1",
|
|
@@ -57,9 +57,8 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<div class="col-sm-4 " style="width: auto; margin-top: 8px">
|
|
59
59
|
<button class="button_search button_spacing" @click="search">查询</button>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
<button class="button_new button_spacing" @click="$parent.$parent.verifyAll()">批量审核</button>
|
|
61
|
+
<button class="button_export button_spacing" @click="$parent.$parent.rejectAll()">批量不通过</button>
|
|
63
62
|
</div>
|
|
64
63
|
</div>
|
|
65
64
|
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
|
69
68
|
<template partial='head'>
|
|
70
69
|
<tr>
|
|
71
|
-
|
|
70
|
+
<th><nobr></nobr></th>
|
|
72
71
|
<th><nobr>用户编号</nobr></th>
|
|
73
72
|
<th><nobr>用户名称</nobr></th>
|
|
74
73
|
<th><nobr>提交人</nobr></th>
|
|
@@ -81,7 +80,7 @@
|
|
|
81
80
|
</tr>
|
|
82
81
|
</template>
|
|
83
82
|
<template partial='body'>
|
|
84
|
-
|
|
83
|
+
<td style="text-align: center"><nobr><input type="checkbox" v-model="row.checked" @click="$parent.$parent.$parent.addChecked(row)"></nobr></td>
|
|
85
84
|
<td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
86
85
|
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
87
86
|
<td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
|
|
@@ -126,128 +125,165 @@ export default {
|
|
|
126
125
|
excessive:false,
|
|
127
126
|
userInformation:{},
|
|
128
127
|
f_approval_states:this.$appdata.getParam('审核状态'),
|
|
128
|
+
checkedRows: [] // 新增:用于存储选中的行
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
methods: {
|
|
132
132
|
search(args){
|
|
133
133
|
args += 'f_time= (select max(f_time) from t_modify_userinfo B where A.f_userinfoid = B.f_userinfoid)'
|
|
134
|
-
|
|
134
|
+
this.model.search(args)
|
|
135
|
+
this.checkedRows = [] // 清空选中项
|
|
135
136
|
},
|
|
136
137
|
change(row) {
|
|
137
|
-
//tag)
|
|
138
138
|
new HttpResetClass().load('post',`/rs/logic/filemanage_getFilesDetail`, {
|
|
139
|
-
//f_userinfo_code:'12381344',
|
|
140
139
|
f_userinfo_id:row.f_userinfoid
|
|
141
140
|
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
142
|
-
//tag
|
|
143
|
-
//this.userInformation=res.data
|
|
144
141
|
this.$set('userInformation',res.data)
|
|
145
|
-
//tag
|
|
146
142
|
this.$set('info',row)
|
|
147
143
|
this.showModal = true
|
|
148
144
|
})
|
|
149
|
-
|
|
150
145
|
},
|
|
151
|
-
|
|
146
|
+
addChecked(row) {
|
|
147
|
+
if (row.checked) {
|
|
148
|
+
this.checkedRows.push(row)
|
|
149
|
+
} else {
|
|
150
|
+
this.checkedRows.$remove(row)
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
async todo(row) {
|
|
152
154
|
let r = confirm("确认修改该资料?")
|
|
153
|
-
if(r) {
|
|
154
|
-
this.excessive=true
|
|
155
|
-
let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
|
|
156
|
-
|
|
157
|
-
userinfoms.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
|
|
162
|
-
this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
|
|
155
|
+
if (r) {
|
|
156
|
+
this.excessive = true
|
|
157
|
+
let userinfoms = Object.assign({}, this.userInformation.baseinfo.base)
|
|
158
|
+
userinfoms.f_operator_record = row.f_modifier
|
|
159
|
+
userinfoms.f_operatorid_record = row.f_modifier_id
|
|
160
|
+
|
|
161
|
+
if (this.userInformation.meterinfo[0].f_meter_classify != '物联网表') {
|
|
162
|
+
this.userInformation.meterinfo[0].f_meternumber = row.f_meternumber
|
|
163
163
|
}
|
|
164
|
-
userinfoms.userfiles=[]
|
|
164
|
+
userinfoms.userfiles = []
|
|
165
165
|
userinfoms.userfiles.push(this.userInformation.meterinfo[0])
|
|
166
|
-
userinfoms.f_orgid_record=null
|
|
167
|
-
userinfoms.f_orgname_record=null
|
|
168
|
-
userinfoms.f_depid_record=null
|
|
169
|
-
userinfoms.f_depname_record=null
|
|
170
|
-
let useraddressms=Object.assign({},this.userInformation.addressinfo)
|
|
171
|
-
useraddressms.f_pcd=row.f_pcd
|
|
172
|
-
useraddressms.f_pcd_id=row.f_pcd_id
|
|
173
|
-
useraddressms.f_street=row.f_street
|
|
174
|
-
useraddressms.f_street_id=row.f_street_id
|
|
175
|
-
useraddressms.f_residential_area=row.f_residential_area
|
|
176
|
-
useraddressms.f_residential_area_id=row.f_residential_area_id
|
|
177
|
-
useraddressms.f_building=row.f_building?row.f_building:null
|
|
178
|
-
useraddressms.f_building_id=row.f_building_id
|
|
179
|
-
useraddressms.f_unit=row.f_unit?row.f_unit:null
|
|
180
|
-
useraddressms.f_floor=row.f_floor?row.f_floor:null
|
|
181
|
-
useraddressms.f_room=row.f_room?row.f_room:null
|
|
182
|
-
useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
|
|
183
|
-
useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
|
|
184
|
-
useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
|
|
185
|
-
useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
|
|
186
|
-
|
|
187
|
-
useraddressms.
|
|
188
|
-
useraddressms.
|
|
189
|
-
useraddressms.
|
|
190
|
-
useraddressms.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
this.excessive=false
|
|
209
|
-
}else{
|
|
210
|
-
this.$showMessage("审核失败!")
|
|
211
|
-
this.excessive=false
|
|
212
|
-
}
|
|
213
|
-
}else{
|
|
166
|
+
userinfoms.f_orgid_record = null
|
|
167
|
+
userinfoms.f_orgname_record = null
|
|
168
|
+
userinfoms.f_depid_record = null
|
|
169
|
+
userinfoms.f_depname_record = null
|
|
170
|
+
let useraddressms = Object.assign({}, this.userInformation.addressinfo)
|
|
171
|
+
useraddressms.f_pcd = row.f_pcd
|
|
172
|
+
useraddressms.f_pcd_id = row.f_pcd_id
|
|
173
|
+
useraddressms.f_street = row.f_street
|
|
174
|
+
useraddressms.f_street_id = row.f_street_id
|
|
175
|
+
useraddressms.f_residential_area = row.f_residential_area
|
|
176
|
+
useraddressms.f_residential_area_id = row.f_residential_area_id
|
|
177
|
+
useraddressms.f_building = row.f_building ? row.f_building : null
|
|
178
|
+
useraddressms.f_building_id = row.f_building_id
|
|
179
|
+
useraddressms.f_unit = row.f_unit ? row.f_unit : null
|
|
180
|
+
useraddressms.f_floor = row.f_floor ? row.f_floor : null
|
|
181
|
+
useraddressms.f_room = row.f_room ? row.f_room : null
|
|
182
|
+
useraddressms.f_building_suffix = row.f_building_suffix ? row.f_building_suffix : null
|
|
183
|
+
useraddressms.f_unit_suffix = row.f_unit_suffix ? row.f_unit_suffix : null
|
|
184
|
+
useraddressms.f_floor_suffix = row.f_floor_suffix ? row.f_floor_suffix : null
|
|
185
|
+
useraddressms.f_room_suffix = row.f_room_suffix ? row.f_room_suffix : null
|
|
186
|
+
useraddressms.f_address = row.f_address
|
|
187
|
+
useraddressms.f_special = row.f_special
|
|
188
|
+
useraddressms.f_iscity = row.f_iscity
|
|
189
|
+
useraddressms.f_operator = row.f_modifier
|
|
190
|
+
useraddressms.f_operatorid = row.f_modifier_id
|
|
191
|
+
try {
|
|
192
|
+
let res1 = await new HttpResetClass().load('POST', '/rs/logic/filemanage_fileSave', {data: {userinfo: userinfoms, modifyReason: this.f_source ? `${this.f_source}审核通过更改档案信息` : '', address: {id: this.userInformation.addressinfo.id, oldid: this.userInformation.addressinfo.id}}}, {resolveMsg: null, rejectMsg: null})
|
|
193
|
+
if (res1.data.status == 200) {
|
|
194
|
+
let res2 = await new HttpResetClass().load('POST', '/rs/logic/address_updateuseraddress', useraddressms, {resolveMsg: null, rejectMsg: null})
|
|
195
|
+
if (res2.data.id) {
|
|
196
|
+
row.f_approved = '已审核'
|
|
197
|
+
row.f_approved_by = this.$login.f.name
|
|
198
|
+
row.f_approved_time = Util.toStandardTimeString()
|
|
199
|
+
let res3 = await new HttpResetClass().load('POST', '/rs/logic/SaveEntity', {data: {row: row, tablename: 't_modify_userinfo'}}, {resolveMsg: null, rejectMsg: null})
|
|
200
|
+
if (res3.data.code == 200) {
|
|
201
|
+
this.$showMessage("审核成功,用户信息已更新!")
|
|
202
|
+
this.excessive = false
|
|
203
|
+
} else {
|
|
204
|
+
this.$showMessage("审核失败!")
|
|
205
|
+
this.excessive = false
|
|
206
|
+
}
|
|
207
|
+
} else {
|
|
214
208
|
this.$showMessage("更新地址信息失败!")
|
|
215
|
-
this.excessive=false
|
|
209
|
+
this.excessive = false
|
|
216
210
|
}
|
|
217
|
-
}else{
|
|
211
|
+
} else {
|
|
218
212
|
this.$showMessage("修改用户信息失败!")
|
|
219
|
-
this.excessive=false
|
|
213
|
+
this.excessive = false
|
|
220
214
|
}
|
|
221
|
-
}catch(msg){
|
|
222
|
-
if(
|
|
223
|
-
this.$showMessage("修改用户信息失败!"+msg.data)
|
|
224
|
-
}else{
|
|
215
|
+
} catch (msg) {
|
|
216
|
+
if (typeof msg == 'object' && msg.data) {
|
|
217
|
+
this.$showMessage("修改用户信息失败!" + msg.data)
|
|
218
|
+
} else {
|
|
225
219
|
this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
|
|
226
220
|
}
|
|
227
|
-
this.excessive=false
|
|
221
|
+
this.excessive = false
|
|
228
222
|
}
|
|
229
223
|
}
|
|
230
224
|
},
|
|
231
|
-
isnull(val){
|
|
232
|
-
if(val == null){
|
|
225
|
+
isnull(val) {
|
|
226
|
+
if (val == null) {
|
|
233
227
|
return ''
|
|
234
|
-
}else{
|
|
228
|
+
} else {
|
|
235
229
|
return val
|
|
236
230
|
}
|
|
237
231
|
},
|
|
238
|
-
|
|
239
|
-
this.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
232
|
+
async verifyAll() {
|
|
233
|
+
if (this.checkedRows.length === 0) {
|
|
234
|
+
this.$showMessage("请选择要批量审核的记录!")
|
|
235
|
+
return
|
|
236
|
+
}
|
|
237
|
+
let r = confirm("确认批量审核选中的资料?")
|
|
238
|
+
if (r) {
|
|
239
|
+
this.excessive = true
|
|
240
|
+
for (let i = 0; i < this.checkedRows.length; i++) {
|
|
241
|
+
let row = this.checkedRows[i]
|
|
242
|
+
if (row.f_approved === '未审核') {
|
|
243
|
+
await new HttpResetClass().load('post',`/rs/logic/filemanage_getFilesDetail`, {
|
|
244
|
+
f_userinfo_id:row.f_userinfoid
|
|
245
|
+
}, {resolveMsg: null, rejectMsg: null}).then(async (res) => {
|
|
246
|
+
this.$set('userInformation',res.data)
|
|
247
|
+
this.$set('info',row)
|
|
248
|
+
await this.todo(row)
|
|
249
|
+
})
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
this.excessive = false
|
|
253
|
+
this.search('') // 刷新列表
|
|
254
|
+
this.$showMessage("批量审核完成!")
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
async rejectAll() {
|
|
258
|
+
if (this.checkedRows.length === 0) {
|
|
259
|
+
this.$showMessage("请选择要批量不通过的记录!")
|
|
260
|
+
return
|
|
261
|
+
}
|
|
262
|
+
let r = confirm("确认批量不通过选中的资料?")
|
|
263
|
+
if (r) {
|
|
264
|
+
this.excessive = true
|
|
265
|
+
for (let i = 0; i < this.checkedRows.length; i++) {
|
|
266
|
+
let row = this.checkedRows[i]
|
|
267
|
+
if (row.f_approved === '未审核') {
|
|
268
|
+
await this.undo(row)
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
this.excessive = false
|
|
272
|
+
this.search('') // 刷新列表
|
|
273
|
+
this.$showMessage("批量不通过完成!")
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
async undo(row){
|
|
277
|
+
row.f_approved='未通过'
|
|
278
|
+
row.f_approved_by=this.$login.f.name
|
|
279
|
+
row.f_approved_time=Util.toStandardTimeString()
|
|
280
|
+
await new HttpResetClass().load('POST','/rs/logic/SaveEntity', {data:{row:row,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
|
|
244
281
|
if(res3.data.code==200){
|
|
245
282
|
this.$showMessage("审核成功,审核结果:未通过!")
|
|
246
283
|
}else{
|
|
247
284
|
this.$showMessage("审核失败!")
|
|
248
285
|
}
|
|
249
286
|
})
|
|
250
|
-
|
|
251
287
|
}
|
|
252
288
|
}
|
|
253
289
|
}
|
|
@@ -52,10 +52,9 @@
|
|
|
52
52
|
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
|
53
53
|
<button style="float: right" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
|
54
54
|
<div style="float: right">
|
|
55
|
-
<export-excel-
|
|
55
|
+
<export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
|
56
56
|
:field="$parent.$parent.getfield"
|
|
57
|
-
|
|
58
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel-old>
|
|
57
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel-safe>
|
|
59
58
|
</div>
|
|
60
59
|
</div>
|
|
61
60
|
</div>
|
|
@@ -192,10 +191,9 @@
|
|
|
192
191
|
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
|
193
192
|
<button style="float: right" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
|
194
193
|
<div style="float: right">
|
|
195
|
-
<export-excel-
|
|
194
|
+
<export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
|
196
195
|
:field="$parent.$parent.getfield"
|
|
197
|
-
|
|
198
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel-old>
|
|
196
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel-safe>
|
|
199
197
|
</div>
|
|
200
198
|
</div>
|
|
201
199
|
</div>
|
|
@@ -955,14 +955,14 @@ export default {
|
|
|
955
955
|
// this.$goto('paper-message-blank', {userinfo:this.data,devices:this.devices,config:this.config,role:this.role}, 'self')
|
|
956
956
|
this.isshow = true
|
|
957
957
|
asyncReady(this).then(() => {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
958
|
+
if (this.data.f_check_type){
|
|
959
|
+
if (this.data.f_check_type=='民用'){
|
|
960
|
+
this.deviceconfig=Vue.config.safecheck.DevicesConfig
|
|
961
|
+
}else if (this.data.f_check_type=='非民用'){
|
|
962
|
+
this.deviceconfig=Vue.config.safecheck.DevicesSetConfig
|
|
963
|
+
}
|
|
964
|
+
}else {
|
|
961
965
|
this.deviceconfig=Vue.config.safecheck.DevicesConfig
|
|
962
|
-
////tag)
|
|
963
|
-
}else if (this.data.f_check_type=='非民用'){
|
|
964
|
-
this.deviceconfig=Vue.config.safecheck.DevicesSetConfig
|
|
965
|
-
////tag)
|
|
966
966
|
}
|
|
967
967
|
if (this.planmeter.f_meter_classify=='机表'){
|
|
968
968
|
let aaa=Object.assign({},this.configjb["燃气表"].items,this.deviceconfig["燃气表"].items)
|
|
@@ -44,10 +44,9 @@
|
|
|
44
44
|
<!-- sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"-->
|
|
45
45
|
<!-- :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'" :choose-col="true">-->
|
|
46
46
|
<!-- </export-excel-safe>-->
|
|
47
|
-
<export-excel-
|
|
47
|
+
<export-excel-safe :data="$parent.$parent.exportParameter"
|
|
48
48
|
:field="$parent.$parent.exportExcelField"
|
|
49
|
-
|
|
50
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="planItem" :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'"></export-excel-old>
|
|
49
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="planItem" :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'"></export-excel-safe>
|
|
51
50
|
</div>
|
|
52
51
|
<div class="form-group col-sm-2 safe_p">
|
|
53
52
|
<label class="font_normal_body" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
|