|
@@ -14,7 +14,7 @@
|
|
<div v-for="(item,index) in buildList" :key="item.BuildID" :class="{'floor-item':true,active:item.active}" @click="changeBuild(index)">
|
|
<div v-for="(item,index) in buildList" :key="item.BuildID" :class="{'floor-item':true,active:item.active}" @click="changeBuild(index)">
|
|
<span>
|
|
<span>
|
|
{{item.BuildLocalName || item.BuildName}}
|
|
{{item.BuildLocalName || item.BuildName}}
|
|
- <el-badge class="mark" :is-dot="false" />
|
|
|
|
|
|
+ <el-badge v-if="item.Count>0" class="mark" :value="item.Count" />
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -38,15 +38,15 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="Datasource" label="平面图">
|
|
<el-table-column prop="Datasource" label="平面图">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <p v-if="scope.row.ModelId" @click="checkDrawImg(scope.row,1)">
|
|
|
|
- <i class="iconfont icon-floorplan"></i>
|
|
|
|
- 查看平面图
|
|
|
|
- </p>
|
|
|
|
- <p v-else-if="scope.row.type==2" @click="checkDrawImg(scope.row,2)">
|
|
|
|
|
|
+ <p v-if="scope.row.Sign>0" @click="checkDrawImg(scope.row,2)">
|
|
<el-badge is-dot>
|
|
<el-badge is-dot>
|
|
<i class="iconfont icon-floorplan"></i>
|
|
<i class="iconfont icon-floorplan"></i>
|
|
</el-badge>平面图重复
|
|
</el-badge>平面图重复
|
|
</p>
|
|
</p>
|
|
|
|
+ <p v-else-if="scope.row.ModelId" @click="checkDrawImg(scope.row,1)">
|
|
|
|
+ <i class="iconfont icon-floorplan"></i>
|
|
|
|
+ 查看平面图
|
|
|
|
+ </p>
|
|
<p v-else @click="checkDrawImg(scope.row,3)">
|
|
<p v-else @click="checkDrawImg(scope.row,3)">
|
|
<i class="iconfont icon-nopicture"></i>
|
|
<i class="iconfont icon-nopicture"></i>
|
|
暂无平面图
|
|
暂无平面图
|
|
@@ -93,7 +93,7 @@ import addBuild from "@/components/ready/buildfloor/addBuild";
|
|
import { mapGetters, mapActions } from "vuex";
|
|
import { mapGetters, mapActions } from "vuex";
|
|
import addConnectivity from "@/components/ready/buildfloor/addConnectivity";
|
|
import addConnectivity from "@/components/ready/buildfloor/addConnectivity";
|
|
import checkGraphy from "./drawGraphy/checkGraphy"; //查看图片
|
|
import checkGraphy from "./drawGraphy/checkGraphy"; //查看图片
|
|
-import { buildingQuery, floorQuery, manageDeleteFloor } from "@/api/scan/request";
|
|
|
|
|
|
+import { buildingQueryAndCount, floorQueryAndSign, manageDeleteFloor } from "@/api/scan/request";
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
addFloor,
|
|
addFloor,
|
|
@@ -140,7 +140,7 @@ export default {
|
|
PageNumber: 1,
|
|
PageNumber: 1,
|
|
PageSize: 500
|
|
PageSize: 500
|
|
};
|
|
};
|
|
- buildingQuery(bdParam, res => {
|
|
|
|
|
|
+ buildingQueryAndCount(bdParam, res => {
|
|
this.buildList = res.Content;
|
|
this.buildList = res.Content;
|
|
if (this.buildList.length) {
|
|
if (this.buildList.length) {
|
|
this.changeBuild(0);
|
|
this.changeBuild(0);
|
|
@@ -197,7 +197,7 @@ export default {
|
|
PageSize: this.page.pageSize,
|
|
PageSize: this.page.pageSize,
|
|
Filters: `BuildID='${this.curBuildId}'`
|
|
Filters: `BuildID='${this.curBuildId}'`
|
|
};
|
|
};
|
|
- floorQuery(floorParam, res => {
|
|
|
|
|
|
+ floorQueryAndSign(floorParam, res => {
|
|
this.tableData = res.Content;
|
|
this.tableData = res.Content;
|
|
this.page.total = res.Total;
|
|
this.page.total = res.Total;
|
|
});
|
|
});
|