xushiting 4 years ago
parent
commit
a783f14020
3 changed files with 4 additions and 4 deletions
  1. 2 2
      IndoorViewerAPI.js
  2. 1 1
      api/configs
  3. 1 1
      locat/addDataSet.html

+ 2 - 2
IndoorViewerAPI.js

@@ -152910,8 +152910,8 @@ and limitations under the License.
                             else {
                                 var y = e(o, a)
                                   , b = !1;
-								console.log('url2:'+a);
-								if(a.indexOf('/api/pois/filter')>-1){
+								console.log('url2:'+a);  
+								if(a.indexOf('/api/pois/filter')>-1||a.indexOf('/api/poses')>-1||a.indexOf('/api/images')>-1){
 									//o = 'GET';
 									a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/api/'));
 								} 

+ 1 - 1
api/configs

@@ -832,7 +832,7 @@
 	},
 	"id": 66,
 	"name": "core.map.measures_save",
-	"value": "{\"general_setting\":{\"subArea\":true,\"cursorPosition\":true,\"switchMap\":true,\"loadl3DModels\":false},\"proj4_setting\":[{\"geo_name\":\"本地坐标\",\"geo_proj4\":\"local\"},{\"geo_name\":\"Wgs84坐标\",\"geo_proj4\":\"world\"},{\"geo_name\":\"EPSG:4550 CGCS2000 / 3-degree Gauss-Kruger CM 123E\",\"geo_proj4\":\"+proj=tmerc +lat_0=0 +lon_0=123 +k=1 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs;\"}]}",
+	"value": "{\"general_setting\":{\"subArea\":true,\"cursorPosition\":true,\"switchMap\":true,\"loadl3DModels\":false},\"proj4_setting\":[{\"geo_name\":\"本地坐标\",\"geo_proj4\":\"local\"},{\"geo_name\":\"Wgs84坐标\",\"geo_proj4\":\"world\"}]}",
 	"type": "string",
 	"length": null,
 	"category": "map.appearance",

+ 1 - 1
locat/addDataSet.html

@@ -365,7 +365,7 @@
                 commit() {
 
                     this.handleData()
-                    axios.post('/indoor/test3/api/controlPoint/save', {
+                    axios.post('/indoor/@replace/api/controlPoint/save', {
                             ageControlLocation1: this.ageControlLocation1,
                             ageControlLocation2: this.ageControlLocation2,
                             gpsControlCoordinate1: this.gpsControlCoordinate1,