diff --git a/src/views/archivesManage/caseManage/caseList/index.vue b/src/views/archivesManage/caseManage/caseList/index.vue index 2e8e25b..4983835 100644 --- a/src/views/archivesManage/caseManage/caseList/index.vue +++ b/src/views/archivesManage/caseManage/caseList/index.vue @@ -439,6 +439,7 @@ export default { } .intoExamine{ margin: 0 auto; + } } diff --git a/src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue b/src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue index c2abe53..6e79c7f 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue @@ -28,7 +28,7 @@ - + + diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue index 0544b4d..c10d817 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue @@ -51,11 +51,11 @@ 归档 - 退回预归档库 + 退回预归档库 - 快速组卷 + 快速组卷 手工组卷 @@ -65,15 +65,15 @@ 更多 - 导出 - 打印 - 四性检测 + 导出 + 打印 + 四性检测 下载 - 目录下载 - 目录上传 + 目录下载 + 目录上传 @@ -177,6 +177,56 @@ + + + +
+
+

此移出将把会所选条目退回到预归档库

+ 你是否还要继续? +
+ +
+
+ + + +
+
+

此操作将导出所选数据

+ 你是否还要继续? +
+ +
+
+ + + + + + + + +
+
+

此操作将下载所选条目目录

