调整vue前端:切换为8091端口;调整接口地址适应新后端;完善蚕茧仪评分析中图片可能超出全屏的情况;调整设备远程控制模块地址;

This commit is contained in:
BBIT-Kai
2025-09-26 16:23:21 +08:00
parent 381469aff8
commit 019a4365ed
6 changed files with 17 additions and 14 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
# 端口号
VITE_PORT=8090
VITE_PORT=8091
VITE_BASE=/
# 接口地址
VITE_GLOB_API_URL=http://localhost:8089/api
VITE_GLOB_API_URL_PY=http://localhost:13011/api
VITE_GLOB_API_URL=http://localhost:8089/
VITE_GLOB_API_URL_PY=http://localhost:13011/
# 是否开启 Nitro Mock服务,true 为开启,false 为关闭
VITE_NITRO_MOCK=false
+2 -2
View File
@@ -1,8 +1,8 @@
VITE_BASE=/
# 接口地址
VITE_GLOB_API_URL=http://s1.ronsunny.cn:8089/api
VITE_GLOB_API_URL_PY=http://s1.ronsunny.cn:13011/api
VITE_GLOB_API_URL=http://s1.ronsunny.cn:8090/api
VITE_GLOB_API_URL_PY=http://s1.ronsunny.cn:8090/ai
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
+6 -6
View File
@@ -158,10 +158,10 @@ onActivated(() => {
</script>
<template>
<div class="flex h-full w-full flex-col">
<div class="flex h-[90dvh] w-full flex-col">
<BaseModal />
<CreateYSATaskModal />
<div class="flex h-full w-full bg-gray-50">
<div class="flex h-[90dvh] w-full bg-gray-50">
<!-- 左侧筛选 + 列表 -->
<div class="flex w-64 flex-col border-r bg-white p-4">
<!-- 按钮组 -->
@@ -241,8 +241,8 @@ onActivated(() => {
>
<img
:src="selectedItem?.image_pre"
alt="左图"
class="object-contain"
alt=""
class="h-[30dvh] w-full object-contain"
/>
</div>
<!-- 右图 -->
@@ -251,8 +251,8 @@ onActivated(() => {
>
<img
:src="selectedItem?.image_after"
alt="右图"
class="object-contain"
alt=""
class="h-[30dvh] w-full object-contain"
/>
</div>
</div>
+4 -1
View File
@@ -126,7 +126,10 @@ const disconnectAll = async () => {
</template>
<template #default>
<Card class="ml-2 h-full">
<iframe src="http://s1.ronsunny.cn:8088" class="h-full w-full"></iframe>
<iframe
src="http://s1.ronsunny.cn:8090/remote"
class="h-full w-full"
></iframe>
</Card>
</template>
</ColPage>