diff --git a/src/assets/icons/svg/s-sjzb.svg b/src/assets/icons/svg/s-sjzb.svg
new file mode 100644
index 0000000..2814773
--- /dev/null
+++ b/src/assets/icons/svg/s-sjzb.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index f56d97d..47be649 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -9,7 +9,7 @@ import { filterAsyncRouter } from '@/store/modules/permission'
NProgress.configure({ showSpinner: false })// NProgress Configuration
-const whiteList = ['/login', '/collectionLibrary']// no redirect whitelist
+const whiteList = ['/login']// no redirect whitelist
router.beforeEach((to, from, next) => {
if (to.meta.title) {
diff --git a/src/router/routers.js b/src/router/routers.js
index 38ffa5b..850bb84 100644
--- a/src/router/routers.js
+++ b/src/router/routers.js
@@ -62,20 +62,6 @@ export const constantRouterMap = [
path: '/environmentalScreen',
component: (resolve) => require(['@/views/environmentalScreen/index'], resolve),
hidden: true
- },
- {
- path: '/collectReorganizi',
- component: Layout,
- hidden: true,
- redirect: 'noredirect',
- children: [
- {
- path: '/collectionLibrary',
- component: (resolve) => require(['@/views/collectReorganizi/collectionLibrary/index'], resolve),
- name: '收集库',
- meta: { title: '收集库' }
- }
- ]
}
]
diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue b/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue
index b8abc98..793e8b0 100644
--- a/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue
+++ b/src/views/collectReorganizi/collectionLibrary/anjuan/content.vue
@@ -6,20 +6,21 @@
-
-
- 打开卷内的Drawer
- 打开文件的Drawer
+
+
+
+
+
diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/tableData.json b/src/views/collectReorganizi/collectionLibrary/anjuan/tableData.json
new file mode 100644
index 0000000..3d505f4
--- /dev/null
+++ b/src/views/collectReorganizi/collectionLibrary/anjuan/tableData.json
@@ -0,0 +1,45 @@
+{
+ "code": 200,
+ "message": "操作成功",
+ "data": {
+ "list": {
+ "content": [
+ {
+ "case_no": "746DF968E7E629CAEFF889",
+ "begin_date": "2023-07-02",
+ "piece_qty": "3",
+ "children_num": 3,
+ "tid": "",
+ "maintitle": "测试案卷001",
+ "security_class": "秘密",
+ "archive_year": 2023,
+ "archive_no": "AA001-Y-WS.W-2023-001",
+ "id": "256E752BC0280618840600",
+ "is_storage": 2,
+ "keyword": "测试主题词001",
+ "is_borrow": 3
+ },
+ {
+ "case_no": "EFF2101F6A116FFC93B35A",
+ "begin_date": "",
+ "piece_qty": "2",
+ "children_num": 2,
+ "tid": "",
+ "maintitle": "测试案卷002",
+ "security_class": "机密",
+ "archive_year": 2023,
+ "archive_no": "AA001-Y-WS.W-2023-002",
+ "id": "F33725454340EA10A2C8B9",
+ "is_storage": 1,
+ "keyword": "",
+ "is_borrow": ""
+ }
+ ],
+ "totalElements": 2
+ },
+ "yearGroup": [
+ 2023
+ ]
+ },
+ "timestamp": 1689579707329
+}
\ No newline at end of file
diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/tableFields.json b/src/views/collectReorganizi/collectionLibrary/anjuan/tableFields.json
new file mode 100644
index 0000000..1fbaf3f
--- /dev/null
+++ b/src/views/collectReorganizi/collectionLibrary/anjuan/tableFields.json
@@ -0,0 +1,285 @@
+{
+ "code": 200,
+ "message": "操作成功",
+ "data": [
+ {
+ "id": "5385EE4261D5D5D69C86D1",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "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": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "2604E1A40EB3B355A3C370",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "dictionaryConfigId": null,
+ "fieldName": "archive_no",
+ "fieldCnName": "档号",
+ "isDefaultValue": "",
+ "isInputClass": "text",
+ "isDataType": 1,
+ "isDataTypeDetails": "varchar",
+ "isColumnLength": 200,
+ "isColumnType": 2,
+ "isSequence": 6,
+ "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": 2,
+ "displayOrderBy": "asc",
+ "isDisplayformat": null,
+ "displayformatType": "left",
+ "editLength": 510,
+ "displayLength": 250,
+ "queue": 1,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "E8AAD60B450EF88BA7415D",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "dictionaryConfigId": null,
+ "fieldName": "maintitle",
+ "fieldCnName": "题名",
+ "isDefaultValue": "",
+ "isInputClass": "text",
+ "isDataType": 1,
+ "isDataTypeDetails": "varchar",
+ "isColumnLength": 1000,
+ "isColumnType": 2,
+ "isSequence": 7,
+ "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": 3,
+ "displayOrderBy": null,
+ "isDisplayformat": null,
+ "displayformatType": "left",
+ "editLength": 510,
+ "displayLength": 450,
+ "queue": null,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "3DCF574299CB2061F07E06",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "dictionaryConfigId": null,
+ "fieldName": "keyword",
+ "fieldCnName": "主题词",
+ "isDefaultValue": "",
+ "isInputClass": "text",
+ "isDataType": 1,
+ "isDataTypeDetails": "varchar",
+ "isColumnLength": 1000,
+ "isColumnType": 2,
+ "isSequence": 8,
+ "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": "center",
+ "editLength": 510,
+ "displayLength": 100,
+ "queue": null,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "DD1AC11CFC48B42B152DD1",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "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": 5,
+ "displayOrderBy": null,
+ "isDisplayformat": null,
+ "displayformatType": "center",
+ "editLength": 196,
+ "displayLength": 150,
+ "queue": null,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "AB02D37F2F2F86A255DE91",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "dictionaryConfigId": null,
+ "fieldName": "begin_date",
+ "fieldCnName": "开始时间",
+ "isDefaultValue": "",
+ "isInputClass": "text",
+ "isDataType": 1,
+ "isDataTypeDetails": "varchar",
+ "isColumnLength": 20,
+ "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": 6,
+ "displayOrderBy": null,
+ "isDisplayformat": null,
+ "displayformatType": "center",
+ "editLength": 196,
+ "displayLength": 100,
+ "queue": null,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ },
+ {
+ "id": "A9F24C3CDC805513389502",
+ "categoryId": "F0F59CC713C83AE4BAB99B",
+ "dictionaryConfigId": null,
+ "fieldName": "piece_qty",
+ "fieldCnName": "文件件数",
+ "isDefaultValue": "",
+ "isInputClass": "text",
+ "isDataType": 1,
+ "isDataTypeDetails": "varchar",
+ "isColumnLength": 20,
+ "isColumnType": 2,
+ "isSequence": 12,
+ "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": "right",
+ "editLength": 196,
+ "displayLength": 150,
+ "queue": null,
+ "create_by": "admin",
+ "update_by": "admin",
+ "create_time": 1687319105000,
+ "update_time": 1688020466000
+ }
+ ],
+ "timestamp": 1689579706946
+}
\ No newline at end of file
diff --git a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
index fed14dd..222ce5f 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
@@ -9,7 +9,7 @@
+
+
+
+
+
+
此删除将把会所选条目与其子集放入回收站
+
你是否还要继续?
+
+
+
+
+
@@ -116,6 +136,10 @@ export default {
default: function() {
return []
}
+ },
+ activeIndex: {
+ type: Number,
+ default: 0
}
},
data() {
@@ -123,10 +147,11 @@ export default {
query: {
blurry: ''
},
- activeIndex: '1',
+ activeMenuIndex: '1',
formVisible: false,
formTitle: '项目',
- formPreviewData: [] // 预览界面data
+ formPreviewData: [], // 预览界面data
+ deleteVisible: false
}
},
computed: {
@@ -180,7 +205,7 @@ export default {
if (type === 'add') {
this.formVisible = true
this.formTitle = '新增' + this.collectTitle
- this.arcId = null
+ // this.arcId = null
} else if (type === 'edit') {
console.log(this.selections)
// this.arcId = this.selections[0].id
@@ -214,6 +239,16 @@ export default {
handleClose(done) {
this.formVisible = false
done()
+ },
+ toDelete() {
+ if (this.selections.length === 0) {
+ this.$message('您还未勾选需要操作的条目,请先确认!')
+ return false
+ }
+ this.deleteVisible = true
+ },
+ handleDelConfirm() {
+ this.deleteVisible = false
}
}
}