safecheck-client 3.0.30-62-t11 → 3.0.30-62-t12
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/examples/SafePlan/comp.js +1527 -1527
- package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
- package/examples/SafePlan-shaoguan/comp.js +1190 -1190
- package/examples/SafePlan-tongchuan/comp.js +1480 -1480
- package/examples/SafePlan-wenxi/comp.js +1545 -1545
- package/examples/SafePlan-zhoukou/comp.js +1525 -1525
- package/examples/SafePlanrongcheng/comp.js +1141 -1141
- package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
- package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
- package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
- package/package.json +1 -1
- package/src/components/CheckerCount/ZhouKouCheckCount.vue +272 -272
- package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -1052
- package/src/components/NewDefectList/DefectPaperNew.vue +1079 -1079
- package/src/components/checkplan/CheckDetail.vue +205 -205
- package/src/components/checkplan/SelectCheckPlan.vue +311 -311
- package/src/components/createcheckplan/PlanUersList.vue +137 -137
- package/src/components/defect/DefectPaper.vue +764 -764
- package/src/components/defect/DefectPaperWeiXiu.vue +508 -508
- package/src/components/inspections/InspectionList.vue +476 -476
- package/src/components/inspections/InspectionLists.vue +478 -478
- package/src/components/inspections/InspectionListss.vue +477 -477
- package/src/components/noplan/NoPlanSearchUser.vue +300 -300
- package/src/components/olddata/OldPaperList.vue +340 -340
- package/src/components/paper/PaperList.vue +790 -790
- package/src/components/paper/filialeCheckInfo.vue +111 -111
- package/src/components/pc/CheckNoDetail.vue +209 -209
- package/src/components/pc/DefectDeal.vue +997 -997
- package/src/components/pc/NewCheckpaper.vue +1957 -1957
- package/src/components/pc/PaperChazhiMain.vue +504 -504
- package/src/components/pc/PaperDefectMain.vue +1 -1
- package/src/components/pc/PaperEdit.vue +151 -151
- package/src/components/pc/PaperVisitMain.vue +179 -179
- package/src/components/pc/SafeVisitHistory.vue +208 -208
- package/src/components/pc/SafecheckDeviceList.vue +260 -260
- package/src/components/pc/SecurityCheckLedger.vue +133 -133
- package/src/components/pc/SelectCheckNoPlan.vue +278 -278
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -281
- package/src/components/planmanage/checkPlanList.vue +369 -369
- package/src/components/planmanage/checkUserList.vue +773 -773
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -1109
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +690 -690
- package/src/components/report/CheckPlanAreaList.vue +505 -505
- package/src/components/report/CheckPlanUserList.vue +216 -216
- package/src/components/report/NoCheckplanSafecheck.vue +212 -212
- package/src/components/rongcheng/CheckSearchArea.vue +703 -703
- package/src/components/rongcheng/CheckSearchUser.vue +936 -936
- package/src/components/rongcheng/CheckSearchUserNo.vue +778 -778
- package/src/components/rongcheng/CheckUserList.vue +205 -205
- package/src/components/rongcheng/DefectPaper.vue +676 -676
- package/src/components/rongcheng/PaperListAJ.vue +434 -434
- package/src/components/rongcheng/PaperListNPAJ.vue +431 -431
- package/src/components/rongcheng/PaperListNPSQ.vue +455 -455
- package/src/components/rongcheng/PaperListSQ.vue +444 -444
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +271 -271
- package/src/components/rongcheng/report/CheckPlanUserList.vue +228 -228
- package/src/components/safecheckNew/PaperList.vue +785 -785
- package/src/components/shaoguan/DefectPaper.vue +217 -217
- package/src/components/shaoguan/PaperList.vue +466 -466
- package/src/components/userfile/UserInfoAudit.vue +316 -316
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/ALshan/pc/checkUserList.vue +714 -714
- package/src/filiale/ancheng/pc/PaperList.vue +659 -659
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +512 -512
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -1039
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -545
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +864 -864
- package/src/filiale/ankangyihua/pc/PaperList.vue +656 -656
- package/src/filiale/ankangyihua/pc/checkUserList.vue +697 -697
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
- package/src/filiale/baiyin/pc/PaperList.vue +790 -790
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -1110
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1239 -1239
- package/src/filiale/bayan/pc/PaperList.vue +900 -900
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +396 -396
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
- package/src/filiale/dexin/pc/PaperList.vue +805 -805
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -1085
- package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -928
- package/src/filiale/fugou/pc/PaperList.vue +911 -911
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
- package/src/filiale/fugou/pc/checkUserList.vue +904 -904
- package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +273 -273
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +688 -688
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
- package/src/filiale/ganquan/pc/PaperList.vue +654 -654
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +166 -166
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +234 -234
- package/src/filiale/ganquan/pc/checkUserList.vue +681 -681
- package/src/filiale/gehua/pc/PaperList.vue +558 -558
- package/src/filiale/gehua/pc/checkUserList.vue +720 -720
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +471 -471
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
- package/src/filiale/hanzhong/pc/CheckUserList.vue +755 -755
- package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
- package/src/filiale/huaran/pc/PaperList.vue +843 -843
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
- package/src/filiale/huaran/pc/checkUserList.vue +900 -900
- package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
- package/src/filiale/huatong/pc/PaperList.vue +789 -789
- package/src/filiale/huayin/pc/PaperList.vue +621 -621
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +479 -479
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
- package/src/filiale/jingyang/pc/PaperList.vue +793 -793
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
- package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
- package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
- package/src/filiale/kelai/pc/PaperList.vue +596 -596
- package/src/filiale/kelai/pc/checkUserList.vue +698 -698
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
- package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +467 -467
- package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +540 -540
- package/src/filiale/lixian/pc/PaperDefectMain.vue +551 -551
- package/src/filiale/lixian/pc/PaperList.vue +620 -620
- package/src/filiale/lixian/pc/checkPlanList.vue +366 -366
- package/src/filiale/lixian/pc/checkUserList.vue +761 -761
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
- package/src/filiale/minsheng/pc/checkUserList.vue +806 -806
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
- package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +220 -220
- package/src/filiale/qianneng/pc/PaperList.vue +777 -777
- package/src/filiale/qianneng/pc/checkPlanList.vue +429 -429
- package/src/filiale/qianneng/pc/checkUserList.vue +871 -871
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
- package/src/filiale/rizhao/pc/PaperList.vue +714 -714
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -812
- package/src/filiale/rongchuang/pc/checkUserList.vue +621 -621
- package/src/filiale/shanxian/pc/CheckDetail.vue +205 -205
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
- package/src/filiale/shanxian/pc/PaperList.vue +785 -785
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +324 -324
- package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
- package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
- package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
- package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
- package/src/filiale/shexian/pc/PaperList.vue +822 -822
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +463 -463
- package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
- package/src/filiale/shimen/pc/PaperDefectMain.vue +589 -589
- package/src/filiale/shimen/pc/PaperList.vue +547 -547
- package/src/filiale/shiquan/pc/checkUserList.vue +755 -755
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -864
- package/src/filiale/siyang/pc/PaperList.vue +834 -834
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
- package/src/filiale/siyang/pc/checkUserList.vue +765 -765
- package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
- package/src/filiale/tongchuan/pc/CheckDetail.vue +205 -205
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +502 -502
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +246 -246
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1045 -1045
- package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +213 -213
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +296 -296
- package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +297 -297
- package/src/filiale/weinan/pc/CheckNoDetail.vue +259 -259
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +338 -338
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -1078
- package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
- package/src/filiale/weinan/pc/PaperDefectMain.vue +576 -576
- package/src/filiale/weinan/pc/PaperList.vue +674 -674
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +299 -299
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +389 -389
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
- package/src/filiale/weinan/pc/checkPlanList.vue +456 -456
- package/src/filiale/weinan/pc/checkUserList.vue +712 -712
- package/src/filiale/weinanct/pc/PaperList.vue +593 -593
- package/src/filiale/wensu/pc/CheckDetail.vue +205 -205
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1238
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wensu/pc/checkUserList.vue +650 -650
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +456 -456
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +217 -217
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
- package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
- package/src/filiale/wenxi/pc/PaperList.vue +949 -949
- package/src/filiale/wenxi/pc/checkPlanList.vue +517 -517
- package/src/filiale/wenxi/pc/checkUserList.vue +695 -695
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
- package/src/filiale/wuan/pc/PaperList.vue +562 -562
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
- package/src/filiale/wuhai/pc/PaperList.vue +785 -785
- package/src/filiale/wuhai/pc/checkUserList.vue +611 -611
- package/src/filiale/xilan/pc/PaperList.vue +795 -795
- package/src/filiale/xilan/pc/checkUserList.vue +772 -772
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +425 -425
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +216 -216
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +525 -525
- package/src/filiale/xinkang/pc/PaperList.vue +603 -603
- package/src/filiale/xinkang/pc/checkUserList.vue +639 -639
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -1046
- package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -1092
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -1105
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -872
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
- package/src/filiale/yongzhou/pc/checkUserList.vue +752 -752
- package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
- package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
- package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
- package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +465 -465
@@ -1,316 +1,316 @@
|
|
1
|
-
<template>
|
2
|
-
<work-busy :is-busy="excessive"></work-busy>
|
3
|
-
<div class="basic-main" style="height: 100%">
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
5
|
-
<criteria class="search_area" partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
-
<div class="row">
|
8
|
-
<div class="form-group col-sm-2" >
|
9
|
-
<label class="font_normal_body">客户编号</label>
|
10
|
-
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
11
|
-
style="width: 60%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
|
12
|
-
</div>
|
13
|
-
<div class="form-group col-sm-2" >
|
14
|
-
<label class="font_normal_body">客户名称</label>
|
15
|
-
<input type="text" class="input_search" v-model="model.f_username"
|
16
|
-
style="width: 60%" placeholder="客户名称" condition="ui.f_user_name like '%{}%'">
|
17
|
-
</div>
|
18
|
-
<div class="form-group col-sm-2" >
|
19
|
-
<label class="font_normal_body">提 交 人</label>
|
20
|
-
<input type="text" class="input_search" v-model="model.f_modifier"
|
21
|
-
style="width: 60%" placeholder="提交人" condition="f_modifier like '%{}%'">
|
22
|
-
</div>
|
23
|
-
<div class="form-group col-sm-2" >
|
24
|
-
<label class="font_normal_body">审 核 人</label>
|
25
|
-
<input type="text" class="input_search" v-model="model.f_approved_by"
|
26
|
-
style="width: 60%" placeholder="审核人" condition="f_approved_by like '%{}%'">
|
27
|
-
</div>
|
28
|
-
<div class="form-group col-sm-2">
|
29
|
-
<label class="font_normal_body">审核状态</label>
|
30
|
-
<v-select id="f_approved"
|
31
|
-
placeholder='审核状态' style="width: 60%"
|
32
|
-
v-model='model.f_approved'
|
33
|
-
:value.sync="model.f_approved"
|
34
|
-
:options='$parent.$parent.f_approval_states'
|
35
|
-
condition="f_approved = '{}'"
|
36
|
-
close-on-select clear-button></v-select>
|
37
|
-
</div>
|
38
|
-
<div class="col-sm-2 " style="width: auto; margin-top: 8px">
|
39
|
-
<button class="button_search button_spacing" @click="search">查询</button>
|
40
|
-
<export-excel :data="$parent.$parent.searchData"
|
41
|
-
:field="$parent.$parent.excelHeaders"
|
42
|
-
:choose-col="true"
|
43
|
-
sqlurl="api/af-safecheck/logic/
|
44
|
-
<!--<button class="button_new button_spacing" @click="$parent.$parent.verify()">审核</button>-->
|
45
|
-
<!--<button class="button_export button_spacing" @click="$parent.$parent.verifyAll()">一键审核</button>-->
|
46
|
-
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
<div class="row">
|
50
|
-
<div class="form-group col-sm-2">
|
51
|
-
<label class="font_normal_body">用户类型</label>
|
52
|
-
<v-select
|
53
|
-
placeholder='用户类型' style="width: 60%"
|
54
|
-
v-model='model.f_user_nature'
|
55
|
-
:value.sync="model.f_user_nature"
|
56
|
-
:options='$parent.$parent.f_user_nature_arr'
|
57
|
-
condition="ui.f_user_nature = '{}'"
|
58
|
-
close-on-select clear-button></v-select>
|
59
|
-
</div>
|
60
|
-
<div class="form-group col-sm-2">
|
61
|
-
<label class="font_normal_body">开始时间</label>
|
62
|
-
<datepicker
|
63
|
-
:value.sync="model.f_check_start"
|
64
|
-
placeholder='开始时间'
|
65
|
-
:disabled-days-of-week="[]" style="width: 60%"
|
66
|
-
:format="'yyyy-MM-dd'"
|
67
|
-
:show-rest-button="reset"
|
68
|
-
v-model = "model.f_check_start"
|
69
|
-
condition="f_time > ='{} 00:00:00'">
|
70
|
-
</datepicker>
|
71
|
-
</div>
|
72
|
-
<div class="form-group col-sm-2">
|
73
|
-
<label class="font_normal_body">结束时间</label>
|
74
|
-
<datepicker
|
75
|
-
:value.sync="model.f_check_end"
|
76
|
-
placeholder='结束时间'
|
77
|
-
:disabled-days-of-week="[]"
|
78
|
-
:format="'yyyy-MM-dd'" style="width: 60%"
|
79
|
-
:show-rest-button="reset"
|
80
|
-
v-model = "model.f_check_end"
|
81
|
-
condition="f_time <= '{} 23:59:59'">
|
82
|
-
</datepicker>
|
83
|
-
</div>
|
84
|
-
<div class="form-group col-sm-2">
|
85
|
-
<label class="font_normal_body">用户类型</label>
|
86
|
-
<v-select
|
87
|
-
placeholder='用户类型' style="width: 60%"
|
88
|
-
v-model='model.f_user_nature'
|
89
|
-
:value.sync="model.f_user_nature"
|
90
|
-
:options='$parent.$parent.f_user_nature_arr'
|
91
|
-
condition="ui.f_user_nature = '{}'"
|
92
|
-
close-on-select clear-button></v-select>
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
</criteria>
|
98
|
-
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
99
|
-
<template partial='head'>
|
100
|
-
<tr>
|
101
|
-
<!--<th><nobr></nobr></th>-->
|
102
|
-
<th><nobr>用户编号</nobr></th>
|
103
|
-
<th><nobr>用户类型</nobr></th>
|
104
|
-
<th><nobr>用户名称</nobr></th>
|
105
|
-
<th><nobr>提交人</nobr></th>
|
106
|
-
<th><nobr>提交时间</nobr></th>
|
107
|
-
<th><nobr>修改类型</nobr></th>
|
108
|
-
<th><nobr>备注</nobr></th>
|
109
|
-
<th><nobr>审核状态</nobr></th>
|
110
|
-
<th><nobr>审核人</nobr></th>
|
111
|
-
<th><nobr>审核时间</nobr></th>
|
112
|
-
<th><nobr>审核</nobr></th>
|
113
|
-
</tr>
|
114
|
-
</template>
|
115
|
-
<template partial='body'>
|
116
|
-
<!--<td style="text-align: center"><nobr><input type="checkbox" v-model="row.checked" v-bind:checked="row.checked" @click="$parent.$parent.$parent.addChecked(row)"></nobr></td>-->
|
117
|
-
<td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
118
|
-
<td style="text-align: center"><nobr>{{row.f_user_nature}}</nobr></td>
|
119
|
-
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
120
|
-
<td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
|
121
|
-
<td style="text-align: center"><nobr>{{row.f_time}}</nobr></td>
|
122
|
-
<td style="text-align: center"><nobr>{{row.f_modify_type}}</nobr></td>
|
123
|
-
<td style="text-align: center"><nobr>{{row.f_remark}}</nobr></td>
|
124
|
-
<td style="text-align: center"><nobr>{{row.f_approved}}</nobr></td>
|
125
|
-
<td style="text-align: center"><nobr>{{row.f_approved_by}}</nobr></td>
|
126
|
-
<td style="text-align: center"><nobr>{{row.f_approved_time}}</nobr></td>
|
127
|
-
<td style="text-align: center"><nobr>
|
128
|
-
<button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_approved == '未审核'">审核</button>
|
129
|
-
<button class="button_new-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_approved != '未审核'">查看</button>
|
130
|
-
</nobr></td>
|
131
|
-
</template>
|
132
|
-
</data-grid>
|
133
|
-
</criteria-paged>
|
134
|
-
<info-modify-modal v-show="showModal" :userinfome.sync="userInformation" :info.sync="info" ></info-modify-modal>
|
135
|
-
</div>
|
136
|
-
</template>
|
137
|
-
|
138
|
-
<script>
|
139
|
-
import { PagedList,HttpResetClass } from 'vue-client'
|
140
|
-
import * as Util from '../Util'
|
141
|
-
import Vue from 'vue'
|
142
|
-
import InfoModifyModal from "./InfoModifyModal";
|
143
|
-
|
144
|
-
export default {
|
145
|
-
components: {InfoModifyModal},
|
146
|
-
title: '档案审核',
|
147
|
-
data() {
|
148
|
-
let model = new PagedList('api/af-safecheck/sql/用户档案审核查询', 20, {
|
149
|
-
groupitem: '""', orderitem: '"f_time desc"', f_approved: 'this.f_approved[0]',filialestr:'this.filialestr'
|
150
|
-
})
|
151
|
-
model.filialestr = this.$login.f.orgid
|
152
|
-
model.f_archive_date = ''
|
153
|
-
model.f_approved = ['']
|
154
|
-
return {
|
155
|
-
searchData: {
|
156
|
-
condition: "1=1",
|
157
|
-
orderitem: "f_time desc",
|
158
|
-
groupitem: "",
|
159
|
-
f_approved: '',
|
160
|
-
filialestr: this.$login.f.orgid
|
161
|
-
},
|
162
|
-
excelHeaders: {
|
163
|
-
//searchData:searchData,
|
164
|
-
'f_userinfo_code': '客户编号',
|
165
|
-
'f_user_name': '客户姓名',
|
166
|
-
'f_user_nature':'用户类型',
|
167
|
-
'f_modifier':'提交人',
|
168
|
-
'f_time': '提交时间',
|
169
|
-
'f_modify_type': '修改类型',
|
170
|
-
'f_remark': '备注',
|
171
|
-
'f_approved': '审核状态',
|
172
|
-
'f_approved_by': '审核人',
|
173
|
-
'f_approved_time': '审核时间'
|
174
|
-
},
|
175
|
-
showModal: false,
|
176
|
-
model: model,
|
177
|
-
info: {},
|
178
|
-
userinfo:{},
|
179
|
-
context: {},
|
180
|
-
excessive:false,
|
181
|
-
userInformation:{},
|
182
|
-
f_user_nature_arr:this.$appdata.getParam('用户类型'),
|
183
|
-
f_approval_states:this.$appdata.getParam('审核状态'),
|
184
|
-
}
|
185
|
-
},
|
186
|
-
methods: {
|
187
|
-
selfSearch(args) {
|
188
|
-
this.searchData.condition = args.condition
|
189
|
-
this.model.search(args.condition, args.model, args.condValue)
|
190
|
-
},
|
191
|
-
search(args){
|
192
|
-
args += 'f_time= (select max(f_time) from t_modify_userinfo B where A.f_userinfoid = B.f_userinfoid)'
|
193
|
-
this.model.search(args)
|
194
|
-
},
|
195
|
-
change(row) {
|
196
|
-
//tag)
|
197
|
-
new HttpResetClass().load('post',`/api/af-revenue/logic/filemanage_getFilesDetail`, {
|
198
|
-
//f_userinfo_code:'12381344',
|
199
|
-
f_userinfo_id:row.f_userinfoid
|
200
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
201
|
-
//tag
|
202
|
-
//this.userInformation=res.data
|
203
|
-
this.$set('userInformation',res.data)
|
204
|
-
//tag
|
205
|
-
this.$set('info',row)
|
206
|
-
this.showModal = true
|
207
|
-
})
|
208
|
-
|
209
|
-
},
|
210
|
-
async todo(row){
|
211
|
-
let r = confirm("确认修改该资料?")
|
212
|
-
if(r) {
|
213
|
-
this.excessive=true
|
214
|
-
let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
|
215
|
-
//userinfoms.f_user_name=row.f_user_name
|
216
|
-
userinfoms.f_operator_record=row.f_modifier
|
217
|
-
userinfoms.f_operatorid_record=row.f_modifier_id
|
218
|
-
//userinfoms.f_remark=row.f_remark
|
219
|
-
//tag
|
220
|
-
if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
|
221
|
-
this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
|
222
|
-
}
|
223
|
-
if (row.f_defendcard){
|
224
|
-
this.userInformation.meterinfo[0].f_defendcard = row.f_defendcard
|
225
|
-
}
|
226
|
-
userinfoms.userfiles=[]
|
227
|
-
userinfoms.userfiles.push(this.userInformation.meterinfo[0])
|
228
|
-
userinfoms.f_orgid_record=null
|
229
|
-
userinfoms.f_orgname_record=null
|
230
|
-
userinfoms.f_depid_record=null
|
231
|
-
userinfoms.f_depname_record=null
|
232
|
-
let useraddressms=Object.assign({},this.userInformation.addressinfo)
|
233
|
-
useraddressms.f_pcd=row.f_pcd
|
234
|
-
useraddressms.f_pcd_id=row.f_pcd_id
|
235
|
-
useraddressms.f_street=row.f_street
|
236
|
-
useraddressms.f_street_id=row.f_street_id
|
237
|
-
useraddressms.f_residential_area=row.f_residential_area
|
238
|
-
useraddressms.f_residential_area_id=row.f_residential_area_id
|
239
|
-
useraddressms.f_building=row.f_building?row.f_building:null
|
240
|
-
useraddressms.f_building_id=row.f_building_id
|
241
|
-
useraddressms.f_unit=row.f_unit?row.f_unit:null
|
242
|
-
useraddressms.f_floor=row.f_floor?row.f_floor:null
|
243
|
-
useraddressms.f_room=row.f_room?row.f_room:null
|
244
|
-
useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
|
245
|
-
useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
|
246
|
-
useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
|
247
|
-
useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
|
248
|
-
//useraddressms.f_slice_area=row.f_slice_area
|
249
|
-
useraddressms.f_address=row.f_address
|
250
|
-
useraddressms.f_special=row.f_special
|
251
|
-
useraddressms.f_iscity=row.f_iscity
|
252
|
-
useraddressms.f_operator=row.f_modifier
|
253
|
-
useraddressms.f_operatorid=row.f_modifier_id
|
254
|
-
try{
|
255
|
-
let res1=await new HttpResetClass().load('POST','/api/af-safecheck/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})
|
256
|
-
//tag)
|
257
|
-
if(res1.data.status==200){
|
258
|
-
let res2=await new HttpResetClass().load('POST','/api/af-safecheck/logic/address_updateuseraddress', useraddressms,{resolveMsg: null, rejectMsg: null})
|
259
|
-
//tag)
|
260
|
-
if(res2.data.id){
|
261
|
-
//tag)
|
262
|
-
this.info.f_approved='已审核'
|
263
|
-
this.info.f_approved_by=this.$login.f.name
|
264
|
-
this.info.f_approved_time=Util.toStandardTimeString()
|
265
|
-
//tag)
|
266
|
-
let res3=await new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null})
|
267
|
-
//tag)
|
268
|
-
if(res3.data.code==200){
|
269
|
-
this.$showMessage("审核成功,用户信息已更新!")
|
270
|
-
this.excessive=false
|
271
|
-
}else{
|
272
|
-
this.$showMessage("审核失败!")
|
273
|
-
this.excessive=false
|
274
|
-
}
|
275
|
-
}else{
|
276
|
-
this.$showMessage("更新地址信息失败!")
|
277
|
-
this.excessive=false
|
278
|
-
}
|
279
|
-
}else{
|
280
|
-
this.$showMessage("修改用户信息失败!")
|
281
|
-
this.excessive=false
|
282
|
-
}
|
283
|
-
}catch(msg){
|
284
|
-
if( typeof msg == 'object' && msg.data){
|
285
|
-
this.$showMessage("修改用户信息失败!"+msg.data)
|
286
|
-
}else{
|
287
|
-
this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
|
288
|
-
}
|
289
|
-
this.excessive=false
|
290
|
-
}
|
291
|
-
}
|
292
|
-
},
|
293
|
-
isnull(val){
|
294
|
-
if(val == null){
|
295
|
-
return ''
|
296
|
-
}else{
|
297
|
-
return val
|
298
|
-
}
|
299
|
-
},
|
300
|
-
undo(row){
|
301
|
-
this.info.f_approved='未通过'
|
302
|
-
this.info.f_approved_by=this.$login.f.name
|
303
|
-
this.info.f_approved_time=Util.toStandardTimeString()
|
304
|
-
new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
|
305
|
-
//tag)
|
306
|
-
if(res3.data.code==200){
|
307
|
-
this.$showMessage("审核成功,审核结果:未通过!")
|
308
|
-
}else{
|
309
|
-
this.$showMessage("审核失败!")
|
310
|
-
}
|
311
|
-
})
|
312
|
-
|
313
|
-
}
|
314
|
-
}
|
315
|
-
}
|
316
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<work-busy :is-busy="excessive"></work-busy>
|
3
|
+
<div class="basic-main" style="height: 100%">
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
5
|
+
<criteria class="search_area" partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="form-group col-sm-2" >
|
9
|
+
<label class="font_normal_body">客户编号</label>
|
10
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
11
|
+
style="width: 60%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2" >
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
15
|
+
<input type="text" class="input_search" v-model="model.f_username"
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="ui.f_user_name like '%{}%'">
|
17
|
+
</div>
|
18
|
+
<div class="form-group col-sm-2" >
|
19
|
+
<label class="font_normal_body">提 交 人</label>
|
20
|
+
<input type="text" class="input_search" v-model="model.f_modifier"
|
21
|
+
style="width: 60%" placeholder="提交人" condition="f_modifier like '%{}%'">
|
22
|
+
</div>
|
23
|
+
<div class="form-group col-sm-2" >
|
24
|
+
<label class="font_normal_body">审 核 人</label>
|
25
|
+
<input type="text" class="input_search" v-model="model.f_approved_by"
|
26
|
+
style="width: 60%" placeholder="审核人" condition="f_approved_by like '%{}%'">
|
27
|
+
</div>
|
28
|
+
<div class="form-group col-sm-2">
|
29
|
+
<label class="font_normal_body">审核状态</label>
|
30
|
+
<v-select id="f_approved"
|
31
|
+
placeholder='审核状态' style="width: 60%"
|
32
|
+
v-model='model.f_approved'
|
33
|
+
:value.sync="model.f_approved"
|
34
|
+
:options='$parent.$parent.f_approval_states'
|
35
|
+
condition="f_approved = '{}'"
|
36
|
+
close-on-select clear-button></v-select>
|
37
|
+
</div>
|
38
|
+
<div class="col-sm-2 " style="width: auto; margin-top: 8px">
|
39
|
+
<button class="button_search button_spacing" @click="search">查询</button>
|
40
|
+
<export-excel :data="$parent.$parent.searchData"
|
41
|
+
:field="$parent.$parent.excelHeaders"
|
42
|
+
:choose-col="true"
|
43
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="用户档案审核查询" template-name='用户档案审核查询'></export-excel>
|
44
|
+
<!--<button class="button_new button_spacing" @click="$parent.$parent.verify()">审核</button>-->
|
45
|
+
<!--<button class="button_export button_spacing" @click="$parent.$parent.verifyAll()">一键审核</button>-->
|
46
|
+
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
<div class="row">
|
50
|
+
<div class="form-group col-sm-2">
|
51
|
+
<label class="font_normal_body">用户类型</label>
|
52
|
+
<v-select
|
53
|
+
placeholder='用户类型' style="width: 60%"
|
54
|
+
v-model='model.f_user_nature'
|
55
|
+
:value.sync="model.f_user_nature"
|
56
|
+
:options='$parent.$parent.f_user_nature_arr'
|
57
|
+
condition="ui.f_user_nature = '{}'"
|
58
|
+
close-on-select clear-button></v-select>
|
59
|
+
</div>
|
60
|
+
<div class="form-group col-sm-2">
|
61
|
+
<label class="font_normal_body">开始时间</label>
|
62
|
+
<datepicker
|
63
|
+
:value.sync="model.f_check_start"
|
64
|
+
placeholder='开始时间'
|
65
|
+
:disabled-days-of-week="[]" style="width: 60%"
|
66
|
+
:format="'yyyy-MM-dd'"
|
67
|
+
:show-rest-button="reset"
|
68
|
+
v-model = "model.f_check_start"
|
69
|
+
condition="f_time > ='{} 00:00:00'">
|
70
|
+
</datepicker>
|
71
|
+
</div>
|
72
|
+
<div class="form-group col-sm-2">
|
73
|
+
<label class="font_normal_body">结束时间</label>
|
74
|
+
<datepicker
|
75
|
+
:value.sync="model.f_check_end"
|
76
|
+
placeholder='结束时间'
|
77
|
+
:disabled-days-of-week="[]"
|
78
|
+
:format="'yyyy-MM-dd'" style="width: 60%"
|
79
|
+
:show-rest-button="reset"
|
80
|
+
v-model = "model.f_check_end"
|
81
|
+
condition="f_time <= '{} 23:59:59'">
|
82
|
+
</datepicker>
|
83
|
+
</div>
|
84
|
+
<div class="form-group col-sm-2">
|
85
|
+
<label class="font_normal_body">用户类型</label>
|
86
|
+
<v-select
|
87
|
+
placeholder='用户类型' style="width: 60%"
|
88
|
+
v-model='model.f_user_nature'
|
89
|
+
:value.sync="model.f_user_nature"
|
90
|
+
:options='$parent.$parent.f_user_nature_arr'
|
91
|
+
condition="ui.f_user_nature = '{}'"
|
92
|
+
close-on-select clear-button></v-select>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
</criteria>
|
98
|
+
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
99
|
+
<template partial='head'>
|
100
|
+
<tr>
|
101
|
+
<!--<th><nobr></nobr></th>-->
|
102
|
+
<th><nobr>用户编号</nobr></th>
|
103
|
+
<th><nobr>用户类型</nobr></th>
|
104
|
+
<th><nobr>用户名称</nobr></th>
|
105
|
+
<th><nobr>提交人</nobr></th>
|
106
|
+
<th><nobr>提交时间</nobr></th>
|
107
|
+
<th><nobr>修改类型</nobr></th>
|
108
|
+
<th><nobr>备注</nobr></th>
|
109
|
+
<th><nobr>审核状态</nobr></th>
|
110
|
+
<th><nobr>审核人</nobr></th>
|
111
|
+
<th><nobr>审核时间</nobr></th>
|
112
|
+
<th><nobr>审核</nobr></th>
|
113
|
+
</tr>
|
114
|
+
</template>
|
115
|
+
<template partial='body'>
|
116
|
+
<!--<td style="text-align: center"><nobr><input type="checkbox" v-model="row.checked" v-bind:checked="row.checked" @click="$parent.$parent.$parent.addChecked(row)"></nobr></td>-->
|
117
|
+
<td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
118
|
+
<td style="text-align: center"><nobr>{{row.f_user_nature}}</nobr></td>
|
119
|
+
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
120
|
+
<td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
|
121
|
+
<td style="text-align: center"><nobr>{{row.f_time}}</nobr></td>
|
122
|
+
<td style="text-align: center"><nobr>{{row.f_modify_type}}</nobr></td>
|
123
|
+
<td style="text-align: center"><nobr>{{row.f_remark}}</nobr></td>
|
124
|
+
<td style="text-align: center"><nobr>{{row.f_approved}}</nobr></td>
|
125
|
+
<td style="text-align: center"><nobr>{{row.f_approved_by}}</nobr></td>
|
126
|
+
<td style="text-align: center"><nobr>{{row.f_approved_time}}</nobr></td>
|
127
|
+
<td style="text-align: center"><nobr>
|
128
|
+
<button class="button_search-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_approved == '未审核'">审核</button>
|
129
|
+
<button class="button_new-1 button_spacing" @click="$parent.$parent.$parent.change(row)" v-if="row.f_approved != '未审核'">查看</button>
|
130
|
+
</nobr></td>
|
131
|
+
</template>
|
132
|
+
</data-grid>
|
133
|
+
</criteria-paged>
|
134
|
+
<info-modify-modal v-show="showModal" :userinfome.sync="userInformation" :info.sync="info" ></info-modify-modal>
|
135
|
+
</div>
|
136
|
+
</template>
|
137
|
+
|
138
|
+
<script>
|
139
|
+
import { PagedList,HttpResetClass } from 'vue-client'
|
140
|
+
import * as Util from '../Util'
|
141
|
+
import Vue from 'vue'
|
142
|
+
import InfoModifyModal from "./InfoModifyModal";
|
143
|
+
|
144
|
+
export default {
|
145
|
+
components: {InfoModifyModal},
|
146
|
+
title: '档案审核',
|
147
|
+
data() {
|
148
|
+
let model = new PagedList('api/af-safecheck/sql/用户档案审核查询', 20, {
|
149
|
+
groupitem: '""', orderitem: '"f_time desc"', f_approved: 'this.f_approved[0]',filialestr:'this.filialestr'
|
150
|
+
})
|
151
|
+
model.filialestr = this.$login.f.orgid
|
152
|
+
model.f_archive_date = ''
|
153
|
+
model.f_approved = ['']
|
154
|
+
return {
|
155
|
+
searchData: {
|
156
|
+
condition: "1=1",
|
157
|
+
orderitem: "f_time desc",
|
158
|
+
groupitem: "",
|
159
|
+
f_approved: '',
|
160
|
+
filialestr: this.$login.f.orgid
|
161
|
+
},
|
162
|
+
excelHeaders: {
|
163
|
+
//searchData:searchData,
|
164
|
+
'f_userinfo_code': '客户编号',
|
165
|
+
'f_user_name': '客户姓名',
|
166
|
+
'f_user_nature':'用户类型',
|
167
|
+
'f_modifier':'提交人',
|
168
|
+
'f_time': '提交时间',
|
169
|
+
'f_modify_type': '修改类型',
|
170
|
+
'f_remark': '备注',
|
171
|
+
'f_approved': '审核状态',
|
172
|
+
'f_approved_by': '审核人',
|
173
|
+
'f_approved_time': '审核时间'
|
174
|
+
},
|
175
|
+
showModal: false,
|
176
|
+
model: model,
|
177
|
+
info: {},
|
178
|
+
userinfo:{},
|
179
|
+
context: {},
|
180
|
+
excessive:false,
|
181
|
+
userInformation:{},
|
182
|
+
f_user_nature_arr:this.$appdata.getParam('用户类型'),
|
183
|
+
f_approval_states:this.$appdata.getParam('审核状态'),
|
184
|
+
}
|
185
|
+
},
|
186
|
+
methods: {
|
187
|
+
selfSearch(args) {
|
188
|
+
this.searchData.condition = args.condition
|
189
|
+
this.model.search(args.condition, args.model, args.condValue)
|
190
|
+
},
|
191
|
+
search(args){
|
192
|
+
args += 'f_time= (select max(f_time) from t_modify_userinfo B where A.f_userinfoid = B.f_userinfoid)'
|
193
|
+
this.model.search(args)
|
194
|
+
},
|
195
|
+
change(row) {
|
196
|
+
//tag)
|
197
|
+
new HttpResetClass().load('post',`/api/af-revenue/logic/filemanage_getFilesDetail`, {
|
198
|
+
//f_userinfo_code:'12381344',
|
199
|
+
f_userinfo_id:row.f_userinfoid
|
200
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
201
|
+
//tag
|
202
|
+
//this.userInformation=res.data
|
203
|
+
this.$set('userInformation',res.data)
|
204
|
+
//tag
|
205
|
+
this.$set('info',row)
|
206
|
+
this.showModal = true
|
207
|
+
})
|
208
|
+
|
209
|
+
},
|
210
|
+
async todo(row){
|
211
|
+
let r = confirm("确认修改该资料?")
|
212
|
+
if(r) {
|
213
|
+
this.excessive=true
|
214
|
+
let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
|
215
|
+
//userinfoms.f_user_name=row.f_user_name
|
216
|
+
userinfoms.f_operator_record=row.f_modifier
|
217
|
+
userinfoms.f_operatorid_record=row.f_modifier_id
|
218
|
+
//userinfoms.f_remark=row.f_remark
|
219
|
+
//tag
|
220
|
+
if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
|
221
|
+
this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
|
222
|
+
}
|
223
|
+
if (row.f_defendcard){
|
224
|
+
this.userInformation.meterinfo[0].f_defendcard = row.f_defendcard
|
225
|
+
}
|
226
|
+
userinfoms.userfiles=[]
|
227
|
+
userinfoms.userfiles.push(this.userInformation.meterinfo[0])
|
228
|
+
userinfoms.f_orgid_record=null
|
229
|
+
userinfoms.f_orgname_record=null
|
230
|
+
userinfoms.f_depid_record=null
|
231
|
+
userinfoms.f_depname_record=null
|
232
|
+
let useraddressms=Object.assign({},this.userInformation.addressinfo)
|
233
|
+
useraddressms.f_pcd=row.f_pcd
|
234
|
+
useraddressms.f_pcd_id=row.f_pcd_id
|
235
|
+
useraddressms.f_street=row.f_street
|
236
|
+
useraddressms.f_street_id=row.f_street_id
|
237
|
+
useraddressms.f_residential_area=row.f_residential_area
|
238
|
+
useraddressms.f_residential_area_id=row.f_residential_area_id
|
239
|
+
useraddressms.f_building=row.f_building?row.f_building:null
|
240
|
+
useraddressms.f_building_id=row.f_building_id
|
241
|
+
useraddressms.f_unit=row.f_unit?row.f_unit:null
|
242
|
+
useraddressms.f_floor=row.f_floor?row.f_floor:null
|
243
|
+
useraddressms.f_room=row.f_room?row.f_room:null
|
244
|
+
useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
|
245
|
+
useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
|
246
|
+
useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
|
247
|
+
useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
|
248
|
+
//useraddressms.f_slice_area=row.f_slice_area
|
249
|
+
useraddressms.f_address=row.f_address
|
250
|
+
useraddressms.f_special=row.f_special
|
251
|
+
useraddressms.f_iscity=row.f_iscity
|
252
|
+
useraddressms.f_operator=row.f_modifier
|
253
|
+
useraddressms.f_operatorid=row.f_modifier_id
|
254
|
+
try{
|
255
|
+
let res1=await new HttpResetClass().load('POST','/api/af-safecheck/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})
|
256
|
+
//tag)
|
257
|
+
if(res1.data.status==200){
|
258
|
+
let res2=await new HttpResetClass().load('POST','/api/af-safecheck/logic/address_updateuseraddress', useraddressms,{resolveMsg: null, rejectMsg: null})
|
259
|
+
//tag)
|
260
|
+
if(res2.data.id){
|
261
|
+
//tag)
|
262
|
+
this.info.f_approved='已审核'
|
263
|
+
this.info.f_approved_by=this.$login.f.name
|
264
|
+
this.info.f_approved_time=Util.toStandardTimeString()
|
265
|
+
//tag)
|
266
|
+
let res3=await new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null})
|
267
|
+
//tag)
|
268
|
+
if(res3.data.code==200){
|
269
|
+
this.$showMessage("审核成功,用户信息已更新!")
|
270
|
+
this.excessive=false
|
271
|
+
}else{
|
272
|
+
this.$showMessage("审核失败!")
|
273
|
+
this.excessive=false
|
274
|
+
}
|
275
|
+
}else{
|
276
|
+
this.$showMessage("更新地址信息失败!")
|
277
|
+
this.excessive=false
|
278
|
+
}
|
279
|
+
}else{
|
280
|
+
this.$showMessage("修改用户信息失败!")
|
281
|
+
this.excessive=false
|
282
|
+
}
|
283
|
+
}catch(msg){
|
284
|
+
if( typeof msg == 'object' && msg.data){
|
285
|
+
this.$showMessage("修改用户信息失败!"+msg.data)
|
286
|
+
}else{
|
287
|
+
this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
|
288
|
+
}
|
289
|
+
this.excessive=false
|
290
|
+
}
|
291
|
+
}
|
292
|
+
},
|
293
|
+
isnull(val){
|
294
|
+
if(val == null){
|
295
|
+
return ''
|
296
|
+
}else{
|
297
|
+
return val
|
298
|
+
}
|
299
|
+
},
|
300
|
+
undo(row){
|
301
|
+
this.info.f_approved='未通过'
|
302
|
+
this.info.f_approved_by=this.$login.f.name
|
303
|
+
this.info.f_approved_time=Util.toStandardTimeString()
|
304
|
+
new HttpResetClass().load('POST','/api/af-safecheck/logic/SaveEntity', {data:{row:this.info,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
|
305
|
+
//tag)
|
306
|
+
if(res3.data.code==200){
|
307
|
+
this.$showMessage("审核成功,审核结果:未通过!")
|
308
|
+
}else{
|
309
|
+
this.$showMessage("审核失败!")
|
310
|
+
}
|
311
|
+
})
|
312
|
+
|
313
|
+
}
|
314
|
+
}
|
315
|
+
}
|
316
|
+
</script>
|