diff --git a/src/assets/styles/archives-manage.scss b/src/assets/styles/archives-manage.scss index ae3b482..609bdec 100644 --- a/src/assets/styles/archives-manage.scss +++ b/src/assets/styles/archives-manage.scss @@ -775,7 +775,7 @@ margin-left: 10px; } &.is-recycle{ - margin-right: 0; + margin-right: 10px; } } diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index b2222d4..41ad0cd 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -208,7 +208,8 @@ ul{ //只需要加上这一行 ::-webkit-scrollbar-corner { - @include scrollBar-bg; + // @include scrollBar-bg; + background-color: transparent; } // 设置loading-mask diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index e16da23..d3feb12 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -1949,4 +1949,14 @@ input[type ='number'] { font-size: 12px; border-radius: 3px; @include process-status-style; +} + +.vue-treeselect--disabled .vue-treeselect__control{ + background-color: #f5f7fa !important; + border-color: #dfe4ed !important; + color: #c0c4cc !important; + cursor: not-allowed !important; +} +.vue-treeselect--disabled .vue-treeselect__single-value{ + color: #c0c4cc !important; } \ No newline at end of file diff --git a/src/views/collectReorganizi/batchConnection/index.vue b/src/views/collectReorganizi/batchConnection/index.vue new file mode 100644 index 0000000..0b60cc0 --- /dev/null +++ b/src/views/collectReorganizi/batchConnection/index.vue @@ -0,0 +1,215 @@ + + + + + diff --git a/src/views/collectReorganizi/batchPaper/add.json b/src/views/collectReorganizi/batchPaper/add.json new file mode 100644 index 0000000..413c467 --- /dev/null +++ b/src/views/collectReorganizi/batchPaper/add.json @@ -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 + } +] \ No newline at end of file diff --git a/src/views/collectReorganizi/batchPaper/form.vue b/src/views/collectReorganizi/batchPaper/form.vue new file mode 100644 index 0000000..c2b3ff5 --- /dev/null +++ b/src/views/collectReorganizi/batchPaper/form.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/views/collectReorganizi/batchPaper/index.vue b/src/views/collectReorganizi/batchPaper/index.vue index 1d1d1af..730c7af 100644 --- a/src/views/collectReorganizi/batchPaper/index.vue +++ b/src/views/collectReorganizi/batchPaper/index.vue @@ -5,13 +5,13 @@

选择组卷条件

-
-
+
+

确认组卷条目

-
-
+
+

补充案卷数据

@@ -22,7 +22,7 @@ - + - + - + @@ -71,17 +72,68 @@ v-model="form.archivesClassId" :options="classifyOptions" :normalizer="classifyNormalizer" + :disabled="step===2 || step===3" placeholder="请选择" no-options-text="暂无数据" /> - 下一步 + 下一步
-
-
选择组卷条件后自动获取数据
+
+
选择组卷条件后自动获取数据
+
+
+

成功获得待组卷文件7条,选中N条进行组卷

+ + 移除 +
+ + + + + + + + + + + + + + + + + + + + +
+ 上一步 + 下一步 +
+
+
@@ -91,9 +143,11 @@ import { FetchCategoryMenu } from '@/api/system/category/category' import { FetchArchivesClassTree } from '@/api/system/archivesClass' import Treeselect from '@riophae/vue-treeselect' import '@riophae/vue-treeselect/dist/vue-treeselect.css' +import eForm from './form' +import tableData from './table.json' export default { name: 'BatchPaper', - components: { Treeselect }, + components: { eForm, Treeselect }, data() { return { form: { @@ -122,6 +176,11 @@ export default { lastValue: '', categoryDatas: [], classifyOptions: [], + blurry: null, + tableData: [], + loading: false, + selections: [], + step: 1, rules: { years: [{ required: true, message: '请选择年份', trigger: 'change' }], month: [{ required: true, message: '请选择月份', trigger: 'change' }], @@ -138,6 +197,17 @@ export default { this.getCategoryDataTree() }, methods: { + nextFilterStep(formName) { + this.$refs[formName].validate((valid) => { + if (valid) { + this.step = 2 + this.tableData = tableData.data.content + } else { + console.log('error submit!!') + return false + } + }) + }, generateYears() { const currentYear = new Date().getFullYear() for (let i = 0; i < 11; i++) { @@ -221,6 +291,94 @@ export default { label: node.name, children: node.childArchivesClass } + }, + nextSelectedTable() { + this.step = 3 + this.handleForm('add') + }, + // table - 全选 + selectAll(val) { + this.selections = val + }, + // table - 当前选中得row + clickRowHandler(row) { + this.$refs.table.clearSelection() + this.$refs.table.toggleRowSelection(row) + this.selections = [] + this.selections.push(row) + }, + // 触发单选 + handleCurrentChange(selection, row) { + this.selections = selection + }, + // 著录界面-form/详情-api + handleForm(type) { + this.$refs.eform.formVisible = true + // if (type === 'add') { + // this.$refs.eform.formTitle = '新增档案' + // } else if (type === 'edit') { + // this.$refs.eform.formTitle = '编辑文件' + // } + this.$refs.eform.formTitle = '新增档案' + // 档案预编辑获取字段 + const params = { + categoryId: this.categoryId, + archivesId: this.arcId + } + this.getFormInfo(params, type) + }, + getFormInfo(params, type, isAnOrJuan) { + // FetchFormDisplayFields(params).then(data => { + // this.formPreviewData = data.showFiled + // this.$nextTick(() => { + // if (type === 'edit') { + // this.$refs.previewForm.addOrUpdateForm = data.echo + // } else { + // if (this.recycleMain.selectedCategory.isType !== 5) { + // // 新增时拿到项目和案卷的相同的字段的值 + // this.formPreviewData.forEach(item => { + // if (isAnOrJuan === 1) { + // if (this.recycleMain.selectedCategory.isType !== 3) { + // if (this.recycleMain.projectSelection[item.fieldName]) { + // this.$refs.previewForm.addOrUpdateForm = JSON.parse(JSON.stringify(this.recycleMain.projectSelection)) + // } + // } + // } else if (isAnOrJuan === 2) { + // if (this.recycleMain.anjuanSelection[item.fieldName]) { + // this.$refs.previewForm.addOrUpdateForm = JSON.parse(JSON.stringify(this.recycleMain.anjuanSelection)) + // } + // } + // }) + // } + // } + // this.isDesFormType = 'arcives' + // this.$refs.previewForm.FetchNoFormatField(this.categoryId) + // }) + // }) + }, + // 删除用户 + toMove(datas) { + this.$confirm('此操作将把所选条目从此次批量组卷中移除' + '你是否还要继续?', '提示', { + confirmButtonText: '继续', + cancelButtonText: '取消', + type: 'warning', + dangerouslyUseHTMLString: true + }).then(() => { + // this.crud.delAllLoading = true + const userIds = [] + datas.forEach(val => { + userIds.push(val.userId) + }) + // crudUser.del(userIds).then(() => { + // this.crud.notify('删除成功', CRUD.NOTIFICATION_TYPE.SUCCESS) + // this.crud.delAllLoading = false + // this.crud.refresh() + // }).catch(err => { + // this.crud.delAllLoading = false + // console.log(err) + // }) + }).catch(() => { + }) } } } @@ -231,7 +389,7 @@ export default { display: flex; justify-content: center; align-items: center; - height: 174px; + height: 154px; background: linear-gradient(180deg, #F3F5F8 29%, #fff 100%); border: 2px solid #fff; .paper-step-item{ @@ -300,11 +458,11 @@ export default { } .collect-paper-filter{ margin-top: 20px; - height: calc(100vh - 333px); + height: calc(100vh - 313px); background-color: #fff; .collect-paper-form{ width: 420px; - padding-top: 50px; + padding-top: 30px; margin: 0 auto; ::v-deep .el-form{ .el-form-item__label{ @@ -312,24 +470,93 @@ export default { } } } - .next-btn{ - margin-left: 220px; + .step-btn{ color: #fff; background-color: #0348f3; border-color: #0348f3; + &.el-button.is-disabled, + &.el-button.is-disabled:hover, + &.el-button.is-disabled:focus{ + color: #fff; + background-color: #0348f3; + border-color: #0348f3; + opacity: 0.5 !important; + } } + .next-btn{ + margin-left: 220px; + } + .collect-paper-list{ - display: flex; - justify-content: center; - align-items: center; - height: calc(100% - 334px); + position: relative; + // display: flex; + // justify-content: center; + // align-items: center; + height: calc(100% - 314px); margin: 20px; background-color: #EDEFF3; + &.paper-step2-list{ + height: calc(100% - 262px); + } .collect-no-data{ + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%,-50%); font-size: 20px; color: #A6ADB6; + text-align: center; } } } +.collect-paper-table{ + padding: 20px; +} +.paper-table-header{ + display: flex; + justify-content: space-between; + p{ + flex: 1; + padding-left: 52px; + margin-top: -8px; + color: #0C0E1E; + font-size: 15px; + line-height: 52px; + background: url('~@/assets/images/collect/jn.png') no-repeat left top; + background-size: 46px 49px; + span{ + padding: 0 2px; + color: #0348F3; + } + } + + ::v-deep .el-input__inner, + .filter-refresh{ + background-color: transparent !important; + border-color: #D9D9D9; + } + .filter-search, + + .filter-refresh{ + margin-left: 10px; + } + .remove-btn{ + height: 32px; + margin-left: 60px; + } +} +.paper-table-bottom{ + display: flex; + justify-content: center; + margin-top: 10px; +} +::v-deep .el-table { + .el-table__body-wrapper { + tr{ + background-color: #fff !important; + } + } +} + diff --git a/src/views/collectReorganizi/batchPaper/table.json b/src/views/collectReorganizi/batchPaper/table.json new file mode 100644 index 0000000..40235c5 --- /dev/null +++ b/src/views/collectReorganizi/batchPaper/table.json @@ -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 +} \ No newline at end of file