diff --git a/src/api/system/category/category.js b/src/api/system/category/category.js
index 95a3be1..f42d417 100644
--- a/src/api/system/category/category.js
+++ b/src/api/system/category/category.js
@@ -130,4 +130,12 @@ export function FetchInitCategoryInputFieldByPid(params) {
})
}
-export default { add, edit, del, FetchCategoryMenu, FetchInitCategoryField, FetchCategoryFieldManage, FetchUpardicSort, FetchInitCategoryFieldByPid, FetchInitCategoryInputFieldByPid }
+export function FetchMenuByFondsId(params) {
+ return request({
+ url: 'api/category/menuByFondsId',
+ method: 'get',
+ params
+ })
+}
+
+export default { add, edit, del, FetchCategoryMenu, FetchInitCategoryField, FetchCategoryFieldManage, FetchUpardicSort, FetchInitCategoryFieldByPid, FetchInitCategoryInputFieldByPid, FetchMenuByFondsId }
diff --git a/src/api/system/fieldMate.js b/src/api/system/fieldMate.js
index dd5e978..3581cf9 100644
--- a/src/api/system/fieldMate.js
+++ b/src/api/system/fieldMate.js
@@ -68,4 +68,13 @@ export function FetchDetailsByDocumentIdAndCategoryId(params) {
})
}
-export default { add, edit, del, FetchInitFieldMateList, FetchCheckRepeat, FetchInitFieldMate, FetchMateByDocumentId, FetchDetailsByDocumentIdAndCategoryId }
+// 新的 --- 根据预归档库获取对应规则
+export function FetchMateByDocumentIdShow(params) {
+ return request({
+ url: 'api/fieldMate/getMateByDocumentIdShow',
+ method: 'get',
+ params
+ })
+}
+
+export default { add, edit, del, FetchInitFieldMateList, FetchCheckRepeat, FetchInitFieldMate, FetchMateByDocumentId, FetchDetailsByDocumentIdAndCategoryId, FetchMateByDocumentIdShow }
diff --git a/src/api/system/fileLibrary/fileLibrary.js b/src/api/system/fileLibrary/fileLibrary.js
index 79d9083..c9ff3be 100644
--- a/src/api/system/fileLibrary/fileLibrary.js
+++ b/src/api/system/fileLibrary/fileLibrary.js
@@ -78,4 +78,13 @@ export function FetchInitDocumentFieldByPid(params) {
})
}
-export default { add, edit, del, sort, FetchDocumentMenu, FetchDocumentFieldManage, FetchInitDocumentFieldByPid }
+// 获取预归档库菜单
+export function FetchMenuPerpare(params) {
+ return request({
+ url: 'api/document/menu_perpare',
+ method: 'get',
+ params
+ })
+}
+
+export default { add, edit, del, sort, FetchDocumentMenu, FetchDocumentFieldManage, FetchInitDocumentFieldByPid, FetchMenuPerpare }
diff --git a/src/assets/styles/prearchive-library.scss b/src/assets/styles/prearchive-library.scss
index 115b637..3f911ce 100644
--- a/src/assets/styles/prearchive-library.scss
+++ b/src/assets/styles/prearchive-library.scss
@@ -4,7 +4,7 @@
.move-form{
::v-deep .el-dialog{
- width: 828px;
+ width: 1000px;
}
.move-main{
display: flex;
@@ -19,7 +19,7 @@
}
.move-right{
- width:550px;
+ width:705px;
overflow: hidden;
h4{
position: relative;
diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
index 4a81d56..23f9091 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
@@ -300,7 +300,7 @@
:data="repeatData"
row-key="id"
>
-
+
收集库
@@ -313,7 +313,7 @@
回收站
-
+
diff --git a/src/views/collectReorganizi/collectionLibrary/module/fileSeqAdjustment/index.vue b/src/views/collectReorganizi/collectionLibrary/module/fileSeqAdjustment/index.vue
index 9cfdf19..d7d1b35 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/fileSeqAdjustment/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/fileSeqAdjustment/index.vue
@@ -143,15 +143,17 @@ export default {
this.btnLoading = true
const archivesIds = []
const sequences = []
+
this.sortTableData.map((value, index) => {
archivesIds.push(value.id)
- sequences.push(index + 1)
+ sequences.push(this.form.number + index)
})
const params = {
'categoryId': this.categoryB,
'archivesIds': archivesIds,
'sequences': sequences
}
+ console.log('params', params)
FetchArchivesAdjust(params).then((res) => {
if (res !== 500) {
this.$message({ message: '保存成功', type: 'success', offset: 8 })
diff --git a/src/views/components/category/PreviewForm.vue b/src/views/components/category/PreviewForm.vue
index aa32ad9..6eeeef1 100644
--- a/src/views/components/category/PreviewForm.vue
+++ b/src/views/components/category/PreviewForm.vue
@@ -4,7 +4,23 @@
-
+
{
if (res) {
this.$message({ message: res.message, type: 'success', offset: 8 })
@@ -1014,7 +1032,7 @@ export default {
} else if (this.isDesFormType === 'mergeFile') {
// 合并成件
const params = {
- 'fondsAffiliation': this.user.fonds.id.toString(),
+ 'fondsAffiliation': this.selectedCategory.fondsId,
'archivesId': null,
'archivesIds': this.mergeFileArcIds,
'documentId': categoryId,
@@ -1022,6 +1040,8 @@ export default {
'archivesNo': this.addOrUpdateForm.archive_no,
'jsonString': JSON.stringify(this.addOrUpdateForm)
}
+ console.log('合并成件this.selectedCategory', this.selectedCategory)
+ console.log('params', params)
FetchMergeToFile(params).then(res => {
if (res.code !== 500) {
this.$message({ message: res, type: 'success', offset: 8 })
diff --git a/src/views/prearchiveLibrary/index.vue b/src/views/prearchiveLibrary/index.vue
index 8e53603..ca58535 100644
--- a/src/views/prearchiveLibrary/index.vue
+++ b/src/views/prearchiveLibrary/index.vue
@@ -89,6 +89,7 @@
:normalizer="normalizer"
flat
:multiple="false"
+ :default-expand-level="6"
placeholder="请选择档案门类"
@select="handleSelectCategory"
/>
@@ -133,7 +134,7 @@
diff --git a/src/views/prearchiveLibrary/module/batchFile.vue b/src/views/prearchiveLibrary/module/batchFile.vue
index 6917e05..6e49d9c 100644
--- a/src/views/prearchiveLibrary/module/batchFile.vue
+++ b/src/views/prearchiveLibrary/module/batchFile.vue
@@ -111,9 +111,9 @@