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,120 +1,120 @@
|
|
1
|
-
<template>
|
2
|
-
<modal :show.sync="$parent.showModal" v-ref:modal>
|
3
|
-
<div slot="modal-header" class="modal-header">
|
4
|
-
<h4 class="modal-title">
|
5
|
-
添加隐患
|
6
|
-
</h4>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div slot="modal-body" class="modal-body">
|
10
|
-
<div class="row auto">
|
11
|
-
<validator name='v'>
|
12
|
-
|
13
|
-
<div class="form-group">
|
14
|
-
<label for="f_defect" class=" col-sm-3 control-label">隐患:</label>
|
15
|
-
<div class="col-sm-3">
|
16
|
-
<input class="form-control" type="text" v-model="model.f_defect" placeholder='隐患' v-validate:f_defect='{ required: true }'>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<label for="f_defect_level" class="col-sm-3 control-label">隐患级别:</label>
|
20
|
-
<div class="col-sm-3">
|
21
|
-
<input class="form-control" type="text" v-model="model.f_defect_level" placeholder='例如:A1' v-validate:f_defect_level='{ required: true }'>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div class="form-group">
|
25
|
-
<label for="f_defect_field" class=" col-sm-3 control-label">隐患字段:</label>
|
26
|
-
<div class="col-sm-3">
|
27
|
-
<input class="form-control" type="text" v-model="model.f_defect_field" placeholder='例如:f_defect_field' v-validate:f_defect_field='{ required: true }'>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<label for="f_defect_path" class="col-sm-3 control-label">隐患照片路径字段:</label>
|
31
|
-
<div class="col-sm-3">
|
32
|
-
<input class="form-control" type="text" v-model="model.f_defect_path" placeholder='例如:f_defect_path' v-validate:f_defect_path='{ required: true }'>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
</div>
|
36
|
-
<div class="form-group">
|
37
|
-
<label class=" col-sm-3 control-label">设备类别:</label>
|
38
|
-
<div class="col-sm-3">
|
39
|
-
<v-select id="f_state" :value.sync="model.f_device_type"
|
40
|
-
:options='devices'
|
41
|
-
close-on-select clear-button></v-select>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<label class="col-sm-3 control-label">设备:</label>
|
45
|
-
<div class="col-sm-3">
|
46
|
-
<input class="form-control" type="text" v-model="model.f_device_id" placeholder='设备' >
|
47
|
-
</div>
|
48
|
-
|
49
|
-
</div>
|
50
|
-
<div class="form-group">
|
51
|
-
<label for="f_remark" class=" col-sm-3 control-label">备注:</label>
|
52
|
-
<div class="col-sm-3">
|
53
|
-
<input class="form-control" type="text" v-model="model.f_remark" placeholder='备注'>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
</validator>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
<div slot="modal-footer" class="modal-footer">
|
60
|
-
<button type="button" class="btn btn-primary" @click="addDefect" >保存</button>
|
61
|
-
<button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
|
62
|
-
</div>
|
63
|
-
</modal>
|
64
|
-
</template>
|
65
|
-
|
66
|
-
<script>
|
67
|
-
import Vue from 'vue'
|
68
|
-
|
69
|
-
|
70
|
-
export default {
|
71
|
-
title: '添加隐患信息',
|
72
|
-
props:['showModal'],
|
73
|
-
data() {
|
74
|
-
return {
|
75
|
-
model:{},
|
76
|
-
devices:[]
|
77
|
-
}
|
78
|
-
},
|
79
|
-
methods: {
|
80
|
-
addDefect() {
|
81
|
-
let errorring = true
|
82
|
-
if(this.model.f_defect_field)
|
83
|
-
if(this.model.f_defect_field.endsWith("_path")){
|
84
|
-
errorring = false
|
85
|
-
alert("隐患字段不能以 _path结尾")
|
86
|
-
}
|
87
|
-
if(errorring) {
|
88
|
-
if (this.model.f_defect_path) {
|
89
|
-
if (!this.model.f_defect_path.endsWith("_path")) {
|
90
|
-
errorring = false
|
91
|
-
alert("图片路径字段必须以 _path结尾")
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
if(errorring) {
|
96
|
-
this.$resetpost(`
|
97
|
-
{data: this.model},
|
98
|
-
{resolveMsg: null, rejectMsg: null}).then(
|
99
|
-
(response) => {
|
100
|
-
window.alert('添加隐患信息成功')
|
101
|
-
}
|
102
|
-
).catch(
|
103
|
-
(response) => {
|
104
|
-
window.alert('添加隐患信息失败')
|
105
|
-
}
|
106
|
-
)
|
107
|
-
}
|
108
|
-
this.$parent.undo()
|
109
|
-
},
|
110
|
-
},
|
111
|
-
ready(){
|
112
|
-
let that = this
|
113
|
-
this.$resetpost("
|
114
|
-
respanse.data.data.forEach((item)=>{
|
115
|
-
that.devices.push({label:item.f_device_name,value:item.f_device_name})
|
116
|
-
})
|
117
|
-
})
|
118
|
-
}
|
119
|
-
}
|
120
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<modal :show.sync="$parent.showModal" v-ref:modal>
|
3
|
+
<div slot="modal-header" class="modal-header">
|
4
|
+
<h4 class="modal-title">
|
5
|
+
添加隐患
|
6
|
+
</h4>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div slot="modal-body" class="modal-body">
|
10
|
+
<div class="row auto">
|
11
|
+
<validator name='v'>
|
12
|
+
|
13
|
+
<div class="form-group">
|
14
|
+
<label for="f_defect" class=" col-sm-3 control-label">隐患:</label>
|
15
|
+
<div class="col-sm-3">
|
16
|
+
<input class="form-control" type="text" v-model="model.f_defect" placeholder='隐患' v-validate:f_defect='{ required: true }'>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<label for="f_defect_level" class="col-sm-3 control-label">隐患级别:</label>
|
20
|
+
<div class="col-sm-3">
|
21
|
+
<input class="form-control" type="text" v-model="model.f_defect_level" placeholder='例如:A1' v-validate:f_defect_level='{ required: true }'>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="form-group">
|
25
|
+
<label for="f_defect_field" class=" col-sm-3 control-label">隐患字段:</label>
|
26
|
+
<div class="col-sm-3">
|
27
|
+
<input class="form-control" type="text" v-model="model.f_defect_field" placeholder='例如:f_defect_field' v-validate:f_defect_field='{ required: true }'>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<label for="f_defect_path" class="col-sm-3 control-label">隐患照片路径字段:</label>
|
31
|
+
<div class="col-sm-3">
|
32
|
+
<input class="form-control" type="text" v-model="model.f_defect_path" placeholder='例如:f_defect_path' v-validate:f_defect_path='{ required: true }'>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</div>
|
36
|
+
<div class="form-group">
|
37
|
+
<label class=" col-sm-3 control-label">设备类别:</label>
|
38
|
+
<div class="col-sm-3">
|
39
|
+
<v-select id="f_state" :value.sync="model.f_device_type"
|
40
|
+
:options='devices'
|
41
|
+
close-on-select clear-button></v-select>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<label class="col-sm-3 control-label">设备:</label>
|
45
|
+
<div class="col-sm-3">
|
46
|
+
<input class="form-control" type="text" v-model="model.f_device_id" placeholder='设备' >
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
<div class="form-group">
|
51
|
+
<label for="f_remark" class=" col-sm-3 control-label">备注:</label>
|
52
|
+
<div class="col-sm-3">
|
53
|
+
<input class="form-control" type="text" v-model="model.f_remark" placeholder='备注'>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
</validator>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
<div slot="modal-footer" class="modal-footer">
|
60
|
+
<button type="button" class="btn btn-primary" @click="addDefect" >保存</button>
|
61
|
+
<button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
|
62
|
+
</div>
|
63
|
+
</modal>
|
64
|
+
</template>
|
65
|
+
|
66
|
+
<script>
|
67
|
+
import Vue from 'vue'
|
68
|
+
|
69
|
+
|
70
|
+
export default {
|
71
|
+
title: '添加隐患信息',
|
72
|
+
props:['showModal'],
|
73
|
+
data() {
|
74
|
+
return {
|
75
|
+
model:{},
|
76
|
+
devices:[]
|
77
|
+
}
|
78
|
+
},
|
79
|
+
methods: {
|
80
|
+
addDefect() {
|
81
|
+
let errorring = true
|
82
|
+
if(this.model.f_defect_field)
|
83
|
+
if(this.model.f_defect_field.endsWith("_path")){
|
84
|
+
errorring = false
|
85
|
+
alert("隐患字段不能以 _path结尾")
|
86
|
+
}
|
87
|
+
if(errorring) {
|
88
|
+
if (this.model.f_defect_path) {
|
89
|
+
if (!this.model.f_defect_path.endsWith("_path")) {
|
90
|
+
errorring = false
|
91
|
+
alert("图片路径字段必须以 _path结尾")
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
if(errorring) {
|
96
|
+
this.$resetpost(`api/af-safecheck/logic/添加总隐患信息`,
|
97
|
+
{data: this.model},
|
98
|
+
{resolveMsg: null, rejectMsg: null}).then(
|
99
|
+
(response) => {
|
100
|
+
window.alert('添加隐患信息成功')
|
101
|
+
}
|
102
|
+
).catch(
|
103
|
+
(response) => {
|
104
|
+
window.alert('添加隐患信息失败')
|
105
|
+
}
|
106
|
+
)
|
107
|
+
}
|
108
|
+
this.$parent.undo()
|
109
|
+
},
|
110
|
+
},
|
111
|
+
ready(){
|
112
|
+
let that = this
|
113
|
+
this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
114
|
+
respanse.data.data.forEach((item)=>{
|
115
|
+
that.devices.push({label:item.f_device_name,value:item.f_device_name})
|
116
|
+
})
|
117
|
+
})
|
118
|
+
}
|
119
|
+
}
|
120
|
+
</script>
|
@@ -1,95 +1,95 @@
|
|
1
|
-
<template>
|
2
|
-
<modal :show.sync="$parent.showModal" v-ref:modal>
|
3
|
-
<div slot="modal-header" class="modal-header">
|
4
|
-
<h4 class="modal-title">
|
5
|
-
添加安检设备
|
6
|
-
</h4>
|
7
|
-
</div>
|
8
|
-
<div slot="modal-body" class="modal-body">
|
9
|
-
<div class="row auto">
|
10
|
-
<div class="form-group">
|
11
|
-
<label class=" col-sm-3 control-label">设备名称:</label>
|
12
|
-
<div class="col-sm-3">
|
13
|
-
<input class="form-control" type="text" v-model="model.f_defect" placeholder='设备名称'>
|
14
|
-
</div>
|
15
|
-
<label class="col-sm-3 control-label">用户类型:</label>
|
16
|
-
<div class="col-sm-3">
|
17
|
-
<v-select id="f_user_type" :value.sync="model.f_user_type"
|
18
|
-
:options='user_type'
|
19
|
-
close-on-select clear-button></v-select>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
<div class="form-group">
|
23
|
-
<label class=" col-sm-3 control-label">设备保存字段:</label>
|
24
|
-
<div class="col-sm-3">
|
25
|
-
<input class="form-control" type="text" v-model="model.f_device_field" placeholder='例如:f_device_field'>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<label class="col-sm-3 control-label">是否必检:</label>
|
29
|
-
<div class="col-sm-3">
|
30
|
-
<input class="form-control" type="text" v-model="model.f_write_must" placeholder='是否必检'>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
<div slot="modal-footer" class="modal-footer">
|
36
|
-
<button type="button" class="btn btn-primary" @click="addDevice" >保存</button>
|
37
|
-
<button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
|
38
|
-
</div>
|
39
|
-
</modal>
|
40
|
-
</template>
|
41
|
-
|
42
|
-
<script>
|
43
|
-
import Vue from 'vue'
|
44
|
-
|
45
|
-
|
46
|
-
export default {
|
47
|
-
title: '添加设备信息',
|
48
|
-
data() {
|
49
|
-
return {
|
50
|
-
model:{},
|
51
|
-
devices:[]
|
52
|
-
}
|
53
|
-
},
|
54
|
-
methods: {
|
55
|
-
addDevice() {
|
56
|
-
let errorring = true
|
57
|
-
if(this.model.f_defect_field)
|
58
|
-
if(this.model.f_defect_field.endsWith("_path")){
|
59
|
-
errorring = false
|
60
|
-
alert("隐患字段不能以 _path结尾")
|
61
|
-
}
|
62
|
-
if(errorring) {
|
63
|
-
if (this.model.f_defect_path) {
|
64
|
-
if (!this.model.f_defect_path.endsWith("_path")) {
|
65
|
-
errorring = false
|
66
|
-
alert("图片路径字段必须以 _path结尾")
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
if(errorring) {
|
71
|
-
this.$resetpost('rs/entity/t_device_info',
|
72
|
-
{data: this.model},
|
73
|
-
{resolveMsg: null, rejectMsg: null}).then(
|
74
|
-
(response) => {
|
75
|
-
window.alert('添加隐患信息成功')
|
76
|
-
}
|
77
|
-
).catch(
|
78
|
-
(response) => {
|
79
|
-
window.alert('添加隐患信息失败')
|
80
|
-
}
|
81
|
-
)
|
82
|
-
}
|
83
|
-
this.$parent.undo()
|
84
|
-
},
|
85
|
-
},
|
86
|
-
ready(){
|
87
|
-
let that = this
|
88
|
-
this.$resetpost("
|
89
|
-
respanse.data.data.forEach((item)=>{
|
90
|
-
that.devices.push({label:item.f_device_name,value:item.f_device_name})
|
91
|
-
})
|
92
|
-
})
|
93
|
-
}
|
94
|
-
}
|
95
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<modal :show.sync="$parent.showModal" v-ref:modal>
|
3
|
+
<div slot="modal-header" class="modal-header">
|
4
|
+
<h4 class="modal-title">
|
5
|
+
添加安检设备
|
6
|
+
</h4>
|
7
|
+
</div>
|
8
|
+
<div slot="modal-body" class="modal-body">
|
9
|
+
<div class="row auto">
|
10
|
+
<div class="form-group">
|
11
|
+
<label class=" col-sm-3 control-label">设备名称:</label>
|
12
|
+
<div class="col-sm-3">
|
13
|
+
<input class="form-control" type="text" v-model="model.f_defect" placeholder='设备名称'>
|
14
|
+
</div>
|
15
|
+
<label class="col-sm-3 control-label">用户类型:</label>
|
16
|
+
<div class="col-sm-3">
|
17
|
+
<v-select id="f_user_type" :value.sync="model.f_user_type"
|
18
|
+
:options='user_type'
|
19
|
+
close-on-select clear-button></v-select>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<div class="form-group">
|
23
|
+
<label class=" col-sm-3 control-label">设备保存字段:</label>
|
24
|
+
<div class="col-sm-3">
|
25
|
+
<input class="form-control" type="text" v-model="model.f_device_field" placeholder='例如:f_device_field'>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<label class="col-sm-3 control-label">是否必检:</label>
|
29
|
+
<div class="col-sm-3">
|
30
|
+
<input class="form-control" type="text" v-model="model.f_write_must" placeholder='是否必检'>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
<div slot="modal-footer" class="modal-footer">
|
36
|
+
<button type="button" class="btn btn-primary" @click="addDevice" >保存</button>
|
37
|
+
<button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
|
38
|
+
</div>
|
39
|
+
</modal>
|
40
|
+
</template>
|
41
|
+
|
42
|
+
<script>
|
43
|
+
import Vue from 'vue'
|
44
|
+
|
45
|
+
|
46
|
+
export default {
|
47
|
+
title: '添加设备信息',
|
48
|
+
data() {
|
49
|
+
return {
|
50
|
+
model:{},
|
51
|
+
devices:[]
|
52
|
+
}
|
53
|
+
},
|
54
|
+
methods: {
|
55
|
+
addDevice() {
|
56
|
+
let errorring = true
|
57
|
+
if(this.model.f_defect_field)
|
58
|
+
if(this.model.f_defect_field.endsWith("_path")){
|
59
|
+
errorring = false
|
60
|
+
alert("隐患字段不能以 _path结尾")
|
61
|
+
}
|
62
|
+
if(errorring) {
|
63
|
+
if (this.model.f_defect_path) {
|
64
|
+
if (!this.model.f_defect_path.endsWith("_path")) {
|
65
|
+
errorring = false
|
66
|
+
alert("图片路径字段必须以 _path结尾")
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
if(errorring) {
|
71
|
+
this.$resetpost('rs/entity/t_device_info',
|
72
|
+
{data: this.model},
|
73
|
+
{resolveMsg: null, rejectMsg: null}).then(
|
74
|
+
(response) => {
|
75
|
+
window.alert('添加隐患信息成功')
|
76
|
+
}
|
77
|
+
).catch(
|
78
|
+
(response) => {
|
79
|
+
window.alert('添加隐患信息失败')
|
80
|
+
}
|
81
|
+
)
|
82
|
+
}
|
83
|
+
this.$parent.undo()
|
84
|
+
},
|
85
|
+
},
|
86
|
+
ready(){
|
87
|
+
let that = this
|
88
|
+
this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
89
|
+
respanse.data.data.forEach((item)=>{
|
90
|
+
that.devices.push({label:item.f_device_name,value:item.f_device_name})
|
91
|
+
})
|
92
|
+
})
|
93
|
+
}
|
94
|
+
}
|
95
|
+
</script>
|