From d9bace9591a36af6d052a29dafb4fa87cae500bb Mon Sep 17 00:00:00 2001 From: wangxk Date: Tue, 17 Jun 2025 13:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=98=E5=82=A8=E7=A9=BA=E9=97=B4=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=88web)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/special/document/index.vue | 8 +- web/src/views/system/storage/index.vue | 340 ++++++++++++++++++ .../views/testdata/datamanagement/index.vue | 4 - 3 files changed, 344 insertions(+), 8 deletions(-) create mode 100644 web/src/views/system/storage/index.vue diff --git a/web/src/views/special/document/index.vue b/web/src/views/special/document/index.vue index c5288b4..284bd56 100644 --- a/web/src/views/special/document/index.vue +++ b/web/src/views/special/document/index.vue @@ -525,7 +525,7 @@ function delfile(row: any) { } ) .then(() => { - deleteFilesById({ id: row.id }).then((res: any) => { + deleteFilesById({ id: row.id,projectId:projectId.value }).then((res: any) => { if (res.code == 0) { getdata() ElMessage({ @@ -560,7 +560,7 @@ function delprojectArr() { } ) .then(() => { - deleteFilesByIds({ ids: ids.join(',') }).then((res: any) => { + deleteFilesByIds({ ids: ids.join(','),projectId:projectId.value }).then((res: any) => { if (res.code == 0) { ElMessage({ type: 'success', @@ -585,7 +585,7 @@ function xiafile(row: any) { } ) .then(() => { - sdLocalUrl({ id: row.id }).then((res: any) => { + sdLocalUrl({ id: row.id,projectId:projectId.value }).then((res: any) => { window.open(res.data.url); }) @@ -700,7 +700,7 @@ function openPreview(row: any) { } function geturl(row: any, pan: any) { - sdLocalUrl({ id: row.id }).then((res: any) => { + sdLocalUrl({ id: row.id,projectId:projectId.value }).then((res: any) => { if (pan) { ViewfileUrl.value = res.data.url isViewfile.value = true diff --git a/web/src/views/system/storage/index.vue b/web/src/views/system/storage/index.vue new file mode 100644 index 0000000..8b1ef51 --- /dev/null +++ b/web/src/views/system/storage/index.vue @@ -0,0 +1,340 @@ + + + + + + + diff --git a/web/src/views/testdata/datamanagement/index.vue b/web/src/views/testdata/datamanagement/index.vue index dca61f9..85568d3 100644 --- a/web/src/views/testdata/datamanagement/index.vue +++ b/web/src/views/testdata/datamanagement/index.vue @@ -1511,10 +1511,6 @@ function mapClose() { } // 1s/10s/30s/1m/2m/5m const options = ref([ - { - name: '1秒' - , id: 1 - }, { name: '5分钟' , id: 300