xuhuajiao
1 year ago
8 changed files with 1495 additions and 22 deletions
-
2src/assets/styles/archives-manage.scss
-
3src/assets/styles/index.scss
-
10src/assets/styles/yxk-admin.scss
-
215src/views/collectReorganizi/batchConnection/index.vue
-
674src/views/collectReorganizi/batchPaper/add.json
-
86src/views/collectReorganizi/batchPaper/form.vue
-
267src/views/collectReorganizi/batchPaper/index.vue
-
260src/views/collectReorganizi/batchPaper/table.json
@ -0,0 +1,215 @@ |
|||
<template> |
|||
<div class="app-container archives-container"> |
|||
<div class="container-main" style="justify-content: flex-start;"> |
|||
<div class="elect-cont-left"> |
|||
<div class="container-left"> |
|||
<span class="right-top-line" /> |
|||
<span class="left-bottom-line" /> |
|||
<div class="arc-left-tree"> |
|||
<h3 class="arc-title arc-title-top">档案门类</h3> |
|||
<div class="tree-scroll"> |
|||
<el-tree ref="categroyTree" v-loading="crud.loading" class="arc-tree" :data="crud.data" :props="defaultProps" node-key="id" :expand-on-click-node="false" highlight-current @node-click="handleNodeClick"> |
|||
<span slot-scope="{ node, data }" class="custom-tree-node"> |
|||
<span v-if="data.isType === 1 " class="iconFolder"> |
|||
{{ data.cnName }} |
|||
</span> |
|||
<span v-if="data.isType === 2" class="iconArch"> |
|||
{{ data.cnName }} |
|||
</span> |
|||
<span v-if="data.isType === 3" class="iconFile"> |
|||
{{ data.cnName }} |
|||
</span> |
|||
</span> |
|||
</el-tree> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="elect-cont-right" /> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import crudCategory from '@/api/category/category' |
|||
import CRUD, { presenter, header } from '@crud/crud' |
|||
export default { |
|||
name: 'BatchConnection', |
|||
components: { }, |
|||
cruds() { |
|||
return [ |
|||
CRUD({ |
|||
title: '批量挂接', url: 'api/category/menu', |
|||
crudMethod: { ...crudCategory }, |
|||
optShow: { |
|||
add: false, |
|||
edit: false, |
|||
del: false, |
|||
download: false, |
|||
group: false |
|||
} |
|||
}) |
|||
] |
|||
}, |
|||
mixins: [presenter(), header()], |
|||
props: { |
|||
}, |
|||
data() { |
|||
return { |
|||
defaultProps: { |
|||
children: 'children', |
|||
label: 'cnName' |
|||
}, |
|||
selectedCategory: {} |
|||
} |
|||
}, |
|||
watch: { |
|||
}, |
|||
created() { |
|||
}, |
|||
mounted() { |
|||
}, |
|||
methods: { |
|||
filterData(data) { |
|||
return data.filter(node => { |
|||
if (node.children && node.children.length > 0) { |
|||
node.children = this.filterData(node.children) // 递归处理子节点 |
|||
} |
|||
return node.isType !== 3 // 过滤掉isType为3的节点 |
|||
}) |
|||
}, |
|||
// 逆归实现 获取指定元素 |
|||
findNode(tree, func) { |
|||
for (const node of tree) { |
|||
if (func(node)) return node |
|||
if (node.children) { |
|||
const res = this.findNode(node.children, func) |
|||
if (res) return res |
|||
} |
|||
} |
|||
return null |
|||
}, |
|||
// 展开选中的父级 |
|||
expandParents(node) { |
|||
node.expanded = true |
|||
if (node.parent) { |
|||
this.expandParents(node.parent) |
|||
} |
|||
}, |
|||
[CRUD.HOOK.afterRefresh]() { |
|||
this.crud.data = this.filterData(this.crud.data) |
|||
this.$nextTick(() => { |
|||
let currentKey |
|||
if (localStorage.getItem('currentArchivesKey')) { |
|||
currentKey = JSON.parse(localStorage.getItem('currentArchivesKey')) |
|||
// 删除门类节点后 |
|||
if (this.$refs.categroyTree.getCurrentKey(currentKey.id) == null) { |
|||
localStorage.removeItem('currentArchivesKey') |
|||
} |
|||
// 缓存的门类节点判断 |
|||
if (currentKey.isType === 1) { |
|||
if (currentKey.children.length !== 0) { |
|||
currentKey = this.findNode(currentKey.children, (node) => { |
|||
return node.isType !== 1 |
|||
}) |
|||
} |
|||
} |
|||
} else { |
|||
// 默认 |
|||
if (this.crud.data[0].isType === 1) { |
|||
currentKey = this.findNode(this.crud.data[0].children, (node) => { |
|||
return node.isType !== 1 |
|||
}) |
|||
} else { |
|||
currentKey = this.crud.data[0] |
|||
} |
|||
} |
|||
if (currentKey.id) { |
|||
// 设置某个节点的当前选中状态 |
|||
this.$refs.categroyTree.setCurrentKey(currentKey.id) |
|||
this.$nextTick(() => { |
|||
// 设置某个节点的父级展开 |
|||
const selectedKey = this.$refs.categroyTree.getCurrentNode() |
|||
if (this.$refs.categroyTree.getNode(selectedKey) && this.$refs.categroyTree.getNode(selectedKey).parent) { |
|||
this.expandParents(this.$refs.categroyTree.getNode(selectedKey).parent) |
|||
} |
|||
// 选中节点的门类详情 |
|||
this.handleNodeClick(selectedKey) |
|||
}) |
|||
} |
|||
}) |
|||
}, |
|||
handleNodeClick(val) { |
|||
this.selectedCategory = val |
|||
// 缓存当前的选中的 |
|||
localStorage.setItem('currentArchivesKey', JSON.stringify(val)) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.elect-cont-left{ |
|||
width: 296px; |
|||
padding: 0 !important; |
|||
} |
|||
[data-theme=light] .elect-cont-left .container-left { |
|||
min-height: calc(100vh - 140px); |
|||
} |
|||
[data-theme=dark] .elect-cont-left .container-left { |
|||
min-height: calc(100vh - 160px); |
|||
} |
|||
.openSidebar .elect-cont-right { |
|||
width: calc(100vw - 592px); |
|||
} |
|||
// [data-theme=light] .elect-cont-right .container-right.tab-content { |
|||
// min-height: calc(100vh - 200px) !important; |
|||
// } |
|||
|
|||
[data-theme=light] .elect-cont-right { |
|||
padding: 20px 0 !important; |
|||
} |
|||
[data-theme=dark] .elect-cont-right { |
|||
margin-top: 0 !important; |
|||
} |
|||
.arc-title{ |
|||
position: relative; |
|||
height: 48px; |
|||
line-height: 48px; |
|||
text-align: center; |
|||
font-size: 16px; |
|||
color: #0C0E1E; |
|||
background-color: #F3F5F8; |
|||
&::after{ |
|||
content: ""; |
|||
position: absolute; |
|||
right: 12px; |
|||
bottom: 0; |
|||
} |
|||
} |
|||
.arc-title-top{ |
|||
&::after{ |
|||
width: 44px; |
|||
height: 35px; |
|||
background: url("~@/assets/images/collect/daml.png") no-repeat; |
|||
background-size: 100% 100%; |
|||
} |
|||
} |
|||
.arc-title-bottom{ |
|||
&::after{ |
|||
width: 41px; |
|||
height: 40px; |
|||
background: url("~@/assets/images/collect/kssx.png") no-repeat; |
|||
background-size: 100% 100%; |
|||
} |
|||
} |
|||
.arc-tree{ |
|||
padding: 0 20px; |
|||
overflow: hidden; |
|||
overflow-y: scroll; |
|||
} |
|||
|
|||
::v-deep .el-tree-node__children .custom-tree-node{ |
|||
font-size: 14px; |
|||
} |
|||
</style> |
@ -0,0 +1,674 @@ |
|||
[ |
|||
{ |
|||
"id": "069B40B02A196E6FA374C9", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "C45F3FF91CC7C1F79BFB5C", |
|||
"dicName": "全宗号", |
|||
"dicCode": "QZH", |
|||
"dicSequence": 16, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1656991927000, |
|||
"updateTime": 1656991927000 |
|||
}, |
|||
"fieldName": "fonds_no", |
|||
"fieldCnName": "全宗号", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "select", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 100, |
|||
"isColumnType": 2, |
|||
"isSequence": 1, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 1, |
|||
"isDisplayformat": true, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306028000 |
|||
}, |
|||
{ |
|||
"id": "C790AA6F7B8FE39922DA3D", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "EAC68B9FE234EDE61B2200", |
|||
"dicName": "保管期限", |
|||
"dicCode": "Search_BGQX", |
|||
"dicSequence": 11, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1654571475000, |
|||
"updateTime": 1656991717000 |
|||
}, |
|||
"fieldName": "retention", |
|||
"fieldCnName": "保管期限", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "select", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 10, |
|||
"isColumnType": 2, |
|||
"isSequence": 2, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 2, |
|||
"isDisplayformat": true, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306036000 |
|||
}, |
|||
{ |
|||
"id": "044BFF833352350E25CC00", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "archive_year", |
|||
"fieldCnName": "归档年度", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "number", |
|||
"isDataType": 2, |
|||
"isDataTypeDetails": "int", |
|||
"isColumnLength": 4, |
|||
"isColumnType": 2, |
|||
"isSequence": 3, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 3, |
|||
"isDisplayformat": true, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306043000 |
|||
}, |
|||
{ |
|||
"id": "6E98E47113E63806DF8DAF", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "piece_no", |
|||
"fieldCnName": "件号", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "number", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 4, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": false, |
|||
"isFilling": true, |
|||
"fillingDigit": 3, |
|||
"isDisplay": true, |
|||
"displayOrder": 4, |
|||
"isDisplayformat": true, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306049000 |
|||
}, |
|||
{ |
|||
"id": "2320B1DF39B7DC48E4EEB9", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "archive_no", |
|||
"fieldCnName": "档号", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 200, |
|||
"isColumnType": 2, |
|||
"isSequence": 5, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": true, |
|||
"isFilling": false, |
|||
"isRepeat": true, |
|||
"isDisplay": true, |
|||
"displayOrder": 5, |
|||
"displayOrderBy": "asc", |
|||
"displayformatType": "left", |
|||
"editLength": 196, |
|||
"displayLength": 170, |
|||
"queue": 1, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306055000 |
|||
}, |
|||
{ |
|||
"id": "799775CE1AFD47A49E986D", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "maintitle", |
|||
"fieldCnName": "题名", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "textarea", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 500, |
|||
"isColumnType": 2, |
|||
"isSequence": 6, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": true, |
|||
"isInput": true, |
|||
"isRequired": true, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 6, |
|||
"displayformatType": "left", |
|||
"editLength": 510, |
|||
"displayLength": 400, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663305969000 |
|||
}, |
|||
{ |
|||
"id": "90AF675F891F5565522968", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "doc_no", |
|||
"fieldCnName": "文号", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 100, |
|||
"isColumnType": 2, |
|||
"isSequence": 7, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 7, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 170, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306077000 |
|||
}, |
|||
{ |
|||
"id": "ABD998404F24B78EFC419A", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "8A2C800B2036211C8970AB", |
|||
"dicName": "实体分类号(文书档案)", |
|||
"dicCode": "WS", |
|||
"dicExplain": "实体分类号(文书档案)1级分类", |
|||
"dicSequence": 1, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1656917215000, |
|||
"updateTime": 1656917215000 |
|||
}, |
|||
"fieldName": "archive_ctg_no", |
|||
"fieldCnName": "分类号", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "popover", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 8, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 8, |
|||
"isDisplayformat": false, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306082000 |
|||
}, |
|||
{ |
|||
"id": "0577754F80741962FE5832", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "created_date", |
|||
"fieldCnName": "成文日期", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "date", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 20, |
|||
"isColumnType": 2, |
|||
"isSequence": 9, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 11, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 120, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307568000 |
|||
}, |
|||
{ |
|||
"id": "17162B1C966B3FB6D13D04", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "8984F55841E2D541C23318", |
|||
"dicName": "密级", |
|||
"dicCode": "Search_MJ", |
|||
"dicSequence": 10, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1656921207000, |
|||
"updateTime": 1656991705000 |
|||
}, |
|||
"fieldName": "security_class", |
|||
"fieldCnName": "密级", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "select", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 10, |
|||
"isColumnType": 2, |
|||
"isSequence": 10, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307573000 |
|||
}, |
|||
{ |
|||
"id": "FD8529F7BA62866C50FB1A", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "responsibleby", |
|||
"fieldCnName": "责任者", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 100, |
|||
"isColumnType": 2, |
|||
"isSequence": 11, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 12, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307578000 |
|||
}, |
|||
{ |
|||
"id": "6D37FF04F5958C4826C003", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "426AA3EF366C7A26A942C8", |
|||
"dicName": "机构(问题)", |
|||
"dicCode": "Search_JGWT", |
|||
"dicSequence": 12, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1656923873000, |
|||
"updateTime": 1656991722000 |
|||
}, |
|||
"fieldName": "organization_matter", |
|||
"fieldCnName": "机构(问题)", |
|||
"isInputClass": "popover", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 100, |
|||
"isColumnType": 2, |
|||
"isSequence": 12, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 9, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 120, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306163000 |
|||
}, |
|||
{ |
|||
"id": "7AAE02A7BAA85E593882D4", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"dictionaryConfigId": { |
|||
"id": "BA3910917510B181160A9A", |
|||
"dicName": "部门", |
|||
"dicCode": "Search_BM", |
|||
"dicSequence": 15, |
|||
"dicType": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1656991900000, |
|||
"updateTime": 1656991900000 |
|||
}, |
|||
"fieldName": "department", |
|||
"fieldCnName": "部门名称", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "select", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 100, |
|||
"isColumnType": 2, |
|||
"isSequence": 13, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 10, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 120, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306169000 |
|||
}, |
|||
{ |
|||
"id": "84CB2FBF76205ED3E89E6B", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "page_qty", |
|||
"fieldCnName": "页数", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "number", |
|||
"isDataType": 2, |
|||
"isDataTypeDetails": "int", |
|||
"isColumnLength": 11, |
|||
"isColumnType": 2, |
|||
"isSequence": 14, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": true, |
|||
"displayOrder": 13, |
|||
"displayformatType": "center", |
|||
"editLength": 196, |
|||
"displayLength": 100, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306176000 |
|||
}, |
|||
{ |
|||
"id": "EEF529433F74B3071B438A", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "filing_person", |
|||
"fieldCnName": "立卷人", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 15, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307536000 |
|||
}, |
|||
{ |
|||
"id": "027393952F6712D97A7B49", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "filing_date", |
|||
"fieldCnName": "立卷日期", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "date", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 20, |
|||
"isColumnType": 2, |
|||
"isSequence": 16, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307536000 |
|||
}, |
|||
{ |
|||
"id": "C359AFEDAEC1BF8CADF9DD", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "check_person", |
|||
"fieldCnName": "检查人", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 17, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307536000 |
|||
}, |
|||
{ |
|||
"id": "E52EB8A9540FA1EC24F124", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "inspection_date", |
|||
"fieldCnName": "检查日期", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "date", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 18, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307536000 |
|||
}, |
|||
{ |
|||
"id": "C33EB66C8B38F89AD1B6E0", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "archive_person", |
|||
"fieldCnName": "归档人", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "text", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 19, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663307536000 |
|||
}, |
|||
{ |
|||
"id": "F269D0196AA2A81649324D", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "archive_date", |
|||
"fieldCnName": "归档日期", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "date", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 2, |
|||
"isSequence": 20, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": false, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"isDisplay": false, |
|||
"displayOrder": 15, |
|||
"editLength": 196, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663308894000 |
|||
}, |
|||
{ |
|||
"id": "702855664B7BEA7252D402", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "remarks", |
|||
"fieldCnName": "备注", |
|||
"isDefaultValue": "", |
|||
"isInputClass": "textarea", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 500, |
|||
"isColumnType": 2, |
|||
"isSequence": 22, |
|||
"isType": 2, |
|||
"isSystem": true, |
|||
"isLine": true, |
|||
"isInput": true, |
|||
"isRequired": false, |
|||
"isAutomatic": false, |
|||
"isFilling": false, |
|||
"editLength": 510, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1663306219000 |
|||
}, |
|||
{ |
|||
"id": "4C8BA41A04F1DBF815026B", |
|||
"categoryId": "2C120624FD6083F499653C", |
|||
"fieldName": "barcode", |
|||
"fieldCnName": "条码号", |
|||
"isDataType": 1, |
|||
"isDataTypeDetails": "varchar", |
|||
"isColumnLength": 50, |
|||
"isColumnType": 1, |
|||
"isSequence": 18, |
|||
"isType": 1, |
|||
"isSystem": true, |
|||
"isInput": true, |
|||
"createBy": "admin", |
|||
"updatedBy": "admin", |
|||
"createTime": 1660706815000, |
|||
"updateTime": 1660706815000 |
|||
} |
|||
] |
@ -0,0 +1,86 @@ |
|||
<template> |
|||
<!--新增 / 编辑 表单组件--> |
|||
<el-dialog class="preview-dialog" :modal-append-to-body="false" :close-on-click-modal="false" append-to-body :before-close="handleClose" :visible="formVisible" :title="formTitle"> |
|||
<span class="dialog-right-top" /> |
|||
<span class="dialog-left-bottom" /> |
|||
<div class="setting-dialog"> |
|||
<!-- form --> |
|||
<!-- @emitTableList="getTableList" --> |
|||
<PreviewForm ref="previewForm" :form-preview-data.sync="formPreviewData" :selected-category="selectedCategory" :parents-id="parentsId" :arc-id="arcId" :is-des-form-type="isDesFormType" :is-disabled="isDisabled" :is-has-code="isHasCode" /> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<!-- :loading="crud.status.cu === 2" --> |
|||
<el-button type="text" @click="formVisible = false">取消</el-button> |
|||
<el-button type="primary" @click="formVisible = false">确定</el-button> |
|||
</div> |
|||
</div> |
|||
</el-dialog> |
|||
</template> |
|||
|
|||
<script> |
|||
import PreviewForm from '@/views/components/category/PreviewForm' |
|||
import addJson from './add.json' |
|||
export default { |
|||
components: { PreviewForm }, |
|||
data() { |
|||
return { |
|||
formVisible: false, |
|||
formTitle: '新增文件', |
|||
loading: false, |
|||
formPreviewData: null, |
|||
selectedCategory: null, |
|||
parentsId: null, |
|||
arcId: null, |
|||
isDesFormType: 'arcives', |
|||
isDisabled: true, |
|||
isHasCode: false |
|||
} |
|||
}, |
|||
created() { |
|||
this.formPreviewData = addJson |
|||
}, |
|||
methods: { |
|||
handleClose(done) { |
|||
done() |
|||
this.formVisible = false |
|||
}, |
|||
save() { |
|||
// this.loading = true |
|||
// if (this.title === '新增文件') { |
|||
// const addData = this.formData.fields.map((item) => { |
|||
// return { |
|||
// dictionaryId: item.id, |
|||
// fieldName: item.fieldName, |
|||
// fieldCnName: item.fieldCnName, |
|||
// connector: item.connector, |
|||
// categoryId: item.categoryId |
|||
// } |
|||
// }) |
|||
// add(addData).then((res) => { |
|||
// this.$message({ |
|||
// message: '保存成功', |
|||
// type: 'success', |
|||
// duration: 2500 |
|||
// }) |
|||
// this.cuDialogVisible = false |
|||
// this.loading = false |
|||
// this.$emit('refresh') |
|||
// }) |
|||
// } else { |
|||
// edit(this.formData.fields).then((res) => { |
|||
// this.$message({ |
|||
// message: '保存成功', |
|||
// type: 'success', |
|||
// duration: 2500 |
|||
// }) |
|||
// this.cuDialogVisible = false |
|||
// this.loading = false |
|||
// this.$emit('refresh') |
|||
// }) |
|||
// } |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
</style> |
@ -0,0 +1,260 @@ |
|||
{ |
|||
"code": 200, |
|||
"message": "操作成功", |
|||
"data": { |
|||
"content": [ |
|||
{ |
|||
"case_no": "44337256D85D22890B5C0E", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": "文(2023)9号", |
|||
"case_name": "JJ0001-D-WS.W-2023-001", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "娱乐节目", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "3DFFB27C2C7F6679C2C7EB", |
|||
"security_class": "机密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-001-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20230401", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "44337256D85D22890B5C0E", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": "文(2023)26号", |
|||
"case_name": "JJ0001-D-WS.W-2023-001", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "电视节目", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "4B1AEFADF74824A9883E6C", |
|||
"security_class": "机密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-001-002", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20230525", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "44337256D85D22890B5C0E", |
|||
"category_name": "文书档案(案卷)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": null, |
|||
"case_name": "JJ0001-D-WS.W-2023-001", |
|||
"category_type": 3, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "文娱文件", |
|||
"category_id": "F0F59CC713C83AE4BAB99B", |
|||
"archives_id": "FF07CAA9C9AEE81DB64357", |
|||
"security_class": "机密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": null, |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 2, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "73B335163B48D5882F9727", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-2-2-2-2", |
|||
"doc_no": "科(2023)2号", |
|||
"case_name": "JJ0001-D-WS.W-2023-002", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", |
|||
"temp_no": null, |
|||
"maintitle": "科学技术指示", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "B8BC0AB00A1C13AFB9BB87", |
|||
"security_class": "秘密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-002-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20231225", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "73B335163B48D5882F9727", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-2-2-2-2", |
|||
"doc_no": "科(2023)14号", |
|||
"case_name": "JJ0001-D-WS.W-2023-002", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", |
|||
"temp_no": null, |
|||
"maintitle": "科学技术大奖", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "C378BFE62FE813CFA34015", |
|||
"security_class": "秘密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-002-002", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20231230", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "73B335163B48D5882F9727", |
|||
"category_name": "文书档案(案卷)", |
|||
"folder_location": "1-2-2-2-2", |
|||
"doc_no": null, |
|||
"case_name": "JJ0001-D-WS.W-2023-002", |
|||
"category_type": 3, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区2列2节2层右", |
|||
"temp_no": null, |
|||
"maintitle": "科技文件", |
|||
"category_id": "F0F59CC713C83AE4BAB99B", |
|||
"archives_id": "D9C37A437D416C57F9FF38", |
|||
"security_class": "秘密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-D-WS.W-2023-002", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": null, |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "定期", |
|||
"child": 2, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "70B78223FBFADD51CF0ACF", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": "领(2023)12号", |
|||
"case_name": "JJ0001-Y-WS.W-2023-001", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "李白当领导", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "1212AAD0FE3570C155C43F", |
|||
"security_class": "绝密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-Y-WS.W-2023-001-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20230506", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "永久", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "70B78223FBFADD51CF0ACF", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": "领(2023)89号", |
|||
"case_name": "JJ0001-Y-WS.W-2023-001", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "财务科获一等奖", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "8926C284B1A274FA42B41D", |
|||
"security_class": "内部", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-Y-WS.W-2023-001-002", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20230716", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "永久", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "70B78223FBFADD51CF0ACF", |
|||
"category_name": "文书档案(案卷)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": null, |
|||
"case_name": "JJ0001-Y-WS.W-2023-001", |
|||
"category_type": 3, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "领导文件", |
|||
"category_id": "F0F59CC713C83AE4BAB99B", |
|||
"archives_id": "B85E86B6F6334DA5069037", |
|||
"security_class": "绝密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-Y-WS.W-2023-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": null, |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "永久", |
|||
"child": 2, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
}, |
|||
{ |
|||
"case_no": "793B68E6BBE52FE32C819A", |
|||
"category_name": "文书档案(卷内)", |
|||
"folder_location": "1-1-1-1-1", |
|||
"doc_no": "心(2023)1号", |
|||
"case_name": "JJ0001-Y-WS.W-2023-002", |
|||
"category_type": 4, |
|||
"folder_location_details": "5F 档案库 5F_档案库_密集架 1区1列1节1层左", |
|||
"temp_no": null, |
|||
"maintitle": "关于心理健康测试", |
|||
"category_id": "CD135F6A77018CE04D4FDB", |
|||
"archives_id": "6A27E658D2A454E5BD7BC9", |
|||
"security_class": "机密", |
|||
"archive_year": 2023, |
|||
"archive_no": "JJ0001-Y-WS.W-2023-002-001", |
|||
"fonds_no": "JJ0001", |
|||
"created_date": "20230912", |
|||
"is_storage": 2, |
|||
"serial_no": null, |
|||
"retention": "永久", |
|||
"child": 0, |
|||
"arrive_class": null, |
|||
"tag_no": null, |
|||
"is_borrow": null |
|||
} |
|||
], |
|||
"totalElements": 24 |
|||
}, |
|||
"timestamp": 1696658463172 |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue