Browse Source

adm:feat > 查询底图接口参数改为小写

shaun-sheep 4 years ago
parent
commit
4ffd2efffc

+ 1 - 1
src/components/data_admin/buildTask/draw/drawModel.vue

@@ -73,7 +73,7 @@ export default {
       this.clearGraphy()
       this.drawMainScene = new DivideFloorScene();
       this.canvasLoading = true;
-      this.drawMainScene.getFloorData('/modelapi/base-graph/query', { ModelId: ModelId }).then(res => {
+      this.drawMainScene.getFloorData('/modelapi/base-graph/query', { modelId: ModelId }).then(res => {
         // console.log(this)
         this.getGraphtSuc(res);
       })

+ 2 - 2
src/views/business_space/dataUtil/checkJsonUtil.vue

@@ -101,7 +101,7 @@ export default {
       this.clearGraphy()
       that.scene = new DivideFloorScene();
       this.loading = true;
-      that.scene.getFloorData('/modelapi/base-graph/query', { ModelId: this.ModelID }).then(res => {
+      that.scene.getFloorData('/modelapi/base-graph/query', { modelId: this.ModelID }).then(res => {
         if (res.Result == 'failure') {
           this.$message.warning(res.Message)
         }
@@ -260,4 +260,4 @@ export default {
     display: none;
   }
 }
-</style>
+</style>

+ 2 - 2
src/views/model/report/deleted.vue

@@ -235,7 +235,7 @@ export default {
       that.clearGraphy(this.i)
       that.scene = new LocationPointScene();
       this.canvasLoading = true;
-      that.scene.getFloorData('/modelapi/base-graph/query', { ModelId: can[this.i].dataset.modelid }).then(res => {
+      that.scene.getFloorData('/modelapi/base-graph/query', { modelId: can[this.i].dataset.modelid }).then(res => {
         that.canvasLoading = false;
         if (res == 'error') {
           this.FloorMap = '';
@@ -399,4 +399,4 @@ export default {
 canvas {
   position: static !important;
 }
-</style>
+</style>

+ 1 - 1
src/views/model/report/supplement.vue

@@ -211,7 +211,7 @@ export default {
       that.clearGraphy(this.i)
       that.scene = new LocationPointScene();
       this.canvasLoading = true;
-      that.scene.getFloorData('/modelapi/base-graph/query', { ModelId: can[this.i].dataset.modelid }).then(res => {
+      that.scene.getFloorData('/modelapi/base-graph/query', { modelId: can[this.i].dataset.modelid }).then(res => {
         that.canvasLoading = false;
         if (res == 'error') {
           this.FloorMap = '';

+ 1 - 1
src/views/ready/buildfloor/drawGraphy/drawFloor.vue

@@ -92,7 +92,7 @@ export default {
       that.drawMainScene = new DivideFloorScene();
       that.canvasLoading = true;
       if (type == 1) {
-        that.drawMainScene.getFloorData('/modelapi/base-graph/query', { ModelId: Id }).then(res => {
+        that.drawMainScene.getFloorData('/modelapi/base-graph/query', { modelId: Id }).then(res => {
           that.getGraphtSuc(res)
         })
       } else if(type==2){

+ 1 - 1
src/views/screen/splitscreen/equipledger/index.vue

@@ -62,7 +62,7 @@ export default {
       this.clearGraphy();
       this.scene = new LocationPointScene()
       this.canvasLoading = true;
-      this.scene.getFloorData('/modelapi/base-graph/query', { ModelId: this.equip.ModelId }).then(res => {
+      this.scene.getFloorData('/modelapi/base-graph/query', { modelId: this.equip.ModelId }).then(res => {
         this.getGraphtSuc(res)
       })
     },