From 7a1e1ec1b1cc1c6d5b37b0a5b00cef09309f4098 Mon Sep 17 00:00:00 2001 From: lichong <18518571399@163.com> Date: Thu, 12 Dec 2024 19:07:06 +0800 Subject: [PATCH] 12.12 --- src/main/index.js | 3 - src/renderer/index.html | 2 +- src/renderer/src/App.vue | 4 +- src/renderer/src/assets/css/base.css | 16 +- src/renderer/src/assets/json/file.json | 69 +++---- .../src/components/tablecomponent.vue | 22 +- src/renderer/src/components/treecomponent.vue | 22 +- src/renderer/src/main.js | 2 +- src/renderer/src/views/dangan.vue | 190 ++++++++++++------ 9 files changed, 191 insertions(+), 139 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 86ca81c..601ccbb 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -186,9 +186,6 @@ app.whenReady().then(() => { let sourceFilePath = element.prePath; destinationFilePath = Buffer.from(destinationFilePath, 'utf8').toString('utf8'); sourceFilePath = Buffer.from(sourceFilePath, 'utf8').toString('utf8'); - // 读取文件大小 - let fileSize = fs.statSync(sourceFilePath).size; - element.size = fileSize try { fs.copyFileSync(sourceFilePath, destinationFilePath); successFileList.push(element) diff --git a/src/renderer/index.html b/src/renderer/index.html index b2c3adb..65109b0 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -3,7 +3,7 @@ - 档案管理 + 海丰县不可移动文物四有资料管理系统 fiveDay) { this.isVip = false @@ -42,7 +42,7 @@ export default { diff --git a/src/renderer/src/main.js b/src/renderer/src/main.js index 35bac26..7e9f2ab 100644 --- a/src/renderer/src/main.js +++ b/src/renderer/src/main.js @@ -22,7 +22,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) { } app.use(ElementPlus, { locale: zhCn, - size:"large" + size:"default" }) app.use(screenShort, { enableWebRtc: false, level: 300001, hiddenScrollBar: true }).use(VxeUI).use(VxeUITable) app.mount('#app') diff --git a/src/renderer/src/views/dangan.vue b/src/renderer/src/views/dangan.vue index 9841387..69ac23b 100644 --- a/src/renderer/src/views/dangan.vue +++ b/src/renderer/src/views/dangan.vue @@ -1,11 +1,12 @@