|
|
|
@ -1,7 +1,8 @@
@@ -1,7 +1,8 @@
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex-col gap-16 wh-full"> |
|
|
|
|
<template v-if="env.VITE_APP_ENV == 'local'"> |
|
|
|
|
<EdfsWrap title="当前连接站点" v-if="connectSite?.title" shape="circle" shapeColor="#4B9E5F" class="h-auto"> |
|
|
|
|
<EdfsWrap title="当前连接站点" v-if="connectSite?.title" shape="circle" shapeColor="#4B9E5F" |
|
|
|
|
class="h-auto"> |
|
|
|
|
<div class="station-list-flow"> |
|
|
|
|
<div class="station-item"> |
|
|
|
|
<div class="title bg-[#4B9E5F]"> |
|
|
|
@ -28,7 +29,8 @@
@@ -28,7 +29,8 @@
|
|
|
|
|
<div class="footer row-end-0"> |
|
|
|
|
<div class="m-l-auto p-b-8"> |
|
|
|
|
<el-button type="primary" style="height: 28px; padding: 0 12px" color="#4B9E5F" |
|
|
|
|
@click="onTransferData">设备详情</el-button> |
|
|
|
|
@click="onTransferData">设备详情 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -36,7 +38,8 @@
@@ -36,7 +38,8 @@
|
|
|
|
|
</EdfsWrap> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<EdfsWrap :title="`${env.VITE_APP_ENV == 'local' ? '数据迁移历史' : '数据导入历史'}`" shape="circle" shapeColor="#F1BF63" |
|
|
|
|
<EdfsWrap :title="`${env.VITE_APP_ENV == 'local' ? '数据迁移历史' : '数据导入历史'}`" |
|
|
|
|
shape="circle" shapeColor="#F1BF63" |
|
|
|
|
class="flex-1" useScrollBar> |
|
|
|
|
<div class="station-list-flow"> |
|
|
|
|
<div class="station-item" v-for="item in siteList" :key="item.id"> |
|
|
|
@ -55,7 +58,9 @@
@@ -55,7 +58,9 @@
|
|
|
|
|
<div class="info"> |
|
|
|
|
<div class="info-item"> |
|
|
|
|
<div class="info-item-label">导出路径</div> |
|
|
|
|
<div class="info-item-value">{{ item.export_root_path }}</div> |
|
|
|
|
<el-tooltip :content="item.export_root_path"> |
|
|
|
|
<div class="info-item-path">{{ item.export_root_path }}</div> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -72,7 +77,7 @@
@@ -72,7 +77,7 @@
|
|
|
|
|
<div class="body"> |
|
|
|
|
<div class="info"> |
|
|
|
|
<div class="info-item"> |
|
|
|
|
<div class="info-item-label">导入时间</div> |
|
|
|
|
<div class="info-item-label">创建时间</div> |
|
|
|
|
<div class="info-item-value">{{ item.create_time }}</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -90,6 +95,7 @@ import { useTransferDataStore } from '@/stores/transferData'
@@ -90,6 +95,7 @@ import { useTransferDataStore } from '@/stores/transferData'
|
|
|
|
|
import { storeToRefs } from 'pinia' |
|
|
|
|
import { getSiteList, type ISite } from '@/api/module/transfer' |
|
|
|
|
import EdfsWrap from "@/components/Edfs-wrap.vue"; |
|
|
|
|
|
|
|
|
|
const env = import.meta.env |
|
|
|
|
|
|
|
|
|
const router = useRouter() |
|
|
|
@ -124,6 +130,7 @@ function onSiteDetails(site: ISite) {
@@ -124,6 +130,7 @@ function onSiteDetails(site: ISite) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const siteList = ref<ISite[]>([]) |
|
|
|
|
|
|
|
|
|
async function loadSiteList() { |
|
|
|
|
const res = await getSiteList() |
|
|
|
|
if (res.code === 200 || res.code === 0) { |
|
|
|
@ -207,7 +214,7 @@ onMounted(() => {
@@ -207,7 +214,7 @@ onMounted(() => {
|
|
|
|
|
color: var(--label-color); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.info-item-value { |
|
|
|
|
.info-item-value, .info-item-path { |
|
|
|
|
font-size: 20px; |
|
|
|
|
font-weight: 500; |
|
|
|
|
margin-top: 4px; |
|
|
|
@ -223,6 +230,10 @@ onMounted(() => {
@@ -223,6 +230,10 @@ onMounted(() => {
|
|
|
|
|
padding: 0 8px; |
|
|
|
|
color: var(--station-info-val-text); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.info-item-path { |
|
|
|
|
display: block; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|