From 8d2a569bcbba1908ffd8774be4802c62d5a54c88 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Thu, 23 Oct 2025 19:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/data-collect/file-share-manage.js | 19 + .../archClass/archClassification/index.vue | 16 +- .../prop/fileDimensionForm.vue | 428 ++++++++++-------- .../archCustomClassification/index.vue | 13 +- .../prop/customizeForm.vue | 367 ++++++++------- .../components/left-tree.vue | 146 ++++++ .../components/right-table.vue | 298 ++++++++++++ .../file-share-manage/components/share.vue | 201 ++++++++ .../data-collect/file-share-manage/index.vue | 41 ++ src/views/filesTransfer/encryption/index.vue | 13 +- .../encryption/prop/encryptionForm.vue | 406 +++++++++-------- 11 files changed, 1414 insertions(+), 534 deletions(-) create mode 100644 src/api/data-collect/file-share-manage.js create mode 100644 src/views/data-collect/file-share-manage/components/left-tree.vue create mode 100644 src/views/data-collect/file-share-manage/components/right-table.vue create mode 100644 src/views/data-collect/file-share-manage/components/share.vue create mode 100644 src/views/data-collect/file-share-manage/index.vue diff --git a/src/api/data-collect/file-share-manage.js b/src/api/data-collect/file-share-manage.js new file mode 100644 index 0000000..0567d67 --- /dev/null +++ b/src/api/data-collect/file-share-manage.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +// 获取左侧树列表接口 +export function getLeftTreeListAPI(data) { + return request({ + url: '/smartArchives/file/share/listAll', + method: 'GET', + data: data, + }) +} + +// 获取数据列表接口 +export function getListDataSetAPI(query) { + return request({ + url: '/smartArchives/file/share/list', + method: 'GET', + params: query, + }) +} diff --git a/src/views/archivesManagement/archClass/archClassification/index.vue b/src/views/archivesManagement/archClass/archClassification/index.vue index 0672087..6229bbe 100644 --- a/src/views/archivesManagement/archClass/archClassification/index.vue +++ b/src/views/archivesManagement/archClass/archClassification/index.vue @@ -11,6 +11,10 @@ + 1 + @closeDialog="closeDialog" @showColose="showColose" :dataForm="row" :disabled="isAdd === 'detail'" :width="600" /> @@ -67,6 +71,14 @@ export default { this.isAdd = 'add'; this.isflag = true; }, + + /** 查看详情按钮操作 */ + handleDetail(row) { + this.title = "详情"; + this.isAdd = 'detail'; // 标记为详情模式 + this.row = row; + this.isflag = true; + }, closeDialog() { this.isflag = false; }, diff --git a/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue b/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue index 9dc8f10..9b05411 100644 --- a/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue +++ b/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue @@ -1,226 +1,270 @@ \ No newline at end of file + +/* 详情模式下的样式 */ +::v-deep .el-form-item.is-disabled .el-form-item__label { + color: #606266; +} + +::v-deep .el-input.is-disabled .el-input__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + +::v-deep .el-textarea.is-disabled .el-textarea__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + +::v-deep .el-select.is-disabled .el-input__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + diff --git a/src/views/archivesManagement/archClass/archCustomClassification/index.vue b/src/views/archivesManagement/archClass/archCustomClassification/index.vue index 9980375..b0eaac4 100644 --- a/src/views/archivesManagement/archClass/archCustomClassification/index.vue +++ b/src/views/archivesManagement/archClass/archCustomClassification/index.vue @@ -11,6 +11,10 @@ @@ -73,6 +77,13 @@ export default { showColose() { this.isflag = false; }, + /** 详情操作 */ + handleDetail(row) { + this.title = "详情"; + this.isAdd = 'detail'; // 标记为详情模式 + this.row = row; + this.isflag = true; + }, /** 修改操作 */ handleUpdate(row) { this.title = "修改"; diff --git a/src/views/archivesManagement/archClass/archCustomClassification/prop/customizeForm.vue b/src/views/archivesManagement/archClass/archCustomClassification/prop/customizeForm.vue index 30364a2..07817f1 100644 --- a/src/views/archivesManagement/archClass/archCustomClassification/prop/customizeForm.vue +++ b/src/views/archivesManagement/archClass/archCustomClassification/prop/customizeForm.vue @@ -1,195 +1,240 @@ \ No newline at end of file + +/* 详情模式下的样式 */ +::v-deep .el-form-item.is-disabled .el-form-item__label { + color: #606266; +} + +::v-deep .el-input.is-disabled .el-input__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + +::v-deep .el-textarea.is-disabled .el-textarea__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + diff --git a/src/views/data-collect/file-share-manage/components/left-tree.vue b/src/views/data-collect/file-share-manage/components/left-tree.vue new file mode 100644 index 0000000..0928159 --- /dev/null +++ b/src/views/data-collect/file-share-manage/components/left-tree.vue @@ -0,0 +1,146 @@ + + + + + diff --git a/src/views/data-collect/file-share-manage/components/right-table.vue b/src/views/data-collect/file-share-manage/components/right-table.vue new file mode 100644 index 0000000..2a09cb4 --- /dev/null +++ b/src/views/data-collect/file-share-manage/components/right-table.vue @@ -0,0 +1,298 @@ + + + + + diff --git a/src/views/data-collect/file-share-manage/components/share.vue b/src/views/data-collect/file-share-manage/components/share.vue new file mode 100644 index 0000000..ec1f902 --- /dev/null +++ b/src/views/data-collect/file-share-manage/components/share.vue @@ -0,0 +1,201 @@ + + + diff --git a/src/views/data-collect/file-share-manage/index.vue b/src/views/data-collect/file-share-manage/index.vue new file mode 100644 index 0000000..0dccdc5 --- /dev/null +++ b/src/views/data-collect/file-share-manage/index.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/views/filesTransfer/encryption/index.vue b/src/views/filesTransfer/encryption/index.vue index 5832673..af81bf6 100644 --- a/src/views/filesTransfer/encryption/index.vue +++ b/src/views/filesTransfer/encryption/index.vue @@ -11,6 +11,10 @@ @@ -61,6 +65,13 @@ export default { }, methods: { + /** 详情操作 */ + handleDetail(row) { + this.title = "详情"; + this.isAdd = 'detail'; // 标记为详情模式 + this.row = row; + this.isflag = true; + }, /** 新增按钮操作 */ handleAdd() { this.title = "新增"; diff --git a/src/views/filesTransfer/encryption/prop/encryptionForm.vue b/src/views/filesTransfer/encryption/prop/encryptionForm.vue index 78f127c..e089dcb 100644 --- a/src/views/filesTransfer/encryption/prop/encryptionForm.vue +++ b/src/views/filesTransfer/encryption/prop/encryptionForm.vue @@ -1,211 +1,263 @@ \ No newline at end of file + +/* 详情模式下的样式 */ +::v-deep .el-form-item.is-disabled .el-form-item__label { + color: #606266; +} + +::v-deep .el-input.is-disabled .el-input__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} + +::v-deep .el-select.is-disabled .el-input__inner { + background-color: #f5f7fa; + border-color: #e4e7ed; + color: #606266; + cursor: not-allowed; +} +