safecheck-client 3.0.30-61-t1 → 3.0.30-61-t3
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/package.json +2 -2
- package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
- package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
- package/src/components/DefectDealMain/DefectListNew.vue +1 -1
- package/src/components/DefectDealMain/DefectPaperNew.vue +4 -4
- package/src/components/ExportExcel.vue +342 -340
- package/src/components/NewDefectList/DefectListNew.vue +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/android/ClockIn.vue +1 -1
- package/src/components/android/DoorService.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +148 -148
- package/src/components/checkplan/CheckDetail.vue +4 -4
- package/src/components/checkplan/SelectCheckPlan.vue +2 -2
- package/src/components/createcheckplan/CreatePlan.vue +4 -4
- package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
- package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
- package/src/components/createcheckplan/PlanList.vue +2 -2
- package/src/components/createcheckplan/PlanUersList.vue +2 -2
- package/src/components/defect/DefectPaper.vue +4 -4
- package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/CheckPaperSearch.vue +349 -349
- package/src/components/defects/DefectSeting.vue +1 -1
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/equipment/CheckRate.vue +4 -4
- package/src/components/equipment/CheckerRate.vue +4 -4
- package/src/components/equipment/MonthCheckRate.vue +4 -4
- package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
- package/src/components/inspections/InspectionList.vue +2 -2
- package/src/components/inspections/InspectionLists.vue +2 -2
- package/src/components/inspections/InspectionListss.vue +2 -2
- package/src/components/issueplan/IssuePlanAction.vue +1 -1
- package/src/components/levelplan/AdjustPlan.vue +1 -1
- package/src/components/levelplan/CheckerLeft.vue +1 -1
- package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
- package/src/components/levelplan/CheckerRight.vue +1 -1
- package/src/components/map/AMapTrailShowZk.vue +185 -185
- package/src/components/map/FootPrintList.vue +1 -1
- package/src/components/map/PersonTrack.vue +1 -1
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +1 -1
- package/src/components/metterfiles/MetterfilesChange.vue +162 -162
- package/src/components/metterfiles/UserFiles.vue +1 -1
- package/src/components/metterfiles/Userfileschange.vue +2 -2
- package/src/components/noplan/NoPlanSearchUser.vue +4 -4
- package/src/components/olddata/OldPaperList.vue +2 -2
- package/src/components/paper/PaperList.vue +2 -2
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/paper/filialeCheckInfo.vue +2 -2
- package/src/components/pc/AddToCheckBook.vue +2 -2
- package/src/components/pc/CheckBook.vue +1 -1
- package/src/components/pc/CheckBookDetails.vue +194 -194
- package/src/components/pc/CheckBookList.vue +3 -3
- package/src/components/pc/CheckBookSearchArea.vue +4 -4
- package/src/components/pc/CheckBookSearchUser.vue +4 -4
- package/src/components/pc/CheckBookSearchUserList.vue +1 -1
- package/src/components/pc/CheckNoDetail.vue +2 -2
- package/src/components/pc/DefectDeal.vue +2 -2
- package/src/components/pc/Edit.vue +126 -126
- package/src/components/pc/NewCheckpaper.vue +34 -31
- package/src/components/pc/PaperChazhiMain.vue +2 -2
- package/src/components/pc/PaperDefectMain.vue +2 -2
- package/src/components/pc/PaperEdit.vue +2 -2
- package/src/components/pc/PaperVisitMain.vue +2 -2
- package/src/components/pc/SafeVisitHistory.vue +2 -2
- package/src/components/pc/SafecheckDeviceList.vue +2 -2
- package/src/components/pc/SelectCheckNoPlan.vue +3 -3
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
- package/src/components/planmanage/checkPlanList.vue +2 -2
- package/src/components/planmanage/checkUserList.vue +3 -3
- package/src/components/querycheckpaper/CheckSearchUser.vue +5 -5
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +5 -5
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +4 -4
- package/src/components/report/CheckPlanAreaList.vue +2 -2
- package/src/components/report/CheckPlanUserList.vue +2 -2
- package/src/components/report/NoCheckplanSafecheck.vue +2 -2
- package/src/components/rongcheng/CheckSearchArea.vue +2 -2
- package/src/components/rongcheng/CheckSearchUser.vue +2 -2
- package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
- package/src/components/rongcheng/CheckUserList.vue +2 -2
- package/src/components/rongcheng/DefectPaper.vue +4 -4
- package/src/components/rongcheng/PaperListAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
- package/src/components/rongcheng/PaperListSQ.vue +2 -2
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
- package/src/components/rongcheng/report/CheckPlanUserList.vue +4 -4
- package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
- package/src/components/shaoguan/DefectPaper.vue +2 -2
- package/src/components/shaoguan/PaperList.vue +3 -3
- package/src/components/userfile/UserFile.vue +1 -1
- package/src/components/userfile/UserInfoAudit.vue +2 -2
- package/src/components/userfile/UserfileChange.vue +1 -1
- package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/ALshan/pc/checkUserList.vue +3 -3
- package/src/filiale/ancheng/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/checkUserList.vue +3 -3
- package/src/filiale/bayan/pc/PaperList.vue +3 -3
- package/src/filiale/fugou/pc/PaperList.vue +2 -2
- package/src/filiale/fugu/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +3 -3
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/ganquan/pc/PaperList.vue +3 -3
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/ganquan/pc/checkUserList.vue +3 -3
- package/src/filiale/gehua/pc/PaperList.vue +2 -2
- package/src/filiale/gehua/pc/checkUserList.vue +3 -3
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/guangxi/pc/DefectListNew.vue +1 -1
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/hanzhong/pc/CheckUserList.vue +3 -3
- package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
- package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/huatong/pc/PaperList.vue +3 -3
- package/src/filiale/huayin/pc/PaperList.vue +3 -3
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jingyang/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/kelai/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/kelai/pc/DefectListNew.vue +1 -1
- package/src/filiale/kelai/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
- package/src/filiale/kelai/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/checkUserList.vue +3 -3
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +2 -2
- package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/lixian/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperList.vue +3 -3
- package/src/filiale/lixian/pc/checkPlanList.vue +2 -2
- package/src/filiale/lixian/pc/checkUserList.vue +3 -3
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/minsheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/pingxiang/pc/DefectListNew.vue +1 -1
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/qianneng/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/checkPlanList.vue +4 -4
- package/src/filiale/qianneng/pc/checkUserList.vue +5 -5
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +1 -1
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/rizhao/pc/PaperList.vue +3 -3
- package/src/filiale/rongchuang/pc/checkUserList.vue +3 -3
- package/src/filiale/shanxian/pc/CheckDetail.vue +4 -4
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/shanxian/pc/checkUserList.vue +3 -3
- package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
- package/src/filiale/shexian/pc/DefectListNew.vue +1 -1
- package/src/filiale/shexian/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/PaperList.vue +2 -2
- package/src/filiale/shiquan/pc/checkUserList.vue +3 -3
- package/src/filiale/tianke/pc/DefectListNew.vue +1 -1
- package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
- package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckDetail.vue +4 -4
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperList.vue +2 -2
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBook.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
- package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
- package/src/filiale/weinan/pc/CheckDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +4 -4
- package/src/filiale/weinan/pc/CheckNoDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/weinan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
- package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
- package/src/filiale/weinan/pc/PaperList.vue +3 -3
- package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
- package/src/filiale/weinan/pc/checkPlanList.vue +2 -2
- package/src/filiale/weinan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinanct/pc/PaperList.vue +3 -3
- package/src/filiale/wensu/pc/CheckDetail.vue +4 -4
- package/src/filiale/wensu/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/wensu/pc/DefectListNew.vue +1 -1
- package/src/filiale/wensu/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/wensu/pc/checkUserList.vue +3 -3
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/wenxi/pc/PaperList.vue +4 -4
- package/src/filiale/wenxi/pc/checkPlanList.vue +4 -4
- package/src/filiale/wenxi/pc/checkUserList.vue +3 -3
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/wuan/pc/PaperList.vue +2 -2
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/wuhai/pc/checkUserList.vue +3 -3
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/xinkang/pc/PaperList.vue +3 -3
- package/src/filiale/xinkang/pc/checkUserList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
- package/src/filiale/yongzhou/pc/checkUserList.vue +3 -3
- package/src/filiale/yongzhou/pc/communityDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +2 -2
- package/src/filiale/yongzhou/pc/safeDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yuansheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
- package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
- package/src/plugins/LoadCheckParams.js +59 -59
@@ -1,349 +1,349 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:criteria>
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
-
<div class="row">
|
7
|
-
<div class="col-sm-4 " style="width: 20%">
|
8
|
-
<label class="font_normal_body">用户姓名</label>
|
9
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
10
|
-
placeholder="用户姓名"
|
11
|
-
condition="f_user_name like '%{}%'">
|
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" style="width:60%" v-model="model.f_user_phone"
|
16
|
-
placeholder="用户电话"
|
17
|
-
condition="f_user_phone like '%{}%'">
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4 " style="width: 20%">
|
20
|
-
<label class="font_normal_body">用户编号</label>
|
21
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
|
22
|
-
placeholder="用户编号"
|
23
|
-
condition="f_userinfo_code like '%{}%'">
|
24
|
-
</div>
|
25
|
-
<div class="col-sm-4 " style="width: 20%">
|
26
|
-
<label class="font_normal_body">小区名称</label>
|
27
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area"
|
28
|
-
placeholder="小区名称"
|
29
|
-
condition="f_residential_area like '%{}%'">
|
30
|
-
</div>
|
31
|
-
<div class="col-sm-4 " style="width: 20%;float: right">
|
32
|
-
<div style="float: right;margin-top: 8px" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
33
|
-
<div style="float: right;margin-top: 8px" class="button_spacing"
|
34
|
-
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
35
|
-
@click="$parent.$parent.hiddenr()"></div>
|
36
|
-
<defects-chooser v-show="$parent.$parent.showModal" v-ref:chooser></defects-chooser>
|
37
|
-
<button class="button_search button_spacing" style="float: right; margin-top: 8px" @click="search()">查询</button>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
<div class="row">
|
41
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
42
|
-
<label class="font_normal_body">安检起始</label>
|
43
|
-
<datepicker
|
44
|
-
:value.sync="model.f_check_start"
|
45
|
-
placeholder='开始时间' style="width: 60%"
|
46
|
-
:disabled-days-of-week="[]"
|
47
|
-
:format="'yyyy-MM-dd'"
|
48
|
-
:show-rest-button="reset"
|
49
|
-
v-model = "model.f_check_start"
|
50
|
-
condition="f_offsite_time >= '{} 00:00:00'">
|
51
|
-
</datepicker>
|
52
|
-
</div>
|
53
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
54
|
-
<label class="font_normal_body">安检结束</label>
|
55
|
-
<datepicker
|
56
|
-
:value.sync="model.f_check_end"
|
57
|
-
placeholder='安检结束时间'
|
58
|
-
style="width: 60%"
|
59
|
-
:disabled-days-of-week="[]"
|
60
|
-
:format="'yyyy-MM-dd'"
|
61
|
-
:show-rest-button="reset"
|
62
|
-
v-model = "model.f_check_end"
|
63
|
-
condition="f_offsite_time <= '{} 23:59:59'">
|
64
|
-
</datepicker>
|
65
|
-
</div>
|
66
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
67
|
-
<label class="font_normal_body">安 检 员</label>
|
68
|
-
<v-select :value.sync="model.f_checker_id" v-model='model.f_checker_id'
|
69
|
-
:value-single="true"
|
70
|
-
class="select select_list" style="width: 60%"
|
71
|
-
:options='$parent.$parent.checkersid' placeholder='安检员'
|
72
|
-
close-on-select
|
73
|
-
condition="f_checker_id = '{}'"></v-select>
|
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
|
78
|
-
placeholder='安检状态'
|
79
|
-
:value-single="true"
|
80
|
-
class="select select_list" style="width: 60%"
|
81
|
-
v-model='model.f_entry_status'
|
82
|
-
:value.sync="model.f_entry_status"
|
83
|
-
:options='$parent.$parent.f_entry_status'
|
84
|
-
condition="f_entry_status = '{}'"
|
85
|
-
close-on-select clear-button> </v-select>
|
86
|
-
</div>
|
87
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
88
|
-
<label class="font_normal_body">审核状态</label>
|
89
|
-
<v-select id="f_approved"
|
90
|
-
placeholder='审核状态'
|
91
|
-
v-model='model.f_approved'
|
92
|
-
class="select select_list" style="width: 60%"
|
93
|
-
:value.sync="model.f_approved"
|
94
|
-
:options='$parent.$parent.f_approval_states'
|
95
|
-
condition="f_approved = '{}'"
|
96
|
-
close-on-select clear-button> </v-select>
|
97
|
-
</div>
|
98
|
-
<!--<div class="form-group">-->
|
99
|
-
<!--<v-select id="f_approved"-->
|
100
|
-
<!--placeholder='是否维修'-->
|
101
|
-
<!--v-model='model.f_repaired'-->
|
102
|
-
<!--:value.sync="model.f_repaired"-->
|
103
|
-
<!--:options='$parent.$parent.f_repaired'-->
|
104
|
-
<!--condition="f_repaired = '{}'"-->
|
105
|
-
<!--close-on-select clear-button> </v-select>-->
|
106
|
-
<!--</div>-->
|
107
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
108
|
-
<label class="font_normal_body">安 检 项</label>
|
109
|
-
<v-select id="f_device_type"
|
110
|
-
placeholder='安检项'
|
111
|
-
class="select select_list" style="width: 60%"
|
112
|
-
v-model='model.f_device_type'
|
113
|
-
:value.sync="model.f_device_type"
|
114
|
-
:options='$parent.$parent.f_devices'
|
115
|
-
condition="f_devices.f_device_type = '{}'"
|
116
|
-
close-on-select clear-button> </v-select>
|
117
|
-
</div>
|
118
|
-
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
119
|
-
<label class="font_normal_body">安检结果</label>
|
120
|
-
<v-select
|
121
|
-
placeholder='安检结果'
|
122
|
-
:value-single="true"
|
123
|
-
class="select select_list" style="width: 60%"
|
124
|
-
v-model='model.f_check_result'
|
125
|
-
:value.sync="model.f_check_result"
|
126
|
-
:options='$parent.$parent.f_check_results'
|
127
|
-
condition="f_defect_content like '%{}%'"
|
128
|
-
close-on-select clear-button> </v-select>
|
129
|
-
</div>
|
130
|
-
<div class="col-sm-4" style="width: 20%">
|
131
|
-
<label class="font_normal_body" style="margin-right: 2px"> 公司 </label>
|
132
|
-
<right-tree @re-res="$parent.$parent.getorg" :initresid="$parent.$parent.$login.f.orgid">
|
133
|
-
</right-tree>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
<div class="col-sm-4" style="width: 20%">
|
137
|
-
<label class="font_normal_body">片  区</label>
|
138
|
-
<v-select class="select_list select"
|
139
|
-
placeholder='片区/管理站' style="width: 60%"
|
140
|
-
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
141
|
-
:options='$parent.$parent.sliceArea'
|
142
|
-
filer-key="name"
|
143
|
-
close-on-select clear-button
|
144
|
-
condition="f_slice_area='{}'"
|
145
|
-
:value-single="true">
|
146
|
-
</v-select>
|
147
|
-
</div>
|
148
|
-
<div class="col-sm-2 form-group">
|
149
|
-
<label class="font_normal_body">抄 表 册</label>
|
150
|
-
<v-select class="select_list select"
|
151
|
-
placeholder='抄表册' style="width: 60%"
|
152
|
-
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
153
|
-
:options='$parent.$parent.cbc'
|
154
|
-
filer-key="name"
|
155
|
-
close-on-select clear-button
|
156
|
-
condition="f_meter_book_num={}"
|
157
|
-
:value-single="true">
|
158
|
-
</v-select>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div class="col-sm-4 " style="width: 20%" v-show="model.f_check_result == '有隐患'" v-if="$parent.$parent.criteriaShow">
|
162
|
-
<label class="font_normal_body">隐患筛选</label>
|
163
|
-
<input type="text" class="input_search" style="width:60%"
|
164
|
-
readonly="readonly"
|
165
|
-
placeholder="隐患筛选"
|
166
|
-
@click ="$parent.$parent.showDefects">
|
167
|
-
</div>
|
168
|
-
<!--<div class="col-sm-4 " style="width: 20%" v-model="model.orgid">-->
|
169
|
-
<!--<label class="font_normal_body">组织 id</label>-->
|
170
|
-
<!--<input type="text" v-show="false" class="input_search" style="width:60%"-->
|
171
|
-
<!-- placeholder="组织id"-->
|
172
|
-
<!--condition="orgid like '%{}%'">-->
|
173
|
-
<!--</div>-->
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
</criteria>
|
177
|
-
|
178
|
-
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
179
|
-
<template partial='head'>
|
180
|
-
<tr>
|
181
|
-
<th>安检状态</th>
|
182
|
-
<th>审核状态</th>
|
183
|
-
<th>用户名称</th>
|
184
|
-
<th>用户编号</th>
|
185
|
-
<th>入户时间</th>
|
186
|
-
<th>离开时间</th>
|
187
|
-
<th>安检人</th>
|
188
|
-
<th>用户类型</th>
|
189
|
-
<th>详细地址</th>
|
190
|
-
<th>是否维修</th>
|
191
|
-
</tr>
|
192
|
-
</template>
|
193
|
-
<template partial='body'>
|
194
|
-
<td style="text-align: center">{{row.f_entry_status}}</td>
|
195
|
-
<td style="text-align: center">{{row.f_approved}}</td>
|
196
|
-
<td style="text-align: center">{{row.f_user_name}}</td>
|
197
|
-
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
198
|
-
<td style="text-align: center">{{row.f_onsite_time}}</td>
|
199
|
-
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
200
|
-
<td style="text-align: center">{{row.f_checker_name}}</td>
|
201
|
-
<td style="text-align: center">{{row.f_check_type}}</td>
|
202
|
-
<td style="text-align: center">{{row.f_address}}</td>
|
203
|
-
<td style="text-align: center">{{row.f_repaired}}</td>
|
204
|
-
</template>
|
205
|
-
</data-grid>
|
206
|
-
</criteria-paged>
|
207
|
-
</div>
|
208
|
-
</template>
|
209
|
-
|
210
|
-
<script>
|
211
|
-
import { PagedList } from 'vue-client'
|
212
|
-
import Vue from 'vue'
|
213
|
-
import co from 'co'
|
214
|
-
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
215
|
-
|
216
|
-
let select = function * (self) {
|
217
|
-
let getGasman = yield self.$resetpost('/rs/search', {
|
218
|
-
source: 'tool.getChildrenOfResName($安检员$)',
|
219
|
-
userid: self.$login.f.id
|
220
|
-
}, {resolveMsg: null, rejectMsg: null})
|
221
|
-
//tag
|
222
|
-
getGasman.data.forEach((checker)=>{
|
223
|
-
self.checkersid.push({label:checker.name,value:checker.id})
|
224
|
-
})
|
225
|
-
self.checkersid.push({label:'全部',value:''})
|
226
|
-
}
|
227
|
-
|
228
|
-
export default {
|
229
|
-
title:'安检项查询',
|
230
|
-
data() {
|
231
|
-
let model = new PagedList('rs/path/getUserinfomation', 20)
|
232
|
-
model.f_repaired = ['']
|
233
|
-
model.f_check_plan = {f_plan_name: '', id: ''}
|
234
|
-
model.f_approved = ['']
|
235
|
-
model.f_no_checkplan = ['']
|
236
|
-
model.f_filialeid = this.$login.f.orgid
|
237
|
-
return {
|
238
|
-
show:true,
|
239
|
-
fun:this.$login.f,
|
240
|
-
f_check_result:'',
|
241
|
-
checkersid:[],
|
242
|
-
criteriaShow:false,
|
243
|
-
model: model,
|
244
|
-
showModal: false,
|
245
|
-
selfcondition:'',
|
246
|
-
f_approval_states: this.getSafeParam('安检单审核状态'),
|
247
|
-
f_entry_status: this.getSafeParam('安检状态'),
|
248
|
-
f_devices: this.getSafeParam('安检项'),
|
249
|
-
f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'},{label: '有隐患', value: '有隐患'}],
|
250
|
-
f_repaired: [{label: '全部', value: ''},{label:'维修状态',value:''},{label:'已修',value:'已修'},{label:'未修',value:'未修'}],
|
251
|
-
f_orgid: '',
|
252
|
-
curorgid: [this.$login.f.orgid],
|
253
|
-
sliceArea: [],
|
254
|
-
cbc:[]
|
255
|
-
}
|
256
|
-
},
|
257
|
-
ready(){
|
258
|
-
|
259
|
-
//tag
|
260
|
-
this.$refs.paged.$refs.criteria.model.f_filialeid = this.$login.f.orgid
|
261
|
-
this.$refs.paged.$refs.criteria.model.f_device_type = ['']
|
262
|
-
this.pianqu()
|
263
|
-
let gen = select(this)
|
264
|
-
return co(gen)
|
265
|
-
},
|
266
|
-
methods: {
|
267
|
-
getSafeParam(val){
|
268
|
-
if(this.$appdata.getParam(val)){
|
269
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam(val)]
|
270
|
-
}else{
|
271
|
-
return [{label: '全部', value: ''}]
|
272
|
-
}
|
273
|
-
|
274
|
-
},
|
275
|
-
pianqu() {
|
276
|
-
let http = new HttpResetClass()
|
277
|
-
let getAllArea = http.load('POST', '/rs/search', {
|
278
|
-
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
279
|
-
userid: this.$login.f.id
|
280
|
-
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'}).then((getAllArea)=>{
|
281
|
-
this.sliceArea = [{label: '全部', value: ''}]
|
282
|
-
//tag
|
283
|
-
//tag
|
284
|
-
//tag
|
285
|
-
getAllArea.data.forEach((res) => {
|
286
|
-
this.sliceArea.push({label: res.name, value:res.name})
|
287
|
-
})
|
288
|
-
//tag
|
289
|
-
})
|
290
|
-
|
291
|
-
},
|
292
|
-
Mreadibook(){
|
293
|
-
let http = new HttpResetClass()
|
294
|
-
let getMeterReadingBooks = http.load('POST','
|
295
|
-
{data: {f_orgid: `${this.f_orgid}`}},
|
296
|
-
{resolveMsg: null, rejectMsg: '获取失败!!!'}).then((getAllArea)=>{
|
297
|
-
this.cbc = [{label: '全部', value: ''}]
|
298
|
-
//tag
|
299
|
-
//tag)
|
300
|
-
//tag
|
301
|
-
getAllArea.data.meterbooks.forEach((res) => {
|
302
|
-
this.cbc.push({label: res.f_book_name, value: res.id})
|
303
|
-
})
|
304
|
-
})
|
305
|
-
},
|
306
|
-
getorg (val) {
|
307
|
-
this.f_orgid = this.$login.convertToIn(val.resids)
|
308
|
-
this.Mreadibook()
|
309
|
-
},
|
310
|
-
hidden() {
|
311
|
-
this.criteriaShow = !this.criteriaShow
|
312
|
-
},
|
313
|
-
hiddenr() {
|
314
|
-
this.$parent.showItem = !this.$parent.showItem
|
315
|
-
},
|
316
|
-
ok () {
|
317
|
-
this.showModal = false
|
318
|
-
let str = this.$refs.paged.$refs.criteria.$refs.chooser.condition.trim()
|
319
|
-
if(str.length != 0) {
|
320
|
-
let condition = ' and (' + this.$refs.paged.$refs.criteria.$refs.chooser.condition + ') '
|
321
|
-
//tag
|
322
|
-
this.$set('selfcondition', condition)
|
323
|
-
}else{
|
324
|
-
this.$set('selfcondition', '')
|
325
|
-
}
|
326
|
-
},
|
327
|
-
cancel () {
|
328
|
-
this.showModal = false
|
329
|
-
this.$set('selfcondition','')
|
330
|
-
},
|
331
|
-
search(args) {
|
332
|
-
this.$parent.close()
|
333
|
-
var str = args.condition
|
334
|
-
str += this.selfcondition
|
335
|
-
if(this.$refs.paged.$refs.criteria.model.f_entry_status == '未入户'){
|
336
|
-
str = str.replace("f_entry_status = '未入户'", "f_entry_status != '入户'")
|
337
|
-
//tag
|
338
|
-
//tag
|
339
|
-
}
|
340
|
-
this.model.search(str, args.model)
|
341
|
-
|
342
|
-
},
|
343
|
-
showDefects(){
|
344
|
-
this.showModal = true
|
345
|
-
}
|
346
|
-
},
|
347
|
-
|
348
|
-
}
|
349
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.search' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-sm-4 " style="width: 20%">
|
8
|
+
<label class="font_normal_body">用户姓名</label>
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
10
|
+
placeholder="用户姓名"
|
11
|
+
condition="f_user_name like '%{}%'">
|
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" style="width:60%" v-model="model.f_user_phone"
|
16
|
+
placeholder="用户电话"
|
17
|
+
condition="f_user_phone like '%{}%'">
|
18
|
+
</div>
|
19
|
+
<div class="col-sm-4 " style="width: 20%">
|
20
|
+
<label class="font_normal_body">用户编号</label>
|
21
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
|
22
|
+
placeholder="用户编号"
|
23
|
+
condition="f_userinfo_code like '%{}%'">
|
24
|
+
</div>
|
25
|
+
<div class="col-sm-4 " style="width: 20%">
|
26
|
+
<label class="font_normal_body">小区名称</label>
|
27
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area"
|
28
|
+
placeholder="小区名称"
|
29
|
+
condition="f_residential_area like '%{}%'">
|
30
|
+
</div>
|
31
|
+
<div class="col-sm-4 " style="width: 20%;float: right">
|
32
|
+
<div style="float: right;margin-top: 8px" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
33
|
+
<div style="float: right;margin-top: 8px" class="button_spacing"
|
34
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
35
|
+
@click="$parent.$parent.hiddenr()"></div>
|
36
|
+
<defects-chooser v-show="$parent.$parent.showModal" v-ref:chooser></defects-chooser>
|
37
|
+
<button class="button_search button_spacing" style="float: right; margin-top: 8px" @click="search()">查询</button>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="row">
|
41
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
42
|
+
<label class="font_normal_body">安检起始</label>
|
43
|
+
<datepicker
|
44
|
+
:value.sync="model.f_check_start"
|
45
|
+
placeholder='开始时间' style="width: 60%"
|
46
|
+
:disabled-days-of-week="[]"
|
47
|
+
:format="'yyyy-MM-dd'"
|
48
|
+
:show-rest-button="reset"
|
49
|
+
v-model = "model.f_check_start"
|
50
|
+
condition="f_offsite_time >= '{} 00:00:00'">
|
51
|
+
</datepicker>
|
52
|
+
</div>
|
53
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
54
|
+
<label class="font_normal_body">安检结束</label>
|
55
|
+
<datepicker
|
56
|
+
:value.sync="model.f_check_end"
|
57
|
+
placeholder='安检结束时间'
|
58
|
+
style="width: 60%"
|
59
|
+
:disabled-days-of-week="[]"
|
60
|
+
:format="'yyyy-MM-dd'"
|
61
|
+
:show-rest-button="reset"
|
62
|
+
v-model = "model.f_check_end"
|
63
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
64
|
+
</datepicker>
|
65
|
+
</div>
|
66
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
67
|
+
<label class="font_normal_body">安 检 员</label>
|
68
|
+
<v-select :value.sync="model.f_checker_id" v-model='model.f_checker_id'
|
69
|
+
:value-single="true"
|
70
|
+
class="select select_list" style="width: 60%"
|
71
|
+
:options='$parent.$parent.checkersid' placeholder='安检员'
|
72
|
+
close-on-select
|
73
|
+
condition="f_checker_id = '{}'"></v-select>
|
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
|
78
|
+
placeholder='安检状态'
|
79
|
+
:value-single="true"
|
80
|
+
class="select select_list" style="width: 60%"
|
81
|
+
v-model='model.f_entry_status'
|
82
|
+
:value.sync="model.f_entry_status"
|
83
|
+
:options='$parent.$parent.f_entry_status'
|
84
|
+
condition="f_entry_status = '{}'"
|
85
|
+
close-on-select clear-button> </v-select>
|
86
|
+
</div>
|
87
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
88
|
+
<label class="font_normal_body">审核状态</label>
|
89
|
+
<v-select id="f_approved"
|
90
|
+
placeholder='审核状态'
|
91
|
+
v-model='model.f_approved'
|
92
|
+
class="select select_list" style="width: 60%"
|
93
|
+
:value.sync="model.f_approved"
|
94
|
+
:options='$parent.$parent.f_approval_states'
|
95
|
+
condition="f_approved = '{}'"
|
96
|
+
close-on-select clear-button> </v-select>
|
97
|
+
</div>
|
98
|
+
<!--<div class="form-group">-->
|
99
|
+
<!--<v-select id="f_approved"-->
|
100
|
+
<!--placeholder='是否维修'-->
|
101
|
+
<!--v-model='model.f_repaired'-->
|
102
|
+
<!--:value.sync="model.f_repaired"-->
|
103
|
+
<!--:options='$parent.$parent.f_repaired'-->
|
104
|
+
<!--condition="f_repaired = '{}'"-->
|
105
|
+
<!--close-on-select clear-button> </v-select>-->
|
106
|
+
<!--</div>-->
|
107
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
108
|
+
<label class="font_normal_body">安 检 项</label>
|
109
|
+
<v-select id="f_device_type"
|
110
|
+
placeholder='安检项'
|
111
|
+
class="select select_list" style="width: 60%"
|
112
|
+
v-model='model.f_device_type'
|
113
|
+
:value.sync="model.f_device_type"
|
114
|
+
:options='$parent.$parent.f_devices'
|
115
|
+
condition="f_devices.f_device_type = '{}'"
|
116
|
+
close-on-select clear-button> </v-select>
|
117
|
+
</div>
|
118
|
+
<div class="col-sm-4 " style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
119
|
+
<label class="font_normal_body">安检结果</label>
|
120
|
+
<v-select
|
121
|
+
placeholder='安检结果'
|
122
|
+
:value-single="true"
|
123
|
+
class="select select_list" style="width: 60%"
|
124
|
+
v-model='model.f_check_result'
|
125
|
+
:value.sync="model.f_check_result"
|
126
|
+
:options='$parent.$parent.f_check_results'
|
127
|
+
condition="f_defect_content like '%{}%'"
|
128
|
+
close-on-select clear-button> </v-select>
|
129
|
+
</div>
|
130
|
+
<div class="col-sm-4" style="width: 20%">
|
131
|
+
<label class="font_normal_body" style="margin-right: 2px"> 公司 </label>
|
132
|
+
<right-tree @re-res="$parent.$parent.getorg" :initresid="$parent.$parent.$login.f.orgid">
|
133
|
+
</right-tree>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="col-sm-4" style="width: 20%">
|
137
|
+
<label class="font_normal_body">片  区</label>
|
138
|
+
<v-select class="select_list select"
|
139
|
+
placeholder='片区/管理站' style="width: 60%"
|
140
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
141
|
+
:options='$parent.$parent.sliceArea'
|
142
|
+
filer-key="name"
|
143
|
+
close-on-select clear-button
|
144
|
+
condition="f_slice_area='{}'"
|
145
|
+
:value-single="true">
|
146
|
+
</v-select>
|
147
|
+
</div>
|
148
|
+
<div class="col-sm-2 form-group">
|
149
|
+
<label class="font_normal_body">抄 表 册</label>
|
150
|
+
<v-select class="select_list select"
|
151
|
+
placeholder='抄表册' style="width: 60%"
|
152
|
+
:value.sync="model.f_meter_book_num" v-model="model.f_meter_book_num"
|
153
|
+
:options='$parent.$parent.cbc'
|
154
|
+
filer-key="name"
|
155
|
+
close-on-select clear-button
|
156
|
+
condition="f_meter_book_num={}"
|
157
|
+
:value-single="true">
|
158
|
+
</v-select>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class="col-sm-4 " style="width: 20%" v-show="model.f_check_result == '有隐患'" v-if="$parent.$parent.criteriaShow">
|
162
|
+
<label class="font_normal_body">隐患筛选</label>
|
163
|
+
<input type="text" class="input_search" style="width:60%"
|
164
|
+
readonly="readonly"
|
165
|
+
placeholder="隐患筛选"
|
166
|
+
@click ="$parent.$parent.showDefects">
|
167
|
+
</div>
|
168
|
+
<!--<div class="col-sm-4 " style="width: 20%" v-model="model.orgid">-->
|
169
|
+
<!--<label class="font_normal_body">组织 id</label>-->
|
170
|
+
<!--<input type="text" v-show="false" class="input_search" style="width:60%"-->
|
171
|
+
<!-- placeholder="组织id"-->
|
172
|
+
<!--condition="orgid like '%{}%'">-->
|
173
|
+
<!--</div>-->
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
</criteria>
|
177
|
+
|
178
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
179
|
+
<template partial='head'>
|
180
|
+
<tr>
|
181
|
+
<th>安检状态</th>
|
182
|
+
<th>审核状态</th>
|
183
|
+
<th>用户名称</th>
|
184
|
+
<th>用户编号</th>
|
185
|
+
<th>入户时间</th>
|
186
|
+
<th>离开时间</th>
|
187
|
+
<th>安检人</th>
|
188
|
+
<th>用户类型</th>
|
189
|
+
<th>详细地址</th>
|
190
|
+
<th>是否维修</th>
|
191
|
+
</tr>
|
192
|
+
</template>
|
193
|
+
<template partial='body'>
|
194
|
+
<td style="text-align: center">{{row.f_entry_status}}</td>
|
195
|
+
<td style="text-align: center">{{row.f_approved}}</td>
|
196
|
+
<td style="text-align: center">{{row.f_user_name}}</td>
|
197
|
+
<td style="text-align: center">{{row.f_userinfo_code}}</td>
|
198
|
+
<td style="text-align: center">{{row.f_onsite_time}}</td>
|
199
|
+
<td style="text-align: center">{{row.f_offsite_time}}</td>
|
200
|
+
<td style="text-align: center">{{row.f_checker_name}}</td>
|
201
|
+
<td style="text-align: center">{{row.f_check_type}}</td>
|
202
|
+
<td style="text-align: center">{{row.f_address}}</td>
|
203
|
+
<td style="text-align: center">{{row.f_repaired}}</td>
|
204
|
+
</template>
|
205
|
+
</data-grid>
|
206
|
+
</criteria-paged>
|
207
|
+
</div>
|
208
|
+
</template>
|
209
|
+
|
210
|
+
<script>
|
211
|
+
import { PagedList } from 'vue-client'
|
212
|
+
import Vue from 'vue'
|
213
|
+
import co from 'co'
|
214
|
+
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
215
|
+
|
216
|
+
let select = function * (self) {
|
217
|
+
let getGasman = yield self.$resetpost('/rs/search', {
|
218
|
+
source: 'tool.getChildrenOfResName($安检员$)',
|
219
|
+
userid: self.$login.f.id
|
220
|
+
}, {resolveMsg: null, rejectMsg: null})
|
221
|
+
//tag
|
222
|
+
getGasman.data.forEach((checker)=>{
|
223
|
+
self.checkersid.push({label:checker.name,value:checker.id})
|
224
|
+
})
|
225
|
+
self.checkersid.push({label:'全部',value:''})
|
226
|
+
}
|
227
|
+
|
228
|
+
export default {
|
229
|
+
title:'安检项查询',
|
230
|
+
data() {
|
231
|
+
let model = new PagedList('rs/path/getUserinfomation', 20)
|
232
|
+
model.f_repaired = ['']
|
233
|
+
model.f_check_plan = {f_plan_name: '', id: ''}
|
234
|
+
model.f_approved = ['']
|
235
|
+
model.f_no_checkplan = ['']
|
236
|
+
model.f_filialeid = this.$login.f.orgid
|
237
|
+
return {
|
238
|
+
show:true,
|
239
|
+
fun:this.$login.f,
|
240
|
+
f_check_result:'',
|
241
|
+
checkersid:[],
|
242
|
+
criteriaShow:false,
|
243
|
+
model: model,
|
244
|
+
showModal: false,
|
245
|
+
selfcondition:'',
|
246
|
+
f_approval_states: this.getSafeParam('安检单审核状态'),
|
247
|
+
f_entry_status: this.getSafeParam('安检状态'),
|
248
|
+
f_devices: this.getSafeParam('安检项'),
|
249
|
+
f_check_results: [{label: '全部', value: ''}, {label: '正常', value: '正常'},{label: '有隐患', value: '有隐患'}],
|
250
|
+
f_repaired: [{label: '全部', value: ''},{label:'维修状态',value:''},{label:'已修',value:'已修'},{label:'未修',value:'未修'}],
|
251
|
+
f_orgid: '',
|
252
|
+
curorgid: [this.$login.f.orgid],
|
253
|
+
sliceArea: [],
|
254
|
+
cbc:[]
|
255
|
+
}
|
256
|
+
},
|
257
|
+
ready(){
|
258
|
+
|
259
|
+
//tag
|
260
|
+
this.$refs.paged.$refs.criteria.model.f_filialeid = this.$login.f.orgid
|
261
|
+
this.$refs.paged.$refs.criteria.model.f_device_type = ['']
|
262
|
+
this.pianqu()
|
263
|
+
let gen = select(this)
|
264
|
+
return co(gen)
|
265
|
+
},
|
266
|
+
methods: {
|
267
|
+
getSafeParam(val){
|
268
|
+
if(this.$appdata.getParam(val)){
|
269
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(val)]
|
270
|
+
}else{
|
271
|
+
return [{label: '全部', value: ''}]
|
272
|
+
}
|
273
|
+
|
274
|
+
},
|
275
|
+
pianqu() {
|
276
|
+
let http = new HttpResetClass()
|
277
|
+
let getAllArea = http.load('POST', '/rs/search', {
|
278
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
279
|
+
userid: this.$login.f.id
|
280
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'}).then((getAllArea)=>{
|
281
|
+
this.sliceArea = [{label: '全部', value: ''}]
|
282
|
+
//tag
|
283
|
+
//tag
|
284
|
+
//tag
|
285
|
+
getAllArea.data.forEach((res) => {
|
286
|
+
this.sliceArea.push({label: res.name, value:res.name})
|
287
|
+
})
|
288
|
+
//tag
|
289
|
+
})
|
290
|
+
|
291
|
+
},
|
292
|
+
Mreadibook(){
|
293
|
+
let http = new HttpResetClass()
|
294
|
+
let getMeterReadingBooks = http.load('POST','api/af-safecheck/logic/getMeterBooksData',
|
295
|
+
{data: {f_orgid: `${this.f_orgid}`}},
|
296
|
+
{resolveMsg: null, rejectMsg: '获取失败!!!'}).then((getAllArea)=>{
|
297
|
+
this.cbc = [{label: '全部', value: ''}]
|
298
|
+
//tag
|
299
|
+
//tag)
|
300
|
+
//tag
|
301
|
+
getAllArea.data.meterbooks.forEach((res) => {
|
302
|
+
this.cbc.push({label: res.f_book_name, value: res.id})
|
303
|
+
})
|
304
|
+
})
|
305
|
+
},
|
306
|
+
getorg (val) {
|
307
|
+
this.f_orgid = this.$login.convertToIn(val.resids)
|
308
|
+
this.Mreadibook()
|
309
|
+
},
|
310
|
+
hidden() {
|
311
|
+
this.criteriaShow = !this.criteriaShow
|
312
|
+
},
|
313
|
+
hiddenr() {
|
314
|
+
this.$parent.showItem = !this.$parent.showItem
|
315
|
+
},
|
316
|
+
ok () {
|
317
|
+
this.showModal = false
|
318
|
+
let str = this.$refs.paged.$refs.criteria.$refs.chooser.condition.trim()
|
319
|
+
if(str.length != 0) {
|
320
|
+
let condition = ' and (' + this.$refs.paged.$refs.criteria.$refs.chooser.condition + ') '
|
321
|
+
//tag
|
322
|
+
this.$set('selfcondition', condition)
|
323
|
+
}else{
|
324
|
+
this.$set('selfcondition', '')
|
325
|
+
}
|
326
|
+
},
|
327
|
+
cancel () {
|
328
|
+
this.showModal = false
|
329
|
+
this.$set('selfcondition','')
|
330
|
+
},
|
331
|
+
search(args) {
|
332
|
+
this.$parent.close()
|
333
|
+
var str = args.condition
|
334
|
+
str += this.selfcondition
|
335
|
+
if(this.$refs.paged.$refs.criteria.model.f_entry_status == '未入户'){
|
336
|
+
str = str.replace("f_entry_status = '未入户'", "f_entry_status != '入户'")
|
337
|
+
//tag
|
338
|
+
//tag
|
339
|
+
}
|
340
|
+
this.model.search(str, args.model)
|
341
|
+
|
342
|
+
},
|
343
|
+
showDefects(){
|
344
|
+
this.showModal = true
|
345
|
+
}
|
346
|
+
},
|
347
|
+
|
348
|
+
}
|
349
|
+
</script>
|