safecheck-client 3.0.30-61-t2 → 3.0.30-61-t4
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 +1 -1
- package/src/components/CheckerCount/CheckCountUserList.vue +3 -3
- package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
- package/src/components/DefectDealMain/DefectListNew.vue +2 -2
- package/src/components/DefectDealMain/DefectPaperNew.vue +5 -5
- package/src/components/ExportExcel.vue +342 -340
- package/src/components/NewDefectList/DefectListNew.vue +2 -2
- package/src/components/NewDefectList/DefectPaperNew.vue +4 -4
- 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 +6 -6
- 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/DefectList.vue +1 -1
- package/src/components/defect/DefectListWeixiu.vue +1 -1
- 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 +6 -6
- 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 +3 -3
- package/src/components/pc/DefectDeal.vue +2 -2
- package/src/components/pc/Edit.vue +126 -126
- package/src/components/pc/NewCheckpaper.vue +4 -4
- package/src/components/pc/PaperChazhiMain.vue +2 -2
- package/src/components/pc/PaperDefectMain.vue +2 -2
- package/src/components/pc/PaperEdit.vue +3 -3
- package/src/components/pc/PaperVisitMain.vue +2 -2
- package/src/components/pc/SafeVisitHistory.vue +3 -3
- package/src/components/pc/SafecheckDeviceList.vue +3 -3
- package/src/components/pc/SelectCheckNoPlan.vue +4 -4
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/planmanage/checkUserList.vue +4 -4
- package/src/components/querycheckpaper/CheckSearchUser.vue +7 -7
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +7 -7
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +6 -6
- package/src/components/report/CheckPlanAreaList.vue +3 -3
- package/src/components/report/CheckPlanUserList.vue +3 -3
- package/src/components/report/NoCheckplanSafecheck.vue +3 -3
- package/src/components/rongcheng/CheckSearchArea.vue +3 -3
- package/src/components/rongcheng/CheckSearchUser.vue +2 -2
- package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
- package/src/components/rongcheng/CheckUserList.vue +3 -3
- package/src/components/rongcheng/DefectList.vue +1 -1
- 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 +6 -6
- package/src/components/shaoguan/CheckPlanUserList.vue +3 -3
- package/src/components/shaoguan/DefectList.vue +1 -1
- 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 +6 -6
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +1 -1
- package/src/filiale/ALshan/pc/checkUserList.vue +4 -4
- package/src/filiale/ancheng/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +1 -1
- 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 +4 -4
- package/src/filiale/bayan/pc/PaperList.vue +3 -3
- package/src/filiale/fugou/pc/PaperList.vue +3 -3
- package/src/filiale/fugu/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +4 -4
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +3 -3
- 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 +4 -4
- package/src/filiale/gehua/pc/PaperList.vue +2 -2
- package/src/filiale/gehua/pc/checkUserList.vue +4 -4
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/guangxi/pc/DefectListNew.vue +2 -2
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/hanzhong/pc/CheckUserList.vue +4 -4
- package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
- package/src/filiale/huatong/android/SafecheckOrderV.vue +1 -1
- 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 +7 -7
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +2 -2
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +1 -1
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/jingyang/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/kelai/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/kelai/pc/DefectListNew.vue +2 -2
- package/src/filiale/kelai/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +2 -2
- 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 +4 -4
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +1 -1
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +3 -3
- package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/lixian/pc/CheckSearchUser.vue +6 -6
- 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 +3 -3
- package/src/filiale/lixian/pc/checkUserList.vue +4 -4
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/minsheng/pc/DefectListNew.vue +2 -2
- package/src/filiale/minsheng/pc/checkUserList.vue +4 -4
- package/src/filiale/pingxiang/pc/DefectListNew.vue +2 -2
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/DefectListNew.vue +2 -2
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +3 -3
- package/src/filiale/qianneng/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/checkPlanList.vue +6 -6
- package/src/filiale/qianneng/pc/checkUserList.vue +7 -7
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +2 -2
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/rizhao/pc/DefectList.vue +1 -1
- package/src/filiale/rizhao/pc/PaperList.vue +3 -3
- package/src/filiale/rongchuang/pc/checkUserList.vue +4 -4
- package/src/filiale/shanxian/pc/CheckDetail.vue +6 -6
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +5 -5
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
- package/src/filiale/shexian/pc/DefectListNew.vue +2 -2
- package/src/filiale/shexian/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/shimen/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/shimen/pc/DefectList.vue +1 -1
- 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 +4 -4
- package/src/filiale/tianke/pc/DefectListNew.vue +2 -2
- 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 +6 -6
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +1 -1
- 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 +3 -3
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperList.vue +3 -3
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +4 -4
- 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 +6 -6
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +6 -6
- package/src/filiale/weinan/pc/CheckNoDetail.vue +6 -6
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +3 -3
- package/src/filiale/weinan/pc/DefectPaperNew.vue +3 -3
- 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 +4 -4
- 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 +3 -3
- package/src/filiale/weinan/pc/checkUserList.vue +4 -4
- package/src/filiale/weinanct/pc/PaperList.vue +3 -3
- package/src/filiale/wensu/pc/CheckDetail.vue +6 -6
- package/src/filiale/wensu/pc/CheckSearchUser.vue +8 -8
- package/src/filiale/wensu/pc/DefectListNew.vue +2 -2
- package/src/filiale/wensu/pc/DefectPaperNew.vue +5 -5
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/wensu/pc/checkUserList.vue +4 -4
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +3 -3
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/wenxi/pc/DefectList.vue +1 -1
- package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +3 -3
- package/src/filiale/wenxi/pc/PaperList.vue +5 -5
- package/src/filiale/wenxi/pc/checkPlanList.vue +6 -6
- package/src/filiale/wenxi/pc/checkUserList.vue +4 -4
- package/src/filiale/wuan/pc/DefectListWeixiu.vue +1 -1
- 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 +6 -6
- package/src/filiale/wuhai/pc/checkUserList.vue +4 -4
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +3 -3
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +1 -1
- 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 +4 -4
- 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 +3 -3
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +7 -7
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +2 -2
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +4 -4
- 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 +3 -3
- package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
- package/src/filiale/yongzhou/pc/checkUserList.vue +4 -4
- package/src/filiale/yongzhou/pc/communityDetail.vue +3 -3
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +3 -3
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +3 -3
- package/src/filiale/yongzhou/pc/safeDetail.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yuansheng/pc/DefectListNew.vue +2 -2
- package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +1 -1
- 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 +2 -2
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
- package/src/plugins/LoadCheckParams.js +59 -59
@@ -1,213 +1,213 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto select-overspread">
|
3
|
-
<validator name='v'>
|
4
|
-
<form class="form-horizontal" novalidate>
|
5
|
-
<ul class="nav nav-tabs" style="margin-bottom: 10px">
|
6
|
-
<li class="active"><a href="#">安检册信息</a></li>
|
7
|
-
</ul>
|
8
|
-
<div class="row" style="margin-top: 10px">
|
9
|
-
<div class="col-sm-12 form-group" style="margin: 0">
|
10
|
-
<role-selector-safe
|
11
|
-
@alluser="getUsers"
|
12
|
-
@re-res="getRes"
|
13
|
-
role-name="安检员"
|
14
|
-
role-lable="安 检 员 "
|
15
|
-
:value.sync="checkBook.f_checker_name"
|
16
|
-
v-model="checkBook.f_checker_name">
|
17
|
-
</role-selector-safe>
|
18
|
-
</div>
|
19
|
-
<!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
|
20
|
-
<!-- <label class="font_normal_body">表册类型</label>-->
|
21
|
-
<!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
|
22
|
-
<!-- :value.sync="checkBook.f_check_book_type"-->
|
23
|
-
<!-- v-validate:f_check_book_type='{required: true }'>-->
|
24
|
-
<!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
|
25
|
-
<!-- :value-single="true" style="width: 60%"-->
|
26
|
-
<!-- class="select_list select"-->
|
27
|
-
<!-- :options='bookTypes' placeholder=''-->
|
28
|
-
<!-- close-on-select></v-select>-->
|
29
|
-
<!-- </div>-->
|
30
|
-
<div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_user_type.required ? 'has-error' : '']">
|
31
|
-
<label class="font_normal_body">用户类型</label>
|
32
|
-
<input type="text" v-show="false" v-model="checkBook.f_user_type"
|
33
|
-
v-validate:f_user_type='{required: true }'>
|
34
|
-
<v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
|
35
|
-
:value-single="true" style="width: 60%"
|
36
|
-
class="select_list select"
|
37
|
-
:options='userTypes' placeholder=''
|
38
|
-
close-on-select></v-select>
|
39
|
-
</div>
|
40
|
-
<div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_name.required ? 'has-error' : '']">
|
41
|
-
<label class="font_normal_body">安检册名称</label>
|
42
|
-
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
43
|
-
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
44
|
-
</div>
|
45
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
46
|
-
<label class="font_normal_body">上次执行日期</label>
|
47
|
-
<datepicker
|
48
|
-
:value.sync="checkBook.f_last_run_date"
|
49
|
-
style="width: 60%"
|
50
|
-
:format="'yyyy-MM-dd'"
|
51
|
-
v-model="checkBook.f_last_run_date"
|
52
|
-
>
|
53
|
-
</datepicker>
|
54
|
-
</div>
|
55
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
56
|
-
<label class="font_normal_body">执行日期</label>
|
57
|
-
<datepicker
|
58
|
-
:value.sync="checkBook.f_run_date"
|
59
|
-
style="width: 60%"
|
60
|
-
:format="'yyyy-MM-dd'"
|
61
|
-
v-model="checkBook.f_run_date"
|
62
|
-
>
|
63
|
-
</datepicker>
|
64
|
-
</div>
|
65
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
66
|
-
<label class="font_normal_body">执行周期</label>
|
67
|
-
<input type="number" class="input_search" v-model="checkBook.f_around_time"
|
68
|
-
style="width: 60%" >
|
69
|
-
</div>
|
70
|
-
<div class="form-group col-sm-6" style="margin-top: 20px">
|
71
|
-
<label class="font_normal_body">周期单位</label>
|
72
|
-
<v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
|
73
|
-
:value-single="true" style="width: 60%"
|
74
|
-
class="select_list select"
|
75
|
-
:options='aroundUnit' placeholder=''
|
76
|
-
close-on-select></v-select>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
|
80
|
-
<!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
|
81
|
-
<!-- <label class="font_normal_body">自动下发</label>-->
|
82
|
-
<!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
|
83
|
-
<!-- :value-single="true" style="width: 60%"-->
|
84
|
-
<!-- class="select_list select"-->
|
85
|
-
<!-- :options='autos' placeholder=''-->
|
86
|
-
<!-- close-on-select></v-select>-->
|
87
|
-
<!-- </div>-->
|
88
|
-
</div>
|
89
|
-
</form>
|
90
|
-
<div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
|
91
|
-
<button @click="confirm()" class="button_search">确认</button>
|
92
|
-
<!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
|
93
|
-
<button @click="close()" class="button_clear">取消</button>
|
94
|
-
</div>
|
95
|
-
</validator>
|
96
|
-
</div>
|
97
|
-
</template>
|
98
|
-
<script>
|
99
|
-
import * as Util from "../../../components/Util";
|
100
|
-
import bus from "../../../bus";
|
101
|
-
import {HttpResetClass} from 'vue-client'
|
102
|
-
|
103
|
-
export default {
|
104
|
-
data () {
|
105
|
-
return {
|
106
|
-
aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
|
107
|
-
bookTypes:[{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
|
108
|
-
userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
109
|
-
autos:[{label: '是', value: '是'}, {label: '否', value: '否'}],
|
110
|
-
allUsers:[],
|
111
|
-
checkBook: {
|
112
|
-
f_check_book_name: '',
|
113
|
-
f_run_date: '',
|
114
|
-
f_around_time: '',
|
115
|
-
f_around_unit: '',
|
116
|
-
f_create_date: '',
|
117
|
-
f_create_person: '',
|
118
|
-
f_user_type:'',
|
119
|
-
f_orgid: '',
|
120
|
-
f_is_auto:'否',
|
121
|
-
f_check_book_type:"用户",
|
122
|
-
f_checker_name: '',
|
123
|
-
f_checker_id:'',
|
124
|
-
}
|
125
|
-
}
|
126
|
-
},
|
127
|
-
props: ['row','showtype'],
|
128
|
-
watch: {
|
129
|
-
'checkBook.f_checker_name' (val) {
|
130
|
-
const user = this.allUsers.filter(item=>item.name==val);
|
131
|
-
if(user.length>0){
|
132
|
-
this.checkBook.f_checker_id = user[0]["id"]
|
133
|
-
}
|
134
|
-
console.log("777",this.checkBook)
|
135
|
-
},
|
136
|
-
row (row) {
|
137
|
-
this.changeCheckBook(row)
|
138
|
-
}
|
139
|
-
},
|
140
|
-
ready () {
|
141
|
-
// console.log(this.$login.f.orgid)
|
142
|
-
this.changeCheckBook(this.row)
|
143
|
-
this.checkBook.f_user_type = this.showtype
|
144
|
-
console.log('row', JSON.stringify(this.row))
|
145
|
-
},
|
146
|
-
methods: {
|
147
|
-
changeCheckBook (row) {
|
148
|
-
console.log('row改变了', row)
|
149
|
-
if (row && row.id) {
|
150
|
-
console.log('进入修改赋值')
|
151
|
-
this.checkBook = row
|
152
|
-
}
|
153
|
-
},
|
154
|
-
deleteBook () {
|
155
|
-
console.log('delete', this.row)
|
156
|
-
},
|
157
|
-
close () {
|
158
|
-
console.log('关闭')
|
159
|
-
this.$parent.showItem = false
|
160
|
-
},
|
161
|
-
confirm () {
|
162
|
-
if(!this.checkBook.f_check_book_name){
|
163
|
-
this.$showMessage('请填写片区名称')
|
164
|
-
return
|
165
|
-
}
|
166
|
-
// if(!this.checkBook.f_check_book_type){
|
167
|
-
// this.$showMessage('请选择表册类型')
|
168
|
-
// return
|
169
|
-
// }
|
170
|
-
if(!this.checkBook.f_user_type){
|
171
|
-
this.$showMessage('请选择用户类型')
|
172
|
-
return
|
173
|
-
|
174
|
-
}
|
175
|
-
this.checkBook.f_orgid = this.$login.f.orgid
|
176
|
-
this.checkBook.f_create_person = this.$login.f.name
|
177
|
-
this.checkBook.f_create_date = Util.toStandardDateString()
|
178
|
-
console.log('checkbook', this.checkBook)
|
179
|
-
let http = new HttpResetClass()
|
180
|
-
http.load('POST', '
|
181
|
-
{resolveMsg: '保存片区信息成功', rejectMsg: '保存片区信息失败'}).then(res => {
|
182
|
-
if (res.data.code === 200) {
|
183
|
-
let dataplan ={
|
184
|
-
id:res.data.id,
|
185
|
-
f_check_book_name: this.checkBook.f_check_book_name,
|
186
|
-
f_checker_name:this.checkBook.f_checker_name,
|
187
|
-
f_checker_id:this.checkBook.f_checker_id,
|
188
|
-
f_create_person: this.$login.f.name,
|
189
|
-
f_orgid: this.$login.f.orgid
|
190
|
-
}
|
191
|
-
http.load('POST', '
|
192
|
-
this.$showMessage('保存片区信息成功',['confirm']).then(res=>{
|
193
|
-
if (res==='confirm'){
|
194
|
-
bus.$emit('fresh-main')
|
195
|
-
}
|
196
|
-
})
|
197
|
-
}else{
|
198
|
-
this.$showMessage('保存片区信息失败')
|
199
|
-
}
|
200
|
-
})
|
201
|
-
},
|
202
|
-
getRes (obj) {
|
203
|
-
if (obj.resids) {
|
204
|
-
this.checkBook.f_orgid = obj.resids[0]
|
205
|
-
console.log('id', this.checkBook.f_orgid)
|
206
|
-
}
|
207
|
-
},
|
208
|
-
getUsers(obj){
|
209
|
-
this.allUsers = obj
|
210
|
-
}
|
211
|
-
}
|
212
|
-
}
|
213
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="auto select-overspread">
|
3
|
+
<validator name='v'>
|
4
|
+
<form class="form-horizontal" novalidate>
|
5
|
+
<ul class="nav nav-tabs" style="margin-bottom: 10px">
|
6
|
+
<li class="active"><a href="#">安检册信息</a></li>
|
7
|
+
</ul>
|
8
|
+
<div class="row" style="margin-top: 10px">
|
9
|
+
<div class="col-sm-12 form-group" style="margin: 0">
|
10
|
+
<role-selector-safe
|
11
|
+
@alluser="getUsers"
|
12
|
+
@re-res="getRes"
|
13
|
+
role-name="安检员"
|
14
|
+
role-lable="安 检 员 "
|
15
|
+
:value.sync="checkBook.f_checker_name"
|
16
|
+
v-model="checkBook.f_checker_name">
|
17
|
+
</role-selector-safe>
|
18
|
+
</div>
|
19
|
+
<!-- <div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_type.required ? 'has-error' : '']">-->
|
20
|
+
<!-- <label class="font_normal_body">表册类型</label>-->
|
21
|
+
<!-- <input type="text" v-show="false" v-model="checkBook.f_check_book_type"-->
|
22
|
+
<!-- :value.sync="checkBook.f_check_book_type"-->
|
23
|
+
<!-- v-validate:f_check_book_type='{required: true }'>-->
|
24
|
+
<!-- <v-select :value.sync="checkBook.f_check_book_type" v-model='checkBook.f_check_book_type'-->
|
25
|
+
<!-- :value-single="true" style="width: 60%"-->
|
26
|
+
<!-- class="select_list select"-->
|
27
|
+
<!-- :options='bookTypes' placeholder=''-->
|
28
|
+
<!-- close-on-select></v-select>-->
|
29
|
+
<!-- </div>-->
|
30
|
+
<div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_user_type.required ? 'has-error' : '']">
|
31
|
+
<label class="font_normal_body">用户类型</label>
|
32
|
+
<input type="text" v-show="false" v-model="checkBook.f_user_type"
|
33
|
+
v-validate:f_user_type='{required: true }'>
|
34
|
+
<v-select :value.sync="checkBook.f_user_type" v-model='checkBook.f_user_type'
|
35
|
+
:value-single="true" style="width: 60%"
|
36
|
+
class="select_list select"
|
37
|
+
:options='userTypes' placeholder=''
|
38
|
+
close-on-select></v-select>
|
39
|
+
</div>
|
40
|
+
<div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_name.required ? 'has-error' : '']">
|
41
|
+
<label class="font_normal_body">安检册名称</label>
|
42
|
+
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
43
|
+
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
44
|
+
</div>
|
45
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
46
|
+
<label class="font_normal_body">上次执行日期</label>
|
47
|
+
<datepicker
|
48
|
+
:value.sync="checkBook.f_last_run_date"
|
49
|
+
style="width: 60%"
|
50
|
+
:format="'yyyy-MM-dd'"
|
51
|
+
v-model="checkBook.f_last_run_date"
|
52
|
+
>
|
53
|
+
</datepicker>
|
54
|
+
</div>
|
55
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
56
|
+
<label class="font_normal_body">执行日期</label>
|
57
|
+
<datepicker
|
58
|
+
:value.sync="checkBook.f_run_date"
|
59
|
+
style="width: 60%"
|
60
|
+
:format="'yyyy-MM-dd'"
|
61
|
+
v-model="checkBook.f_run_date"
|
62
|
+
>
|
63
|
+
</datepicker>
|
64
|
+
</div>
|
65
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
66
|
+
<label class="font_normal_body">执行周期</label>
|
67
|
+
<input type="number" class="input_search" v-model="checkBook.f_around_time"
|
68
|
+
style="width: 60%" >
|
69
|
+
</div>
|
70
|
+
<div class="form-group col-sm-6" style="margin-top: 20px">
|
71
|
+
<label class="font_normal_body">周期单位</label>
|
72
|
+
<v-select :value.sync="checkBook.f_around_unit" v-model='checkBook.f_around_unit'
|
73
|
+
:value-single="true" style="width: 60%"
|
74
|
+
class="select_list select"
|
75
|
+
:options='aroundUnit' placeholder=''
|
76
|
+
close-on-select></v-select>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
|
80
|
+
<!-- <div class="form-group col-sm-6" style="margin-top: 20px">-->
|
81
|
+
<!-- <label class="font_normal_body">自动下发</label>-->
|
82
|
+
<!-- <v-select :value.sync="checkBook.f_is_auto" v-model='checkBook.f_is_auto'-->
|
83
|
+
<!-- :value-single="true" style="width: 60%"-->
|
84
|
+
<!-- class="select_list select"-->
|
85
|
+
<!-- :options='autos' placeholder=''-->
|
86
|
+
<!-- close-on-select></v-select>-->
|
87
|
+
<!-- </div>-->
|
88
|
+
</div>
|
89
|
+
</form>
|
90
|
+
<div style="text-align:right;height:auto;margin-top:6px;margin-right: 10%">
|
91
|
+
<button @click="confirm()" class="button_search">确认</button>
|
92
|
+
<!-- <button @click="deleteBook()" class="button_delete">删除</button>-->
|
93
|
+
<button @click="close()" class="button_clear">取消</button>
|
94
|
+
</div>
|
95
|
+
</validator>
|
96
|
+
</div>
|
97
|
+
</template>
|
98
|
+
<script>
|
99
|
+
import * as Util from "../../../components/Util";
|
100
|
+
import bus from "../../../bus";
|
101
|
+
import {HttpResetClass} from 'vue-client'
|
102
|
+
|
103
|
+
export default {
|
104
|
+
data () {
|
105
|
+
return {
|
106
|
+
aroundUnit: [{label: '年', value: '年'}, {label: '月', value: '月'}, {label: '日', value: '日'}],
|
107
|
+
bookTypes:[{label: '用户', value: '用户'}, {label: '小区', value: '小区'}],
|
108
|
+
userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
109
|
+
autos:[{label: '是', value: '是'}, {label: '否', value: '否'}],
|
110
|
+
allUsers:[],
|
111
|
+
checkBook: {
|
112
|
+
f_check_book_name: '',
|
113
|
+
f_run_date: '',
|
114
|
+
f_around_time: '',
|
115
|
+
f_around_unit: '',
|
116
|
+
f_create_date: '',
|
117
|
+
f_create_person: '',
|
118
|
+
f_user_type:'',
|
119
|
+
f_orgid: '',
|
120
|
+
f_is_auto:'否',
|
121
|
+
f_check_book_type:"用户",
|
122
|
+
f_checker_name: '',
|
123
|
+
f_checker_id:'',
|
124
|
+
}
|
125
|
+
}
|
126
|
+
},
|
127
|
+
props: ['row','showtype'],
|
128
|
+
watch: {
|
129
|
+
'checkBook.f_checker_name' (val) {
|
130
|
+
const user = this.allUsers.filter(item=>item.name==val);
|
131
|
+
if(user.length>0){
|
132
|
+
this.checkBook.f_checker_id = user[0]["id"]
|
133
|
+
}
|
134
|
+
console.log("777",this.checkBook)
|
135
|
+
},
|
136
|
+
row (row) {
|
137
|
+
this.changeCheckBook(row)
|
138
|
+
}
|
139
|
+
},
|
140
|
+
ready () {
|
141
|
+
// console.log(this.$login.f.orgid)
|
142
|
+
this.changeCheckBook(this.row)
|
143
|
+
this.checkBook.f_user_type = this.showtype
|
144
|
+
console.log('row', JSON.stringify(this.row))
|
145
|
+
},
|
146
|
+
methods: {
|
147
|
+
changeCheckBook (row) {
|
148
|
+
console.log('row改变了', row)
|
149
|
+
if (row && row.id) {
|
150
|
+
console.log('进入修改赋值')
|
151
|
+
this.checkBook = row
|
152
|
+
}
|
153
|
+
},
|
154
|
+
deleteBook () {
|
155
|
+
console.log('delete', this.row)
|
156
|
+
},
|
157
|
+
close () {
|
158
|
+
console.log('关闭')
|
159
|
+
this.$parent.showItem = false
|
160
|
+
},
|
161
|
+
confirm () {
|
162
|
+
if(!this.checkBook.f_check_book_name){
|
163
|
+
this.$showMessage('请填写片区名称')
|
164
|
+
return
|
165
|
+
}
|
166
|
+
// if(!this.checkBook.f_check_book_type){
|
167
|
+
// this.$showMessage('请选择表册类型')
|
168
|
+
// return
|
169
|
+
// }
|
170
|
+
if(!this.checkBook.f_user_type){
|
171
|
+
this.$showMessage('请选择用户类型')
|
172
|
+
return
|
173
|
+
|
174
|
+
}
|
175
|
+
this.checkBook.f_orgid = this.$login.f.orgid
|
176
|
+
this.checkBook.f_create_person = this.$login.f.name
|
177
|
+
this.checkBook.f_create_date = Util.toStandardDateString()
|
178
|
+
console.log('checkbook', this.checkBook)
|
179
|
+
let http = new HttpResetClass()
|
180
|
+
http.load('POST', 'api/af-safecheck/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
181
|
+
{resolveMsg: '保存片区信息成功', rejectMsg: '保存片区信息失败'}).then(res => {
|
182
|
+
if (res.data.code === 200) {
|
183
|
+
let dataplan ={
|
184
|
+
id:res.data.id,
|
185
|
+
f_check_book_name: this.checkBook.f_check_book_name,
|
186
|
+
f_checker_name:this.checkBook.f_checker_name,
|
187
|
+
f_checker_id:this.checkBook.f_checker_id,
|
188
|
+
f_create_person: this.$login.f.name,
|
189
|
+
f_orgid: this.$login.f.orgid
|
190
|
+
}
|
191
|
+
http.load('POST', 'api/af-safecheck/logic/CreatorBookplan', {data:dataplan},{resolveMsg: null, rejectMsg: null})
|
192
|
+
this.$showMessage('保存片区信息成功',['confirm']).then(res=>{
|
193
|
+
if (res==='confirm'){
|
194
|
+
bus.$emit('fresh-main')
|
195
|
+
}
|
196
|
+
})
|
197
|
+
}else{
|
198
|
+
this.$showMessage('保存片区信息失败')
|
199
|
+
}
|
200
|
+
})
|
201
|
+
},
|
202
|
+
getRes (obj) {
|
203
|
+
if (obj.resids) {
|
204
|
+
this.checkBook.f_orgid = obj.resids[0]
|
205
|
+
console.log('id', this.checkBook.f_orgid)
|
206
|
+
}
|
207
|
+
},
|
208
|
+
getUsers(obj){
|
209
|
+
this.allUsers = obj
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
</script>
|
@@ -269,7 +269,7 @@ export default {
|
|
269
269
|
ok (){
|
270
270
|
//tag
|
271
271
|
let http = new HttpResetClass()
|
272
|
-
http.load('POST', '
|
272
|
+
http.load('POST', 'api/af-safecheck/logic/safeEntity', {data:{tableName:'t_check_book',entityData:this.checkBook}},
|
273
273
|
{resolveMsg: '更新片区信息成功', rejectMsg: '保存片区信息成功'}).then(res=>{
|
274
274
|
if (res.data.code===200){
|
275
275
|
this.$showMessage('修改成功')
|
@@ -303,9 +303,9 @@ export default {
|
|
303
303
|
let http = new HttpResetClass()
|
304
304
|
let upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${val.id}'`
|
305
305
|
let delCheckBook= `delete from t_check_book where id ='${val.id}'`
|
306
|
-
await http.load('POST', '
|
306
|
+
await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upAddress}},
|
307
307
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
308
|
-
await http.load('POST', '
|
308
|
+
await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delCheckBook}},
|
309
309
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
310
310
|
this.$showMessage('删除成功')
|
311
311
|
this.$refs.paged.$refs.criteria.search()
|
@@ -322,7 +322,7 @@ export default {
|
|
322
322
|
tui.f_user_state = '正常'
|
323
323
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
324
324
|
AND ${userCondition}`
|
325
|
-
await new HttpResetClass().load('POST', '
|
325
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: addUser}},
|
326
326
|
{resolveMsg: null, rejectMsg: '添加用户失败'})
|
327
327
|
this.$showMessage('添加用户成功')
|
328
328
|
this.selectBook = ''
|
@@ -359,7 +359,7 @@ export default {
|
|
359
359
|
tui.f_user_state = '正常'
|
360
360
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
361
361
|
AND ${userCondition}`
|
362
|
-
await new HttpResetClass().load('POST', '
|
362
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upUser}},
|
363
363
|
{resolveMsg: null, rejectMsg: '调整用户失败'})
|
364
364
|
this.$showMessage('调整用户成功')
|
365
365
|
this.selectBook = ''
|
@@ -434,7 +434,7 @@ export default {
|
|
434
434
|
tui.f_user_state = '正常'
|
435
435
|
AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
|
436
436
|
AND ${userCondition}`
|
437
|
-
await new HttpResetClass().load('POST', '
|
437
|
+
await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delUser}},
|
438
438
|
{resolveMsg: null, rejectMsg: '删除片区失败'})
|
439
439
|
this.$showMessage('从片区删除所选用户成功')
|
440
440
|
this.selectBook = ''
|
@@ -486,7 +486,7 @@ export default {
|
|
486
486
|
checkBook: this.checkBook,
|
487
487
|
sqlStr: condition
|
488
488
|
}
|
489
|
-
new HttpResetClass().load('post', '
|
489
|
+
new HttpResetClass().load('post', 'api/af-safecheck/logic/AddCheckBook', {data}).then(res => {
|
490
490
|
//tag)
|
491
491
|
if (res.data.id) {
|
492
492
|
this.$showMessage('创建成功')
|
@@ -158,7 +158,7 @@ export default {
|
|
158
158
|
condition: c,
|
159
159
|
f_book_id: this.row.id
|
160
160
|
}
|
161
|
-
this.$http.post('
|
161
|
+
this.$http.post('api/af-safecheck/logic/removesCheckBookUser', {data: data}).then(res=>{
|
162
162
|
this.$showMessage('移出成功')
|
163
163
|
this.$refs.paged.$refs.criteria.search()
|
164
164
|
})
|
@@ -173,7 +173,7 @@ export default {
|
|
173
173
|
f_userinfo_id: row.f_userinfo_id,
|
174
174
|
f_book_id: this.row.id
|
175
175
|
}
|
176
|
-
this.$http.post('
|
176
|
+
this.$http.post('api/af-safecheck/logic/removeUserByCheckBook', {data: data}).then(res=>{
|
177
177
|
this.$showMessage('移出成功')
|
178
178
|
this.$refs.paged.$refs.criteria.search()
|
179
179
|
})
|
@@ -59,11 +59,11 @@
|
|
59
59
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
60
60
|
@click="$parent.$parent.hidden()">
|
61
61
|
</div>
|
62
|
-
<!-- <export-excel
|
62
|
+
<!-- <export-excel :data="$parent.$parent.exportParameter"
|
63
63
|
:field="$parent.$parent.exportExcelField"
|
64
|
-
sqlurl="
|
64
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="getCheckPlanAreaList"
|
65
65
|
template-name='安检汇总' :choose-col="true">
|
66
|
-
</export-excel
|
66
|
+
</export-excel>-->
|
67
67
|
<button id="btnaaaa" style="float: right" class="button_search"
|
68
68
|
@click="$parent.$parent.exportexcel()"
|
69
69
|
v-el:cx>导出</button>
|
@@ -34,11 +34,11 @@
|
|
34
34
|
placeholder="地址" condition="f_address like '%{}%'">
|
35
35
|
</div>
|
36
36
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
37
|
-
<export-excel
|
37
|
+
<export-excel :data="$parent.$parent.searchData"
|
38
38
|
:field="$parent.$parent.excelHeaders"
|
39
39
|
:choose-col="true"
|
40
|
-
sqlurl="
|
41
|
-
template-name='用户安检情况'></export-excel
|
40
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
|
41
|
+
template-name='用户安检情况'></export-excel>
|
42
42
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
43
43
|
<div style="float: right" class="button_spacing"
|
44
44
|
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
@@ -201,10 +201,10 @@
|
|
201
201
|
placeholder="用户姓名" condition="f_user_name like '%{}%'">
|
202
202
|
</div>
|
203
203
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
204
|
-
<export-excel
|
204
|
+
<export-excel :data="$parent.$parent.searchData"
|
205
205
|
:field="$parent.$parent.excelHeaders"
|
206
|
-
sqlurl="
|
207
|
-
template-name='用户安检情况'></export-excel
|
206
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
|
207
|
+
template-name='用户安检情况'></export-excel>
|
208
208
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
209
209
|
<div style="float: right" class="button_spacing"
|
210
210
|
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
@@ -560,7 +560,7 @@ export default {
|
|
560
560
|
searchInfo(val){
|
561
561
|
this.dialogVisible = true
|
562
562
|
//tag
|
563
|
-
new HttpResetClass().load('POST','
|
563
|
+
new HttpResetClass().load('POST','api/af-safecheck/logic/QrcodeUtil', {
|
564
564
|
data: {
|
565
565
|
id:val
|
566
566
|
}
|
@@ -319,7 +319,7 @@ const sendRepair = function* (self) {
|
|
319
319
|
uploadData.model.f_repairitems = repairitems
|
320
320
|
//tag)
|
321
321
|
// 调工单接口
|
322
|
-
let result = yield self.$resetpost('/
|
322
|
+
let result = yield self.$resetpost('/api/af-safecheck/logic/callerSend', uploadData)
|
323
323
|
//tag)
|
324
324
|
if (result.data.f_service_id) {
|
325
325
|
const data = {
|
@@ -448,7 +448,7 @@ export default {
|
|
448
448
|
info:info
|
449
449
|
}
|
450
450
|
let http = new HttpResetClass()
|
451
|
-
http.load('POST', '
|
451
|
+
http.load('POST', 'api/af-safecheck/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
452
452
|
if(res.data.code == 200){
|
453
453
|
this.model.search(`f_repaire_type != '无隐患'`, {})
|
454
454
|
this.showSolveModal = false
|
@@ -71,10 +71,10 @@
|
|
71
71
|
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
72
72
|
<button style="float: right" v-if="$parent.$parent.transfer=='是'" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
73
73
|
<div style="float: right">
|
74
|
-
<export-excel
|
74
|
+
<export-excel :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
75
75
|
:field="$parent.$parent.getfield"
|
76
76
|
progress="safeGetExportProgress"
|
77
|
-
sqlurl="
|
77
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefectNew" template-name='安检隐患明细' :choose-col="true"></export-excel>
|
78
78
|
</div>
|
79
79
|
</div>
|
80
80
|
</div>
|
@@ -204,7 +204,7 @@
|
|
204
204
|
<export-excel-old :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
205
205
|
:field="$parent.$parent.getfield"
|
206
206
|
progress="safeGetExportProgress"
|
207
|
-
sqlurl="
|
207
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="GetCheckPaperByDefectNew" template-name='安检计划明细' :choose-col="true"></export-excel-old>
|
208
208
|
</div>
|
209
209
|
</div>
|
210
210
|
</div>
|
@@ -845,7 +845,7 @@ export default {
|
|
845
845
|
//tag)
|
846
846
|
let rows=this.callSends[this.timercount].rows
|
847
847
|
//tag)
|
848
|
-
let result = await this.$resetpost('/
|
848
|
+
let result = await this.$resetpost('/api/af-safecheck/logic/callerSend1', this.callSends[this.timercount])
|
849
849
|
//tag)
|
850
850
|
if (result.data.f_service_id) {
|
851
851
|
const data = {
|
@@ -27,10 +27,10 @@
|
|
27
27
|
style="width: 60%" placeholder="客户电话" condition=" ( f_user_phone like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%' )">
|
28
28
|
</div>
|
29
29
|
<div class="form-group col-sm-4" style="display: flex; gap: 15px">
|
30
|
-
<export-excel
|
30
|
+
<export-excel :data="$parent.$parent.searchData"
|
31
31
|
:field="$parent.$parent.excelHeaders"
|
32
32
|
progress="safeGetExportProgress"
|
33
|
-
sqlurl="
|
33
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel>
|
34
34
|
<button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
35
35
|
<button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
|
36
36
|
<button class="button_search" @click="search()">查询</button>
|