Browse Source

feat:新增sceneNum参数

jinx 4 years ago
parent
commit
ab5041b0fe
1 changed files with 4 additions and 0 deletions
  1. 4 0
      locat/addDataSet.html

+ 4 - 0
locat/addDataSet.html

@@ -199,6 +199,7 @@
                     ageControlLocation2: [],
                     gpsControlCoordinate1: [],
                     gpsControlCoordinate2: [],
+                    sceneNum:'',
                 }
             },
             created() {
@@ -307,7 +308,9 @@
                     this.gpsControlCoordinate2.push(this.blat - 0)
                     this.gpsControlCoordinate2.push(this.balt - 0)
 
+                    this.sceneNum = window.location.pathname.split('/')[2]
                 },
+                
                 commit() {
 
                     this.handleData()
@@ -316,6 +319,7 @@
                             ageControlLocation2: this.ageControlLocation2,
                             gpsControlCoordinate1: this.gpsControlCoordinate1,
                             gpsControlCoordinate2: this.gpsControlCoordinate2,
+                            sceneNum:this.sceneNum,
                             id: 1
                         })
                         .then(function (response) {