diff --git a/src/components/Edfs-wrap.vue b/src/components/Edfs-wrap.vue index e2f6a48..bcb39e7 100644 --- a/src/components/Edfs-wrap.vue +++ b/src/components/Edfs-wrap.vue @@ -104,6 +104,7 @@ function onCollapse() { padding: 0 16px; box-sizing: border-box; background-color: var(--warp-bg); + white-space: nowrap; .title-left { height: 100%; diff --git a/src/views/stationData/topology/components/detailDrawer.vue b/src/views/stationData/topology/components/detailDrawer.vue index 1adea95..65f2629 100644 --- a/src/views/stationData/topology/components/detailDrawer.vue +++ b/src/views/stationData/topology/components/detailDrawer.vue @@ -96,7 +96,13 @@ import PointCheckbox from "@/views/stationData/component/pointCheckbox.vue"; const env = import.meta.env const isShowDrawer = defineModel() -const title = computed(() => (curDevice.value?.isonLine ? '数据详情' : `已导出数据详情`)) +const title = computed(() => + ( + curDevice.value?.isonLine ? + '数据详情' : env.VITE_APP_ENV === 'local' + ? `已导出数据详情` : '已导入数据详情' + ) +) const message = useMessage() const PointCheckboxRef = ref>() @@ -223,7 +229,7 @@ async function loadChardData() { columns: columParams.value, isLocal: !curDevice.value?.isonLine, host: curDevice.value?.isonLine ? (curDevice.value as IOnlineDevice).clientIp : '', - name: currentGroup.value?.customNode ? selectValue.value : currentGroup.value?.name as string, + name: currentGroup.value?.customNode ? selectValue.value : currentGroup.value?.name as string, startTime: time.value[0], endTime: time.value[1], } @@ -392,7 +398,8 @@ const disabledDate = (time: any) => { } const getBeforeMonth = dayjs().startOf('month').subtract(1, 'month').startOf('month').toDate() const collapsed = ref(false) -function onCollapse(value?:boolean) { + +function onCollapse(value?: boolean) { collapsed.value = value ?? !collapsed.value } diff --git a/src/views/stationData/transfer/components/deviceDrawer.vue b/src/views/stationData/transfer/components/deviceDrawer.vue index a1dd4f2..1ae86e4 100644 --- a/src/views/stationData/transfer/components/deviceDrawer.vue +++ b/src/views/stationData/transfer/components/deviceDrawer.vue @@ -85,7 +85,13 @@ const env = import.meta.env const isShowDrawer = defineModel() -const title = computed(() => (props.isTransfer ? '数据详情' : `已导出数据详情`)) +const title = computed(() => + ( + props.isTransfer ? + '数据详情' : env.VITE_APP_ENV === 'local' + ? `已导出数据详情` : '已导入数据详情' + ) +) const message = useMessage() const pointGroupTreeRef = ref>()