-
+
@@ -88,6 +88,7 @@ export default {
// y: -10.001812, // 车辆y坐标
// task_seq: '点位1,点位2,work point 3,顶地方的方法顶顶顶点位3',
// task_point: '点位2',
+ // task_seq_index: 2,
// anomalyLevel: 1,
// errorData: [
// {
@@ -138,8 +139,7 @@ export default {
// this.$store.dispatch('setAgvObj', this.topInfo)
// if (this.topInfo.task_seq) {
// this.taskSeq = this.topInfo.task_seq.split(',')
- // const target = this.topInfo.task_point
- // this.currentStep = this.taskSeq.findIndex(item => item === target)
+ // this.currentStep = this.topInfo.task_seq_index
// } else {
// this.taskSeq = []
// this.currentStep = null
@@ -254,8 +254,7 @@ export default {
this.topInfo = res.data
if (this.topInfo.task_seq) {
this.taskSeq = this.topInfo.task_seq.split(',')
- const target = this.topInfo.task_point
- this.currentStep = this.taskSeq.findIndex(item => item === target)
+ this.currentStep = this.topInfo.task_seq_index
} else {
this.taskSeq = []
this.currentStep = null