Compare commits

...

5 Commits

Author SHA1 Message Date
wanxiaoli
fbb207077e Merge branch 'main' of http://121.37.111.42:3000/ThbTech/FileManage 2025-05-30 17:13:26 +08:00
wanxiaoli
8a8eb2108b 上传 2025-05-30 17:11:23 +08:00
wanxiaoli
69e25c8ba5 Merge branch 'main' of http://121.37.111.42:3000/ThbTech/FileManage 2025-05-30 17:03:02 +08:00
wanxiaoli
5c928eab28 文件大小由MB改为KB 2025-05-30 17:02:55 +08:00
wanxiaoli
cf675f7869 批量差异页面修改 2025-05-30 15:47:30 +08:00
9 changed files with 12 additions and 10 deletions

BIN
web/dist.rar Normal file

Binary file not shown.

BIN
web/dist.tar Normal file

Binary file not shown.

BIN
web/dist.tar(1).gz Normal file

Binary file not shown.

BIN
web/dist.tar.gz Normal file

Binary file not shown.

BIN
web/dist.zip Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@ window.webConfig = {
"VITEAPPBASEWEB": "https://edu.mmhyvision.com/vision",
"webApiBaseApp": "https://edu.mmhyvision.com/parent",
"mapUrl":"http://192.168.1.208",
"WebSocketUrl":"ws://192.168.1.208:8087",
"WebSocketUrl":"ws://192.168.1.166:8087",
"title": "文档与数据管理系统",
"bgImg": "beijing.jpg",
"loginLogo": "uplogo.png",

View File

@ -1119,7 +1119,7 @@ const tabs = ref(1)
:class="data.station == '0' ? 'custom-tree-node' : (data.station == '1' ? 'custom-tree-node1' : (data.station == '2' ? 'custom-tree-node2' : 'custom-tree-node3'))">
<span class="text">
{{ data.fileName }}({{ data.isFile == 'FOLDER' ? data.children.length :
data.fileSize + 'MB' }})
data.fileSize + 'KB' }})
<!-- <span v-if="data.station != '0'">({{ data.station == '1' ? '新增' :
(data.station
== '2' ? '已变更' : '已删除') }})</span> -->
@ -1154,7 +1154,7 @@ const tabs = ref(1)
<!-- data.children.length -->
<span class="text">{{ data.fileName }}({{ data.isFile == 'FOLDER' ?
data.children.length :
data.fileSize + 'MB' }})</span>
data.fileSize + 'KB' }})</span>
<!-- <span v-if="data.station != '0'">({{ data.station == '1' ? '新增' :
(data.station
== '2' ? '已变更' : '已删除') }})</span> -->
@ -1178,9 +1178,9 @@ const tabs = ref(1)
<el-dialog title="差异批量处理" v-model="differential" width="50%" :before-close="diffClose" top="30px"
:close-on-click-modal="false" draggable destroy-on-close>
<div class="tabbs_all">
<div @click="tabs = 1" :class="tabs == 1 ? 'tabbs_box1' : 'tabbs_box'">新增文件</div>
<div @click="tabs = 2" :class="tabs == 2 ? 'tabbs_box1' : 'tabbs_box'">修改文件</div>
<div @click="tabs = 3" :class="tabs == 3 ? 'tabbs_box1' : 'tabbs_box'">删除文件</div>
<div @click="tabs = 1" :class="tabs == 1 ? 'tabbs_box1' : 'tabbs_box'">工作空间新增文件</div>
<div @click="tabs = 2" :class="tabs == 2 ? 'tabbs_box1' : 'tabbs_box'">工作空间内容变动文件</div>
<div @click="tabs = 3" :class="tabs == 3 ? 'tabbs_box1' : 'tabbs_box'">工作空间已删除文件</div>
</div>
<div>
<!-- <el-scrollbar height="400px"> -->
@ -1203,7 +1203,7 @@ const tabs = ref(1)
</el-table-column>
<el-table-column prop="fileSize" label="文件大小" width="100">
<template #default="scope">
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'MB' }}</span>
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'KB' }}</span>
<span v-else>--</span>
</template>
</el-table-column>
@ -1244,7 +1244,7 @@ const tabs = ref(1)
</el-table-column>
<el-table-column prop="fileSize" label="文件大小" width="100">
<template #default="scope">
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'MB' }}</span>
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'KB' }}</span>
<span v-else>--</span>
</template>
</el-table-column>
@ -1288,7 +1288,7 @@ const tabs = ref(1)
</el-table-column>
<el-table-column prop="fileSize" label="文件大小" width="100">
<template #default="scope">
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'MB' }}</span>
<span v-if="scope.row.isFile != 'FOLDER'">{{ scope.row.fileSize + 'KB' }}</span>
<span v-else>--</span>
</template>
</el-table-column>

View File

@ -28,7 +28,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
//线上API地址
//target: 'https://edu.mmhyvision.com:8443',
// 本地API地址
target: 'http://192.168.1.208:8087',
target: 'http://192.168.1.166:8087',
changeOrigin: true,
rewrite: path =>
path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')

2
web/压缩targz.txt Normal file
View File

@ -0,0 +1,2 @@
# 将目录或文件压缩为 .tar.gz
tar -czvf dist.tar.gz dist