safecheck-client 3.0.30-61-t2 → 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 +1 -1
- package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
- 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 +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/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 +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 +4 -4
- 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/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 +4 -4
- package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
- 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 +4 -4
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +1 -1
- 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/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 +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 +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 +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 +2 -2
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +4 -4
- 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/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 +5 -5
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +2 -2
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +1 -1
- 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 +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 +3 -3
- 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 +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 +2 -2
- package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
- 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 +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 +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 +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 +5 -5
- 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 +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 +2 -2
- package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
- 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 +3 -3
- 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 +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/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 +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 +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 +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 +2 -2
- package/src/filiale/wensu/pc/DefectPaperNew.vue +4 -4
- 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/DefectList.vue +1 -1
- 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/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 +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/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 +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 +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 +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 +2 -2
- 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/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 +4 -4
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
- package/src/plugins/LoadCheckParams.js +59 -59
@@ -1,162 +1,162 @@
|
|
1
|
-
<template>
|
2
|
-
<div style="overflow-x: hidden;">
|
3
|
-
<validator name='v'>
|
4
|
-
<form novalidate class="form-horizontal">
|
5
|
-
<!-- <p class="h3" align="center"><b>通气组录入信息表</b></p> -->
|
6
|
-
<caption><h3 style="font-weight:bold; text-align:center;">用户表修改</h3></caption>
|
7
|
-
|
8
|
-
<div class="form-group">
|
9
|
-
<label for="f_card_id" class="col-sm-offset-1 col-sm-1 control-label">卡号:</label>
|
10
|
-
<div class="col-sm-2">
|
11
|
-
<input class="form-control" type="text" v-model="model.f_card_id" placeholder='卡号'>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<label for="f_meter_no" class="col-sm-1 control-label">表号:</label>
|
15
|
-
<div class="col-sm-2">
|
16
|
-
<input class="form-control" type="text" v-model="model.f_meter_no" placeholder='表号'>
|
17
|
-
</div>
|
18
|
-
<label for="f_meter_brand" class="col-sm-1 control-label">表牌:</label>
|
19
|
-
<div class="col-sm-2">
|
20
|
-
<!-- <input class="form-control" type="text" v-model="model.f_meter_brand" > -->
|
21
|
-
<v-select id="f_meter_brand"
|
22
|
-
placeholder='请选择'
|
23
|
-
:value.sync="f_meter_brand"
|
24
|
-
:options='f_meterbrand'
|
25
|
-
close-on-select clear-button></v-select>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div class="form-group">
|
30
|
-
<label for="f_meter_measurement" class="col-sm-offset-1 col-sm-1 control-label">计量类型:</label>
|
31
|
-
<div class="col-sm-2">
|
32
|
-
<!-- <input class="form-control" type="text" v-model="model.f_meter_measurement" > -->
|
33
|
-
<v-select id="f_meter_measurement"
|
34
|
-
placeholder='请选择'
|
35
|
-
:value.sync="f_meter_measurement"
|
36
|
-
:options='f_metermeasurement'
|
37
|
-
close-on-select clear-button></v-select>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
<label for="f_meter_diameter" class="col-sm-1 control-label">表径:</label>
|
41
|
-
<div class="col-sm-2">
|
42
|
-
<v-select id="f_meter_diameter"
|
43
|
-
placeholder='请选择'
|
44
|
-
:value.sync="f_meter_diameter"
|
45
|
-
:options='f_meterdiameter'
|
46
|
-
close-on-select clear-button></v-select>
|
47
|
-
</div>
|
48
|
-
<label for="f_meter_reading" class="col-sm-1 control-label">机表读数:</label>
|
49
|
-
<div class="col-sm-2">
|
50
|
-
<input class="form-control" type="text" v-model="model.f_meter_reading" number
|
51
|
-
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
52
|
-
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
53
|
-
placeholder='机表读数,只能输入数字'>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div class="form-group">
|
58
|
-
<label for="f_meter_remain" class="col-sm-offset-1 col-sm-1 control-label">剩余气量:</label>
|
59
|
-
<div class="col-sm-2">
|
60
|
-
<input class="form-control" type="text" v-model="model.f_meter_remain" number
|
61
|
-
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
62
|
-
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
63
|
-
placeholder='剩余气量,只能输入数字'>
|
64
|
-
</div>
|
65
|
-
<label for="f_meter_total" class="col-sm-1 control-label">总气量:</label>
|
66
|
-
<div class="col-sm-2">
|
67
|
-
<input class="form-control" type="text" v-model="model.f_meter_total"
|
68
|
-
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
69
|
-
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
70
|
-
placeholder='总气量,只能输入数字'>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
<label for="f_meter_accumulation" class="col-sm-1 control-label">累购:</label>
|
74
|
-
<div class="col-sm-2">
|
75
|
-
<input class="form-control" type="text" v-model="model.f_meter_accumulation"
|
76
|
-
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
77
|
-
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
78
|
-
placeholder='累购,只能输入数字'>
|
79
|
-
</div>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
<div class="form-group">
|
83
|
-
<label for="f_remark" class="col-sm-offset-1 col-sm-1 control-label">备注:</label>
|
84
|
-
<div class="col-sm-2">
|
85
|
-
<input class="form-control" type="text" v-model="model.f_remark">
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
</form>
|
89
|
-
<div style="text-align:center;height:auto;">
|
90
|
-
<button class="btn btn-primary" :disabled='!($v.valid)' @click="confirm()" style="width:100px;margin-left:20px;">
|
91
|
-
<span class="glyphicon glyphicon-floppy-disk"></span>保存
|
92
|
-
</button>
|
93
|
-
<button class="btn btn-default" @click='$back(row)' style="width:100px;margin-left:20px;">
|
94
|
-
<span class="glyphicon glyphicon-log-out"></span>返回
|
95
|
-
</button>
|
96
|
-
</div>
|
97
|
-
</validator>
|
98
|
-
</div>
|
99
|
-
</template>
|
100
|
-
<script>
|
101
|
-
import co from 'co'
|
102
|
-
import AppData from '../../stores/AppData'
|
103
|
-
|
104
|
-
let info = function * (self) {
|
105
|
-
self.model.f_meter_brand = self.f_meter_brand[0]
|
106
|
-
self.model.f_meter_measurement = self.f_meter_measurement[0]
|
107
|
-
self.model.f_meter_diameter = self.f_meter_diameter[0]
|
108
|
-
//tag
|
109
|
-
// yield self.$post('
|
110
|
-
self.$back(self.model)
|
111
|
-
}
|
112
|
-
|
113
|
-
export default {
|
114
|
-
title: '表修改',
|
115
|
-
data () {
|
116
|
-
return {
|
117
|
-
model: {},
|
118
|
-
f_meter_diameter: '',
|
119
|
-
f_meterdiameter: this.$appdata.getParam('表径'),
|
120
|
-
f_meter_brand: '',
|
121
|
-
f_meterbrand: this.$appdata.getParam('燃气表品牌'),
|
122
|
-
f_meter_measurement: '',
|
123
|
-
f_metermeasurement: this.$appdata.getParam('计量类型')
|
124
|
-
}
|
125
|
-
},
|
126
|
-
props: [ 'row', 'flag' ],
|
127
|
-
watch: {
|
128
|
-
// source变化时,把source中的内容全部给model
|
129
|
-
'row' (val) {
|
130
|
-
this.model = Object.assign({}, this.model, this.row)
|
131
|
-
this.f_meter_brand = [this.row.f_meter_brand]
|
132
|
-
this.f_meter_measurement = [this.row.f_meter_measurement]
|
133
|
-
this.f_meter_diameter = [this.row.f_meter_diameter]
|
134
|
-
}
|
135
|
-
},
|
136
|
-
methods: {
|
137
|
-
confirm () {
|
138
|
-
let infomathis = info(this)
|
139
|
-
return co(infomathis)
|
140
|
-
}
|
141
|
-
},
|
142
|
-
computed: {
|
143
|
-
user_type () {
|
144
|
-
return this.$appdata.getParam('用户类型')
|
145
|
-
}
|
146
|
-
},
|
147
|
-
ready () {
|
148
|
-
this.model.f_meter_brand = this.f_meter_brand
|
149
|
-
this.$watch('f_meter_brand', function (val) {
|
150
|
-
this.model.f_meter_brand = val
|
151
|
-
})
|
152
|
-
this.model.f_meter_measurement = this.f_meter_measurement
|
153
|
-
this.$watch('f_meter_measurement', function (val) {
|
154
|
-
this.model.f_meter_measurement = val
|
155
|
-
})
|
156
|
-
this.model.f_meter_diameter = this.f_meter_diameter
|
157
|
-
this.$watch('f_meter_diameter', function (val) {
|
158
|
-
this.model.f_meter_diameter = val
|
159
|
-
})
|
160
|
-
}
|
161
|
-
}
|
162
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div style="overflow-x: hidden;">
|
3
|
+
<validator name='v'>
|
4
|
+
<form novalidate class="form-horizontal">
|
5
|
+
<!-- <p class="h3" align="center"><b>通气组录入信息表</b></p> -->
|
6
|
+
<caption><h3 style="font-weight:bold; text-align:center;">用户表修改</h3></caption>
|
7
|
+
|
8
|
+
<div class="form-group">
|
9
|
+
<label for="f_card_id" class="col-sm-offset-1 col-sm-1 control-label">卡号:</label>
|
10
|
+
<div class="col-sm-2">
|
11
|
+
<input class="form-control" type="text" v-model="model.f_card_id" placeholder='卡号'>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<label for="f_meter_no" class="col-sm-1 control-label">表号:</label>
|
15
|
+
<div class="col-sm-2">
|
16
|
+
<input class="form-control" type="text" v-model="model.f_meter_no" placeholder='表号'>
|
17
|
+
</div>
|
18
|
+
<label for="f_meter_brand" class="col-sm-1 control-label">表牌:</label>
|
19
|
+
<div class="col-sm-2">
|
20
|
+
<!-- <input class="form-control" type="text" v-model="model.f_meter_brand" > -->
|
21
|
+
<v-select id="f_meter_brand"
|
22
|
+
placeholder='请选择'
|
23
|
+
:value.sync="f_meter_brand"
|
24
|
+
:options='f_meterbrand'
|
25
|
+
close-on-select clear-button></v-select>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="form-group">
|
30
|
+
<label for="f_meter_measurement" class="col-sm-offset-1 col-sm-1 control-label">计量类型:</label>
|
31
|
+
<div class="col-sm-2">
|
32
|
+
<!-- <input class="form-control" type="text" v-model="model.f_meter_measurement" > -->
|
33
|
+
<v-select id="f_meter_measurement"
|
34
|
+
placeholder='请选择'
|
35
|
+
:value.sync="f_meter_measurement"
|
36
|
+
:options='f_metermeasurement'
|
37
|
+
close-on-select clear-button></v-select>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<label for="f_meter_diameter" class="col-sm-1 control-label">表径:</label>
|
41
|
+
<div class="col-sm-2">
|
42
|
+
<v-select id="f_meter_diameter"
|
43
|
+
placeholder='请选择'
|
44
|
+
:value.sync="f_meter_diameter"
|
45
|
+
:options='f_meterdiameter'
|
46
|
+
close-on-select clear-button></v-select>
|
47
|
+
</div>
|
48
|
+
<label for="f_meter_reading" class="col-sm-1 control-label">机表读数:</label>
|
49
|
+
<div class="col-sm-2">
|
50
|
+
<input class="form-control" type="text" v-model="model.f_meter_reading" number
|
51
|
+
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
52
|
+
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
53
|
+
placeholder='机表读数,只能输入数字'>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div class="form-group">
|
58
|
+
<label for="f_meter_remain" class="col-sm-offset-1 col-sm-1 control-label">剩余气量:</label>
|
59
|
+
<div class="col-sm-2">
|
60
|
+
<input class="form-control" type="text" v-model="model.f_meter_remain" number
|
61
|
+
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
62
|
+
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
63
|
+
placeholder='剩余气量,只能输入数字'>
|
64
|
+
</div>
|
65
|
+
<label for="f_meter_total" class="col-sm-1 control-label">总气量:</label>
|
66
|
+
<div class="col-sm-2">
|
67
|
+
<input class="form-control" type="text" v-model="model.f_meter_total"
|
68
|
+
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
69
|
+
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
70
|
+
placeholder='总气量,只能输入数字'>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<label for="f_meter_accumulation" class="col-sm-1 control-label">累购:</label>
|
74
|
+
<div class="col-sm-2">
|
75
|
+
<input class="form-control" type="text" v-model="model.f_meter_accumulation"
|
76
|
+
onkeyup="this.value=this.value.replace(/\D/g,'')"
|
77
|
+
onafterpaste="this.value=this.value.replace(/\D/g,'')"
|
78
|
+
placeholder='累购,只能输入数字'>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div class="form-group">
|
83
|
+
<label for="f_remark" class="col-sm-offset-1 col-sm-1 control-label">备注:</label>
|
84
|
+
<div class="col-sm-2">
|
85
|
+
<input class="form-control" type="text" v-model="model.f_remark">
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
</form>
|
89
|
+
<div style="text-align:center;height:auto;">
|
90
|
+
<button class="btn btn-primary" :disabled='!($v.valid)' @click="confirm()" style="width:100px;margin-left:20px;">
|
91
|
+
<span class="glyphicon glyphicon-floppy-disk"></span>保存
|
92
|
+
</button>
|
93
|
+
<button class="btn btn-default" @click='$back(row)' style="width:100px;margin-left:20px;">
|
94
|
+
<span class="glyphicon glyphicon-log-out"></span>返回
|
95
|
+
</button>
|
96
|
+
</div>
|
97
|
+
</validator>
|
98
|
+
</div>
|
99
|
+
</template>
|
100
|
+
<script>
|
101
|
+
import co from 'co'
|
102
|
+
import AppData from '../../stores/AppData'
|
103
|
+
|
104
|
+
let info = function * (self) {
|
105
|
+
self.model.f_meter_brand = self.f_meter_brand[0]
|
106
|
+
self.model.f_meter_measurement = self.f_meter_measurement[0]
|
107
|
+
self.model.f_meter_diameter = self.f_meter_diameter[0]
|
108
|
+
//tag
|
109
|
+
// yield self.$post('api/af-safecheck/logic/修改表档案', {data: self.model}, {resolveMsg: null, rejectMsg: null})
|
110
|
+
self.$back(self.model)
|
111
|
+
}
|
112
|
+
|
113
|
+
export default {
|
114
|
+
title: '表修改',
|
115
|
+
data () {
|
116
|
+
return {
|
117
|
+
model: {},
|
118
|
+
f_meter_diameter: '',
|
119
|
+
f_meterdiameter: this.$appdata.getParam('表径'),
|
120
|
+
f_meter_brand: '',
|
121
|
+
f_meterbrand: this.$appdata.getParam('燃气表品牌'),
|
122
|
+
f_meter_measurement: '',
|
123
|
+
f_metermeasurement: this.$appdata.getParam('计量类型')
|
124
|
+
}
|
125
|
+
},
|
126
|
+
props: [ 'row', 'flag' ],
|
127
|
+
watch: {
|
128
|
+
// source变化时,把source中的内容全部给model
|
129
|
+
'row' (val) {
|
130
|
+
this.model = Object.assign({}, this.model, this.row)
|
131
|
+
this.f_meter_brand = [this.row.f_meter_brand]
|
132
|
+
this.f_meter_measurement = [this.row.f_meter_measurement]
|
133
|
+
this.f_meter_diameter = [this.row.f_meter_diameter]
|
134
|
+
}
|
135
|
+
},
|
136
|
+
methods: {
|
137
|
+
confirm () {
|
138
|
+
let infomathis = info(this)
|
139
|
+
return co(infomathis)
|
140
|
+
}
|
141
|
+
},
|
142
|
+
computed: {
|
143
|
+
user_type () {
|
144
|
+
return this.$appdata.getParam('用户类型')
|
145
|
+
}
|
146
|
+
},
|
147
|
+
ready () {
|
148
|
+
this.model.f_meter_brand = this.f_meter_brand
|
149
|
+
this.$watch('f_meter_brand', function (val) {
|
150
|
+
this.model.f_meter_brand = val
|
151
|
+
})
|
152
|
+
this.model.f_meter_measurement = this.f_meter_measurement
|
153
|
+
this.$watch('f_meter_measurement', function (val) {
|
154
|
+
this.model.f_meter_measurement = val
|
155
|
+
})
|
156
|
+
this.model.f_meter_diameter = this.f_meter_diameter
|
157
|
+
this.$watch('f_meter_diameter', function (val) {
|
158
|
+
this.model.f_meter_diameter = val
|
159
|
+
})
|
160
|
+
}
|
161
|
+
}
|
162
|
+
</script>
|
@@ -129,7 +129,7 @@ export default {
|
|
129
129
|
this.$goto('userfileschange', {f: this.f, flag: 0}, 'self', this.callback)
|
130
130
|
},
|
131
131
|
del (row, index) {
|
132
|
-
this.$resetpost('
|
132
|
+
this.$resetpost('api/af-safecheck/logic/人工录入删除', {data: row}, {resolveMsg: null, rejectMsg: null})
|
133
133
|
.then((res) => {
|
134
134
|
this.model.rows.splice(index, 1)
|
135
135
|
})
|
@@ -225,14 +225,14 @@ let saveGen = function * (self) {
|
|
225
225
|
self.model.f_user_type = self.f_user_type[0]
|
226
226
|
self.model.f_state = self.f_state[0]
|
227
227
|
self.model.f_last_check_state = self.f_last_check_state[0]
|
228
|
-
yield self.$resetpost('
|
228
|
+
yield self.$resetpost('api/af-safecheck/logic/人工录入修改', { data: self.model }, {resolveMsg: null, rejectMsg: null})
|
229
229
|
} else {
|
230
230
|
self.model.f_sign = '1'
|
231
231
|
self.model.f_subcompany = self.f_subcompany[0]
|
232
232
|
self.model.f_user_type = self.f_user_type[0]
|
233
233
|
self.model.f_last_check_state = self.f_last_check_state[0]
|
234
234
|
self.model.f_state = self.f_state[0]
|
235
|
-
yield self.$resetpost('
|
235
|
+
yield self.$resetpost('api/af-safecheck/logic/人工录入', { data: self.model }, {resolveMsg: null, rejectMsg: null})
|
236
236
|
.catch((res) => {
|
237
237
|
window.alert('请确认用户编号是否重复')
|
238
238
|
})
|
@@ -50,10 +50,10 @@
|
|
50
50
|
close-on-select clear-button></v-select>
|
51
51
|
</div>
|
52
52
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
53
|
-
<export-excel
|
53
|
+
<export-excel :data="$parent.$parent.searchData"
|
54
54
|
:field="$parent.$parent.excelHeaders"
|
55
55
|
:choose-col="true"
|
56
|
-
sqlurl="
|
56
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="NoPlanSearchUser"
|
57
57
|
template-name='无计划安检情况'></export-excel-safe>
|
58
58
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
59
59
|
<div style="float: right" class="button_spacing"
|
@@ -79,9 +79,9 @@
|
|
79
79
|
</role-selector-safe>
|
80
80
|
</div>
|
81
81
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
82
|
-
<export-excel
|
82
|
+
<export-excel :data="$parent.$parent.searchData"
|
83
83
|
:field="$parent.$parent.excelHeaders"
|
84
|
-
sqlurl="
|
84
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="根据安检员查询用户档案"
|
85
85
|
template-name='用户安检情况'></export-excel-safe>
|
86
86
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
87
87
|
<div style="float: right" class="button_spacing"
|
@@ -32,10 +32,10 @@
|
|
32
32
|
</div>
|
33
33
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
34
34
|
|
35
|
-
<export-excel
|
35
|
+
<export-excel :data="$parent.$parent.searchData"
|
36
36
|
:field="$parent.$parent.excelHeaders"
|
37
37
|
:choose-col="true"
|
38
|
-
sqlurl="
|
38
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='旧安检查询'></export-excel-safe>
|
39
39
|
|
40
40
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
41
41
|
<div style="float: right" class="button_spacing"
|
@@ -37,10 +37,10 @@
|
|
37
37
|
</div>
|
38
38
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
39
39
|
|
40
|
-
<export-excel
|
40
|
+
<export-excel :data="$parent.$parent.searchData"
|
41
41
|
:field="$parent.$parent.excelHeaders"
|
42
42
|
:choose-col="true"
|
43
|
-
sqlurl="
|
43
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检记录明细'></export-excel>
|
44
44
|
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
45
45
|
|
46
46
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
@@ -1,76 +1,76 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<validator name='v'>
|
4
|
-
<a href="#" class="btn btn-primary" @click="this.$back('items')"><<</a>
|
5
|
-
<form novalidate class="form-horizontal">
|
6
|
-
<div class="form-group">
|
7
|
-
<label class="col-sm-2 control-lable">审核人:</label>
|
8
|
-
<div class="col-sm-8">
|
9
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_by" v-validate:f_repair_approved_by='{ required: true }' />
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="form-group">
|
13
|
-
<label class="col-sm-2 control-lable">审核结果:</label>
|
14
|
-
<div class="col-sm-8">
|
15
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved" v-validate:f_repair_approved='{ required: true }' />
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
<div class="form-group">
|
19
|
-
<label class="col-sm-2 control-lable">审核时间:</label>
|
20
|
-
<div class="col-sm-8">
|
21
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_time"/>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="form-group">
|
25
|
-
<label class="col-sm-2 control-lable">审核备注:</label>
|
26
|
-
<div class="col-sm-8">
|
27
|
-
<textarea class="form-control" type="text" v-model="item.f_repair_approved_note"></textarea>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
<div class="form-group col-sm-12">
|
31
|
-
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="approve">
|
32
|
-
<span class="glyphicon glyphicon-ok"></span> 通过
|
33
|
-
</button>
|
34
|
-
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
|
35
|
-
<span class="glyphicon glyphicon-remove"></span> 打回
|
36
|
-
</button>
|
37
|
-
</div>
|
38
|
-
</form>
|
39
|
-
</validator>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
</template>
|
43
|
-
|
44
|
-
<script>
|
45
|
-
import * as Util from '../Util'
|
46
|
-
import co from 'co'
|
47
|
-
import Vue from 'vue'
|
48
|
-
|
49
|
-
let syncVerify = function * (self) {
|
50
|
-
yield self.$resetpost('
|
51
|
-
}
|
52
|
-
|
53
|
-
export default {
|
54
|
-
title: '维修审核',
|
55
|
-
props: ['item', 'name'],
|
56
|
-
ready () {
|
57
|
-
if(this.item.f_repair_approved == '未审核') {
|
58
|
-
this.item.f_repair_approved_time = Util.toStandardTimeString()
|
59
|
-
this.item.f_repair_approved_by = this.name
|
60
|
-
}
|
61
|
-
},
|
62
|
-
methods: {
|
63
|
-
approve () {
|
64
|
-
this.item.f_repair_approved = '已审核'
|
65
|
-
let gen = syncVerify(this)
|
66
|
-
return co(gen)
|
67
|
-
},
|
68
|
-
disapprove () {
|
69
|
-
this.item.f_repair_approved = '打回'
|
70
|
-
let gen = syncVerify(this)
|
71
|
-
return co(gen)
|
72
|
-
},
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<validator name='v'>
|
4
|
+
<a href="#" class="btn btn-primary" @click="this.$back('items')"><<</a>
|
5
|
+
<form novalidate class="form-horizontal">
|
6
|
+
<div class="form-group">
|
7
|
+
<label class="col-sm-2 control-lable">审核人:</label>
|
8
|
+
<div class="col-sm-8">
|
9
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_by" v-validate:f_repair_approved_by='{ required: true }' />
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="form-group">
|
13
|
+
<label class="col-sm-2 control-lable">审核结果:</label>
|
14
|
+
<div class="col-sm-8">
|
15
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved" v-validate:f_repair_approved='{ required: true }' />
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="form-group">
|
19
|
+
<label class="col-sm-2 control-lable">审核时间:</label>
|
20
|
+
<div class="col-sm-8">
|
21
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_time"/>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div class="form-group">
|
25
|
+
<label class="col-sm-2 control-lable">审核备注:</label>
|
26
|
+
<div class="col-sm-8">
|
27
|
+
<textarea class="form-control" type="text" v-model="item.f_repair_approved_note"></textarea>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="form-group col-sm-12">
|
31
|
+
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="approve">
|
32
|
+
<span class="glyphicon glyphicon-ok"></span> 通过
|
33
|
+
</button>
|
34
|
+
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
|
35
|
+
<span class="glyphicon glyphicon-remove"></span> 打回
|
36
|
+
</button>
|
37
|
+
</div>
|
38
|
+
</form>
|
39
|
+
</validator>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
</template>
|
43
|
+
|
44
|
+
<script>
|
45
|
+
import * as Util from '../Util'
|
46
|
+
import co from 'co'
|
47
|
+
import Vue from 'vue'
|
48
|
+
|
49
|
+
let syncVerify = function * (self) {
|
50
|
+
yield self.$resetpost('api/af-safecheck/logic/ApprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'})
|
51
|
+
}
|
52
|
+
|
53
|
+
export default {
|
54
|
+
title: '维修审核',
|
55
|
+
props: ['item', 'name'],
|
56
|
+
ready () {
|
57
|
+
if(this.item.f_repair_approved == '未审核') {
|
58
|
+
this.item.f_repair_approved_time = Util.toStandardTimeString()
|
59
|
+
this.item.f_repair_approved_by = this.name
|
60
|
+
}
|
61
|
+
},
|
62
|
+
methods: {
|
63
|
+
approve () {
|
64
|
+
this.item.f_repair_approved = '已审核'
|
65
|
+
let gen = syncVerify(this)
|
66
|
+
return co(gen)
|
67
|
+
},
|
68
|
+
disapprove () {
|
69
|
+
this.item.f_repair_approved = '打回'
|
70
|
+
let gen = syncVerify(this)
|
71
|
+
return co(gen)
|
72
|
+
},
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
</script>
|