From 5009d611f68b6d58f04eb0df1e9bd5106f35ac40 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 13 Jul 2022 14:32:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/upload.js | 1 + .../{module => }/archivesAnjuan/index.vue | 145 +----- .../archivesList/archivesDetail.vue | 477 ------------------ .../{module => }/archivesJuannei/index.vue | 141 +----- .../{module => }/archivesProject/index.vue | 138 +---- .../archivesManage/archivesList/index.vue | 6 +- .../module/archivesInfo/index.vue | 41 +- .../module/deltArchives/index.vue | 110 ++++ .../module/restoreArchives/index.vue | 86 ++++ .../caseManage/caseList/index.vue | 4 +- 10 files changed, 283 insertions(+), 866 deletions(-) rename src/views/archivesManage/archivesList/{module => }/archivesAnjuan/index.vue (81%) delete mode 100644 src/views/archivesManage/archivesList/archivesDetail.vue rename src/views/archivesManage/archivesList/{module => }/archivesJuannei/index.vue (78%) rename src/views/archivesManage/archivesList/{module => }/archivesProject/index.vue (72%) create mode 100644 src/views/archivesManage/archivesList/module/deltArchives/index.vue create mode 100644 src/views/archivesManage/archivesList/module/restoreArchives/index.vue diff --git a/src/utils/upload.js b/src/utils/upload.js index 6ebd392..dbfc089 100644 --- a/src/utils/upload.js +++ b/src/utils/upload.js @@ -10,6 +10,7 @@ export function upload(api, file) { return axios.post(api, data, config) } +// 档案上传附件 export function archivesUpload(api, file, categoryId) { var data = new FormData() data.append('file', file) diff --git a/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue b/src/views/archivesManage/archivesList/archivesAnjuan/index.vue similarity index 81% rename from src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue rename to src/views/archivesManage/archivesList/archivesAnjuan/index.vue index 4b12764..3a267d1 100644 --- a/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue +++ b/src/views/archivesManage/archivesList/archivesAnjuan/index.vue @@ -65,23 +65,6 @@ - - - - -
-
-

确定删除当前档案吗?

-

数据来源:案卷 {{ selections.length }} 条数据 卷内 {{ totalSumAll }} 条数据

-

数据来源:文件 {{ selections.length }} 条数据 附件 {{ totalSumAll }} 条数据

-

提示:如果删除当前档案,此档案内所附带的文件会一并删除

-
- -
-
- @@ -156,9 +139,6 @@ /> - - - @@ -168,11 +148,17 @@ + + - + + + + + @@ -186,37 +172,26 @@ - - - - -
-
-

确定将当前选择的档案数据进行还原?

-
- -
-
- - diff --git a/src/views/archivesManage/archivesList/module/archivesJuannei/index.vue b/src/views/archivesManage/archivesList/archivesJuannei/index.vue similarity index 78% rename from src/views/archivesManage/archivesList/module/archivesJuannei/index.vue rename to src/views/archivesManage/archivesList/archivesJuannei/index.vue index 52c22de..a067727 100644 --- a/src/views/archivesManage/archivesList/module/archivesJuannei/index.vue +++ b/src/views/archivesManage/archivesList/archivesJuannei/index.vue @@ -49,22 +49,6 @@ - - - - -
-
-

确定删除当前档案吗?

-

数据来源:卷内 {{ selections.length }} 条数据 附件 {{ totalSumAll }} 条数据

-

提示:如果删除当前档案,此档案内所附带的文件会一并删除

-
- -
-
- @@ -127,7 +111,11 @@ - + + + + + @@ -137,36 +125,24 @@ - - - - - -
-
-

确定将当前选择的档案数据进行还原?

-
- -
-
+ + diff --git a/src/views/archivesManage/archivesList/module/restoreArchives/index.vue b/src/views/archivesManage/archivesList/module/restoreArchives/index.vue new file mode 100644 index 0000000..ee24d47 --- /dev/null +++ b/src/views/archivesManage/archivesList/module/restoreArchives/index.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/views/archivesManage/caseManage/caseList/index.vue b/src/views/archivesManage/caseManage/caseList/index.vue index 55a3f11..bce3efb 100644 --- a/src/views/archivesManage/caseManage/caseList/index.vue +++ b/src/views/archivesManage/caseManage/caseList/index.vue @@ -99,7 +99,8 @@ export default { del: false, download: false, group: false - } + }, + sort: [] }) }, data() { @@ -179,7 +180,6 @@ export default { // caseId: '1716F6C668C83A929C738B' } this.crud.crudMethod.findInCase(params).then(res => { - console.log(res, 'res') if (res) { this.$refs.detailDom.tableData = res.archives }