Ver código fonte

修改字段projection

haojianlong 4 anos atrás
pai
commit
dfcb56653b

+ 0 - 2
src/components/business_space/newGraphy/graphy.vue

@@ -855,7 +855,6 @@ export default {
       }
       let pa = {
         content: [space],
-        // projection: ['state']
       }
       zoneUpdate(pa, res => {
         this.curZoneItem.isInfected = false;
@@ -1181,7 +1180,6 @@ export default {
       zoneObj.floorId = this.buildFloor[1];
       let pa = {
         content: [zoneObj],
-        // projection: ['bimLocation', 'classCode', 'outline', 'height', 'buildingId', 'floorId']
       }
       if (!zoneObj.outline) {
         pa.nullItems = ['outline']

+ 1 - 2
src/views/ledger/facility/batchPoint.vue

@@ -315,8 +315,7 @@ export default {
 				filters: `classCode='${this.classCode}'`,
 				pageSize: this.pageSize,
 				orders: 'createTime desc, id desc',
-				pageNumber: this.pageNumber,
-				// projection: ['category', 'localName', 'localId', 'id', 'bimId', 'cADID', 'locationJson', 'bimLocation'],
+				pageNumber: this.pageNumber
 			}
 			if (this.buildId == 'noKnow') {
 				params.filters += `;buildingId isNull`

+ 1 - 2
src/views/ready/buildfloor/drawGraphy/checkGraphy.vue

@@ -134,8 +134,7 @@ export default {
       }
       if (this.key) {
         let Param = {
-          Content: [{ FloorId: this.floor.FloorID, StructureInfo: { FloorMap: this.key } }],
-          Projection: ['FloorMap'],
+          content: [{ id: this.floor.FloorID, infos: { floorMap: this.key } }]
         }
         manageUpdateFloor(Param, (res) => {
           this.$message.success('更新成功')