diff --git a/src/renderer/src/views/components/headers/components/setPup/components/engineering.vue b/src/renderer/src/views/components/headers/components/setPup/components/engineering.vue
index a2bf269..c5eab19 100644
--- a/src/renderer/src/views/components/headers/components/setPup/components/engineering.vue
+++ b/src/renderer/src/views/components/headers/components/setPup/components/engineering.vue
@@ -38,28 +38,31 @@
{{ item.name }}
- {{ item.createdAt }}
+ {{ item.path }}
-
已启用
+
{{ item.createdAt }}
+
+ 已启用
-
- 启用
-
-
- 删除
-
+
+ 启用
+
+
+ 删除
+
+
@@ -91,28 +94,32 @@
{{ item.name }}
- {{ item.createdAt }}
+
+ {{ item.path }}
-
已启用
+
{{ item.createdAt }}
+
+ 已启用
-
- 启用
-
-
- 删除
-
+
+ 启用
+
+
+ 删除
+
+
@@ -242,6 +249,10 @@ const poiImport = () => {
if (res.code === 200) {
PoiApi.getPoiList().then((list) => {
poiList.splice(0, poiList.length, ...list.data)
+ poiList.map((item) => {
+ let arr = item.path.split('/')
+ item.name = arr[arr.length - 1]
+ })
//只有一个poi时默认启用
if (poiList.length == 1) {
let formData = new FormData()
@@ -390,6 +401,10 @@ var routeList: any = reactive([])
const getList = async () => {
let list = await RouteApi.getRouteList()
routeList.splice(0, routeList.length, ...list.data)
+ routeList.map((item) => {
+ let arr = item.path.split('/')
+ item.name = arr[arr.length - 1]
+ })
}
getList()
@@ -398,6 +413,10 @@ var poiList: any = reactive([])
const getPoiList = async () => {
let list = await PoiApi.getPoiList()
poiList.splice(0, poiList.length, ...list.data)
+ poiList.map((item) => {
+ let arr = item.path.split('/')
+ item.name = arr[arr.length - 1]
+ })
}
getPoiList()
@@ -680,7 +699,7 @@ function derive() {
box-sizing: border-box;
display: flex;
line-height: 32px; // padding: 20px 0;
- padding: 0 0 20px 0;
+ padding: 0 0 15px 0;
.fankuai {
width: 10px;
height: 10px;
@@ -723,10 +742,10 @@ function derive() {
.fileList {
width: 100%;
// height: 20vh;
- max-height: 20vh;
+ max-height: 15vh;
box-sizing: border-box;
- padding: 0 0 20px 0;
-
+ // padding: 0 0 16px 0;
+ overflow-y: auto;
.fileList_nav {
width: 100%;
height: 100%;
@@ -734,7 +753,7 @@ function derive() {
overflow-y: auto; /* 垂直方向超出时显示滚动条 */
.fileList_nav_item {
width: 100%;
- height: 8vh;
+ height: 7vh;
// background-color: aqua;
box-sizing: border-box;
padding: 10px;
@@ -759,28 +778,57 @@ function derive() {
display: flex;
flex-direction: column;
padding-left: 10px;
+ width: calc(100% - 45px);
}
}
}
}
// 滚动条优化
- .fileList_nav::-webkit-scrollbar {
- width: 5px;
- height: 5px;
- }
+ // .fileList::-webkit-scrollbar {
+ // width: 5px;
+ // height: 5px;
+ // }
- .fileList_nav::-webkit-scrollbar-thumb {
- background-color: rgba(var(--color-base1), 1);
- border-radius: 5px;
- }
+ // .fileList::-webkit-scrollbar-thumb {
+ // background-color: rgba(var(--color-base1), 1);
+ // border-radius: 5px;
+ // }
- .fileList_nav::-webkit-scrollbar-track {
- background-color: rgba(var(--color-base1), 0.2);
- }
+ // .fileList::-webkit-scrollbar-track {
+ // background-color: rgba(var(--color-base1), 0.2);
+ // }
+}
+// 滚动条优化
+.fileList::-webkit-scrollbar {
+ width: 5px;
+ height: 5px;
+}
+
+.fileList::-webkit-scrollbar-thumb {
+ background-color: rgba(var(--color-base1), 1);
+ border-radius: 5px;
+}
+
+.fileList::-webkit-scrollbar-track {
+ background-color: rgba(var(--color-base1), 0.2);
}
.line {
width: 100%;
height: 1px;
background-color: rgba(204, 204, 204, 0.2);
}
+.pdfPath {
+ display: inline-block;
+ width: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ color: rgba(var(--color-text2), 1);
+}
+.but {
+ display: inline-block;
+ width: 140px;
+ text-align: right;
+ margin-left: 10px;
+}