21 changed files with 1966 additions and 1250 deletions
-
150src/assets/iconfonts/light/iconfont.css
-
2src/assets/iconfonts/light/iconfont.js
-
252src/assets/iconfonts/light/iconfont.json
-
BINsrc/assets/iconfonts/light/iconfont.ttf
-
BINsrc/assets/iconfonts/light/iconfont.woff
-
BINsrc/assets/iconfonts/light/iconfont.woff2
-
57src/assets/styles/archives-manage.scss
-
4src/assets/styles/mixin.scss
-
5src/assets/styles/yxk-admin.scss
-
22src/views/archivesManage/managementLibrary/anjuan/content.vue
-
196src/views/archivesManage/managementLibrary/anjuan/data.json
-
15src/views/archivesManage/managementLibrary/anjuan/index.vue
-
423src/views/archivesManage/managementLibrary/anjuan/table.json
-
291src/views/archivesManage/managementLibrary/anjuan/tableList.vue
-
216src/views/archivesManage/managementLibrary/file/index.vue
-
221src/views/archivesManage/managementLibrary/index.vue
-
237src/views/archivesManage/managementLibrary/juannei/index.vue
-
216src/views/archivesManage/managementLibrary/mixins/index.js
-
267src/views/archivesManage/managementLibrary/module/collectHeader.vue
-
475src/views/archivesManage/managementLibrary/module/packingBox/index.vue
-
167src/views/archivesManage/managementLibrary/project/index.vue
2
src/assets/iconfonts/light/iconfont.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,196 +0,0 @@ |
|||
{ |
|||
"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 |
|||
} |
|||
@ -1,423 +0,0 @@ |
|||
{ |
|||
"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 |
|||
} |
|||
@ -0,0 +1,475 @@ |
|||
<template> |
|||
<el-dialog class="partPackingDialog" title="装盒" :visible.sync="packingVisible" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :before-close="handleClose"> |
|||
<div class="setting-dialog"> |
|||
<div class="packing-head"> |
|||
<div class="head-search"> |
|||
<!-- 搜索 --> |
|||
<el-input v-model="caseQuery[inputSelect]" clearable size="small" placeholder="请输入搜索关键字" style="width: 245px; margin-right: 10px;" class="input-prepend filter-item" @keyup.enter.native="getCaseList" @clear="clearTableData"> |
|||
<el-select slot="prepend" v-model="inputSelect" style="width: 90px" @change="querySelect"> |
|||
<el-option |
|||
v-for="item in queryOption" |
|||
:key="item.value" |
|||
:label="item.label" |
|||
:value="item.value" |
|||
/> |
|||
</el-select> |
|||
</el-input> |
|||
<el-button class="filter-item filter-search" size="mini" type="success" icon="el-icon-search" @click="getCaseList">搜索</el-button> |
|||
<el-button class="filter-rfid" type="success" disabled><i class="iconfont icon-duqu" />读取</el-button> |
|||
</div> |
|||
<div class="selct-data-head"> |
|||
<p v-if="selectedCategory.arrangeType === 1">数据来源:文件<span>{{ selections.length }}</span>条数据</p> |
|||
<!-- totalSumAll --> |
|||
<p v-else>数据来源:案卷<span>{{ selections.length }}</span>条数据 卷内<span>{{ 111 }}</span>条数据</p> |
|||
</div> |
|||
</div> |
|||
<!--表格渲染--> |
|||
<!-- 装盒 --> |
|||
<el-table |
|||
v-if="!isPackingOrPartType" |
|||
ref="table" |
|||
:data="tableData" |
|||
style="min-width: 100%" |
|||
height="calc(100vh - 382px)" |
|||
> |
|||
<el-table-column prop="create_date" label="操作" width="80" align="center"> |
|||
<template slot-scope="scope"> |
|||
<el-button class="packing-handle-btn iconfont" @click="handleCartoning(scope.row)"><svg-icon icon-class="zhuanghe" class="svg-arc-style" />装盒</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column prop="caseNum" label="盒号" min-width="60" align="center" /> |
|||
<el-table-column prop="depositNum" label="已装" min-width="100" align="center" /> |
|||
<el-table-column prop="tid" label="TID" min-width="120" align="center" /> |
|||
<el-table-column prop="barcode" label="条形码" min-width="120" align="center" /> |
|||
<el-table-column prop="retention" label="保管期限" min-width="100" align="center" /> |
|||
<el-table-column prop="security_class" label="密级" min-width="100" align="center" /> |
|||
<el-table-column prop="fonds" label="全宗" min-width="100" align="center" /> |
|||
<el-table-column prop="category" label="所属门类" min-width="100" align="center" /> |
|||
<el-table-column prop="classify" label="所属分类" min-width="100" align="center" /> |
|||
</el-table> |
|||
<!-- 分卷 --> |
|||
<div v-else class="part-packing-cont"> |
|||
<div class="part-packing-item"> |
|||
<h5 class="part-packing-title">盒列表-待选</h5> |
|||
<el-table |
|||
ref="table" |
|||
class="custom-table" |
|||
:data="tableData" |
|||
style="width: 100%" |
|||
height="calc(100vh/2 - 200px)" |
|||
> |
|||
<el-table-column prop="create_date" label="操作" width="80" align="center"> |
|||
<template slot-scope="scope"> |
|||
<el-button class="packing-handle-btn iconfont" @click="handleCartoning(scope.row)"><svg-icon icon-class="zhuanghe" class="svg-arc-style" />装盒</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column prop="caseNum" label="盒号" min-width="60" align="center" /> |
|||
<el-table-column prop="depositNum" label="已装" min-width="100" align="center" /> |
|||
<el-table-column prop="tid" label="TID" min-width="120" align="center" /> |
|||
<el-table-column prop="barcode" label="条形码" min-width="120" align="center" /> |
|||
<el-table-column prop="retention" label="保管期限" min-width="100" align="center" /> |
|||
<el-table-column prop="security_class" label="密级" min-width="100" align="center" /> |
|||
<el-table-column prop="fonds" label="全宗" min-width="100" align="center" /> |
|||
<el-table-column prop="category" label="所属门类" min-width="100" align="center" /> |
|||
<el-table-column prop="classify" label="所属分类" min-width="100" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="part-packing-item"> |
|||
<h5 class="part-packing-title">盒列表-已选</h5> |
|||
<el-table |
|||
ref="selectBox" |
|||
class="custom-table" |
|||
:data="selectTableData" |
|||
style="width: 100%" |
|||
height="calc(100vh/2 - 200px)" |
|||
> |
|||
<el-table-column prop="create_date" label="操作" align="center"> |
|||
<template slot-scope="scope"> |
|||
<el-button class="packing-recall-btn iconfont" @click="cancelParking(scope.row,scope.$index)"><svg-icon icon-class="chehui" class="svg-arc-style" />撤销</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column prop="caseNum" label="盒号" min-width="60" align="center" /> |
|||
<el-table-column prop="depositNum" label="已装" min-width="100" align="center" /> |
|||
<el-table-column prop="tid" label="TID" min-width="120" align="center" /> |
|||
<el-table-column prop="barcode" label="条形码" min-width="120" align="center" /> |
|||
<el-table-column prop="retention" label="保管期限" min-width="100" align="center" /> |
|||
<el-table-column prop="security_class" label="密级" min-width="100" align="center" /> |
|||
<el-table-column prop="fonds" label="全宗" min-width="100" align="center" /> |
|||
<el-table-column prop="category" label="所属门类" min-width="100" align="center" /> |
|||
<el-table-column prop="classify" label="所属分类" min-width="100" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="part-packing-item"> |
|||
<h5 class="part-packing-title">档案列表-待选</h5> |
|||
<el-table |
|||
ref="archivesList" |
|||
class="archives-table custom-table" |
|||
:data="archivesTable" |
|||
highlight-current-row |
|||
style="width: 100%;" |
|||
height="calc(100vh/2 - 200px)" |
|||
@selection-change="selectionChangeHandler" |
|||
@row-click="clickRowHandler" |
|||
> |
|||
<el-table-column type="selection" width="55" align="center" /> |
|||
<el-table-column type="index" label="序号" width="55" align="center" /> |
|||
<el-table-column label="文件" prop="children_num" width="55" align="center" /> |
|||
<el-table-column v-for="field in tableDisplayFields" :key="field.id" :label="field.fieldCnName" :align="field.displayformatType" :width="field.displayLength" show-overflow-tooltip> |
|||
<template slot="header"> |
|||
<el-tooltip |
|||
class="item" |
|||
effect="dark" |
|||
:content="field.fieldCnName" |
|||
placement="top-start" |
|||
> |
|||
<span>{{ field.fieldCnName }}</span> |
|||
</el-tooltip> |
|||
</template> |
|||
<template slot-scope="scope"> |
|||
{{ scope.row[field.fieldName] }} |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</div> |
|||
<div class="part-packing-item"> |
|||
<h5 class="part-packing-title">档案列表-已选</h5> |
|||
<el-table |
|||
ref="selectArchivesList" |
|||
class="archives-table custom-table" |
|||
:data="selectArchivesTable" |
|||
highlight-current-row |
|||
style="width: 100%;" |
|||
height="calc(100vh/2 - 200px)" |
|||
> |
|||
<el-table-column type="index" label="序号" width="55" align="center" /> |
|||
<el-table-column label="文件" prop="children_num" width="55" align="center" /> |
|||
<el-table-column v-for="field in tableDisplayFields" :key="field.id" :label="field.fieldCnName" :align="field.displayformatType" :width="field.displayLength" show-overflow-tooltip> |
|||
<template slot="header"> |
|||
<el-tooltip |
|||
class="item" |
|||
effect="dark" |
|||
:content="field.fieldCnName" |
|||
placement="top-start" |
|||
> |
|||
<span>{{ field.fieldCnName }}</span> |
|||
</el-tooltip> |
|||
</template> |
|||
<template slot-scope="scope"> |
|||
{{ scope.row[field.fieldName] }} |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</div> |
|||
</div> |
|||
<div v-if="isPackingOrPartType" slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="handleComfireCartoning">保存</el-button> |
|||
</div> |
|||
</div> |
|||
</el-dialog> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
// import { FetchInitCartoningList, FetchCartoning } from '@/api/archivesManage/caseManage' |
|||
// import { FetchInitArchivesView } from '@/api/archivesManage/archivesList' |
|||
import { header, form } from '@crud/crud' |
|||
const data = [ |
|||
{ |
|||
'id': '02877E5A6559BEDE24B227', |
|||
'caseName': 'ZL-2023-1', |
|||
'caseType': 0, |
|||
'tid': null, |
|||
'barcode': null, |
|||
'shelfId': null, |
|||
'folderLocation': null, |
|||
'folderLocationDetails': null, |
|||
'depositNum': 0, |
|||
'storageType': 0, |
|||
'storageTime': null, |
|||
'create_by': 'admin', |
|||
'update_by': 'admin', |
|||
'create_time': 1695628425000, |
|||
'update_time': 1702971551000 |
|||
}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {} |
|||
|
|||
] |
|||
export default { |
|||
name: 'Packing', |
|||
components: { }, |
|||
// inject: ['caseData', 'recycleMain'], |
|||
mixins: [ |
|||
header(), |
|||
form({}) |
|||
], |
|||
props: { |
|||
selectedCategory: { |
|||
type: Object, |
|||
default: function() { |
|||
return {} |
|||
} |
|||
} |
|||
// collectLevel: { |
|||
// type: Number, |
|||
// default: function() { |
|||
// return null |
|||
// } |
|||
// } |
|||
// selections: { |
|||
// type: Array, |
|||
// default: () => [] |
|||
// } |
|||
}, |
|||
data() { |
|||
return { |
|||
packingData: [], |
|||
tableData: [], |
|||
selectTableData: [], |
|||
archivesTable: [], |
|||
selectArchivesTable: [], |
|||
selections: [], |
|||
tid: null, |
|||
caseName: null, |
|||
barcode: null, |
|||
caseQuery: {}, |
|||
inputSelect: null, |
|||
queryOption: [ |
|||
{ value: 'caseName', label: '盒号' }, |
|||
{ value: 'tid', label: 'TID' }, |
|||
{ value: 'barcode', label: '条形码' } |
|||
], |
|||
packingVisible: false, // 装盒 |
|||
isPackingOrPartType: 0 |
|||
} |
|||
}, |
|||
created() { |
|||
// 初始化带select的输入框的 - 搜索 |
|||
this.inputSelect = this.queryOption[0].value |
|||
this.tableData = data |
|||
}, |
|||
methods: { |
|||
// 搜索-select |
|||
querySelect(val) { |
|||
this.inputSelect = val |
|||
}, |
|||
// 搜索盒列表 |
|||
getCaseList() { |
|||
if (!this.caseQuery[this.inputSelect]) { |
|||
this.$message.error('请输入后再搜索!') |
|||
return |
|||
} |
|||
switch (this.inputSelect) { |
|||
case 'caseName': |
|||
this.caseName = this.caseQuery[this.inputSelect] |
|||
this.tid = null |
|||
this.barcode = null |
|||
break |
|||
case 'tid': |
|||
this.tid = this.caseQuery[this.inputSelect] |
|||
this.caseName = null |
|||
this.barcode = null |
|||
break |
|||
case 'barcode': |
|||
this.barcode = this.caseQuery[this.inputSelect] |
|||
this.caseName = null |
|||
this.tid = null |
|||
break |
|||
} |
|||
// const params = { |
|||
// 'tid': this.tid, |
|||
// 'caseName': this.caseName, |
|||
// 'barcode': this.barcode, |
|||
// 'page': 0, |
|||
// 'size': 10 |
|||
// } |
|||
// FetchInitCartoningList(params).then(res => { |
|||
// this.tableData = res.content |
|||
// }) |
|||
}, |
|||
async getPackingFileList() { |
|||
// let categoryId |
|||
// if (this.selectedCategory.isType === 2) { |
|||
// categoryId = this.selectedCategory.children[0].children[0].id |
|||
// } else { |
|||
// categoryId = this.selectedCategory.children[0].id |
|||
// } |
|||
// const params = { |
|||
// 'categoryId': categoryId, |
|||
// 'parentsId': this.recycleMain.anjuanSelection.id, |
|||
// 'isdel': false, |
|||
// 'page': 0, |
|||
// 'size': null, |
|||
// 'sort': null, |
|||
// 'queryType': null, |
|||
// 'queryTitle': null, |
|||
// 'itemNo': null, |
|||
// 'archiveCtgNo': null, |
|||
// 'responsibleby': null, |
|||
// 'archiveNo': null, |
|||
// 'archiveYear': null, |
|||
// 'department': null, |
|||
// 'retention': null, |
|||
// 'securityClass': null, |
|||
// 'organizationMatter': null |
|||
// } |
|||
// await FetchInitArchivesView(params).then(data => { |
|||
// if (data) { |
|||
// this.packingData = data.list.content |
|||
// this.archivesTable = data.list.content |
|||
// } |
|||
// }) |
|||
}, |
|||
// 装盒 api |
|||
async handleCartoning(row) { |
|||
// let jnCategoryId |
|||
// let archivesParentsId |
|||
// if (this.caseData.selectedCategory.isType === 5) { |
|||
// this.packingData = this.caseData.selections |
|||
// jnCategoryId = this.caseData.selectedCategory.id |
|||
// } else { |
|||
// await this.getPackingFileList() |
|||
// if (this.caseData.selectedCategory.isType === 2) { |
|||
// jnCategoryId = this.caseData.selectedCategory.children[0].children[0].id |
|||
// } else { |
|||
// jnCategoryId = this.caseData.selectedCategory.children[0].id |
|||
// } |
|||
// archivesParentsId = this.caseData.selections[0].id |
|||
// } |
|||
// const arrParams = this.packingData.map(item => { |
|||
// const json = {} |
|||
// json.archivesId = item.id |
|||
// if (this.caseData.selectedCategory.isType === 5) { |
|||
// json.archivesParentsId = item.id |
|||
// } else { |
|||
// json.archivesParentsId = archivesParentsId |
|||
// } |
|||
// json.caseId = row.id |
|||
// json.caseName = row.caseName |
|||
// json.categoryId = jnCategoryId |
|||
// return json |
|||
// }) |
|||
// await this.FetchCartioning(arrParams) |
|||
}, |
|||
FetchCartioning(arrParams) { |
|||
// FetchCartoning(arrParams).then(res => { |
|||
// this.$message.success('装盒成功!') |
|||
// this.packingVisible = false |
|||
// this.crud.refresh() |
|||
// this.tableData = [] |
|||
// this.caseQuery[this.inputSelect] = '' |
|||
// }) |
|||
}, |
|||
// 分卷装盒 |
|||
handlePartParking(row, index) { |
|||
// if (!this.selections.length) { |
|||
// this.$message.error('请选择要装盒的档案!') |
|||
// return |
|||
// } |
|||
// // 分卷装盒存在未完成装盒操作,且某一个盒能一直搜索到,故添加到盒里时进行判断筛选 |
|||
// if (this.selectTableData.findIndex(val => val.id === row.id) === -1) { |
|||
// this.selectTableData.push(row) |
|||
// } |
|||
// this.tableData.splice(index, 1) |
|||
// this.selections.forEach(item => { |
|||
// item.caseId = row.id |
|||
// item.caseName = row.caseName |
|||
// this.archivesTable.splice(this.archivesTable.findIndex(val => val.id === item.id), 1) |
|||
// this.selectArchivesTable.push(item) |
|||
// }) |
|||
}, |
|||
// 撤回装盒 |
|||
cancelParking(row, index) { |
|||
// this.tableData.unshift(row) |
|||
// this.selectTableData.splice(index, 1) |
|||
// this.selectArchivesTable.forEach((item, i) => { |
|||
// if (item.caseId === row.id) { |
|||
// this.archivesTable.push(item) |
|||
// } |
|||
// }) |
|||
// this.selectArchivesTable.splice(this.selectArchivesTable.findIndex((item, i) => item.caseId === row.id), this.archivesTable.length) |
|||
}, |
|||
handleComfireCartoning() { |
|||
// if (this.archivesTable.length) { |
|||
// this.$message.error('左侧档案待选列表全部装盒完成才可保存') |
|||
// return |
|||
// } |
|||
// let jnCategoryId |
|||
// if (this.caseData.selectedCategory.isType === 2) { |
|||
// jnCategoryId = this.caseData.selectedCategory.children[0].children[0].id |
|||
// } else { |
|||
// jnCategoryId = this.caseData.selectedCategory.children[0].id |
|||
// } |
|||
// const arrParams = this.selectArchivesTable.map(item => { |
|||
// const json = {} |
|||
// json.archivesId = item.id |
|||
// json.archivesParentsId = this.caseData.selections[0].id |
|||
// json.caseId = item.caseId |
|||
// json.caseName = item.caseName |
|||
// json.categoryId = jnCategoryId |
|||
// return json |
|||
// }) |
|||
// this.FetchCartioning(arrParams) |
|||
}, |
|||
clearTableData() { |
|||
this.tableData = [] |
|||
}, |
|||
// table |
|||
clickRowHandler(row) { |
|||
this.$refs.archivesList.toggleRowSelection(row) |
|||
}, |
|||
// table |
|||
selectionChangeHandler(val) { |
|||
this.selections = val |
|||
}, |
|||
// dialog - close |
|||
handleClose(done) { |
|||
this.showCoverVisible = false |
|||
this.$set(this.caseQuery, this.inputSelect, '') |
|||
this.tableData = [] |
|||
this.selectTableData = [] |
|||
this.archivesTable = [] |
|||
this.selectArchivesTable = [] |
|||
done() |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style lang="scss" scoped> |
|||
.filter-rfid{ |
|||
margin-left: 10px; |
|||
padding: 0 13px; |
|||
height: 32px; |
|||
line-height: 30px; |
|||
&.is-disabled, |
|||
&.is-disabled:focus{ |
|||
border-color: #0348F3 !important; |
|||
background-color: rgba(31, 85, 235, 0.20) !important; |
|||
color: #0348F3 !important; |
|||
opacity: 0.6; |
|||
} |
|||
.iconfont{ |
|||
font-size: 20px; |
|||
} |
|||
} |
|||
.el-table .el-button{ |
|||
padding: 0; |
|||
} |
|||
|
|||
::v-deep .custom-table .el-table__body-wrapper::-webkit-scrollbar { |
|||
width: 5px !important; |
|||
height: 5px !important; |
|||
background-color: #DDE8FB !important; |
|||
} |
|||
|
|||
::v-deep .custom-table .el-table__body-wrapper::-webkit-scrollbar-thumb { |
|||
border-radius: 3px; |
|||
background-color: #4578F6 !important; |
|||
} |
|||
|
|||
::v-deep .custom-table .el-table__body-wrapper::-webkit-scrollbar-thumb:hover { |
|||
background-color: #4578F6 !important; |
|||
} |
|||
|
|||
::v-deep .custom-table .el-table__body-wrapper::-webkit-scrollbar-corner { |
|||
background-color: #DDE8FB !important; |
|||
} |
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue