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,431 +1,431 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="flex-row">
|
3
|
-
<div class="basic-main">
|
4
|
-
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
5
|
-
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
-
<div class="row">
|
8
|
-
<div class="col-sm-4" style="width: 20%">
|
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="f_userinfo_code='{}'">
|
12
|
-
</div>
|
13
|
-
<div class="col-sm-4" style="width: 20%">
|
14
|
-
<label class="font_normal_body">客户名称</label>
|
15
|
-
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
|
-
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
|
-
</div>
|
18
|
-
<div class="col-sm-4" style="width: 20%">
|
19
|
-
<label class="font_normal_body">客户电话</label>
|
20
|
-
<input type="text" class="input_search" v-model="model.f_user_phone"
|
21
|
-
style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
|
22
|
-
</div>
|
23
|
-
<div class="col-sm-4" style="width: 20%">
|
24
|
-
<label class="font_normal_body">安检计划</label>
|
25
|
-
<input type="text" class="input_search" v-model="$parent.$parent.model.f_check_plan.f_plan_name"
|
26
|
-
@click="$parent.$parent.showChooser"
|
27
|
-
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
28
|
-
</div>
|
29
|
-
<div class="col-sm-4" style="width: auto;margin-top:8px;float: right">
|
30
|
-
<export-excel :data="$parent.$parent.searchData"
|
31
|
-
:field="$parent.$parent.excelHeaders"
|
32
|
-
sqlurl="api/af-safecheck/logic/
|
33
|
-
<button class="button_spacing button_search" @click="search()">查询</button>
|
34
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
39
|
-
<label class="font_normal_body">安检状态</label>
|
40
|
-
<v-select id="f_entry"
|
41
|
-
class="select_list select"
|
42
|
-
placeholder='安检状态' style="width: 60%"
|
43
|
-
v-model='model.f_entry'
|
44
|
-
:value.sync="$parent.$parent.model.f_entry"
|
45
|
-
:options='$parent.$parent.f_entry_status'
|
46
|
-
condition=""
|
47
|
-
:value-single="true"
|
48
|
-
close-on-select clear-button></v-select>
|
49
|
-
</div>
|
50
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
51
|
-
<label class="font_normal_body">入户起始</label>
|
52
|
-
<datepicker
|
53
|
-
class="select_list select"
|
54
|
-
:value.sync="model.f_check_start"
|
55
|
-
placeholder='开始时间' style="width: 60%"
|
56
|
-
:disabled-days-of-week="[]"
|
57
|
-
:format="'yyyy-MM-dd'"
|
58
|
-
:show-rest-button="reset"
|
59
|
-
v-model="model.f_check_start"
|
60
|
-
condition="f_offsite_time > ='{} 00:00:00'">
|
61
|
-
</datepicker>
|
62
|
-
</div>
|
63
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
64
|
-
<label class="font_normal_body">入户截止</label>
|
65
|
-
<datepicker
|
66
|
-
:value.sync="model.f_check_end"
|
67
|
-
placeholder='结束时间' style="width: 60%"
|
68
|
-
:disabled-days-of-week="[]"
|
69
|
-
:format="'yyyy-MM-dd'"
|
70
|
-
:show-rest-button="reset"
|
71
|
-
v-model="model.f_check_end"
|
72
|
-
condition="f_offsite_time <= '{} 23:59:59'">
|
73
|
-
</datepicker>
|
74
|
-
</div>
|
75
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
76
|
-
<label class="font_normal_body">安 检 员</label>
|
77
|
-
<v-select :value.sync="model.f_checker_id" v-model='model.f_checker_id'
|
78
|
-
:value-single="true" style="width: 60%"
|
79
|
-
class="select_list select"
|
80
|
-
:options='$parent.$parent.checkersid' placeholder='安检员'
|
81
|
-
close-on-select
|
82
|
-
condition="f_checker_id = '{}'"></v-select>
|
83
|
-
</div>
|
84
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
85
|
-
<label class="font_normal_body">所属区域</label>
|
86
|
-
<v-select :value.sync="model.f_street" v-model='model.f_street'
|
87
|
-
:value-single="true" style="width: 60%"
|
88
|
-
class="select_list select"
|
89
|
-
:options='$parent.$parent.streets' placeholder='所属区域'
|
90
|
-
close-on-select
|
91
|
-
condition="f_street = '{}'"></v-select>
|
92
|
-
</div>
|
93
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
94
|
-
<label class="font_normal_body">计划类型</label>
|
95
|
-
<v-select :value.sync="model.f_no_checkplan" v-model='model.f_no_checkplan'
|
96
|
-
:value-single="true" style="width: 60%"
|
97
|
-
class="select_list select"
|
98
|
-
:options='$parent.$parent.planTypes' placeholder='计划类型'
|
99
|
-
close-on-select
|
100
|
-
condition="f_no_checkplan = '{}'"></v-select>
|
101
|
-
</div>
|
102
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
103
|
-
<label class="font_normal_body">上传起始</label>
|
104
|
-
<datepicker
|
105
|
-
class="select_list select"
|
106
|
-
:value.sync="model.f_check_start1"
|
107
|
-
placeholder='开始时间' style="width: 60%"
|
108
|
-
:disabled-days-of-week="[]"
|
109
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
110
|
-
:show-rest-button="reset"
|
111
|
-
v-model="model.f_check_start1"
|
112
|
-
condition="f_upload_date > ='{}'">
|
113
|
-
</datepicker>
|
114
|
-
</div>
|
115
|
-
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
116
|
-
<label class="font_normal_body">上传截止</label>
|
117
|
-
<datepicker
|
118
|
-
:value.sync="model.f_check_end1"
|
119
|
-
placeholder='结束时间' style="width: 60%"
|
120
|
-
:disabled-days-of-week="[]"
|
121
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
122
|
-
:show-rest-button="reset"
|
123
|
-
v-model="model.f_check_end1"
|
124
|
-
condition="f_upload_date <= '{}'">
|
125
|
-
</datepicker>
|
126
|
-
</div>
|
127
|
-
<modal :show.sync="$parent.$parent.showModal" v-ref:modal>
|
128
|
-
<div slot="modal-header" class="modal-header">
|
129
|
-
<h4 class="modal-title">
|
130
|
-
选择计划
|
131
|
-
</h4>
|
132
|
-
</div>
|
133
|
-
<div slot="modal-body" class="modal-body">
|
134
|
-
<plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
|
135
|
-
</div>
|
136
|
-
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
137
|
-
<button class="button_search" @click="$parent.$parent.ok">确认</button>
|
138
|
-
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
139
|
-
</div>
|
140
|
-
</modal>
|
141
|
-
</div>
|
142
|
-
</criteria>
|
143
|
-
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid >
|
144
|
-
<template partial='head'>
|
145
|
-
<tr>
|
146
|
-
<th><nobr>客户编号</nobr></th>
|
147
|
-
<th><nobr>客户名称</nobr></th>
|
148
|
-
<th><nobr>客户类型</nobr></th>
|
149
|
-
<th><data-order field="f_address" name="客户地址"></data-order></th>
|
150
|
-
<th><nobr>安检状态</nobr></th>
|
151
|
-
<th><data-order field="f_onsite_time" name="入户时间"></data-order></th>
|
152
|
-
<th><nobr>上传时间</nobr></th>
|
153
|
-
<th><nobr>安检员</nobr></th>
|
154
|
-
<th><nobr>计划类型</nobr></th>
|
155
|
-
<th><nobr>操作</nobr></th>
|
156
|
-
</tr>
|
157
|
-
</template>
|
158
|
-
<template partial='body'>
|
159
|
-
|
160
|
-
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
161
|
-
<td style="text-align: center">{{row.f_user_name}}</td>
|
162
|
-
<td style="text-align: center">{{row.f_check_type}}</td>
|
163
|
-
<td style="text-align: center">{{row.f_address}}</td>
|
164
|
-
<td style="text-align: center">{{row.f_entry_status}}</td>
|
165
|
-
<td style="text-align: center">{{row.f_onsite_time}}</td>
|
166
|
-
<td style="text-align: center">{{row.f_upload_date}}</td>
|
167
|
-
<td style="text-align: center">{{row.f_checker_name}}</td>
|
168
|
-
<td style="text-align: center">{{row.f_no_checkplan}}</td>
|
169
|
-
<td style="text-align: center">
|
170
|
-
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
171
|
-
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
172
|
-
@click="$parent.$parent.$parent.print(row)">
|
173
|
-
打印
|
174
|
-
</button>-->
|
175
|
-
</td>
|
176
|
-
</template>
|
177
|
-
</data-grid>
|
178
|
-
</criteria-paged>
|
179
|
-
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
180
|
-
</div>
|
181
|
-
</div>
|
182
|
-
</template>
|
183
|
-
|
184
|
-
<script>
|
185
|
-
import {PagedList} from 'vue-client'
|
186
|
-
import Vue from 'vue'
|
187
|
-
import co from 'co'
|
188
|
-
import AppData from '../../stores/AppData'
|
189
|
-
import * as Util from '../Util'
|
190
|
-
import getNowDate from "../../utils/getNowDate";
|
191
|
-
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
192
|
-
|
193
|
-
//获取json配置文件
|
194
|
-
let asyncReady = async function (self) {
|
195
|
-
// 获取配置信息
|
196
|
-
try {
|
197
|
-
let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
198
|
-
Vue.config = res.data
|
199
|
-
} catch (error) {
|
200
|
-
// 忽略704,文件找不到异常R
|
201
|
-
if (error.status !== 704) {
|
202
|
-
throw error
|
203
|
-
}
|
204
|
-
}
|
205
|
-
}
|
206
|
-
|
207
|
-
let select = function* (self) {
|
208
|
-
let http = new HttpResetClass()
|
209
|
-
let getGasman = yield http.load('POST','/rs/search', {
|
210
|
-
source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
|
211
|
-
userid: self.$login.f.id
|
212
|
-
}, {resolveMsg: null, rejectMsg: null})
|
213
|
-
//tag
|
214
|
-
self.checkersid.push({label: '全部', value: ''})
|
215
|
-
getGasman.data.forEach((checker) => {
|
216
|
-
self.checkersid.push({label: checker.name, value: checker.id})
|
217
|
-
})
|
218
|
-
}
|
219
|
-
|
220
|
-
export default {
|
221
|
-
title: '非民用安检结果查看',
|
222
|
-
data() {
|
223
|
-
let model = new PagedList('api/af-safecheck/sql/查找安检单', 20, {
|
224
|
-
f_plan_id: 'this.f_plan_id',
|
225
|
-
f_approved: 'this.f_approved',
|
226
|
-
f_entry_status: 'this.f_entry',
|
227
|
-
f_no_checkplan: 'this.f_no_checkplan',
|
228
|
-
f_filialeid: 'this.f_filialeid',
|
229
|
-
f_street: 'this.f_street',
|
230
|
-
orderitem: "'f_offsite_time desc'"
|
231
|
-
})
|
232
|
-
model.f_plan_id = ''
|
233
|
-
model.f_approved = ''
|
234
|
-
model.f_entry = ''
|
235
|
-
model.f_no_checkplan = ''
|
236
|
-
model.f_filialeid = this.$login.f.orgid
|
237
|
-
model.f_user_type='非民用'
|
238
|
-
// let searchData={
|
239
|
-
// f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
|
240
|
-
// f_approved: this.model.f_approved,
|
241
|
-
// f_entry_status: this.model.f_entry,
|
242
|
-
// f_no_checkplan:this.model.f_no_checkplan[0],
|
243
|
-
// f_filialeid: this.model.f_filialeid,
|
244
|
-
// //orderitem: this.model.f_offsite_time,
|
245
|
-
// //condition:this.model.condition
|
246
|
-
// }
|
247
|
-
// model.f_subcompany = this.$login.f.f_fengongsi
|
248
|
-
return {
|
249
|
-
searchData: {
|
250
|
-
condition:"f_check_type='非民用'",
|
251
|
-
orderitem: "f_offsite_time desc",
|
252
|
-
f_plan_id: "",
|
253
|
-
f_approved: '',
|
254
|
-
f_entry_status: '',
|
255
|
-
f_no_checkplan: '',
|
256
|
-
f_filialeid:this.$login.f.orgid
|
257
|
-
},
|
258
|
-
model: model,
|
259
|
-
streets:[],
|
260
|
-
planTypes:[{label:"全部",value:""},{label:"有计划安检",value:"有计划安检"},{label:"无计划安检",value:"无计划安检"}],
|
261
|
-
//searchData:searchData,
|
262
|
-
excelHeaders: {
|
263
|
-
'f_userinfo_code': '客户编号',
|
264
|
-
'f_user_name': '客户姓名',
|
265
|
-
'f_check_type': '客户类型',
|
266
|
-
'f_address': '客户地址',
|
267
|
-
'f_entry_status':'安检状态',
|
268
|
-
'f_offsite_time':'安检时间',
|
269
|
-
'f_checker_name': '安检员'
|
270
|
-
},
|
271
|
-
fun: this.$login.f,
|
272
|
-
checkersid: [],
|
273
|
-
streets:[],
|
274
|
-
safetype:[{label:"全部",value:""},
|
275
|
-
{label:"送气",value:"送气类型"},
|
276
|
-
{label:"年度普检",value:"年度普检"}],
|
277
|
-
criteriaShow:false,
|
278
|
-
showModal: false,
|
279
|
-
f_approval_states: this.$appdata.getParam('安检单审核状态'),
|
280
|
-
f_entry_status: this.$appdata.getParam('安检状态'),
|
281
|
-
f_checkplans: this.$appdata.getParam('有无计划'),
|
282
|
-
showcheckmsg: false,
|
283
|
-
checkInfo: {},
|
284
|
-
orderDefault: "'f_offsite_time'",
|
285
|
-
orderFields: {
|
286
|
-
f_offsite_time: 'no'
|
287
|
-
},
|
288
|
-
}
|
289
|
-
},
|
290
|
-
methods: {
|
291
|
-
|
292
|
-
change(row) {
|
293
|
-
//Vue.$login = {jwt: row.f_checker_id}
|
294
|
-
asyncReady(this).then(() => {
|
295
|
-
row.f_upload_state = '已传'
|
296
|
-
if (row.f_check_type == '民用') {
|
297
|
-
this.$goto('paper-message', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
298
|
-
} else {
|
299
|
-
this.$goto('paper-message-nocivil', {
|
300
|
-
f_plan_id: row.f_check_plan_id,
|
301
|
-
item: row,
|
302
|
-
role: 'view'
|
303
|
-
}, 'self')
|
304
|
-
}
|
305
|
-
}).catch(
|
306
|
-
(respanse) => {
|
307
|
-
alert('获取配置文件失败')
|
308
|
-
})
|
309
|
-
},
|
310
|
-
readConfig() {
|
311
|
-
let gen = asyncReady(this)
|
312
|
-
return co(gen)
|
313
|
-
},
|
314
|
-
showChooser() {
|
315
|
-
this.showModal = true
|
316
|
-
},
|
317
|
-
hidden(){
|
318
|
-
this.criteriaShow=!this.criteriaShow
|
319
|
-
},
|
320
|
-
refresh() {
|
321
|
-
this.$refs.paged.$refs.criteria.search()
|
322
|
-
},
|
323
|
-
ok() {
|
324
|
-
this.showModal = false
|
325
|
-
if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
|
326
|
-
this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
|
327
|
-
}
|
328
|
-
},
|
329
|
-
cancel() {
|
330
|
-
this.showModal = false
|
331
|
-
this.model.f_check_plan = {f_plan_name: '', id: ''}
|
332
|
-
},
|
333
|
-
print(row) {
|
334
|
-
this.showcheckmsg = true
|
335
|
-
this.checkInfo = row
|
336
|
-
},
|
337
|
-
sort (field, rule) {
|
338
|
-
// 将所有排序方式设为不排序,实现相互排斥
|
339
|
-
for (let key in this.orderFields) {
|
340
|
-
if (key === field) {
|
341
|
-
this.orderFields[key] = rule
|
342
|
-
} else {
|
343
|
-
this.orderFields[key] = 'no'
|
344
|
-
}
|
345
|
-
}
|
346
|
-
// 如果新规则不排序,还原为默认排序
|
347
|
-
if (rule === 'no') {
|
348
|
-
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
349
|
-
} else {
|
350
|
-
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
351
|
-
}
|
352
|
-
this.search()
|
353
|
-
},
|
354
|
-
search() {
|
355
|
-
this.$refs.paged.$refs.criteria.search()
|
356
|
-
},
|
357
|
-
selfSearch(args){
|
358
|
-
//tag
|
359
|
-
args.condition+=" and f_check_type='非民用' and f_safecheck_type='年度普检'"
|
360
|
-
this.model.search(args.condition, args.model, args.condValue)
|
361
|
-
},
|
362
|
-
//初始化街道 添加小区
|
363
|
-
async initstreets(){
|
364
|
-
this.streetslist = []
|
365
|
-
let HttpReset = new HttpResetClass()
|
366
|
-
let req = await HttpReset.load('POST', 'api/af-safecheck/sql/address_singleTableOrderBy', {
|
367
|
-
data: {
|
368
|
-
items: '*',
|
369
|
-
tablename: 't_street',
|
370
|
-
orderitem: 'id',
|
371
|
-
condition: `f_orgid = '${this.$login.f.orgid}'`
|
372
|
-
}
|
373
|
-
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
374
|
-
let redata = []
|
375
|
-
req.data.forEach((row, n) => {
|
376
|
-
redata[n] = {
|
377
|
-
label: row.f_street,
|
378
|
-
value: row.f_street,
|
379
|
-
data:row,
|
380
|
-
id:row.id
|
381
|
-
}
|
382
|
-
})
|
383
|
-
this.streets=redata
|
384
|
-
}
|
385
|
-
},
|
386
|
-
ready() {
|
387
|
-
//tag
|
388
|
-
this.function = this.f
|
389
|
-
//tag
|
390
|
-
|
391
|
-
let gen = select(this)
|
392
|
-
co(gen)
|
393
|
-
this.initstreets()
|
394
|
-
},
|
395
|
-
watch: {
|
396
|
-
'model.f_no_checkplan'(val) {
|
397
|
-
if (this.model.f_no_checkplan == '有计划安检') {
|
398
|
-
this.showChooser()
|
399
|
-
}
|
400
|
-
},
|
401
|
-
'model.condition'(val) {
|
402
|
-
if(val){
|
403
|
-
this.searchData.condition = val
|
404
|
-
}
|
405
|
-
|
406
|
-
},
|
407
|
-
'model.f_entry'(val) {
|
408
|
-
if(val){
|
409
|
-
this.searchData.f_entry_status = val
|
410
|
-
|
411
|
-
}
|
412
|
-
},
|
413
|
-
'model.f_plan_id'(val) {
|
414
|
-
if(val){
|
415
|
-
this.searchData.f_plan_id = val
|
416
|
-
}
|
417
|
-
},
|
418
|
-
'model.f_approved'(val) {
|
419
|
-
if(val){
|
420
|
-
this.searchData.f_approved = val
|
421
|
-
}
|
422
|
-
},
|
423
|
-
'model.f_no_checkplan'(val) {
|
424
|
-
if(val){
|
425
|
-
this.searchData.f_no_checkplan = val
|
426
|
-
}
|
427
|
-
},
|
428
|
-
}
|
429
|
-
|
430
|
-
}
|
431
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-4" style="width: 20%">
|
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="f_userinfo_code='{}'">
|
12
|
+
</div>
|
13
|
+
<div class="col-sm-4" style="width: 20%">
|
14
|
+
<label class="font_normal_body">客户名称</label>
|
15
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
|
+
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
|
+
</div>
|
18
|
+
<div class="col-sm-4" style="width: 20%">
|
19
|
+
<label class="font_normal_body">客户电话</label>
|
20
|
+
<input type="text" class="input_search" v-model="model.f_user_phone"
|
21
|
+
style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
|
22
|
+
</div>
|
23
|
+
<div class="col-sm-4" style="width: 20%">
|
24
|
+
<label class="font_normal_body">安检计划</label>
|
25
|
+
<input type="text" class="input_search" v-model="$parent.$parent.model.f_check_plan.f_plan_name"
|
26
|
+
@click="$parent.$parent.showChooser"
|
27
|
+
style="width: 60%" placeholder="安检计划" readonly="readonly">
|
28
|
+
</div>
|
29
|
+
<div class="col-sm-4" style="width: auto;margin-top:8px;float: right">
|
30
|
+
<export-excel :data="$parent.$parent.searchData"
|
31
|
+
:field="$parent.$parent.excelHeaders"
|
32
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="查找安检单" template-name='安检计划明细'></export-excel>
|
33
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
34
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
39
|
+
<label class="font_normal_body">安检状态</label>
|
40
|
+
<v-select id="f_entry"
|
41
|
+
class="select_list select"
|
42
|
+
placeholder='安检状态' style="width: 60%"
|
43
|
+
v-model='model.f_entry'
|
44
|
+
:value.sync="$parent.$parent.model.f_entry"
|
45
|
+
:options='$parent.$parent.f_entry_status'
|
46
|
+
condition=""
|
47
|
+
:value-single="true"
|
48
|
+
close-on-select clear-button></v-select>
|
49
|
+
</div>
|
50
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
51
|
+
<label class="font_normal_body">入户起始</label>
|
52
|
+
<datepicker
|
53
|
+
class="select_list select"
|
54
|
+
:value.sync="model.f_check_start"
|
55
|
+
placeholder='开始时间' style="width: 60%"
|
56
|
+
:disabled-days-of-week="[]"
|
57
|
+
:format="'yyyy-MM-dd'"
|
58
|
+
:show-rest-button="reset"
|
59
|
+
v-model="model.f_check_start"
|
60
|
+
condition="f_offsite_time > ='{} 00:00:00'">
|
61
|
+
</datepicker>
|
62
|
+
</div>
|
63
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
64
|
+
<label class="font_normal_body">入户截止</label>
|
65
|
+
<datepicker
|
66
|
+
:value.sync="model.f_check_end"
|
67
|
+
placeholder='结束时间' style="width: 60%"
|
68
|
+
:disabled-days-of-week="[]"
|
69
|
+
:format="'yyyy-MM-dd'"
|
70
|
+
:show-rest-button="reset"
|
71
|
+
v-model="model.f_check_end"
|
72
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
73
|
+
</datepicker>
|
74
|
+
</div>
|
75
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
76
|
+
<label class="font_normal_body">安 检 员</label>
|
77
|
+
<v-select :value.sync="model.f_checker_id" v-model='model.f_checker_id'
|
78
|
+
:value-single="true" style="width: 60%"
|
79
|
+
class="select_list select"
|
80
|
+
:options='$parent.$parent.checkersid' placeholder='安检员'
|
81
|
+
close-on-select
|
82
|
+
condition="f_checker_id = '{}'"></v-select>
|
83
|
+
</div>
|
84
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
85
|
+
<label class="font_normal_body">所属区域</label>
|
86
|
+
<v-select :value.sync="model.f_street" v-model='model.f_street'
|
87
|
+
:value-single="true" style="width: 60%"
|
88
|
+
class="select_list select"
|
89
|
+
:options='$parent.$parent.streets' placeholder='所属区域'
|
90
|
+
close-on-select
|
91
|
+
condition="f_street = '{}'"></v-select>
|
92
|
+
</div>
|
93
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
94
|
+
<label class="font_normal_body">计划类型</label>
|
95
|
+
<v-select :value.sync="model.f_no_checkplan" v-model='model.f_no_checkplan'
|
96
|
+
:value-single="true" style="width: 60%"
|
97
|
+
class="select_list select"
|
98
|
+
:options='$parent.$parent.planTypes' placeholder='计划类型'
|
99
|
+
close-on-select
|
100
|
+
condition="f_no_checkplan = '{}'"></v-select>
|
101
|
+
</div>
|
102
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
103
|
+
<label class="font_normal_body">上传起始</label>
|
104
|
+
<datepicker
|
105
|
+
class="select_list select"
|
106
|
+
:value.sync="model.f_check_start1"
|
107
|
+
placeholder='开始时间' style="width: 60%"
|
108
|
+
:disabled-days-of-week="[]"
|
109
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
110
|
+
:show-rest-button="reset"
|
111
|
+
v-model="model.f_check_start1"
|
112
|
+
condition="f_upload_date > ='{}'">
|
113
|
+
</datepicker>
|
114
|
+
</div>
|
115
|
+
<div class="col-sm-4" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
116
|
+
<label class="font_normal_body">上传截止</label>
|
117
|
+
<datepicker
|
118
|
+
:value.sync="model.f_check_end1"
|
119
|
+
placeholder='结束时间' style="width: 60%"
|
120
|
+
:disabled-days-of-week="[]"
|
121
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
122
|
+
:show-rest-button="reset"
|
123
|
+
v-model="model.f_check_end1"
|
124
|
+
condition="f_upload_date <= '{}'">
|
125
|
+
</datepicker>
|
126
|
+
</div>
|
127
|
+
<modal :show.sync="$parent.$parent.showModal" v-ref:modal>
|
128
|
+
<div slot="modal-header" class="modal-header">
|
129
|
+
<h4 class="modal-title">
|
130
|
+
选择计划
|
131
|
+
</h4>
|
132
|
+
</div>
|
133
|
+
<div slot="modal-body" class="modal-body">
|
134
|
+
<plan-chooser :f.sync="$parent.$parent.fun" v-ref:chooser></plan-chooser>
|
135
|
+
</div>
|
136
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
137
|
+
<button class="button_search" @click="$parent.$parent.ok">确认</button>
|
138
|
+
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
139
|
+
</div>
|
140
|
+
</modal>
|
141
|
+
</div>
|
142
|
+
</criteria>
|
143
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid >
|
144
|
+
<template partial='head'>
|
145
|
+
<tr>
|
146
|
+
<th><nobr>客户编号</nobr></th>
|
147
|
+
<th><nobr>客户名称</nobr></th>
|
148
|
+
<th><nobr>客户类型</nobr></th>
|
149
|
+
<th><data-order field="f_address" name="客户地址"></data-order></th>
|
150
|
+
<th><nobr>安检状态</nobr></th>
|
151
|
+
<th><data-order field="f_onsite_time" name="入户时间"></data-order></th>
|
152
|
+
<th><nobr>上传时间</nobr></th>
|
153
|
+
<th><nobr>安检员</nobr></th>
|
154
|
+
<th><nobr>计划类型</nobr></th>
|
155
|
+
<th><nobr>操作</nobr></th>
|
156
|
+
</tr>
|
157
|
+
</template>
|
158
|
+
<template partial='body'>
|
159
|
+
|
160
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
161
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
162
|
+
<td style="text-align: center">{{row.f_check_type}}</td>
|
163
|
+
<td style="text-align: center">{{row.f_address}}</td>
|
164
|
+
<td style="text-align: center">{{row.f_entry_status}}</td>
|
165
|
+
<td style="text-align: center">{{row.f_onsite_time}}</td>
|
166
|
+
<td style="text-align: center">{{row.f_upload_date}}</td>
|
167
|
+
<td style="text-align: center">{{row.f_checker_name}}</td>
|
168
|
+
<td style="text-align: center">{{row.f_no_checkplan}}</td>
|
169
|
+
<td style="text-align: center">
|
170
|
+
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
171
|
+
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
172
|
+
@click="$parent.$parent.$parent.print(row)">
|
173
|
+
打印
|
174
|
+
</button>-->
|
175
|
+
</td>
|
176
|
+
</template>
|
177
|
+
</data-grid>
|
178
|
+
</criteria-paged>
|
179
|
+
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
</template>
|
183
|
+
|
184
|
+
<script>
|
185
|
+
import {PagedList} from 'vue-client'
|
186
|
+
import Vue from 'vue'
|
187
|
+
import co from 'co'
|
188
|
+
import AppData from '../../stores/AppData'
|
189
|
+
import * as Util from '../Util'
|
190
|
+
import getNowDate from "../../utils/getNowDate";
|
191
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
192
|
+
|
193
|
+
//获取json配置文件
|
194
|
+
let asyncReady = async function (self) {
|
195
|
+
// 获取配置信息
|
196
|
+
try {
|
197
|
+
let res = await Vue.resetget(`/phone/rs/vue`, {data: {}}, {resolveMsg: null, rejectMsg: null})
|
198
|
+
Vue.config = res.data
|
199
|
+
} catch (error) {
|
200
|
+
// 忽略704,文件找不到异常R
|
201
|
+
if (error.status !== 704) {
|
202
|
+
throw error
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
let select = function* (self) {
|
208
|
+
let http = new HttpResetClass()
|
209
|
+
let getGasman = yield http.load('POST','/rs/search', {
|
210
|
+
source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1))',
|
211
|
+
userid: self.$login.f.id
|
212
|
+
}, {resolveMsg: null, rejectMsg: null})
|
213
|
+
//tag
|
214
|
+
self.checkersid.push({label: '全部', value: ''})
|
215
|
+
getGasman.data.forEach((checker) => {
|
216
|
+
self.checkersid.push({label: checker.name, value: checker.id})
|
217
|
+
})
|
218
|
+
}
|
219
|
+
|
220
|
+
export default {
|
221
|
+
title: '非民用安检结果查看',
|
222
|
+
data() {
|
223
|
+
let model = new PagedList('api/af-safecheck/sql/查找安检单', 20, {
|
224
|
+
f_plan_id: 'this.f_plan_id',
|
225
|
+
f_approved: 'this.f_approved',
|
226
|
+
f_entry_status: 'this.f_entry',
|
227
|
+
f_no_checkplan: 'this.f_no_checkplan',
|
228
|
+
f_filialeid: 'this.f_filialeid',
|
229
|
+
f_street: 'this.f_street',
|
230
|
+
orderitem: "'f_offsite_time desc'"
|
231
|
+
})
|
232
|
+
model.f_plan_id = ''
|
233
|
+
model.f_approved = ''
|
234
|
+
model.f_entry = ''
|
235
|
+
model.f_no_checkplan = ''
|
236
|
+
model.f_filialeid = this.$login.f.orgid
|
237
|
+
model.f_user_type='非民用'
|
238
|
+
// let searchData={
|
239
|
+
// f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
|
240
|
+
// f_approved: this.model.f_approved,
|
241
|
+
// f_entry_status: this.model.f_entry,
|
242
|
+
// f_no_checkplan:this.model.f_no_checkplan[0],
|
243
|
+
// f_filialeid: this.model.f_filialeid,
|
244
|
+
// //orderitem: this.model.f_offsite_time,
|
245
|
+
// //condition:this.model.condition
|
246
|
+
// }
|
247
|
+
// model.f_subcompany = this.$login.f.f_fengongsi
|
248
|
+
return {
|
249
|
+
searchData: {
|
250
|
+
condition:"f_check_type='非民用'",
|
251
|
+
orderitem: "f_offsite_time desc",
|
252
|
+
f_plan_id: "",
|
253
|
+
f_approved: '',
|
254
|
+
f_entry_status: '',
|
255
|
+
f_no_checkplan: '',
|
256
|
+
f_filialeid:this.$login.f.orgid
|
257
|
+
},
|
258
|
+
model: model,
|
259
|
+
streets:[],
|
260
|
+
planTypes:[{label:"全部",value:""},{label:"有计划安检",value:"有计划安检"},{label:"无计划安检",value:"无计划安检"}],
|
261
|
+
//searchData:searchData,
|
262
|
+
excelHeaders: {
|
263
|
+
'f_userinfo_code': '客户编号',
|
264
|
+
'f_user_name': '客户姓名',
|
265
|
+
'f_check_type': '客户类型',
|
266
|
+
'f_address': '客户地址',
|
267
|
+
'f_entry_status':'安检状态',
|
268
|
+
'f_offsite_time':'安检时间',
|
269
|
+
'f_checker_name': '安检员'
|
270
|
+
},
|
271
|
+
fun: this.$login.f,
|
272
|
+
checkersid: [],
|
273
|
+
streets:[],
|
274
|
+
safetype:[{label:"全部",value:""},
|
275
|
+
{label:"送气",value:"送气类型"},
|
276
|
+
{label:"年度普检",value:"年度普检"}],
|
277
|
+
criteriaShow:false,
|
278
|
+
showModal: false,
|
279
|
+
f_approval_states: this.$appdata.getParam('安检单审核状态'),
|
280
|
+
f_entry_status: this.$appdata.getParam('安检状态'),
|
281
|
+
f_checkplans: this.$appdata.getParam('有无计划'),
|
282
|
+
showcheckmsg: false,
|
283
|
+
checkInfo: {},
|
284
|
+
orderDefault: "'f_offsite_time'",
|
285
|
+
orderFields: {
|
286
|
+
f_offsite_time: 'no'
|
287
|
+
},
|
288
|
+
}
|
289
|
+
},
|
290
|
+
methods: {
|
291
|
+
|
292
|
+
change(row) {
|
293
|
+
//Vue.$login = {jwt: row.f_checker_id}
|
294
|
+
asyncReady(this).then(() => {
|
295
|
+
row.f_upload_state = '已传'
|
296
|
+
if (row.f_check_type == '民用') {
|
297
|
+
this.$goto('paper-message', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
298
|
+
} else {
|
299
|
+
this.$goto('paper-message-nocivil', {
|
300
|
+
f_plan_id: row.f_check_plan_id,
|
301
|
+
item: row,
|
302
|
+
role: 'view'
|
303
|
+
}, 'self')
|
304
|
+
}
|
305
|
+
}).catch(
|
306
|
+
(respanse) => {
|
307
|
+
alert('获取配置文件失败')
|
308
|
+
})
|
309
|
+
},
|
310
|
+
readConfig() {
|
311
|
+
let gen = asyncReady(this)
|
312
|
+
return co(gen)
|
313
|
+
},
|
314
|
+
showChooser() {
|
315
|
+
this.showModal = true
|
316
|
+
},
|
317
|
+
hidden(){
|
318
|
+
this.criteriaShow=!this.criteriaShow
|
319
|
+
},
|
320
|
+
refresh() {
|
321
|
+
this.$refs.paged.$refs.criteria.search()
|
322
|
+
},
|
323
|
+
ok() {
|
324
|
+
this.showModal = false
|
325
|
+
if (this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id) {
|
326
|
+
this.model.f_plan_id = this.$refs.paged.$refs.criteria.$refs.modal.$children[0].selectedRow.id
|
327
|
+
}
|
328
|
+
},
|
329
|
+
cancel() {
|
330
|
+
this.showModal = false
|
331
|
+
this.model.f_check_plan = {f_plan_name: '', id: ''}
|
332
|
+
},
|
333
|
+
print(row) {
|
334
|
+
this.showcheckmsg = true
|
335
|
+
this.checkInfo = row
|
336
|
+
},
|
337
|
+
sort (field, rule) {
|
338
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
339
|
+
for (let key in this.orderFields) {
|
340
|
+
if (key === field) {
|
341
|
+
this.orderFields[key] = rule
|
342
|
+
} else {
|
343
|
+
this.orderFields[key] = 'no'
|
344
|
+
}
|
345
|
+
}
|
346
|
+
// 如果新规则不排序,还原为默认排序
|
347
|
+
if (rule === 'no') {
|
348
|
+
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
349
|
+
} else {
|
350
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
351
|
+
}
|
352
|
+
this.search()
|
353
|
+
},
|
354
|
+
search() {
|
355
|
+
this.$refs.paged.$refs.criteria.search()
|
356
|
+
},
|
357
|
+
selfSearch(args){
|
358
|
+
//tag
|
359
|
+
args.condition+=" and f_check_type='非民用' and f_safecheck_type='年度普检'"
|
360
|
+
this.model.search(args.condition, args.model, args.condValue)
|
361
|
+
},
|
362
|
+
//初始化街道 添加小区
|
363
|
+
async initstreets(){
|
364
|
+
this.streetslist = []
|
365
|
+
let HttpReset = new HttpResetClass()
|
366
|
+
let req = await HttpReset.load('POST', 'api/af-safecheck/sql/address_singleTableOrderBy', {
|
367
|
+
data: {
|
368
|
+
items: '*',
|
369
|
+
tablename: 't_street',
|
370
|
+
orderitem: 'id',
|
371
|
+
condition: `f_orgid = '${this.$login.f.orgid}'`
|
372
|
+
}
|
373
|
+
}, {resolveMsg: null, rejectMsg: '获取地址失败!'})
|
374
|
+
let redata = []
|
375
|
+
req.data.forEach((row, n) => {
|
376
|
+
redata[n] = {
|
377
|
+
label: row.f_street,
|
378
|
+
value: row.f_street,
|
379
|
+
data:row,
|
380
|
+
id:row.id
|
381
|
+
}
|
382
|
+
})
|
383
|
+
this.streets=redata
|
384
|
+
}
|
385
|
+
},
|
386
|
+
ready() {
|
387
|
+
//tag
|
388
|
+
this.function = this.f
|
389
|
+
//tag
|
390
|
+
|
391
|
+
let gen = select(this)
|
392
|
+
co(gen)
|
393
|
+
this.initstreets()
|
394
|
+
},
|
395
|
+
watch: {
|
396
|
+
'model.f_no_checkplan'(val) {
|
397
|
+
if (this.model.f_no_checkplan == '有计划安检') {
|
398
|
+
this.showChooser()
|
399
|
+
}
|
400
|
+
},
|
401
|
+
'model.condition'(val) {
|
402
|
+
if(val){
|
403
|
+
this.searchData.condition = val
|
404
|
+
}
|
405
|
+
|
406
|
+
},
|
407
|
+
'model.f_entry'(val) {
|
408
|
+
if(val){
|
409
|
+
this.searchData.f_entry_status = val
|
410
|
+
|
411
|
+
}
|
412
|
+
},
|
413
|
+
'model.f_plan_id'(val) {
|
414
|
+
if(val){
|
415
|
+
this.searchData.f_plan_id = val
|
416
|
+
}
|
417
|
+
},
|
418
|
+
'model.f_approved'(val) {
|
419
|
+
if(val){
|
420
|
+
this.searchData.f_approved = val
|
421
|
+
}
|
422
|
+
},
|
423
|
+
'model.f_no_checkplan'(val) {
|
424
|
+
if(val){
|
425
|
+
this.searchData.f_no_checkplan = val
|
426
|
+
}
|
427
|
+
},
|
428
|
+
}
|
429
|
+
|
430
|
+
}
|
431
|
+
</script>
|