-
-
-
-
-
-
-
- {{ item.fieldCnName }}:
- {{ item.context }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.fieldCnName }}:
+ {{ item.context }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预览
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archiveUtilize/archiveSearch/index.vue b/src/views/archiveUtilize/archiveSearch/index.vue
new file mode 100644
index 0000000..64c890c
--- /dev/null
+++ b/src/views/archiveUtilize/archiveSearch/index.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
{{ isCommon ? '档案检索': '高级检索' }}
+
+
+
+ 全部
+ 项目
+ 案卷
+ 文件
+ 原文
+
+
+
历史检索
+
+ 合同
+ 科技
+ 教育
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+ 重置
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/archiveUtilize/utillizeRecord/index.vue b/src/views/archiveUtilize/utillizeRecord/index.vue
new file mode 100644
index 0000000..a1a71d0
--- /dev/null
+++ b/src/views/archiveUtilize/utillizeRecord/index.vue
@@ -0,0 +1,20 @@
+
+ 借阅记录
+
+
+
+
+
diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
index 005fcba..8c9fa04 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
@@ -200,22 +200,8 @@
-
-
-
-
-
此移出将把会所选条目退回到预归档库
-
你是否还要继续?
-
-
-
-
-
-
+
@@ -272,7 +258,7 @@
import CRUD, { crud } from '@crud/crud'
import { collectionLibraryCrud } from '../mixins/index'
import { FetchInitCategoryInputFieldByPid } from '@/api/system/category/category'
-import { FetchDetailsById, collectDel, FetchRemoveArchivesSingle, FetchDeleteArchivesFile, FetchUpdateArchivesNo, FetchDisbandArchives } from '@/api/collect/collect'
+import { FetchDetailsById, collectDel, FetchRemoveArchivesSingle, FetchDeleteArchivesFile, FetchUpdateArchivesNo, FetchDisbandArchives, FetchReturnReDocument } from '@/api/collect/collect'
import { FetchArchivesClassTree } from '@/api/system/archivesClass'
import { FetchDictionaryTree } from '@/api/system/dict'
import Treeselect from '@riophae/vue-treeselect'
@@ -341,7 +327,6 @@ export default {
deleteVisible: false,
moveVisible: false,
filingVisible: false,
- returnVisible: false,
downloadVisible: false,
recoverVisible: false,
completelyDeleteVisible: false,
@@ -895,14 +880,38 @@ export default {
},
// 退回预归档库
handleReturn() {
- if (this.selections.length > 1 || this.selections.length === 0) {
- this.$message('该操作只可勾选唯一目标条目,请先确认!')
+ if (this.selections.length === 0) {
+ this.$message('您还未勾选需要操作的条目,请先确认!')
return false
}
- this.returnVisible = true
- },
- handleReturnConfirm() {
- this.returnVisible = false
+ this.$confirm('此操作将把会所选条目退回到预归档库' + '
你是否还要继续?', '提示', {
+ confirmButtonText: '继续',
+ cancelButtonText: '取消',
+ type: 'warning',
+ dangerouslyUseHTMLString: true
+ }).then(() => {
+ const archivesIds = this.selections.map(item => item.id)
+ const params = {
+ 'categoryId': this.selectedCategory.id,
+ 'archivesIds': archivesIds
+ }
+ console.log(params)
+ FetchReturnReDocument(params).then((res) => {
+ if (res.code !== 500) {
+ if (res === 0) {
+ this.crud.notify('当前数据中不包含预归档数据,无法返回', CRUD.NOTIFICATION_TYPE.INFO)
+ } else {
+ this.crud.notify('已成功返回' + res + '条来自预归档的数据', CRUD.NOTIFICATION_TYPE.SUCCESS)
+ }
+ this.handleSearch(this.collectLevel)
+ } else {
+ this.crud.notify(res.message, CRUD.NOTIFICATION_TYPE.ERROR)
+ }
+ }).catch(err => {
+ console.log(err)
+ })
+ }).catch(() => {
+ })
},
// 导出
handleExport() {
@@ -943,6 +952,21 @@ export default {
handlePrint() {
if (this.selections.length === 0) {
this.$refs.printRef.form.printRange = '当页条目'
+ let currentTableData = []
+ if (this.collectLevel === 2) {
+ console.log('案卷')
+ currentTableData = this.parentsData.$refs.anjuanEle.$refs.ajContent.$refs.tableList.anjuanData
+ } else if (this.collectLevel === 3) {
+ if (this.isTitleType === 3) {
+ console.log('文件')
+ currentTableData = this.parentsData.$refs.anjuanEle.$refs.ajContent.$refs.tableList.anjuanData
+ } else {
+ console.log('卷内')
+ currentTableData = this.parentsData.$refs.juanneiEle.junneiData
+ }
+ }
+ console.log(currentTableData)
+ this.$refs.printRef.currentTable = JSON.parse(JSON.stringify(currentTableData))
} else {
this.$refs.printRef.form.printRange = '勾选条目'
}
diff --git a/src/views/collectReorganizi/collectionLibrary/module/print/index.vue b/src/views/collectReorganizi/collectionLibrary/module/print/index.vue
index aa4101b..221929f 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/print/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/print/index.vue
@@ -7,17 +7,17 @@
-
-
+
+
-
+
@@ -29,68 +29,78 @@