|
@@ -22,11 +22,11 @@
|
|
<el-tooltip
|
|
<el-tooltip
|
|
class="box-item"
|
|
class="box-item"
|
|
effect="dark"
|
|
effect="dark"
|
|
- :content="item.name ? item.name : '本体边界' + item.id"
|
|
|
|
|
|
+ :content="item.name ? item.name : '本体边界'"
|
|
placement="top"
|
|
placement="top"
|
|
>
|
|
>
|
|
<div class="left">
|
|
<div class="left">
|
|
- <span>{{ item.name ? item.name : "本体边界" + item.id }}</span>
|
|
|
|
|
|
+ <span>{{ item.name ? item.name : "本体边界" }}</span>
|
|
</div>
|
|
</div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
<div
|
|
<div
|
|
@@ -87,7 +87,6 @@ import { board, boardDataChange, mapManage, queryMode } from "./install";
|
|
import { confirm } from "@/helper/message";
|
|
import { confirm } from "@/helper/message";
|
|
import picpenIcon from "@/assets/pic_pen.svg";
|
|
import picpenIcon from "@/assets/pic_pen.svg";
|
|
import piceditIcon from "@/assets/pic_edit.svg";
|
|
import piceditIcon from "@/assets/pic_edit.svg";
|
|
-import { relics } from "@/store/relics";
|
|
|
|
import { ElMessage } from "element-plus";
|
|
import { ElMessage } from "element-plus";
|
|
|
|
|
|
const boardStatus = board.polygon.status;
|
|
const boardStatus = board.polygon.status;
|
|
@@ -187,8 +186,7 @@ const handleDownload = async (item: any) => {
|
|
title: p.title || p.id,
|
|
title: p.title || p.id,
|
|
desc: p.title || p.id,
|
|
desc: p.title || p.id,
|
|
}));
|
|
}));
|
|
- console.log(dists, polygonPoints);
|
|
|
|
- await downloadPointsXLSL1(points, dists, `${relics!.value.name}-绘制矢量数据.xls`);
|
|
|
|
|
|
+ await downloadPointsXLSL1(points, dists, `${item.name || "本体边界"}-绘制矢量数据`);
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|