safecheck-client 3.0.30-61-t1 → 3.0.30-61-t3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
- package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
- package/src/components/DefectDealMain/DefectListNew.vue +1 -1
- package/src/components/DefectDealMain/DefectPaperNew.vue +4 -4
- package/src/components/ExportExcel.vue +342 -340
- package/src/components/NewDefectList/DefectListNew.vue +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/android/ClockIn.vue +1 -1
- package/src/components/android/DoorService.vue +1 -1
- package/src/components/callincheck/CallInPlan.vue +148 -148
- package/src/components/checkplan/CheckDetail.vue +4 -4
- package/src/components/checkplan/SelectCheckPlan.vue +2 -2
- package/src/components/createcheckplan/CreatePlan.vue +4 -4
- package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
- package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
- package/src/components/createcheckplan/PlanList.vue +2 -2
- package/src/components/createcheckplan/PlanUersList.vue +2 -2
- package/src/components/defect/DefectPaper.vue +4 -4
- package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/CheckPaperSearch.vue +349 -349
- package/src/components/defects/DefectSeting.vue +1 -1
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/equipment/CheckRate.vue +4 -4
- package/src/components/equipment/CheckerRate.vue +4 -4
- package/src/components/equipment/MonthCheckRate.vue +4 -4
- package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
- package/src/components/inspections/InspectionList.vue +2 -2
- package/src/components/inspections/InspectionLists.vue +2 -2
- package/src/components/inspections/InspectionListss.vue +2 -2
- package/src/components/issueplan/IssuePlanAction.vue +1 -1
- package/src/components/levelplan/AdjustPlan.vue +1 -1
- package/src/components/levelplan/CheckerLeft.vue +1 -1
- package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
- package/src/components/levelplan/CheckerRight.vue +1 -1
- package/src/components/map/AMapTrailShowZk.vue +185 -185
- package/src/components/map/FootPrintList.vue +1 -1
- package/src/components/map/PersonTrack.vue +1 -1
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +1 -1
- package/src/components/metterfiles/MetterfilesChange.vue +162 -162
- package/src/components/metterfiles/UserFiles.vue +1 -1
- package/src/components/metterfiles/Userfileschange.vue +2 -2
- package/src/components/noplan/NoPlanSearchUser.vue +4 -4
- package/src/components/olddata/OldPaperList.vue +2 -2
- package/src/components/paper/PaperList.vue +2 -2
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/paper/filialeCheckInfo.vue +2 -2
- package/src/components/pc/AddToCheckBook.vue +2 -2
- package/src/components/pc/CheckBook.vue +1 -1
- package/src/components/pc/CheckBookDetails.vue +194 -194
- package/src/components/pc/CheckBookList.vue +3 -3
- package/src/components/pc/CheckBookSearchArea.vue +4 -4
- package/src/components/pc/CheckBookSearchUser.vue +4 -4
- package/src/components/pc/CheckBookSearchUserList.vue +1 -1
- package/src/components/pc/CheckNoDetail.vue +2 -2
- package/src/components/pc/DefectDeal.vue +2 -2
- package/src/components/pc/Edit.vue +126 -126
- package/src/components/pc/NewCheckpaper.vue +34 -31
- package/src/components/pc/PaperChazhiMain.vue +2 -2
- package/src/components/pc/PaperDefectMain.vue +2 -2
- package/src/components/pc/PaperEdit.vue +2 -2
- package/src/components/pc/PaperVisitMain.vue +2 -2
- package/src/components/pc/SafeVisitHistory.vue +2 -2
- package/src/components/pc/SafecheckDeviceList.vue +2 -2
- package/src/components/pc/SelectCheckNoPlan.vue +3 -3
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
- package/src/components/planmanage/checkPlanList.vue +2 -2
- package/src/components/planmanage/checkUserList.vue +3 -3
- package/src/components/querycheckpaper/CheckSearchUser.vue +5 -5
- package/src/components/querycheckpaper/CheckSearchUserNew.vue +5 -5
- package/src/components/querycheckpaper/ShebeiSearchUser.vue +4 -4
- package/src/components/report/CheckPlanAreaList.vue +2 -2
- package/src/components/report/CheckPlanUserList.vue +2 -2
- package/src/components/report/NoCheckplanSafecheck.vue +2 -2
- package/src/components/rongcheng/CheckSearchArea.vue +2 -2
- package/src/components/rongcheng/CheckSearchUser.vue +2 -2
- package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
- package/src/components/rongcheng/CheckUserList.vue +2 -2
- package/src/components/rongcheng/DefectPaper.vue +4 -4
- package/src/components/rongcheng/PaperListAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
- package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
- package/src/components/rongcheng/PaperListSQ.vue +2 -2
- package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
- package/src/components/rongcheng/report/CheckPlanUserList.vue +4 -4
- package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
- package/src/components/shaoguan/DefectPaper.vue +2 -2
- package/src/components/shaoguan/PaperList.vue +3 -3
- package/src/components/userfile/UserFile.vue +1 -1
- package/src/components/userfile/UserInfoAudit.vue +2 -2
- package/src/components/userfile/UserfileChange.vue +1 -1
- package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
- package/src/filiale/ALshan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/ALshan/pc/checkUserList.vue +3 -3
- package/src/filiale/ancheng/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
- package/src/filiale/ankangyihua/pc/checkUserList.vue +3 -3
- package/src/filiale/bayan/pc/PaperList.vue +3 -3
- package/src/filiale/fugou/pc/PaperList.vue +2 -2
- package/src/filiale/fugu/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/fugu/pc/planmanage/checkUserList.vue +3 -3
- package/src/filiale/ganquan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/ganquan/pc/PaperList.vue +3 -3
- package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
- package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/ganquan/pc/checkUserList.vue +3 -3
- package/src/filiale/gehua/pc/PaperList.vue +2 -2
- package/src/filiale/gehua/pc/checkUserList.vue +3 -3
- package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/guangxi/pc/DefectListNew.vue +1 -1
- package/src/filiale/guangxi/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/hanzhong/pc/CheckUserList.vue +3 -3
- package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
- package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/huatong/pc/PaperList.vue +3 -3
- package/src/filiale/huayin/pc/PaperList.vue +3 -3
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/jingyang/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/jingyang/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/kelai/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/kelai/pc/DefectListNew.vue +1 -1
- package/src/filiale/kelai/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
- package/src/filiale/kelai/pc/PaperList.vue +3 -3
- package/src/filiale/kelai/pc/checkUserList.vue +3 -3
- package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +2 -2
- package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
- package/src/filiale/lixian/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/lixian/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/lixian/pc/PaperList.vue +3 -3
- package/src/filiale/lixian/pc/checkPlanList.vue +2 -2
- package/src/filiale/lixian/pc/checkUserList.vue +3 -3
- package/src/filiale/minsheng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/minsheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/pingxiang/pc/DefectListNew.vue +1 -1
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/qianneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/qianneng/pc/PaperList.vue +3 -3
- package/src/filiale/qianneng/pc/checkPlanList.vue +4 -4
- package/src/filiale/qianneng/pc/checkUserList.vue +5 -5
- package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +1 -1
- package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/rizhao/pc/PaperList.vue +3 -3
- package/src/filiale/rongchuang/pc/checkUserList.vue +3 -3
- package/src/filiale/shanxian/pc/CheckDetail.vue +4 -4
- package/src/filiale/shanxian/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/shanxian/pc/DefectPaperNew.vue +4 -4
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/shanxian/pc/checkUserList.vue +3 -3
- package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
- package/src/filiale/shexian/pc/DefectListNew.vue +1 -1
- package/src/filiale/shexian/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/shimen/pc/PaperList.vue +2 -2
- package/src/filiale/shiquan/pc/checkUserList.vue +3 -3
- package/src/filiale/tianke/pc/DefectListNew.vue +1 -1
- package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
- package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckDetail.vue +4 -4
- package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/tongchuan/pc/PaperList.vue +2 -2
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBook.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
- package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
- package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
- package/src/filiale/weinan/pc/CheckDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +4 -4
- package/src/filiale/weinan/pc/CheckNoDetail.vue +4 -4
- package/src/filiale/weinan/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/weinan/pc/DefectPaperNew.vue +2 -2
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
- package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
- package/src/filiale/weinan/pc/PaperList.vue +3 -3
- package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
- package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
- package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
- package/src/filiale/weinan/pc/checkPlanList.vue +2 -2
- package/src/filiale/weinan/pc/checkUserList.vue +3 -3
- package/src/filiale/weinanct/pc/PaperList.vue +3 -3
- package/src/filiale/wensu/pc/CheckDetail.vue +4 -4
- package/src/filiale/wensu/pc/CheckSearchUser.vue +6 -6
- package/src/filiale/wensu/pc/DefectListNew.vue +1 -1
- package/src/filiale/wensu/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
- package/src/filiale/wensu/pc/checkUserList.vue +3 -3
- package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/wenxi/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/wenxi/pc/PaperList.vue +4 -4
- package/src/filiale/wenxi/pc/checkPlanList.vue +4 -4
- package/src/filiale/wenxi/pc/checkUserList.vue +3 -3
- package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/wuan/pc/PaperList.vue +2 -2
- package/src/filiale/wuhai/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/wuhai/pc/checkUserList.vue +3 -3
- package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckPlanUserList.vue +2 -2
- package/src/filiale/xinkang/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/xinkang/pc/PaperList.vue +3 -3
- package/src/filiale/xinkang/pc/checkUserList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +5 -5
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +3 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
- package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +2 -2
- package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
- package/src/filiale/yongzhou/pc/checkUserList.vue +3 -3
- package/src/filiale/yongzhou/pc/communityDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +2 -2
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +2 -2
- package/src/filiale/yongzhou/pc/safeDetail.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yuansheng/pc/DefectListNew.vue +1 -1
- package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +3 -3
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +2 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
- package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
- package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
- package/src/filiale/zhoukou/pc/CheckSearchUser.vue +4 -4
- package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
- package/src/plugins/LoadCheckParams.js +59 -59
@@ -71,7 +71,7 @@
|
|
71
71
|
import co from 'co'
|
72
72
|
|
73
73
|
let syncDelete = function * (self,row) {
|
74
|
-
yield self.$resetpost('
|
74
|
+
yield self.$resetpost('api/af-safecheck/logic/deleteCheckPlanItem',{tablename:'t_check_plan_item',id:row.id },{
|
75
75
|
warnMsg: '删除数据不可恢复,确认删除吗?',
|
76
76
|
resolveMsg: '恭喜!删除成功!',
|
77
77
|
rejectMsg: '删除失败:'
|
@@ -1,185 +1,185 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="basic-main" style="height: 100%">
|
3
|
-
<div>
|
4
|
-
<div class="col-sm-9 amap-main" >
|
5
|
-
<div class="form-horizontal select-overspread container-fluid auto">
|
6
|
-
<div class="row">
|
7
|
-
<div class="col-sm-3 form-input-group" style="width: 20%">
|
8
|
-
<label class="control-label">公  司</label>
|
9
|
-
<right-tree-safe @re-res="getRes" >
|
10
|
-
</right-tree-safe>
|
11
|
-
</div>
|
12
|
-
<div class="col-sm-3 form-input-group" style="width: 20%">
|
13
|
-
<label class="control-label" >轨迹时间</label>
|
14
|
-
<datepicker placeholder="轨迹时间"
|
15
|
-
:value.sync="requestData.chengeDate"
|
16
|
-
v-model="requestData.chengeDate"
|
17
|
-
:format="'yyyy-MM-dd'">
|
18
|
-
</datepicker>
|
19
|
-
</div>
|
20
|
-
<div class="col-sm-3 form-input-group" style="width: 20%">
|
21
|
-
<label class="control-label">安检员</label>
|
22
|
-
<v-select :value.sync="selUserIds" v-model='selUserIds'
|
23
|
-
:value-single="false" clear-button search multiple
|
24
|
-
:options='searchUserEndOption' placeholder='安检员'
|
25
|
-
></v-select>
|
26
|
-
</div>
|
27
|
-
<div class="col-sm-3 form-input-group" style="width: 20%;float:right;">
|
28
|
-
<button class="btn btn-primary" @click="search">查询</button>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
<amap-trajectory :outerlinedata.sync="outerlinedata" :pathnavigatorstyle="pathnavigatorstyle" ></amap-trajectory>
|
33
|
-
</div>
|
34
|
-
<div class="col-sm-3">
|
35
|
-
<div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
|
36
|
-
<div class="flex">
|
37
|
-
<div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
|
38
|
-
<div class="panel-heading" style="height: auto">
|
39
|
-
<h3 class="panel-title">轨迹记录</h3>
|
40
|
-
</div>
|
41
|
-
<div class="panel-body" style="overflow: scroll">
|
42
|
-
<accordion :one-at-a-time="true" v-if="reponData.length>0">
|
43
|
-
<template v-for="row in reponData">
|
44
|
-
<panel is-open="false" type="primary">
|
45
|
-
<strong slot="header">用户编号:{{row.f_user_id}} 用户姓名:{{row.f_user_name}}</strong>
|
46
|
-
<div v-for="(idx,item) in row.result" @click="chengeLocation(item)" :class="{'alert alert-info':idx%2===0,'alert alert-success':idx%2!==0}">
|
47
|
-
轨迹时间段:{{item.f_start_date}} ~ {{item.f_end_date}}
|
48
|
-
</div>
|
49
|
-
</panel>
|
50
|
-
</template>
|
51
|
-
</accordion>
|
52
|
-
<h4 class="panel-title" v-else>暂无相关数据</h4>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
</template>
|
62
|
-
|
63
|
-
<script>
|
64
|
-
import co from 'co'
|
65
|
-
import * as Util from '../Util'
|
66
|
-
import {HttpResetClass} from 'vue-client'
|
67
|
-
|
68
|
-
/**
|
69
|
-
* 1. 首先获取当前选择的分公司下所有带定位角色的所有用户
|
70
|
-
* 2. 根据查询出来的所有用户的id和选择的时间去轨迹表查询,获取具体轨迹的时间段
|
71
|
-
* 3. 渲染给前台页面,前台根据选择的用户和时间端获取轨迹信息去渲染轨迹,每次只可以渲染一组轨迹
|
72
|
-
*/
|
73
|
-
|
74
|
-
|
75
|
-
export default {
|
76
|
-
title: "安检员轨迹展示",
|
77
|
-
data() {
|
78
|
-
return {
|
79
|
-
toUserIds: '', //当前分公司下所有的用户id
|
80
|
-
selUserIds:[], // 当前选择的用户Id
|
81
|
-
requestData: {
|
82
|
-
chengeDate: Util.toStandardDateString(),
|
83
|
-
userIds: '',
|
84
|
-
},
|
85
|
-
searchUserEndOption: [], //当前公司的所有安检员
|
86
|
-
reponData: [], // 请求到的结果集合
|
87
|
-
outerlinedata: [], //点集
|
88
|
-
pathnavigatorstyle: {
|
89
|
-
width: 16, //图标宽度
|
90
|
-
height: 32, // 图标高度
|
91
|
-
iconBase64: 'https://webapi.amap.com/ui/1.1/ui/misc/PathSimplifier/examples/imgs/car.png'//图标地址(外链地址或者Base64)
|
92
|
-
},
|
93
|
-
f_filialeids: '', //分公司ids
|
94
|
-
path: [],
|
95
|
-
}
|
96
|
-
},
|
97
|
-
methods: {
|
98
|
-
search() {
|
99
|
-
if (this.selUserIds.length==0&&!this.requestData.userIds) {
|
100
|
-
this.requestData.userIds = this.toUserIds
|
101
|
-
}
|
102
|
-
if (!this.f_filialeids) {
|
103
|
-
return this.$showMessage("请选择需要查询的分公司")
|
104
|
-
}
|
105
|
-
if (!this.requestData.chengeDate) {
|
106
|
-
return this.$showMessage("请选择需要查看的轨迹时间")
|
107
|
-
}
|
108
|
-
this.$resetpost('
|
109
|
-
if (response!=undefined && response.data.code == 200) {
|
110
|
-
this.reponData = response.data.data
|
111
|
-
}else if (response!=null && response.data.code == 404) {
|
112
|
-
this.reponData = []
|
113
|
-
this.$showMessage("未查询到当前用户的相关轨迹信息")
|
114
|
-
} else if (response!=null && response.data.code == 555) {
|
115
|
-
this.$showMessage("查询轨迹信息错误!错误原因:"+response.data.msg)
|
116
|
-
}
|
117
|
-
})
|
118
|
-
},
|
119
|
-
getRes(obj){
|
120
|
-
// this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
121
|
-
console.log(obj)
|
122
|
-
if (obj.res != undefined && obj.res.length > 0 && obj.res[0] != undefined) {
|
123
|
-
this.getNewData(obj.res[0])
|
124
|
-
}
|
125
|
-
this.f_filialeids = this.$login.convertToIn(obj.resids);
|
126
|
-
},
|
127
|
-
chengeLocation(row) {
|
128
|
-
console.log(row)
|
129
|
-
this.$resetpost('
|
130
|
-
if (response!=undefined && response.data!=undefined) {
|
131
|
-
this.path = response.data
|
132
|
-
let name = `${row.f_user_name},${row.f_start_date}~${row.f_end_date}轨迹`
|
133
|
-
this.outerlinedata = [{path:this.path,speed:Math.ceil(this.path.length / 2),name:name}]
|
134
|
-
}
|
135
|
-
})
|
136
|
-
},
|
137
|
-
//获取定位人员类表
|
138
|
-
async getNewData(organization){
|
139
|
-
// let organization = '公司名称'
|
140
|
-
// let userRolestr = '需要定位人员'
|
141
|
-
let userRolestr = '安检员'
|
142
|
-
let res =await new HttpResetClass().load('POST', '/rs/search', {
|
143
|
-
// source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1))',
|
144
|
-
source: "this.getParentByName($"+organization+"$).getAllChildrens().where(row.getAttributes().get($resourcetype$)==$user$).where(row.getAttributes().get($rolestr$)!=null).where(row.getAttributes().get($rolestr$).indexOf($"+userRolestr+"$)!=-1)",
|
145
|
-
userid: this.$login.f.id
|
146
|
-
}, {resolveMsg: null, rejectMsg: null})
|
147
|
-
let dataEnd = [];
|
148
|
-
let idsEnd = [];
|
149
|
-
res.data.forEach(res=>{
|
150
|
-
let h=true
|
151
|
-
dataEnd.forEach(per=>{
|
152
|
-
if(res.id==per.value){
|
153
|
-
h=false
|
154
|
-
}
|
155
|
-
})
|
156
|
-
if(h){
|
157
|
-
dataEnd.push({label:res.name,value:res.id})
|
158
|
-
idsEnd.push(res.id)
|
159
|
-
}
|
160
|
-
})
|
161
|
-
this.toUserIds = this.$login.convertToIn(idsEnd); //所有的员工ID
|
162
|
-
this.searchUserEndOption = dataEnd
|
163
|
-
},
|
164
|
-
},
|
165
|
-
ready(){
|
166
|
-
|
167
|
-
},
|
168
|
-
watch: {
|
169
|
-
'selUserIds':function (val) {
|
170
|
-
if (val=='') {
|
171
|
-
this.requestData.userIds = ''
|
172
|
-
}else {
|
173
|
-
this.requestData.userIds = this.$login.convertToIn(val)
|
174
|
-
}
|
175
|
-
}
|
176
|
-
}
|
177
|
-
}
|
178
|
-
</script>
|
179
|
-
|
180
|
-
<style lang="less" scoped>
|
181
|
-
.amap-main {
|
182
|
-
height: 90%;
|
183
|
-
padding-right:10px;
|
184
|
-
}
|
185
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div class="basic-main" style="height: 100%">
|
3
|
+
<div>
|
4
|
+
<div class="col-sm-9 amap-main" >
|
5
|
+
<div class="form-horizontal select-overspread container-fluid auto">
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-sm-3 form-input-group" style="width: 20%">
|
8
|
+
<label class="control-label">公  司</label>
|
9
|
+
<right-tree-safe @re-res="getRes" >
|
10
|
+
</right-tree-safe>
|
11
|
+
</div>
|
12
|
+
<div class="col-sm-3 form-input-group" style="width: 20%">
|
13
|
+
<label class="control-label" >轨迹时间</label>
|
14
|
+
<datepicker placeholder="轨迹时间"
|
15
|
+
:value.sync="requestData.chengeDate"
|
16
|
+
v-model="requestData.chengeDate"
|
17
|
+
:format="'yyyy-MM-dd'">
|
18
|
+
</datepicker>
|
19
|
+
</div>
|
20
|
+
<div class="col-sm-3 form-input-group" style="width: 20%">
|
21
|
+
<label class="control-label">安检员</label>
|
22
|
+
<v-select :value.sync="selUserIds" v-model='selUserIds'
|
23
|
+
:value-single="false" clear-button search multiple
|
24
|
+
:options='searchUserEndOption' placeholder='安检员'
|
25
|
+
></v-select>
|
26
|
+
</div>
|
27
|
+
<div class="col-sm-3 form-input-group" style="width: 20%;float:right;">
|
28
|
+
<button class="btn btn-primary" @click="search">查询</button>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<amap-trajectory :outerlinedata.sync="outerlinedata" :pathnavigatorstyle="pathnavigatorstyle" ></amap-trajectory>
|
33
|
+
</div>
|
34
|
+
<div class="col-sm-3">
|
35
|
+
<div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
|
36
|
+
<div class="flex">
|
37
|
+
<div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
|
38
|
+
<div class="panel-heading" style="height: auto">
|
39
|
+
<h3 class="panel-title">轨迹记录</h3>
|
40
|
+
</div>
|
41
|
+
<div class="panel-body" style="overflow: scroll">
|
42
|
+
<accordion :one-at-a-time="true" v-if="reponData.length>0">
|
43
|
+
<template v-for="row in reponData">
|
44
|
+
<panel is-open="false" type="primary">
|
45
|
+
<strong slot="header">用户编号:{{row.f_user_id}} 用户姓名:{{row.f_user_name}}</strong>
|
46
|
+
<div v-for="(idx,item) in row.result" @click="chengeLocation(item)" :class="{'alert alert-info':idx%2===0,'alert alert-success':idx%2!==0}">
|
47
|
+
轨迹时间段:{{item.f_start_date}} ~ {{item.f_end_date}}
|
48
|
+
</div>
|
49
|
+
</panel>
|
50
|
+
</template>
|
51
|
+
</accordion>
|
52
|
+
<h4 class="panel-title" v-else>暂无相关数据</h4>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
</template>
|
62
|
+
|
63
|
+
<script>
|
64
|
+
import co from 'co'
|
65
|
+
import * as Util from '../Util'
|
66
|
+
import {HttpResetClass} from 'vue-client'
|
67
|
+
|
68
|
+
/**
|
69
|
+
* 1. 首先获取当前选择的分公司下所有带定位角色的所有用户
|
70
|
+
* 2. 根据查询出来的所有用户的id和选择的时间去轨迹表查询,获取具体轨迹的时间段
|
71
|
+
* 3. 渲染给前台页面,前台根据选择的用户和时间端获取轨迹信息去渲染轨迹,每次只可以渲染一组轨迹
|
72
|
+
*/
|
73
|
+
|
74
|
+
|
75
|
+
export default {
|
76
|
+
title: "安检员轨迹展示",
|
77
|
+
data() {
|
78
|
+
return {
|
79
|
+
toUserIds: '', //当前分公司下所有的用户id
|
80
|
+
selUserIds:[], // 当前选择的用户Id
|
81
|
+
requestData: {
|
82
|
+
chengeDate: Util.toStandardDateString(),
|
83
|
+
userIds: '',
|
84
|
+
},
|
85
|
+
searchUserEndOption: [], //当前公司的所有安检员
|
86
|
+
reponData: [], // 请求到的结果集合
|
87
|
+
outerlinedata: [], //点集
|
88
|
+
pathnavigatorstyle: {
|
89
|
+
width: 16, //图标宽度
|
90
|
+
height: 32, // 图标高度
|
91
|
+
iconBase64: 'https://webapi.amap.com/ui/1.1/ui/misc/PathSimplifier/examples/imgs/car.png'//图标地址(外链地址或者Base64)
|
92
|
+
},
|
93
|
+
f_filialeids: '', //分公司ids
|
94
|
+
path: [],
|
95
|
+
}
|
96
|
+
},
|
97
|
+
methods: {
|
98
|
+
search() {
|
99
|
+
if (this.selUserIds.length==0&&!this.requestData.userIds) {
|
100
|
+
this.requestData.userIds = this.toUserIds
|
101
|
+
}
|
102
|
+
if (!this.f_filialeids) {
|
103
|
+
return this.$showMessage("请选择需要查询的分公司")
|
104
|
+
}
|
105
|
+
if (!this.requestData.chengeDate) {
|
106
|
+
return this.$showMessage("请选择需要查看的轨迹时间")
|
107
|
+
}
|
108
|
+
this.$resetpost('api/af-safecheck/logic/QueryUserTracksByCompany',this.requestData,{resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
|
109
|
+
if (response!=undefined && response.data.code == 200) {
|
110
|
+
this.reponData = response.data.data
|
111
|
+
}else if (response!=null && response.data.code == 404) {
|
112
|
+
this.reponData = []
|
113
|
+
this.$showMessage("未查询到当前用户的相关轨迹信息")
|
114
|
+
} else if (response!=null && response.data.code == 555) {
|
115
|
+
this.$showMessage("查询轨迹信息错误!错误原因:"+response.data.msg)
|
116
|
+
}
|
117
|
+
})
|
118
|
+
},
|
119
|
+
getRes(obj){
|
120
|
+
// this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
121
|
+
console.log(obj)
|
122
|
+
if (obj.res != undefined && obj.res.length > 0 && obj.res[0] != undefined) {
|
123
|
+
this.getNewData(obj.res[0])
|
124
|
+
}
|
125
|
+
this.f_filialeids = this.$login.convertToIn(obj.resids);
|
126
|
+
},
|
127
|
+
chengeLocation(row) {
|
128
|
+
console.log(row)
|
129
|
+
this.$resetpost('api/af-safecheck/logic/queryRemoteLocationMapData',{data:{id:row.id}},{resolveMsg: "查询渲染轨迹成功", rejectMsg:"查询渲染轨迹失败!"}).then((response)=>{
|
130
|
+
if (response!=undefined && response.data!=undefined) {
|
131
|
+
this.path = response.data
|
132
|
+
let name = `${row.f_user_name},${row.f_start_date}~${row.f_end_date}轨迹`
|
133
|
+
this.outerlinedata = [{path:this.path,speed:Math.ceil(this.path.length / 2),name:name}]
|
134
|
+
}
|
135
|
+
})
|
136
|
+
},
|
137
|
+
//获取定位人员类表
|
138
|
+
async getNewData(organization){
|
139
|
+
// let organization = '公司名称'
|
140
|
+
// let userRolestr = '需要定位人员'
|
141
|
+
let userRolestr = '安检员'
|
142
|
+
let res =await new HttpResetClass().load('POST', '/rs/search', {
|
143
|
+
// source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1))',
|
144
|
+
source: "this.getParentByName($"+organization+"$).getAllChildrens().where(row.getAttributes().get($resourcetype$)==$user$).where(row.getAttributes().get($rolestr$)!=null).where(row.getAttributes().get($rolestr$).indexOf($"+userRolestr+"$)!=-1)",
|
145
|
+
userid: this.$login.f.id
|
146
|
+
}, {resolveMsg: null, rejectMsg: null})
|
147
|
+
let dataEnd = [];
|
148
|
+
let idsEnd = [];
|
149
|
+
res.data.forEach(res=>{
|
150
|
+
let h=true
|
151
|
+
dataEnd.forEach(per=>{
|
152
|
+
if(res.id==per.value){
|
153
|
+
h=false
|
154
|
+
}
|
155
|
+
})
|
156
|
+
if(h){
|
157
|
+
dataEnd.push({label:res.name,value:res.id})
|
158
|
+
idsEnd.push(res.id)
|
159
|
+
}
|
160
|
+
})
|
161
|
+
this.toUserIds = this.$login.convertToIn(idsEnd); //所有的员工ID
|
162
|
+
this.searchUserEndOption = dataEnd
|
163
|
+
},
|
164
|
+
},
|
165
|
+
ready(){
|
166
|
+
|
167
|
+
},
|
168
|
+
watch: {
|
169
|
+
'selUserIds':function (val) {
|
170
|
+
if (val=='') {
|
171
|
+
this.requestData.userIds = ''
|
172
|
+
}else {
|
173
|
+
this.requestData.userIds = this.$login.convertToIn(val)
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
</script>
|
179
|
+
|
180
|
+
<style lang="less" scoped>
|
181
|
+
.amap-main {
|
182
|
+
height: 90%;
|
183
|
+
padding-right:10px;
|
184
|
+
}
|
185
|
+
</style>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
points:{url:"api/af-safecheck/sql/SafeCheckGetAllCurrentPosition",data: {subcompany:this.$login.f.f_fengongsi}},
|
22
22
|
single:{},
|
23
23
|
data:{},
|
24
|
-
url:'
|
24
|
+
url:'api/af-safecheck/logic/SafecheckFetchFootprint',
|
25
25
|
f_fengongsi:this.$login.f.f_fengongsi
|
26
26
|
}
|
27
27
|
},
|
@@ -143,7 +143,7 @@ export default {
|
|
143
143
|
condition2 += ` and d.id = '${this.searchCondition.departmentId}'`
|
144
144
|
}
|
145
145
|
this.searchCondition.condition = condition
|
146
|
-
this.$resetpost('
|
146
|
+
this.$resetpost('api/af-safecheck/logic/getPhoneState', { condition: this.searchCondition.condition, condition2, orderTime: this.searchCondition.orderTime }, {resolveMsg: "轨迹记录查询成功", rejectMsg: "轨迹记录查询失败"}).then((response)=>{
|
147
147
|
if (response.data.state === 'success') {
|
148
148
|
this.reponData = response.data.result
|
149
149
|
// const points = douglasPeuckerForAMap(response.data.result, 2, 'tm')
|