11 changed files with 171 additions and 859 deletions
-
7src/api/prearchiveLibrary/prearchiveLibrary.js
-
20src/api/system/fieldMate.js
-
5src/components/Crud/crud.js
-
674src/views/prearchiveLibrary/add.json
-
109src/views/prearchiveLibrary/index.vue
-
82src/views/prearchiveLibrary/module/batchFile.vue
-
91src/views/prearchiveLibrary/module/form.vue
-
2src/views/system/dept/index.vue
-
22src/views/system/fieldCorresManage/index.vue
-
4src/views/system/fieldCorresManage/module/detail.vue
-
8src/views/system/fieldCorresManage/module/form.vue
@ -1,674 +0,0 @@ |
|||||
[ |
|
||||
{ |
|
||||
"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 |
|
||||
} |
|
||||
] |
|
@ -1,91 +0,0 @@ |
|||||
<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="handlerArchivesSubmit">确定</el-button> |
|
||||
</div> |
|
||||
</div> |
|
||||
</el-dialog> |
|
||||
</template> |
|
||||
|
|
||||
<script> |
|
||||
import PreviewForm from '@/views/components/category/PreviewForm' |
|
||||
// import { add, edit } from '@/api/prearchiveLibrary/prearchiveLibrary' |
|
||||
// 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: 'prearchiveLibrary', |
|
||||
isDisabled: false, |
|
||||
isHasCode: false |
|
||||
} |
|
||||
}, |
|
||||
created() { |
|
||||
// this.formPreviewData = addJson |
|
||||
}, |
|
||||
methods: { |
|
||||
handleClose(done) { |
|
||||
done() |
|
||||
this.formVisible = false |
|
||||
}, |
|
||||
handlerArchivesSubmit() { |
|
||||
this.$refs.previewForm.submitForm('addOrUpdateForm', this.selectedCategory.id) |
|
||||
this.selections = [] |
|
||||
} |
|
||||
// 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> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue