From b814640ab74fde830ff234a89bf0e8a204773651 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 10 Nov 2023 17:26:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/archives-manage.scss | 77 ++- .../managementLibrary/anjuan/content.vue | 56 +++ .../managementLibrary/anjuan/data.json | 196 ++++++++ .../managementLibrary/anjuan/index.vue | 61 +++ .../managementLibrary/anjuan/table.json | 423 ++++++++++++++++ .../managementLibrary/anjuan/tableList.vue | 265 ++++++++++ .../managementLibrary/file/index.vue | 165 +++++++ .../managementLibrary/index.vue | 14 +- .../managementLibrary/juannei/index.vue | 250 ++++++++++ .../managementLibrary/mixins/index.js | 101 ++++ .../module/archivesInfo/data.json | 126 +++++ .../module/archivesInfo/index.vue | 284 +++++++++++ .../module/archivesInfo/metadata.json | 6 + .../module/collectHeader.vue | 458 ++++++++++++++++++ .../managementLibrary/module/print/index.vue | 216 +++++++++ .../module/print/printData.json | 147 ++++++ .../module/uploadFile/index.vue | 340 +++++++++++++ .../managementLibrary/project/index.vue | 177 +++++++ 18 files changed, 3334 insertions(+), 28 deletions(-) create mode 100644 src/views/archivesManage/managementLibrary/anjuan/content.vue create mode 100644 src/views/archivesManage/managementLibrary/anjuan/data.json create mode 100644 src/views/archivesManage/managementLibrary/anjuan/index.vue create mode 100644 src/views/archivesManage/managementLibrary/anjuan/table.json create mode 100644 src/views/archivesManage/managementLibrary/anjuan/tableList.vue create mode 100644 src/views/archivesManage/managementLibrary/file/index.vue create mode 100644 src/views/archivesManage/managementLibrary/juannei/index.vue create mode 100644 src/views/archivesManage/managementLibrary/mixins/index.js create mode 100644 src/views/archivesManage/managementLibrary/module/archivesInfo/data.json create mode 100644 src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue create mode 100644 src/views/archivesManage/managementLibrary/module/archivesInfo/metadata.json create mode 100644 src/views/archivesManage/managementLibrary/module/collectHeader.vue create mode 100644 src/views/archivesManage/managementLibrary/module/print/index.vue create mode 100644 src/views/archivesManage/managementLibrary/module/print/printData.json create mode 100644 src/views/archivesManage/managementLibrary/module/uploadFile/index.vue create mode 100644 src/views/archivesManage/managementLibrary/project/index.vue diff --git a/src/assets/styles/archives-manage.scss b/src/assets/styles/archives-manage.scss index bacc06b..c148269 100644 --- a/src/assets/styles/archives-manage.scss +++ b/src/assets/styles/archives-manage.scss @@ -142,44 +142,60 @@ .base-info{ td.el-table__cell .row-state{ display: block; + width: 48px; height: 26px; line-height: 24px; - padding: 0 14px; - margin: 0 6px; - border-width: 1px; - border-style: solid; - border-radius: 26px; + // padding: 0 12px; + margin: 0 auto; + border-radius: 3px; + color: #A6ADB6; + border: 1px solid #E6E8ED; + background-color: #F3F5F9; + } + .row-physical{ + // color: #A6ADB6; + // border: 1px solid #E6E8ED; + // background-color: #F3F5F9; + &.state-active{ + color: #0348F3 !important; + border-color: #90B0F9 !important; + background-color: #EEF5FE !important; + } } .row-packing{ - color: $arcPurple; - border-color: $arcPurple; + // color: $arcPurple; + // border-color: $arcPurple; &.state-active{ - color: #fff; - background-color: $arcPurple; + color: #018BFF !important; + border-color: #9BD1FF !important; + background-color: #DCEDFD !important; } } .row-warehousing{ - color: $arcYellow; - border-color: $arcYellow; + // color: $arcYellow; + // border-color: $arcYellow; &.state-active{ - color: #fff; - background-color: $arcYellow; + color: #FF8329!important; + border-color: #FEBD98 !important; + background-color: #FFF3E5 !important; } } .row-lending{ - color: $arcRed; - border-color: $arcRed; + // color: $arcRed; + // border-color: $arcRed; &.state-active{ - color: #fff; - background-color: $arcRed; + color: #FD7359 !important; + border-color: #FBC0B5 !important; + background-color: #FCECE9 !important; } } .row-binding{ - color: $arcGreen; - border-color: $arcGreen; + // color: $arcGreen; + // border-color: $arcGreen; &.state-active{ - color: #fff; - background-color: $arcGreen; + color: #2ECAAC !important; + border-color: #B1EBDF !important; + background-color: #E8F8F5 !important; } } .is-scrolling-left, @@ -666,6 +682,13 @@ height: calc(100vh - 159px); } +.management-drawer.el-drawer__wrapper { + height: calc(100vh - 118px); +} +[data-theme=dark] .management-drawer.el-drawer__wrapper { + height: calc(100vh - 159px); +} + .el-drawer{ overflow: visible; } @@ -706,6 +729,12 @@ border-top: none; } +.management-drawer.el-drawer__wrapper { + .el-drawer__body{ + padding: 20px; + } +} + .closed-btn{ position: relative; position: absolute; @@ -885,4 +914,10 @@ .el-dialog{ width: 536px; } +} + +.mangement-fixed-top{ + padding: 0 20px 10px 20px; + text-align: right; + color: #545B65; } \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/anjuan/content.vue b/src/views/archivesManage/managementLibrary/anjuan/content.vue new file mode 100644 index 0000000..aba0d86 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/anjuan/content.vue @@ -0,0 +1,56 @@ + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/anjuan/data.json b/src/views/archivesManage/managementLibrary/anjuan/data.json new file mode 100644 index 0000000..0cba9a8 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/anjuan/data.json @@ -0,0 +1,196 @@ +{ + "code": 200, + "message": "操作成功", + "data": { + "list": { + "content": [ + { + "case_no": "55C4C594AC879230EA4BF2", + "responsibleby": "外事处", + "children_num": 1, + "record_type": "", + "tid": "", + "medium_qty": "15", + "maintitle": "王晓红出国任务事", + "document_no": "外(2009)156号", + "security_class": "绝密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-003-001", + "created_date": "20090506", + "id": "A3EA6038270136221FE7CE", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "89EB11A4CC84ED10323373", + "responsibleby": "二炮党委", + "children_num": 0, + "record_type": "会议纪要", + "tid": "", + "medium_qty": "4", + "maintitle": "党委会议纪要", + "document_no": "党(2009)14号", + "security_class": "秘密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-001-003", + "created_date": "20090825", + "id": "ADD6482FEAB400A1888FF7", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "89EB11A4CC84ED10323373", + "responsibleby": "二炮党委", + "children_num": 0, + "record_type": "命令", + "tid": "", + "medium_qty": "2", + "maintitle": "刘晓庆任职", + "document_no": "党(2009)1号", + "security_class": "机密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-001-001", + "created_date": "20090121", + "id": "32E6B39205296DCBCF92CE", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "2E759415CCD4ABF7B436DB", + "responsibleby": "厨师学院", + "children_num": 0, + "record_type": "报告", + "tid": "", + "medium_qty": "23", + "maintitle": "烘焙教学计划(附定稿)", + "document_no": "教(2009)44号", + "security_class": "机密", + "archive_year": 2009, + "archive_no": "EP02-D-WS.W-2009-002-001", + "created_date": "20090606", + "id": "A7160DA93F5BA8A45BE012", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "80F874F102575D1AB813F1", + "responsibleby": "二炮办公室", + "children_num": 0, + "record_type": "报告", + "tid": "", + "medium_qty": "18", + "maintitle": "活动立项报告", + "document_no": "办(2009)6号", + "security_class": "机密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-002-002", + "created_date": "20090409", + "id": "7DACF26D8746C23B6E93B4", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "4C4EC2D8AA76E915D405C1", + "responsibleby": "舞蹈中心", + "children_num": 0, + "record_type": "请示", + "tid": "", + "medium_qty": "13", + "maintitle": "关于举办街舞比赛的请示", + "document_no": "乙(2009)156号", + "security_class": "秘密", + "archive_year": 2009, + "archive_no": "EP02-D-WS.W-2009-001-002", + "created_date": "20090928", + "id": "F4CA22C9B0F16F3A7E376B", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": 3 + }, + { + "case_no": "4C4EC2D8AA76E915D405C1", + "responsibleby": "活动中心", + "children_num": 0, + "record_type": "通知", + "tid": "", + "medium_qty": "3", + "maintitle": "关于游泳教学的安排", + "document_no": "甲(2009)88号", + "security_class": "秘密", + "archive_year": 2009, + "archive_no": "EP02-D-WS.W-2009-001-001", + "created_date": "20090423", + "id": "823D1CA835944822DE13DC", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": 3 + }, + { + "case_no": "89EB11A4CC84ED10323373", + "responsibleby": "二炮党委", + "children_num": 0, + "record_type": "通知", + "tid": "", + "medium_qty": "4", + "maintitle": "党委小组成员的通知", + "document_no": "党(2009)2号", + "security_class": "绝密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-001-002", + "created_date": "20090730", + "id": "EEC3B0051F8323D2E1E995", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "80F874F102575D1AB813F1", + "responsibleby": "二炮办公室", + "children_num": 0, + "record_type": "通知", + "tid": "", + "medium_qty": "6", + "maintitle": "关于举办研讨会的通知", + "document_no": "办(2009)3号", + "security_class": "机密", + "archive_year": 2009, + "archive_no": "EP02-Y-WS.W-2009-002-001", + "created_date": "20090217", + "id": "82D732D81CD0AEDA38B901", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + }, + { + "case_no": "793B68E6BBE52FE32C819A", + "responsibleby": "安定诊所", + "children_num": 0, + "record_type": "决定", + "tid": "E28011C1200013C2C41E0317", + "medium_qty": "55", + "maintitle": "关于心理健康测试", + "document_no": "心(2023)1号", + "security_class": "机密", + "archive_year": 2023, + "archive_no": "JJ0001-Y-WS.W-2023-002-001", + "created_date": "20230912", + "id": "6A27E658D2A454E5BD7BC9", + "is_storage": 2, + "medium_type": "纸张", + "is_borrow": "" + } + ], + "totalElements": 19 + }, + "yearGroup": [ + 2009, + 2023 + ] + }, + "timestamp": 1699508523265 +} \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/anjuan/index.vue b/src/views/archivesManage/managementLibrary/anjuan/index.vue new file mode 100644 index 0000000..cf92d14 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/anjuan/index.vue @@ -0,0 +1,61 @@ + + + + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/anjuan/table.json b/src/views/archivesManage/managementLibrary/anjuan/table.json new file mode 100644 index 0000000..7f83aed --- /dev/null +++ b/src/views/archivesManage/managementLibrary/anjuan/table.json @@ -0,0 +1,423 @@ +{ + "code": 200, + "message": "操作成功", + "data": [ + { + "id": "30DB3BCF12385446529650", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "archive_year", + "fieldCnName": "年度", + "isDefaultValue": "", + "isInputClass": "number", + "isDataType": 2, + "isDataTypeDetails": "int", + "isColumnLength": 4, + "isColumnType": 2, + "isSequence": 4, + "isType": 2, + "isSystem": true, + "isLine": null, + "isInput": true, + "isRequired": null, + "isAutomatic": null, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": null, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 1, + "displayOrderBy": null, + "isDisplayformat": true, + "displayformatType": "center", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1688020491000 + }, + { + "id": "50F80A0A1B0CA8A8B6014F", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": { + "id": "7E7698E42FE1968BE5D250", + "dicName": "文种", + "dicCode": "WZ", + "dicExplain": null, + "dicSequence": 4, + "dicType": true, + "dicPid": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1656924056000, + "update_time": 1656924056000 + }, + "fieldName": "record_type", + "fieldCnName": "文种", + "isDefaultValue": "", + "isInputClass": "select", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 100, + "isColumnType": 2, + "isSequence": 10, + "isType": 2, + "isSystem": true, + "isLine": false, + "isInput": true, + "isRequired": false, + "isAutomatic": false, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": false, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 2, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694593124000 + }, + { + "id": "990ADEA3C47ACCC7B2AF23", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "archive_no", + "fieldCnName": "档号", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 200, + "isColumnType": 2, + "isSequence": 7, + "isType": 2, + "isSystem": true, + "isLine": true, + "isInput": true, + "isRequired": false, + "isAutomatic": true, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": false, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 3, + "displayOrderBy": "asc", + "isDisplayformat": null, + "displayformatType": "left", + "editLength": 510, + "displayLength": 220, + "queue": 1, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1697441837000 + }, + { + "id": "C7BDD315FA406EDBAEC997", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "maintitle", + "fieldCnName": "题名", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 1000, + "isColumnType": 2, + "isSequence": 11, + "isType": 2, + "isSystem": true, + "isLine": true, + "isInput": true, + "isRequired": false, + "isAutomatic": false, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": false, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 4, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "left", + "editLength": 510, + "displayLength": 300, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1697441826000 + }, + { + "id": "060393A0360E74A9FDB5C2", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "document_no", + "fieldCnName": "文件编号", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 100, + "isColumnType": 2, + "isSequence": 8, + "isType": 2, + "isSystem": true, + "isLine": null, + "isInput": true, + "isRequired": null, + "isAutomatic": null, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": null, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 5, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694593391000 + }, + { + "id": "3E391423CA83E1FC84742B", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": { + "id": "8984F55841E2D541C23318", + "dicName": "密级", + "dicCode": "Search_MJ", + "dicExplain": null, + "dicSequence": 2, + "dicType": true, + "dicPid": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1656921207000, + "update_time": 1656991705000 + }, + "fieldName": "security_class", + "fieldCnName": "密级", + "isDefaultValue": "", + "isInputClass": "select", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 10, + "isColumnType": 2, + "isSequence": 9, + "isType": 2, + "isSystem": true, + "isLine": false, + "isInput": true, + "isRequired": false, + "isAutomatic": false, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": false, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 6, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694595044000 + }, + { + "id": "D64ADF5B88DB96FBBF46CD", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "responsibleby", + "fieldCnName": "责任者", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 100, + "isColumnType": 2, + "isSequence": 13, + "isType": 2, + "isSystem": true, + "isLine": null, + "isInput": true, + "isRequired": null, + "isAutomatic": null, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": null, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 7, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 150, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694595044000 + }, + { + "id": "043AC3E1CAFAD3AC9EF9CF", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "created_date", + "fieldCnName": "成文日期", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 20, + "isColumnType": 2, + "isSequence": 14, + "isType": 2, + "isSystem": true, + "isLine": null, + "isInput": true, + "isRequired": null, + "isAutomatic": null, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": null, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 8, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 150, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694595044000 + }, + { + "id": "CAA0014CD5B2B3391A2BA2", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": { + "id": "F086B262FFFA6CFB5302F7", + "dicName": "载体类型", + "dicCode": "ZT", + "dicExplain": null, + "dicSequence": 5, + "dicType": true, + "dicPid": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1656924405000, + "update_time": 1656924405000 + }, + "fieldName": "medium_type", + "fieldCnName": "载体类型", + "isDefaultValue": "", + "isInputClass": "select", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 100, + "isColumnType": 2, + "isSequence": 15, + "isType": 2, + "isSystem": true, + "isLine": false, + "isInput": true, + "isRequired": false, + "isAutomatic": false, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": false, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 9, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "center", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694595044000 + }, + { + "id": "0A25604BC11085250BA643", + "categoryId": "CD135F6A77018CE04D4FDB", + "dictionaryConfigId": null, + "fieldName": "medium_qty", + "fieldCnName": "载体数量", + "isDefaultValue": "", + "isInputClass": "text", + "isDataType": 1, + "isDataTypeDetails": "varchar", + "isColumnLength": 20, + "isColumnType": 2, + "isSequence": 16, + "isType": 2, + "isSystem": true, + "isLine": null, + "isInput": true, + "isRequired": null, + "isAutomatic": null, + "isAdd": null, + "isSearch": null, + "isInherit": null, + "isFilling": null, + "fillingDigit": null, + "isRepeat": null, + "isDisplay": true, + "displayOrder": 10, + "displayOrderBy": null, + "isDisplayformat": null, + "displayformatType": "right", + "editLength": 196, + "displayLength": 100, + "queue": null, + "create_by": "admin", + "update_by": "admin", + "create_time": 1687319124000, + "update_time": 1694595013000 + } + ], + "timestamp": 1699508522805 +} \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/anjuan/tableList.vue b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue new file mode 100644 index 0000000..ac4f594 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue @@ -0,0 +1,265 @@ + + + + + + + + + + + + {{ field.fieldCnName }} + + + + {{ scope.row[field.fieldName] }} + + + + + + 有 + + + + + + 未绑 + + + + + + + + + 已装 + + + + + + 已入 + + + + + + + 已借 + + + + + + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/file/index.vue b/src/views/archivesManage/managementLibrary/file/index.vue new file mode 100644 index 0000000..6fba6b6 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/file/index.vue @@ -0,0 +1,165 @@ + + + + + + + + + + + + {{ (scope.row.file_size / 1024).toFixed(2) + 'kB' }} + + + + + - + {{ scope.row.file_dpi }} + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/index.vue b/src/views/archivesManage/managementLibrary/index.vue index 2a192c1..e8a9791 100644 --- a/src/views/archivesManage/managementLibrary/index.vue +++ b/src/views/archivesManage/managementLibrary/index.vue @@ -62,7 +62,7 @@ + + diff --git a/src/views/archivesManage/managementLibrary/mixins/index.js b/src/views/archivesManage/managementLibrary/mixins/index.js new file mode 100644 index 0000000..eab4358 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/mixins/index.js @@ -0,0 +1,101 @@ +// import qs from 'qs' +// import { exportFile } from '@/utils/index' +import { FetchInitCategoryViewTable, FetchInitCategoryView } from '@/api/collect/collect' +export const collectionLibraryCrud = { + // 组件共用属性 + data() { + return { + getTableDisplayFieldsLoading: false, // table-loading + tableDisplayFields: [], + projectData: [], + anjuanData: [], + junneiData: [], + fileData: [], + selections: [], + arrySort: [], + page: { + page: 1, + size: 10, + total: 0 + }, + timer: null, + query: { + search: null + }, + fixedStatusBar: false + } + }, + // 组件共用方法 + methods: { + // 缓存用户对于固定栏操作习惯 + // statusBarChecked(val) { + // console.log('statusVal', val) + // this.fixedStatusBar = val + // this.$emit('status-bar-checked-changed', this.fixedStatusBar) + // localStorage.setItem('statusBarFixedType', val) + // }, + handleSearch() { + this.getViewTableList() + }, + getViewTable(categoryLevel) { + this.getTableDisplayFieldsLoading = true + this.tableDisplayFields = [] + FetchInitCategoryViewTable({ categoryId: this.selectedCategory.id, categoryLevel: categoryLevel }).then((res) => { + if (res) { + this.arrySort = [] + this.tableDisplayFields = res + const orderSortArry = this.tableDisplayFields.filter(item => item.displayOrder).sort((a, b) => a.displayOrder - b.displayOrder) + orderSortArry.forEach(item => { + if (item.displayOrderBy) { + this.arrySort.push(item.fieldName + ',' + item.displayOrderBy) + } + }) + this.$nextTick(() => { + console.log('tableDisplayFields', this.tableDisplayFields) + this.getViewTableList(categoryLevel) + }) + } + }) + }, + getViewTableList(categoryLevel) { + this.anjuanData = [] + const params = { + 'categoryId': this.selectedCategory.id, + 'categoryLevel': categoryLevel, + 'search': this.query.search, + 'page': this.page.page - 1, + 'size': this.page.size + } + FetchInitCategoryView(params).then((res) => { + console.log(res) + if (res.code !== 500) { + if (categoryLevel === 1) { + console.log('111') + this.projectData = res.list.content + } else if (categoryLevel === 2) { + console.log('2222222') + this.anjuanData = res.list.content + } else if (categoryLevel === 3) { + console.log('333') + if (this.isTitleType === 6) { + this.fileData = res.list.content + } else { + this.junneiData = res.list.content + } + } + this.page.total = res.list.totalElements + } + this.getTableDisplayFieldsLoading = false + }) + } + /* 重新渲染table组件 防止table-fixed 错位 配合watch-table数据 */ + // doLayout() { + // this.$nextTick(() => { + // this.$refs.table.doLayout() + // }) + // } + }, + // 组件挂载时的共用方法 + mounted() { + } +} diff --git a/src/views/archivesManage/managementLibrary/module/archivesInfo/data.json b/src/views/archivesManage/managementLibrary/module/archivesInfo/data.json new file mode 100644 index 0000000..0612765 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/archivesInfo/data.json @@ -0,0 +1,126 @@ +{ + "code": 200, + "message": "操作成功", + "data": [ + { + "fieldName": "item_no", + "fieldCnName": "项目号", + "editLength": 196, + "isLine": false, + "context": "JJ-2021-GZ-001" + }, + { + "fieldName": "fonds_no", + "fieldCnName": "全宗号", + "editLength": 196, + "isLine": false, + "context": "档案室" + }, + { + "fieldName": "archive_year", + "fieldCnName": "归档年度", + "editLength": 196, + "isLine": false, + "context": 2021 + }, + { + "fieldName": "retention", + "fieldCnName": "保管期限", + "editLength": 196, + "isLine": false, + "context": "永久" + }, + { + "fieldName": "maintitle", + "fieldCnName": "项目名", + "editLength": 510, + "isLine": true, + "context": "档案室改造" + }, + { + "fieldName": "security_class", + "fieldCnName": "密级", + "editLength": 196, + "isLine": false, + "context": "公开" + }, + { + "fieldName": "responsibleby", + "fieldCnName": "责任者", + "editLength": 196, + "isLine": false, + "context": "许飞" + }, + { + "fieldName": "organization_matter", + "fieldCnName": "机构(问题)", + "editLength": 196, + "isLine": false, + "context": "机关建设" + }, + { + "fieldName": "department", + "fieldCnName": "部门名称", + "editLength": 196, + "isLine": false, + "context": "综合部" + }, + { + "fieldName": "piece_qty", + "fieldCnName": "案卷数", + "editLength": 196, + "isLine": false, + "context": 3 + }, + { + "fieldName": "item_start_date", + "fieldCnName": "立项时间", + "editLength": 196, + "isLine": false, + "context": "2021-12-01 " + }, + { + "fieldName": "item_end_date", + "fieldCnName": "结项时间", + "editLength": 196, + "isLine": false, + "context": "2022-08-25 " + }, + { + "fieldName": "tid", + "fieldCnName": "TID", + "editLength": null, + "isLine": null, + "context": null + }, + { + "fieldName": "case_name", + "fieldCnName": "盒名称", + "editLength": null, + "isLine": null, + "context": null + }, + { + "fieldName": "folder_location", + "fieldCnName": "库房位置", + "editLength": null, + "isLine": null, + "context": null + }, + { + "fieldName": "borrow_type", + "fieldCnName": "借阅状态", + "editLength": null, + "isLine": null, + "context": null + }, + { + "fieldName": "barcode", + "fieldCnName": "条形码", + "editLength": null, + "isLine": null, + "context": null + } + ], + "timestamp": 1689215199486 +} \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue b/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue new file mode 100644 index 0000000..edb545f --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/archivesInfo/index.vue @@ -0,0 +1,284 @@ + + + + + + + + 基本信息 + 附件 + 元数据 + + + + + + {{ item.fieldCnName }}: + {{ item.context }} + + + + + {{ item.fieldCnName }}: + + + + {{ val }} + + + + {{ item.context }} + + + + {{ item.context }} + + + + + + + + + + + {[xml_show]} + + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/module/archivesInfo/metadata.json b/src/views/archivesManage/managementLibrary/module/archivesInfo/metadata.json new file mode 100644 index 0000000..560e355 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/archivesInfo/metadata.json @@ -0,0 +1,6 @@ +{ + "code": 200, + "message": "操作成功", + "data": " xml version=\"1.0\" encoding=\"UTF-8\"?><元数据信息><内容描述><项目号>JJ-2021-GZ-001项目号><全宗号>档案室全宗号><项目名>档案室改造项目名><保管期限>永久保管期限><归档年度>2021归档年度><密级>公开密级><责任者>许飞责任者><机构(问题)>机关建设机构(问题)><部门名称>综合部部门名称><案卷数>3案卷数><立项时间>2021-12-01 立项时间><结项时间>2022-08-25 结项时间><项目开始时间>2022-05-01 项目开始时间><项目结束时间>2022-07-31 项目结束时间><备注>备注>内容描述><系统数据><库房名>null库房名><盒号>null盒号><存放位置>null存放位置><标签编号>null标签编号><条码号>null条码号><子条目数>1子条目数>系统数据>元数据信息>", + "timestamp": 1689215199496 +} \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/module/collectHeader.vue b/src/views/archivesManage/managementLibrary/module/collectHeader.vue new file mode 100644 index 0000000..40105f9 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/collectHeader.vue @@ -0,0 +1,458 @@ + + + + {{ collectTitle }} > {{ test }} + + + + + + + + 搜索 + 重置 + + + + + + + + 常规 + + + 编辑 + + + + + + 整理 + + + 标签绑定 + + 档案装盒 + 装盒 + 分卷装盒 + + + 档案移交 + 在线移交 + 离线移交 + + 导出ZIP包 + 档案退回 + 开放鉴定 + 销毁鉴定 + + + + + + 更多 + + + 导出 + 打印 + 下载 + + + + + + + 恢复 + 彻底删除 + + + + + + + + + + + + + + + + + + 此删除将把会所选条目与其子集放入回收站 + 你是否还要继续? + + + + + + + + + + 此操作将导出所选数据 + 你是否还要继续? + + + + + + + + + + + + + 此恢复将会把所选条目及其子集一并恢复 + 你是否还要继续? + + + + + + + + + + 此删除将把会所选条目与其子集彻底删除 + 你是否还要继续? + + + + + + + + 隐藏状态栏 + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/module/print/index.vue b/src/views/archivesManage/managementLibrary/module/print/index.vue new file mode 100644 index 0000000..aa4101b --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/print/index.vue @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + {{ printTitle }} + + + + + + + + + {{ parseTime(scope.row.create_time, '{y}-{m}-{d}') }} + + + + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/module/print/printData.json b/src/views/archivesManage/managementLibrary/module/print/printData.json new file mode 100644 index 0000000..345eb3c --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/print/printData.json @@ -0,0 +1,147 @@ +{ + "code": 200, + "message": "操作成功", + "data": { + "id": "ACDDC83264C5EAA41EF0AE", + "caseName": "39", + "caseType": 1, + "tid": null, + "barcode": null, + "folderLocation": "1-2-2-2-2", + "folderLocationDetails": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", + "depositNum": 2, + "archives": [ + { + "archivesId": "3DEC097518AABC675849B0", + "archiveNo": null, + "archiveCtgNo": "", + "fondsNo": null, + "itemNo": null, + "recordNo": null, + "pieceNo": "10", + "docNo": "发文字号002", + "maintitle": "测试标题002", + "securityClass": "机密", + "retention": null, + "createdDate": "20230606", + "archiveYear": 2023, + "responsibleby": null, + "department": null, + "filingPerson": null, + "filingDate": null, + "archivePerson": null, + "archiveDate": null, + "categoryId": "005E76FEC5A2AAB368CA1F", + "categoryName": "文书档案(资料)", + "categoryType": 5, + "archivesTableName": "tb_2023_06_21_1687330804487", + "caseNo": "ACDDC83264C5EAA41EF0AE", + "caseName": "39", + "shelfId": "69DEA713A0F8E4B4CBD1FF", + "folderLocation": "1-2-2-2-2", + "folderLocationDetails": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", + "tagNo": null, + "child": null, + "pageQty": null, + "remarks": "", + "barcode": null, + "isDeleteTime": null, + "microfilm": null, + "arriveDate": "2023/6/30 00:00:00", + "arriveClass": "收文", + "arriveNo": "2", + "arriveMark": "收", + "sourcePartNo": "", + "recordType": "命令", + "organizer": "", + "undertaker": "", + "endorsementLeader": "", + "readingLeader": "", + "arriveOrgan": "发文机关002", + "sendOrgan": "", + "copyOrgan": "", + "serialNo": "2", + "keyword": "", + "tempNo": "39", + "mediumQty": "3", + "mediumUnit": "页", + "mediumSpecs": "", + "mediumType": null, + "beginDate": null, + "endDate": null, + "fileNo": "", + "version": "", + "create_by": "admin", + "update_by": "admin", + "create_time": 1688544910043, + "update_time": 1689820023000 + }, + { + "archivesId": "F70E48134AEA16209994B7", + "archiveNo": null, + "archiveCtgNo": "", + "fondsNo": null, + "itemNo": null, + "recordNo": null, + "pieceNo": "10", + "docNo": "发文字号003", + "maintitle": "测试标题003", + "securityClass": "机密", + "retention": null, + "createdDate": "20230606", + "archiveYear": 2023, + "responsibleby": null, + "department": null, + "filingPerson": null, + "filingDate": null, + "archivePerson": null, + "archiveDate": null, + "categoryId": "005E76FEC5A2AAB368CA1F", + "categoryName": "文书档案(资料)", + "categoryType": 5, + "archivesTableName": "tb_2023_06_21_1687330804487", + "caseNo": "ACDDC83264C5EAA41EF0AE", + "caseName": "39", + "shelfId": null, + "folderLocation": "1-2-2-2-2", + "folderLocationDetails": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", + "tagNo": null, + "child": null, + "pageQty": null, + "remarks": "", + "barcode": null, + "isDeleteTime": null, + "microfilm": null, + "arriveDate": "2023/6/30 00:00:00", + "arriveClass": "收文", + "arriveNo": "2", + "arriveMark": "收", + "sourcePartNo": "", + "recordType": "命令", + "organizer": "", + "undertaker": "", + "endorsementLeader": "", + "readingLeader": "", + "arriveOrgan": "发文机关003", + "sendOrgan": "", + "copyOrgan": "", + "serialNo": "6", + "keyword": "", + "tempNo": "39", + "mediumQty": "3", + "mediumUnit": "页", + "mediumSpecs": "", + "mediumType": null, + "beginDate": null, + "endDate": null, + "fileNo": "", + "version": "", + "create_by": "admin", + "update_by": "admin", + "create_time": 1689820023398, + "update_time": 1689820023000 + } + ] + }, + "timestamp": 1690337829945 +} \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue b/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue new file mode 100644 index 0000000..8ef9671 --- /dev/null +++ b/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue @@ -0,0 +1,340 @@ + + + + + + 添加 + + + 删除 + 排序 + + + + + + + + + + + {{ (scope.row.file_size / 1024).toFixed(2) + 'kB' }} + + + + + + + + + + + + + + + + + 下载 + + + + + + + + + + + + + + + + + + + 提示:请通过拖动鼠标来调整当前顺序 + + + + + + + + + + + + + + + 确定删除已选择的附件吗? + + + + + + + + + + diff --git a/src/views/archivesManage/managementLibrary/project/index.vue b/src/views/archivesManage/managementLibrary/project/index.vue new file mode 100644 index 0000000..061dfca --- /dev/null +++ b/src/views/archivesManage/managementLibrary/project/index.vue @@ -0,0 +1,177 @@ + + + + + + + + + + + + {{ field.fieldCnName }} + + + + {{ scope.row[field.fieldName] }} + + + + + + + + + + + + +
{{ item.context }}
+ + {[xml_show]} + +
+ {[xml_show]} +
此删除将把会所选条目与其子集放入回收站
此操作将导出所选数据
此恢复将会把所选条目及其子集一并恢复
此删除将把会所选条目与其子集彻底删除
确定删除已选择的附件吗?