+ 你是否还要继续? +
+ +
+
+ + + @@ -189,9 +239,14 @@ import FileNumberAdjustment from './fileNumberAdjustment/index.vue' import CombineFile from './combineFile/index.vue' import InsertFile from './insertFile/index.vue' import CollectMoveFile from './collectMoveFile/index.vue' +import Print from './print/index.vue' +import FourTest from './fourTest/index.vue' +import QuickPaper from './quickPaper/index.vue' +// import { exportFile } from '@/utils/index' +import { mapGetters } from 'vuex' export default { name: 'CollectHeader', - components: { PreviewForm, UploadOriginal, BlukImport, BlukEditing, FileNumberAdjustment, CombineFile, InsertFile, CollectMoveFile }, + components: { PreviewForm, UploadOriginal, BlukImport, BlukEditing, FileNumberAdjustment, CombineFile, InsertFile, CollectMoveFile, Print, FourTest, QuickPaper }, mixins: [], props: { selectedCategory: { @@ -234,10 +289,16 @@ export default { moveVisible: false, updateVisible: false, uncoilVisible: false, - filingVisible: false + filingVisible: false, + exportVisible: false, + returnVisible: false, + downloadVisible: false } }, computed: { + ...mapGetters([ + 'baseApi' + ]), collectTitle() { if (this.isTitleType === 2) { return '项目' @@ -362,8 +423,10 @@ export default { } if (uploadType === 0) { this.$refs.uploadOriginalRef.uploadTitle = '普通上传' - } else { + } else if (uploadType === 1) { this.$refs.uploadOriginalRef.uploadTitle = '大文件上传' + } else if (uploadType === 2) { + this.$refs.uploadOriginalRef.uploadTitle = '原文目录上传' } this.$refs.uploadOriginalRef.uploadVisible = true this.$refs.uploadOriginalRef.uploadType = uploadType @@ -446,6 +509,58 @@ export default { }, handleFilingConfirm() { this.filingVisible = false + }, + // 退回预归档库 + handleReturn() { + this.returnVisible = true + }, + handleReturnConfirm() { + this.returnVisible = false + }, + // 导出 + handleExport() { + this.exportVisible = true + }, + handleExportConfirm() { + this.exportVisible = false + }, + // 打印 + handlePrint() { + if (this.selections.length === 0) { + this.$refs.printRef.form.printRange = '当页条目' + } else { + this.$refs.printRef.form.printRange = '勾选条目' + } + this.$refs.printRef.printVisible = true + }, + // 四性检测 + handleFourTest() { + if (this.selections.length === 0) { + this.$message('您还未勾选需要操作的条目,请先确认!') + return false + } + this.$refs.fourTestRef.fourTestVisible = true + this.$refs.fourTestRef.tableData = this.selections + console.log(this.selections) + }, + // 目录下载 + handleCatalogDownload() { + if (this.selections.length === 0) { + this.$message('您还未勾选需要操作的条目,请先确认!') + return false + } + this.downloadVisible = true + }, + handleCatDownloadConfirm() { + // const params = { + // 'orderNo': id + // } + // exportFile(this.baseApi + '/api/arrange/exportArrange?' + qs.stringify(params, { indices: false })) + this.downloadVisible = false + }, + // 快速组卷 + handleQuickPaper() { + this.$refs.quickPaperRef.quickVisible = true } } } diff --git a/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue b/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue index f95b726..6d8502d 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue @@ -36,7 +36,7 @@ controls-position="right" /> - 调整 + 调整
@@ -94,8 +94,8 @@ export default { adjustmentVisible: false, form: { adjustFields: '', - initialValue: '', - codeFields: '' + initialValue: undefined, + codeFields: '档号' }, fieldsOptions: [ ], @@ -106,6 +106,9 @@ export default { } ], rules: { + adjustFields: [ + { required: true, message: '请输入需调整的字段', trigger: 'change' } + ], initialValue: [ { required: true, message: '请输入起始值', trigger: 'blur' } ] @@ -120,8 +123,20 @@ export default { } }, watch: { + selectedCategory: function(newValue, oldValue) { + this.changeOptions(this.isType) + }, isType(newVal) { - if (newVal === 3) { + this.changeOptions(newVal) + } + }, + created() { + }, + mounted() { + }, + methods: { + changeOptions(value) { + if (value === 3) { if (this.selectedCategory.isType === 5) { this.fieldsOptions = [{ value: '目录号', @@ -130,22 +145,14 @@ export default { { value: '件号', label: '件号' - }, - { - value: '档号', - label: '档号' }] } else { this.fieldsOptions = [{ value: '案卷号', label: '案卷号' - }, - { - value: '档号', - label: '档号' }] } - } else if (newVal === 4) { + } else if (value === 4) { this.fieldsOptions = [{ value: '卷内顺序号', label: '卷内顺序号' @@ -153,19 +160,9 @@ export default { { value: '目录号', label: '目录号' - }, - { - value: '档号', - label: '档号' }] } - } - }, - created() { - }, - mounted() { - }, - methods: { + }, handleComfireAdjustment() { this.adjustmentTipVisible = false this.adjustmentVisible = true @@ -176,6 +173,16 @@ export default { }, handleCurrentPage(val) { this.page.page = val + }, + submitAdjust(formName) { + this.$refs[formName].validate((valid) => { + if (valid) { + this.$message('submit!') + } else { + console.log('error submit!!') + return false + } + }) } } } diff --git a/src/views/collectReorganizi/collectionLibrary/module/fourTest/index.vue b/src/views/collectReorganizi/collectionLibrary/module/fourTest/index.vue new file mode 100644 index 0000000..436b87f --- /dev/null +++ b/src/views/collectReorganizi/collectionLibrary/module/fourTest/index.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/src/views/collectReorganizi/collectionLibrary/module/print/index.vue b/src/views/collectReorganizi/collectionLibrary/module/print/index.vue new file mode 100644 index 0000000..5cacca6 --- /dev/null +++ b/src/views/collectReorganizi/collectionLibrary/module/print/index.vue @@ -0,0 +1,216 @@ + + + + + diff --git a/src/views/collectReorganizi/collectionLibrary/module/print/printData.json b/src/views/collectReorganizi/collectionLibrary/module/print/printData.json new file mode 100644 index 0000000..345eb3c --- /dev/null +++ b/src/views/collectReorganizi/collectionLibrary/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/collectReorganizi/collectionLibrary/module/quickPaper/index.vue b/src/views/collectReorganizi/collectionLibrary/module/quickPaper/index.vue new file mode 100644 index 0000000..3ba3557 --- /dev/null +++ b/src/views/collectReorganizi/collectionLibrary/module/quickPaper/index.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue index 6adc7ec..daf9310 100644 --- a/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue @@ -11,10 +11,10 @@
- +
点击上传
- +
上传限制文件类型:zip
上传限制文件大小:最大10GB/个