Browse Source

adm:feat > 更改楼层大小写

shaun-sheep 4 years ago
parent
commit
2af230d367
1 changed files with 14 additions and 14 deletions
  1. 14 14
      src/views/ready/buildfloor/index.vue

+ 14 - 14
src/views/ready/buildfloor/index.vue

@@ -122,7 +122,7 @@
 <script>
 import addFloor from "@/views/ready/buildfloor/addFloor/index";
 import addBuild from "@/components/ready/buildfloor/addBuild";
-import {mapGetters} from "vuex";
+import { mapGetters } from "vuex";
 import addConnectivity from "@/components/ready/buildfloor/addConnectivity";
 import checkGraphy from "./drawGraphy/checkGraphy"; //查看图片
 import tools from "@/utils/buildfloor/tools";
@@ -135,7 +135,7 @@ import {
   objectQueryBuild,
   objectUpdateBuild
 } from "@/api/scan/request";
-import {getDataDictionary} from "@/api/dict";
+import { getDataDictionary } from "@/api/dict";
 
 
 export default {
@@ -190,9 +190,9 @@ export default {
   methods: {
     init() {
       let bdParam = {
-        Orders: "localName asc",
-        PageNumber: 1,
-        PageSize: 500
+        orders: "localName asc",
+        pageNumber: 1,
+        pageSize: 500
       };
       buildingQueryAndCount(bdParam, res => {
         this.buildList = res.content;
@@ -335,7 +335,7 @@ export default {
     // 获取列表
     getFloorTableData() {
       let floorParam = {
-        cascade: [{name: "floorThroughList"}],
+        cascade: [{ name: "floorThroughList" }],
         orders: "floorSequenceID desc",
         pageNumber: this.page.pageNumber,
         pageSize: this.page.pageSize,
@@ -361,7 +361,7 @@ export default {
     confirmDel() {
       this.buildDisabled = true
       if (this.delText == "楼层") {
-        let delParam = [{id: this.curFloorId}];
+        let delParam = [{ id: this.curFloorId }];
         this.delDialogVis = false;
         manageDeleteFloor(delParam, res => {
           this.$message.success("删除成功");
@@ -375,7 +375,7 @@ export default {
           this.$message.error("当前建筑中包含楼层,不可删除");
           this.delDialogVis = false;
         } else {
-          let param = [{id: this.curBuildId}];
+          let param = [{ id: this.curBuildId }];
           this.delDialogVis = false;
           objectDeleteBuild(param, res => {
             this.$message.success("删除成功");
@@ -407,12 +407,12 @@ export default {
       } else if (index == 1) {
         // this.modelId = row.StructureInfo.FloorMap
         this.modelId = row.infos.floorMap
-        let pa = {modelId: this.modelId, FloorID: row.id, BuildID: row.buildingId, BuildName: this.curBuildName};
-        this.$router.push({name: "repetitionGraphy", query: pa});
+        let pa = { modelId: this.modelId, FloorID: row.id, BuildID: row.buildingId, BuildName: this.curBuildName };
+        this.$router.push({ name: "repetitionGraphy", query: pa });
       } else {
         this.modelId = row.modelId;
-        let pa = {modelId: this.modelId, FloorID: row.id, BuildID: row.buildingId, BuildName: this.curBuildName};
-        this.$router.push({name: "repetitionGraphy", query: pa});
+        let pa = { modelId: this.modelId, FloorID: row.id, BuildID: row.buildingId, BuildName: this.curBuildName };
+        this.$router.push({ name: "repetitionGraphy", query: pa });
       }
     },
     //  查询建筑信息
@@ -420,8 +420,8 @@ export default {
       let param = {
         projectId: this.projectId,
         // Orders: "BuildLocalName asc",
-        PageNumber: 1,
-        PageSize: 500
+        pageNumber: 1,
+        pageSize: 500
       };
       objectQueryBuild(param, res => {
         this.currentBuildList = res.content