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
@@ -88,7 +88,7 @@
|
|
88
88
|
},
|
89
89
|
},
|
90
90
|
ready(){
|
91
|
-
this.$resetpost("
|
91
|
+
this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
92
92
|
respanse.data.data.forEach((item)=>{
|
93
93
|
this.devices_option.push({label:item.f_device_name,value:item.f_device_name})
|
94
94
|
})
|
@@ -1,106 +1,106 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="over col-md-6">
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='search'>
|
5
|
-
<form class="form-inline" partial>
|
6
|
-
<div class="form-group">
|
7
|
-
<label class="control-label">设备</label>
|
8
|
-
<v-select id="f_device_name" :value.sync="$parent.$parent.model.f_device_name"
|
9
|
-
condition="f_device_name={}"
|
10
|
-
placeholder="设备" :options='$parent.$parent.devices_list' close-on-select clear-button> </v-select>
|
11
|
-
</div>
|
12
|
-
<div class="form-group">
|
13
|
-
<label class="control-label">用户类型</label>
|
14
|
-
<v-select id="f_user_type" :value.sync="$parent.$parent.model.f_user_type" placeholder='用户类型'
|
15
|
-
condition="f_user_type={}"
|
16
|
-
:options='$parent.$parent.user_types' close-on-select clear-button> </v-select>
|
17
|
-
</div>
|
18
|
-
<div class="form-group">
|
19
|
-
<label class="control-label">是否必检</label>
|
20
|
-
<v-select id="f_write_must" :value.sync="$parent.$parent.f_write_must" placeholder='是否必检'
|
21
|
-
condition="f_write_must={}"
|
22
|
-
:options='$parent.$parent.write_must' close-on-select clear-button> </v-select>
|
23
|
-
</div>
|
24
|
-
<div class="form-group">
|
25
|
-
<button type="button" class="btn btn-success width-80" @click="search()">查询</button>
|
26
|
-
<button type="button" class="btn btn-default width-80" @click="showMo()">新增</button>
|
27
|
-
</div>
|
28
|
-
</form>
|
29
|
-
</criteria>
|
30
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
31
|
-
<template partial='head'>
|
32
|
-
<tr>
|
33
|
-
<th>设备</th>
|
34
|
-
<th>用户类型</th>
|
35
|
-
<th>保存字段</th>
|
36
|
-
<th>是否必检</th>
|
37
|
-
</tr>
|
38
|
-
</template>
|
39
|
-
<template partial='body'>
|
40
|
-
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_device_name}}</td>
|
41
|
-
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_user_type}}</td>
|
42
|
-
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_device_field}}</td>
|
43
|
-
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_write_must}}</td>
|
44
|
-
</template>
|
45
|
-
</data-grid>
|
46
|
-
</criteria-paged>
|
47
|
-
</div>
|
48
|
-
<div class="span-row over col-md-6">
|
49
|
-
<devices-and-item ></devices-and-item>
|
50
|
-
</div>
|
51
|
-
<add-devices></add-devices>
|
52
|
-
</template>
|
53
|
-
<script>
|
54
|
-
import { PagedList } from 'vue-client'
|
55
|
-
import co from 'co'
|
56
|
-
import Vue from 'vue'
|
57
|
-
import * as Util from '../Util'
|
58
|
-
import DevicesAndItem from "./DevicesAndItem";
|
59
|
-
|
60
|
-
let syncDelete = function * (self,row) {
|
61
|
-
yield self.$remove('rs/entity/t_defect_info/', {id: row.id})
|
62
|
-
self.$refs.paged.$refs.criteria.search()
|
63
|
-
}
|
64
|
-
|
65
|
-
export default {
|
66
|
-
components: {DevicesAndItem},
|
67
|
-
title: '安检项配置',
|
68
|
-
data () {
|
69
|
-
return {
|
70
|
-
model:new PagedList('rs/path/getDevices',20) ,
|
71
|
-
user_types: this.$appdata.getParam('用户类型'),
|
72
|
-
write_must: this.$appdata.getParam('是否必检'),
|
73
|
-
devices_list:[],
|
74
|
-
device:[],
|
75
|
-
showModal:false
|
76
|
-
}
|
77
|
-
},
|
78
|
-
ready(){
|
79
|
-
this.$resetpost("
|
80
|
-
respanse.data.data.forEach((item)=>{
|
81
|
-
this.devices_list.push({label:item.f_device_name,value:item.f_device_name})
|
82
|
-
})
|
83
|
-
})
|
84
|
-
},
|
85
|
-
computed: {
|
86
|
-
selected () {
|
87
|
-
return this.$refs.paged.$refs.grid.selected
|
88
|
-
}
|
89
|
-
},
|
90
|
-
methods:{
|
91
|
-
checkitem(row){
|
92
|
-
this.$set('device',row.f_device_item)
|
93
|
-
},
|
94
|
-
showMo () {
|
95
|
-
this.showModal = true
|
96
|
-
},
|
97
|
-
delete(row){
|
98
|
-
let gen = syncDelete(this,row)
|
99
|
-
return co(gen)
|
100
|
-
},
|
101
|
-
undo(){
|
102
|
-
this.showModal = false
|
103
|
-
},
|
104
|
-
}
|
105
|
-
}
|
106
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="over col-md-6">
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='search'>
|
5
|
+
<form class="form-inline" partial>
|
6
|
+
<div class="form-group">
|
7
|
+
<label class="control-label">设备</label>
|
8
|
+
<v-select id="f_device_name" :value.sync="$parent.$parent.model.f_device_name"
|
9
|
+
condition="f_device_name={}"
|
10
|
+
placeholder="设备" :options='$parent.$parent.devices_list' close-on-select clear-button> </v-select>
|
11
|
+
</div>
|
12
|
+
<div class="form-group">
|
13
|
+
<label class="control-label">用户类型</label>
|
14
|
+
<v-select id="f_user_type" :value.sync="$parent.$parent.model.f_user_type" placeholder='用户类型'
|
15
|
+
condition="f_user_type={}"
|
16
|
+
:options='$parent.$parent.user_types' close-on-select clear-button> </v-select>
|
17
|
+
</div>
|
18
|
+
<div class="form-group">
|
19
|
+
<label class="control-label">是否必检</label>
|
20
|
+
<v-select id="f_write_must" :value.sync="$parent.$parent.f_write_must" placeholder='是否必检'
|
21
|
+
condition="f_write_must={}"
|
22
|
+
:options='$parent.$parent.write_must' close-on-select clear-button> </v-select>
|
23
|
+
</div>
|
24
|
+
<div class="form-group">
|
25
|
+
<button type="button" class="btn btn-success width-80" @click="search()">查询</button>
|
26
|
+
<button type="button" class="btn btn-default width-80" @click="showMo()">新增</button>
|
27
|
+
</div>
|
28
|
+
</form>
|
29
|
+
</criteria>
|
30
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
31
|
+
<template partial='head'>
|
32
|
+
<tr>
|
33
|
+
<th>设备</th>
|
34
|
+
<th>用户类型</th>
|
35
|
+
<th>保存字段</th>
|
36
|
+
<th>是否必检</th>
|
37
|
+
</tr>
|
38
|
+
</template>
|
39
|
+
<template partial='body'>
|
40
|
+
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_device_name}}</td>
|
41
|
+
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_user_type}}</td>
|
42
|
+
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_device_field}}</td>
|
43
|
+
<td @click="$parent.$parent.$parent.checkitem(row)">{{row.f_write_must}}</td>
|
44
|
+
</template>
|
45
|
+
</data-grid>
|
46
|
+
</criteria-paged>
|
47
|
+
</div>
|
48
|
+
<div class="span-row over col-md-6">
|
49
|
+
<devices-and-item ></devices-and-item>
|
50
|
+
</div>
|
51
|
+
<add-devices></add-devices>
|
52
|
+
</template>
|
53
|
+
<script>
|
54
|
+
import { PagedList } from 'vue-client'
|
55
|
+
import co from 'co'
|
56
|
+
import Vue from 'vue'
|
57
|
+
import * as Util from '../Util'
|
58
|
+
import DevicesAndItem from "./DevicesAndItem";
|
59
|
+
|
60
|
+
let syncDelete = function * (self,row) {
|
61
|
+
yield self.$remove('rs/entity/t_defect_info/', {id: row.id})
|
62
|
+
self.$refs.paged.$refs.criteria.search()
|
63
|
+
}
|
64
|
+
|
65
|
+
export default {
|
66
|
+
components: {DevicesAndItem},
|
67
|
+
title: '安检项配置',
|
68
|
+
data () {
|
69
|
+
return {
|
70
|
+
model:new PagedList('rs/path/getDevices',20) ,
|
71
|
+
user_types: this.$appdata.getParam('用户类型'),
|
72
|
+
write_must: this.$appdata.getParam('是否必检'),
|
73
|
+
devices_list:[],
|
74
|
+
device:[],
|
75
|
+
showModal:false
|
76
|
+
}
|
77
|
+
},
|
78
|
+
ready(){
|
79
|
+
this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
|
80
|
+
respanse.data.data.forEach((item)=>{
|
81
|
+
this.devices_list.push({label:item.f_device_name,value:item.f_device_name})
|
82
|
+
})
|
83
|
+
})
|
84
|
+
},
|
85
|
+
computed: {
|
86
|
+
selected () {
|
87
|
+
return this.$refs.paged.$refs.grid.selected
|
88
|
+
}
|
89
|
+
},
|
90
|
+
methods:{
|
91
|
+
checkitem(row){
|
92
|
+
this.$set('device',row.f_device_item)
|
93
|
+
},
|
94
|
+
showMo () {
|
95
|
+
this.showModal = true
|
96
|
+
},
|
97
|
+
delete(row){
|
98
|
+
let gen = syncDelete(this,row)
|
99
|
+
return co(gen)
|
100
|
+
},
|
101
|
+
undo(){
|
102
|
+
this.showModal = false
|
103
|
+
},
|
104
|
+
}
|
105
|
+
}
|
106
|
+
</script>
|
@@ -45,9 +45,9 @@
|
|
45
45
|
"<th>入户率</th>"'
|
46
46
|
:fields='["$index+1","f_subcompany",,"cplan","call","centry","cdeny","cabsent","nouse","dangernum","overduenum","nohandledanger","checkrate","entery_rate"]'>
|
47
47
|
</print-table>
|
48
|
-
<export-excel
|
48
|
+
<export-excel :data="{condition: '1=1',startDate: model.startDate, endDate: model.endDate,f_subcompany: $parent.$parent.model.f_subcompany[0],f_filialeid : model.f_filialeid }"
|
49
49
|
:bean=$parent.$parent.exportbean
|
50
|
-
sqlurl="
|
50
|
+
sqlurl="api/af-safecheck/logic/SafeExportfile"></export-excel>
|
51
51
|
</div>
|
52
52
|
</div>
|
53
53
|
</div>
|
@@ -154,7 +154,7 @@
|
|
154
154
|
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
155
155
|
return
|
156
156
|
}
|
157
|
-
let saveBack = yield self.$resetpost('
|
157
|
+
let saveBack = yield self.$resetpost('api/af-safecheck/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
158
158
|
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'contrast',
|
159
159
|
f_operator: Util.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
160
160
|
f_outlets: Util.f.f_parentname})
|
@@ -243,7 +243,7 @@
|
|
243
243
|
|
244
244
|
// 根据文件路径获取储存的报表内容
|
245
245
|
getFileContent(path) {
|
246
|
-
this.$resetpost('
|
246
|
+
this.$resetpost('api/af-safecheck/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
247
247
|
this.reportStr = res.data.filecontent
|
248
248
|
this.model.state = '正确'
|
249
249
|
})
|
@@ -53,9 +53,9 @@
|
|
53
53
|
:fields='["$index+1","f_subcompany","cplan","call","centry","cdeny","cabsent","nouse","dangernum","A","B","C","overduenum","nohandledanger","checkrate","entery_rate"]'>
|
54
54
|
</print-table>-->
|
55
55
|
<div class="form-group">
|
56
|
-
<export-excel
|
56
|
+
<export-excel :data="{condition: '1=1',startDate: startDate, endDate: endDate,f_subcompany: clickname.company}"
|
57
57
|
:bean= exportbean
|
58
|
-
sqlurl="
|
58
|
+
sqlurl="api/af-safecheck/logic/exportfile"></export-excel>
|
59
59
|
</div>
|
60
60
|
</div>
|
61
61
|
<criteria-paged :model="model" :pager='false' v-ref:paged1>
|
@@ -163,7 +163,7 @@
|
|
163
163
|
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
164
164
|
return
|
165
165
|
}
|
166
|
-
let saveBack = yield self.$resetpost('
|
166
|
+
let saveBack = yield self.$resetpost('api/af-safecheck/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
167
167
|
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'contrast',
|
168
168
|
f_operator: Util.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
169
169
|
f_outlets: Util.f.f_parentname})
|
@@ -244,7 +244,7 @@
|
|
244
244
|
},
|
245
245
|
// 根据文件路径获取储存的报表内容
|
246
246
|
getFileContent(path) {
|
247
|
-
this.$resetpost('
|
247
|
+
this.$resetpost('api/af-safecheck/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
248
248
|
this.reportStr = res.data.filecontent
|
249
249
|
this.model.state = '正确'
|
250
250
|
})
|
@@ -53,9 +53,9 @@
|
|
53
53
|
:fields='["$index+1","f_subcompany","cplan","call","centry","cdeny","cabsent","nouse","dangernum","A","B","C","overduenum","nohandledanger","checkrate","entery_rate"]'>
|
54
54
|
</print-table>-->
|
55
55
|
<div class="form-group">
|
56
|
-
<export-excel
|
56
|
+
<export-excel :data="{condition: '1=1',startDate: startDate, endDate: endDate,f_subcompany: clickname.company}"
|
57
57
|
:bean= exportbean
|
58
|
-
sqlurl="
|
58
|
+
sqlurl="api/af-safecheck/logic/exportfile"></export-excel>
|
59
59
|
</div>
|
60
60
|
</div>
|
61
61
|
<criteria-paged :model="model" :pager='false' v-ref:paged1>
|
@@ -164,7 +164,7 @@
|
|
164
164
|
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
165
165
|
return
|
166
166
|
}
|
167
|
-
let saveBack = yield self.$resetpost('
|
167
|
+
let saveBack = yield self.$resetpost('api/af-safecheck/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
168
168
|
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'contrast',
|
169
169
|
f_operator: Util.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
170
170
|
f_outlets: Util.f.f_parentname})
|
@@ -250,7 +250,7 @@
|
|
250
250
|
},
|
251
251
|
// 根据文件路径获取储存的报表内容
|
252
252
|
getFileContent(path) {
|
253
|
-
this.$resetpost('
|
253
|
+
this.$resetpost('api/af-safecheck/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
254
254
|
this.reportStr = res.data.filecontent
|
255
255
|
this.model.state = '正确'
|
256
256
|
})
|
@@ -1,114 +1,114 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="span">
|
3
|
-
<validator name='v'>
|
4
|
-
<p class="bg-info text-center" style="padding: 8px;" v-if="operation=='add'">添加安检周期</p>
|
5
|
-
<p class="bg-info text-center" style="padding: 8px;" v-if="operation=='modify'">修改安检周期</p>
|
6
|
-
<div class="auto select-overspread form-horizontal">
|
7
|
-
<div style="text-align:right;margin-top:6px;" class="col-sm-12">
|
8
|
-
<div class="row">
|
9
|
-
<div class="col-sm-6 form-group "
|
10
|
-
:class="[$v.f_circle.required ? 'has-error' : 'has-success']">
|
11
|
-
<label class="font_normal_body">安检周期</label>
|
12
|
-
<input type="text" v-show="false" v-model="circlemodel.f_circle"
|
13
|
-
v-validate:f_circle='{required: true }'>
|
14
|
-
<v-select
|
15
|
-
:value.sync="circlemodel.f_circle" :value-single="true"
|
16
|
-
:options='clirclelist' placeholder='请选择安检周期'
|
17
|
-
close-on-select >
|
18
|
-
</v-select>
|
19
|
-
</div>
|
20
|
-
<div class="col-sm-6 form-group "
|
21
|
-
:class="[$v.f_start_time.required ? 'has-error' : 'has-success']">
|
22
|
-
<label class="font_normal_body">开始日期</label>
|
23
|
-
<input type="text" v-show="false" v-model="circlemodel.f_start_time"
|
24
|
-
class="input_search" style="width:60%" placeholder="街道名称"
|
25
|
-
v-validate:f_start_time='{required: true }'>
|
26
|
-
<datepicker placeholder="开始日期"
|
27
|
-
v-model="circlemodel.f_start_time"
|
28
|
-
:value.sync="circlemodel.f_start_time"
|
29
|
-
style="width: 60%;"
|
30
|
-
:disabled-days-of-Week="[]"
|
31
|
-
:format="'yyyy-01-01 00:00:00'"
|
32
|
-
>
|
33
|
-
</datepicker>
|
34
|
-
</div>
|
35
|
-
<div class="col-sm-12 form-group">
|
36
|
-
<label class="font_normal_body " style="">备  注</label>
|
37
|
-
<textarea class="input_textarea" rows="3" style="margin-top:25px;width:80%;height: auto;" v-model="circlemodel.f_remarks"></textarea>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
<div class="row">
|
41
|
-
<div style="margin-top:40px;text-align:right;">
|
42
|
-
<button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>保存</button>
|
43
|
-
<button class="button_clear button_spacing" @click="cancel()">取消</button>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
</validator>
|
49
|
-
</div>
|
50
|
-
</template>
|
51
|
-
|
52
|
-
<script>
|
53
|
-
export default {
|
54
|
-
title: '安检周期添加',
|
55
|
-
data () {
|
56
|
-
return {
|
57
|
-
//初始化周期数据
|
58
|
-
clirclelist:this.$appdata.getParam('安检周期'),
|
59
|
-
//街道
|
60
|
-
circlemodel: {
|
61
|
-
f_circle:'',
|
62
|
-
f_start_time:'',
|
63
|
-
f_remarks: ''
|
64
|
-
}
|
65
|
-
}
|
66
|
-
},
|
67
|
-
props: ['f_filialeids','row','operation','f_filiale'],
|
68
|
-
ready(){
|
69
|
-
|
70
|
-
},
|
71
|
-
methods: {
|
72
|
-
//保存
|
73
|
-
async confirm(){
|
74
|
-
await this.savestreet()
|
75
|
-
this.cleardara()
|
76
|
-
this.$dispatch('confirm')
|
77
|
-
},
|
78
|
-
//保存街道
|
79
|
-
async savestreet(){
|
80
|
-
if(this.operation == 'add'){
|
81
|
-
this.circlemodel.f_filialeid = this.f_filialeids
|
82
|
-
this.circlemodel.f_filiale = this.f_filiale
|
83
|
-
}
|
84
|
-
this.circlemodel.f_operator= this.$login.f.name
|
85
|
-
this.circlemodel.f_operatorid = this.$login.f.id
|
86
|
-
this.circlemodel.f_orgid = this.$login.f.orgid
|
87
|
-
this.circlemodel.f_orgname = this.$login.f.orgs
|
88
|
-
//tag
|
89
|
-
await this.$resetpost('
|
90
|
-
},
|
91
|
-
cancel(){
|
92
|
-
this.cleardara()
|
93
|
-
this.$dispatch('cancel')
|
94
|
-
},
|
95
|
-
cleardara () {
|
96
|
-
this.circlemodel = {
|
97
|
-
f_circle: '',
|
98
|
-
f_start_time: '',
|
99
|
-
f_remarks:''
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
},
|
104
|
-
watch: {
|
105
|
-
'f_filialeids'(){
|
106
|
-
if (this.circlemodel.f_filialeid) {
|
107
|
-
if (this.circlemodel.f_filialeid != this.f_filialeids) {
|
108
|
-
this.$dispatch('cancel')
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
}
|
114
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="span">
|
3
|
+
<validator name='v'>
|
4
|
+
<p class="bg-info text-center" style="padding: 8px;" v-if="operation=='add'">添加安检周期</p>
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;" v-if="operation=='modify'">修改安检周期</p>
|
6
|
+
<div class="auto select-overspread form-horizontal">
|
7
|
+
<div style="text-align:right;margin-top:6px;" class="col-sm-12">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-sm-6 form-group "
|
10
|
+
:class="[$v.f_circle.required ? 'has-error' : 'has-success']">
|
11
|
+
<label class="font_normal_body">安检周期</label>
|
12
|
+
<input type="text" v-show="false" v-model="circlemodel.f_circle"
|
13
|
+
v-validate:f_circle='{required: true }'>
|
14
|
+
<v-select
|
15
|
+
:value.sync="circlemodel.f_circle" :value-single="true"
|
16
|
+
:options='clirclelist' placeholder='请选择安检周期'
|
17
|
+
close-on-select >
|
18
|
+
</v-select>
|
19
|
+
</div>
|
20
|
+
<div class="col-sm-6 form-group "
|
21
|
+
:class="[$v.f_start_time.required ? 'has-error' : 'has-success']">
|
22
|
+
<label class="font_normal_body">开始日期</label>
|
23
|
+
<input type="text" v-show="false" v-model="circlemodel.f_start_time"
|
24
|
+
class="input_search" style="width:60%" placeholder="街道名称"
|
25
|
+
v-validate:f_start_time='{required: true }'>
|
26
|
+
<datepicker placeholder="开始日期"
|
27
|
+
v-model="circlemodel.f_start_time"
|
28
|
+
:value.sync="circlemodel.f_start_time"
|
29
|
+
style="width: 60%;"
|
30
|
+
:disabled-days-of-Week="[]"
|
31
|
+
:format="'yyyy-01-01 00:00:00'"
|
32
|
+
>
|
33
|
+
</datepicker>
|
34
|
+
</div>
|
35
|
+
<div class="col-sm-12 form-group">
|
36
|
+
<label class="font_normal_body " style="">备  注</label>
|
37
|
+
<textarea class="input_textarea" rows="3" style="margin-top:25px;width:80%;height: auto;" v-model="circlemodel.f_remarks"></textarea>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="row">
|
41
|
+
<div style="margin-top:40px;text-align:right;">
|
42
|
+
<button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>保存</button>
|
43
|
+
<button class="button_clear button_spacing" @click="cancel()">取消</button>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</validator>
|
49
|
+
</div>
|
50
|
+
</template>
|
51
|
+
|
52
|
+
<script>
|
53
|
+
export default {
|
54
|
+
title: '安检周期添加',
|
55
|
+
data () {
|
56
|
+
return {
|
57
|
+
//初始化周期数据
|
58
|
+
clirclelist:this.$appdata.getParam('安检周期'),
|
59
|
+
//街道
|
60
|
+
circlemodel: {
|
61
|
+
f_circle:'',
|
62
|
+
f_start_time:'',
|
63
|
+
f_remarks: ''
|
64
|
+
}
|
65
|
+
}
|
66
|
+
},
|
67
|
+
props: ['f_filialeids','row','operation','f_filiale'],
|
68
|
+
ready(){
|
69
|
+
|
70
|
+
},
|
71
|
+
methods: {
|
72
|
+
//保存
|
73
|
+
async confirm(){
|
74
|
+
await this.savestreet()
|
75
|
+
this.cleardara()
|
76
|
+
this.$dispatch('confirm')
|
77
|
+
},
|
78
|
+
//保存街道
|
79
|
+
async savestreet(){
|
80
|
+
if(this.operation == 'add'){
|
81
|
+
this.circlemodel.f_filialeid = this.f_filialeids
|
82
|
+
this.circlemodel.f_filiale = this.f_filiale
|
83
|
+
}
|
84
|
+
this.circlemodel.f_operator= this.$login.f.name
|
85
|
+
this.circlemodel.f_operatorid = this.$login.f.id
|
86
|
+
this.circlemodel.f_orgid = this.$login.f.orgid
|
87
|
+
this.circlemodel.f_orgname = this.$login.f.orgs
|
88
|
+
//tag
|
89
|
+
await this.$resetpost('api/af-safecheck/logic/safe_savecircle', this.circlemodel)
|
90
|
+
},
|
91
|
+
cancel(){
|
92
|
+
this.cleardara()
|
93
|
+
this.$dispatch('cancel')
|
94
|
+
},
|
95
|
+
cleardara () {
|
96
|
+
this.circlemodel = {
|
97
|
+
f_circle: '',
|
98
|
+
f_start_time: '',
|
99
|
+
f_remarks:''
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
},
|
104
|
+
watch: {
|
105
|
+
'f_filialeids'(){
|
106
|
+
if (this.circlemodel.f_filialeid) {
|
107
|
+
if (this.circlemodel.f_filialeid != this.f_filialeids) {
|
108
|
+
this.$dispatch('cancel')
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
</script>
|
@@ -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
|
progress="safeGetExportProgress"
|
38
|
-
sqlurl="
|
38
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel>-->
|
39
39
|
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
40
|
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
41
|
|
@@ -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
|
progress="safeGetExportProgress"
|
38
|
-
sqlurl="
|
38
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel>-->
|
39
39
|
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
40
|
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
41
|
|
@@ -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
|
progress="safeGetExportProgress"
|
38
|
-
sqlurl="
|
38
|
+
sqlurl="api/af-safecheck/logic/SafeExportExcel" sql-name="查找安检单" template-name='安检计划明细'></export-excel>-->
|
39
39
|
<!-- <button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="!$parent.$parent.audioshow">录音</button>-->
|
40
40
|
<button class="button_spacing button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
41
41
|
|
@@ -51,7 +51,7 @@ let saveGen = function * (self) {
|
|
51
51
|
self.model.id = self.item.id
|
52
52
|
self.model.f_issued = self.f_issued[0]
|
53
53
|
self.model.f_issue_time = self.$login.toStandardTimeString()
|
54
|
-
yield self.$resetpost('
|
54
|
+
yield self.$resetpost('api/af-safecheck/logic/BespeakCheckPlan', {data: self.model}, {resolveMsg: '下发计划成功!', rejectMsg: '下发计划失败!'}).then((respanse)=>{
|
55
55
|
if(respanse.data.code == 200){
|
56
56
|
window.alert("预约计划下发成功!")
|
57
57
|
}else{
|
@@ -44,7 +44,7 @@
|
|
44
44
|
if(row.sign == '1')
|
45
45
|
self.model.checkerB.push(row)
|
46
46
|
}
|
47
|
-
yield self.$resetpost('
|
47
|
+
yield self.$resetpost('api/af-safecheck/logic/ChangeCheckplan', {data: self.model}).then((respanse)=>{
|
48
48
|
if(respanse.code == 200) {
|
49
49
|
window.alert("计划生成成功!")
|
50
50
|
}
|
@@ -72,7 +72,7 @@
|
|
72
72
|
import co from 'co'
|
73
73
|
|
74
74
|
let syncDelete = function * (self,row) {
|
75
|
-
yield self.$resetpost('
|
75
|
+
yield self.$resetpost('api/af-safecheck/logic/deleteCheckPlanItem', {id:row.id },{
|
76
76
|
warnMsg: '删除数据不可恢复,确认删除吗?',
|
77
77
|
resolveMsg: '恭喜!删除成功!',
|
78
78
|
rejectMsg: '删除失败:'
|
@@ -134,7 +134,7 @@
|
|
134
134
|
}
|
135
135
|
|
136
136
|
let syncDelete = function * (self,row) {
|
137
|
-
yield self.$resetpost('
|
137
|
+
yield self.$resetpost('api/af-safecheck/logic/deleteCheckPlanItem', {id:row.id },{
|
138
138
|
warnMsg: '删除数据不可恢复,确认删除吗?',
|
139
139
|
resolveMsg: '恭喜!删除成功!',
|
140
140
|
rejectMsg: '删除失败:'
|
@@ -187,7 +187,7 @@
|
|
187
187
|
//tag
|
188
188
|
// 执行调整业务
|
189
189
|
let http = new HttpResetClass()
|
190
|
-
http.load('POST', '
|
190
|
+
http.load('POST', 'api/af-safecheck/logic/CheckerPlanAdjust', {
|
191
191
|
data: {
|
192
192
|
f_plan_id:this.$refs.chooser.selectedRow.id,
|
193
193
|
checkrows:this.checkrows
|