From 4265ea45eb35b324d51bc7a0ed45fac0b91d77d7 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 22 Dec 2023 17:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86/=E5=8E=9F?= =?UTF-8?q?=E6=96=87=E4=B8=8A=E4=BC=A0=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/mixin.scss | 6 + src/assets/styles/yxk-admin.scss | 26 ++ src/utils/upload.js | 4 +- .../archiveKeeping/deviceManage/data.json | 129 ++++++++++ .../archiveKeeping/deviceManage/form.vue | 98 ++++++++ .../archiveKeeping/deviceManage/index.vue | 228 ++++++++++++++++++ .../module/uploadOriginal/index.vue | 67 +++-- 7 files changed, 532 insertions(+), 26 deletions(-) create mode 100644 src/views/archiveKeeping/deviceManage/data.json create mode 100644 src/views/archiveKeeping/deviceManage/form.vue create mode 100644 src/views/archiveKeeping/deviceManage/index.vue diff --git a/src/assets/styles/mixin.scss b/src/assets/styles/mixin.scss index d9e93c3..081fd62 100644 --- a/src/assets/styles/mixin.scss +++ b/src/assets/styles/mixin.scss @@ -386,6 +386,12 @@ } } +@mixin tree_store_icon_font{ + [data-theme="light"] & { + color: #FFA000; + } +} + @mixin tree_classfiy_icon_font{ [data-theme="light"] & { color: #3ACFB1; diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index e3c1f97..797eced 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -1356,6 +1356,31 @@ input[type ='number'] { @include tree_children_icon_font; } } + +.iconStoreHouse{ + font-family: "iconfont" !important; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + &::before{ + content: "\e667"; + font-size: 16px; + @include tree_store_icon_font; + } +} + +.iconArea{ + font-family: "iconfont" !important; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + &::before{ + content: "\e678"; + font-size: 14px; + @include tree_children_icon_font; + } +} + .iconClassify{ font-family: "iconfont" !important; font-style: normal; @@ -1378,6 +1403,7 @@ input[type ='number'] { @include tree_classfiy_icon_font; } } + // 档案门类-基本信息 .system-base-info { @include category-padding; diff --git a/src/utils/upload.js b/src/utils/upload.js index c2cd09f..dab0e5e 100644 --- a/src/utils/upload.js +++ b/src/utils/upload.js @@ -27,13 +27,15 @@ export function BatchImport(api, params) { } // 收集库 - 原文上传 -export function archivesUpload(api, file, categoryId) { +export function archivesUpload(api, file, categoryId, archivesId, fileJsonString) { var data = new FormData() // data.append('files', file) // 之前 for (const item in file) { // 现在 data.append('files', file[item]) } data.append('categoryId', categoryId) + data.append('archivesId', archivesId) + data.append('fileJsonString', fileJsonString) const config = { headers: { 'Authorization': getToken() diff --git a/src/views/archiveKeeping/deviceManage/data.json b/src/views/archiveKeeping/deviceManage/data.json new file mode 100644 index 0000000..aafd6a4 --- /dev/null +++ b/src/views/archiveKeeping/deviceManage/data.json @@ -0,0 +1,129 @@ +{ + "code": 200, + "message": "操作成功", + "data": [ + { + "id": "934F43EED6B86A5A28F162", + "cnName": "档案库房", + "enName": null, + "code": null, + "pid": "0", + "suffix": null, + "isType": 1, + "categoryLevel": null, + "isCase": true, + "arrangeType": 0, + "isFiling": false, + "filingId": null, + "filingPosition": null, + "remark": "", + "categorySeq": null, + "archivesClasses": [], + "children": [ + { + "id": "B127B15D1D5208FA7EC64B", + "cnName": "库房A", + "enName": null, + "code": "qzA", + "pid": "934F43EED6B86A5A28F162", + "suffix": null, + "isType": 2, + "categoryLevel": null, + "isCase": null, + "arrangeType": null, + "isFiling": null, + "filingId": null, + "filingPosition": null, + "remark": null, + "categorySeq": null, + "archivesClasses": [], + "children": [ + { + "id": "A64C26E140DC27EE9482A7", + "cnName": "区域A", + "enName": null, + "code": "WSWJ", + "pid": "B127B15D1D5208FA7EC64B", + "suffix": "2023_10_26_1698300920764", + "isType": 3, + "categoryLevel": null, + "isCase": true, + "arrangeType": 1, + "isFiling": true, + "filingId": "16af0724183d3c5e5508786ca3dcec27", + "filingPosition": 0, + "remark": null, + "categorySeq": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1698300921000, + "update_time": 1699951254000 + }, + { + "id": "C381E33099055A3751C72E", + "cnName": "区域B", + "enName": null, + "code": "WSAJ", + "pid": "B127B15D1D5208FA7EC64B", + "suffix": "2023_10_26_1698300883017", + "isType": 3, + "categoryLevel": null, + "isCase": true, + "arrangeType": 2, + "isFiling": null, + "filingId": null, + "filingPosition": null, + "remark": null, + "categorySeq": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1698300883000, + "update_time": 1699951263000 + } + ] + }, + { + "id": "DAAC5ED3F86D6481C3C1A5", + "cnName": "库房B", + "enName": null, + "code": "JJ", + "pid": "934F43EED6B86A5A28F162", + "suffix": null, + "isType": 2, + "categoryLevel": null, + "isCase": null, + "arrangeType": null, + "isFiling": null, + "filingId": null, + "filingPosition": null, + "remark": null, + "categorySeq": null, + "archivesClasses": [], + "children": [ + { + "id": "0DC8DF01A644D9E669E744", + "cnName": "区域C", + "enName": null, + "code": "JJXM", + "pid": "DAAC5ED3F86D6481C3C1A5", + "suffix": "2023_10_26_1698305177307", + "isType": 3, + "categoryLevel": null, + "isCase": true, + "arrangeType": 3, + "isFiling": null, + "filingId": null, + "filingPosition": null, + "remark": null, + "categorySeq": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1698305177000, + "update_time": 1698305177000 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/views/archiveKeeping/deviceManage/form.vue b/src/views/archiveKeeping/deviceManage/form.vue new file mode 100644 index 0000000..43ca8ae --- /dev/null +++ b/src/views/archiveKeeping/deviceManage/form.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/views/archiveKeeping/deviceManage/index.vue b/src/views/archiveKeeping/deviceManage/index.vue new file mode 100644 index 0000000..dcd6619 --- /dev/null +++ b/src/views/archiveKeeping/deviceManage/index.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue index 5f48b43..c54d6cf 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue @@ -58,7 +58,7 @@