Parcourir la source

林业人员轨迹

彭宇 il y a 2 ans
Parent
commit
ef19a66db8
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. 12 12
      src/views/leader.vue

+ 12 - 12
src/views/leader.vue

@@ -68,7 +68,7 @@
 					<dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
 						<img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;" />
 						<div class="this-title">
-							<span>巡任务</span>
+							<span>巡任务</span>
 							<dv-decoration-3 style="width:150px;height:15px;margin-right: 1rem;" />
 						</div>
 						<div class="i-list-con h-73">
@@ -77,7 +77,7 @@
                   <el-collapse-item v-for="(item,index) in xunLinListOne">
                     <template slot="title">
                       <div class="d-l-con sj-collapse"
-                           @click="getRecordList(item.id)">
+                           @click="getWaterRecord(item.id)">
                         <div class="d-l-l-text">
                           <el-tooltip class="item" effect="dark" placement="left"
                                       style="width:10rem ;" :disabled="(item.taskName.length <= 20)">
@@ -93,7 +93,7 @@
                         </div>
                       </div>
                     </template>
-                    <div class="d-l-con this-child sj-collapse" @click="getPointList(child.id)"
+                    <div class="d-l-con this-child sj-collapse" @click="getWaterPoint(child.id)"
                          v-for="(child,index) in recordList">
                       <div class="d-l-l-text">
                         <h4>{{child.beginTime}} - {{child.endTime}}</h4>
@@ -139,8 +139,8 @@
 	import {
 		getForestLeader,
 		getPlanList,
-		getRecordList,
-		getPointList,
+		getWaterRecord,
+		getWaterPoint,
 		getRy
 	} from '@/api/leader'
 
@@ -173,7 +173,7 @@
 				visuForestCloudRYBO: [], //人员类型列表
 				peopleList: [], //人员列表
 				connectList: [], //画线
-				xunLinListOne: [], //巡任务
+				xunLinListOne: [], //巡任务
 				recordList: [], //巡查记录
 				showNothing: false, //暂无信息
 				zrs: 0, //总人数
@@ -290,7 +290,7 @@
 				this.connectList = []
 				this.$refs.supermap.clearC()
 			},
-			//点击左侧人员列表获取 巡计划
+			//点击左侧人员列表获取 巡计划
 			getPlanList(personId) {
 				this.showNothing = false;
 				this.recordList = [];
@@ -299,18 +299,18 @@
 				})
 				this.$refs.supermap.clearC()
 			},
-			//点击右侧巡计划获取 巡查记录
-			getRecordList(id) {
+			//点击右侧巡计划获取 巡查记录
+			getWaterRecord(id) {
 				this.showNothing = false;
 				this.recordList = [];
-				getRecordList(id).then(res => {
+				getWaterRecord(id).then(res => {
 					this.recordList = res.data;
 				})
 				this.$refs.supermap.clearC()
 			},
 			//点击右侧巡查记录获取 巡查轨迹
-			getPointList(id) {
-				getPointList(id).then(res => {
+			getWaterPoint(id) {
+				getWaterPoint(id).then(res => {
 					// console.log("落点",res.data);
 					this.setPointList(res);
 				})