Browse Source

收集库 - 整理

master
xuhuajiao 2 years ago
parent
commit
6b955e8b23
  1. 8
      src/assets/styles/archives-manage.scss
  2. 3
      src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue
  3. 133
      src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue
  4. 22
      src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/data.json
  5. 217
      src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue
  6. 117
      src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/tree.json
  7. 63
      src/views/collectReorganizi/collectionLibrary/module/combineFile/index.vue
  8. 166
      src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue
  9. 103
      src/views/collectReorganizi/collectionLibrary/module/insertFile/index.vue
  10. 7
      src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue
  11. 2
      src/views/prearchiveLibrary/index.vue

8
src/assets/styles/archives-manage.scss

@ -819,8 +819,6 @@
}
}
.collect-menu-item{
position: relative;
.collect-submenu{
@ -837,4 +835,10 @@
transform-origin: 95% 40%;
transition: all 0.3s ease-in-out;
}
}
.fileUpload-dialog {
.el-dialog{
width: 536px;
}
}

3
src/views/collectReorganizi/collectionLibrary/module/blukEditing/index.vue

@ -1,6 +1,6 @@
<template>
<!--批量修改-->
<el-dialog class="upload-dialog" title="批量修改" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="bulkEditingVisible">
<el-dialog class="fileUpload-dialog" title="批量修改" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="bulkEditingVisible">
<div class="setting-dialog">
<div class="bulk-editing-container">
<el-form ref="editForm" :model="editForm" :rules="editRules" label-width="100px">
@ -185,4 +185,5 @@ export default {
</script>
<style lang='scss' scoped>
</style>

133
src/views/collectReorganizi/collectionLibrary/module/collectHeader.vue

@ -40,16 +40,16 @@
<!-- 项目 / 案卷 / 卷内 / 文件-->
<el-menu-item v-if="activeIndex !== 1 || (isTitleType === 3 && selectedCategory.isType === 5 && activeIndex === 1)" index="2-2" @click="handleBlukEditing">批量修改</el-menu-item>
<el-menu-item v-if="isTitleType !== 2 && !(isTitleType === 3 && (selectedCategory.isType === 3 || selectedCategory.isType === 2) && activeIndex === 1)" index="2-3" @click="handleAdjustment">档案调整</el-menu-item>
<el-menu-item v-if="isTitleType !== 2 && !(isTitleType === 3 && (selectedCategory.isType === 3 || selectedCategory.isType === 2) && activeIndex === 1)" index="2-4">档号更新</el-menu-item>
<el-menu-item v-if="isTitleType !== 2 && !(isTitleType === 3 && (selectedCategory.isType === 3 || selectedCategory.isType === 2) && activeIndex === 1)" index="2-4" @click="handleFileNumberUpdate">档号更新</el-menu-item>
<!-- 案卷 -->
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5 " index="2-5">卷内档号更新</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5" index="2-6">拆卷</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5" index="2-7">合卷</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && selectedCategory.isType !== 5" index="2-8">插件</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5 " index="2-5" @click="handleFileNumberUpdate">卷内档号更新</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5" index="2-6" @click="handleUncoil">拆卷</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0 && selectedCategory.isType !== 5" index="2-7" @click="handleCombineFile">合卷</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && selectedCategory.isType !== 5" index="2-8" @click="handleInsertFile">插件</el-menu-item>
<!-- 案卷 / 卷内 / 文件 -->
<el-menu-item v-if="isTitleType !== 2" index="2-9">移动</el-menu-item>
<el-menu-item v-if="isTitleType !== 2" index="2-9" @click="handleCollectMoveFile">移动</el-menu-item>
<!-- 案卷 -->
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0" index="2-10">归档</el-menu-item>
<el-menu-item v-if="isTitleType === 3 && activeIndex === 0" index="2-10" @click="handleFiling">归档</el-menu-item>
<!-- 文件 -->
<el-menu-item v-if="(isTitleType === 3 && selectedCategory.isType === 5) || (isTitleType === 3 && activeIndex === 1)" index="2-11">退回预归档库</el-menu-item>
</el-menu-item-group>
@ -127,8 +127,56 @@
<!-- 批量修改 -->
<BlukEditing ref="blukEditingRef" />
<!-- 档案调整 -->
<FileNumberAdjustment ref="fileNumberAdjustmentRef" />
<FileNumberAdjustment ref="fileNumberAdjustmentRef" :selected-category="selectedCategory" />
<!-- 档号更新 -->
<el-dialog class="tip-dialog" title="档号更新" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="updateVisible">
<div class="setting-dialog">
<div class="tip-content">
<p class="tipMsg">此操作将会自动重新生成档号</p>
<span>你是否还要继续?</span>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="updateVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleUpdateConfirm">确定</el-button>
</div>
</div>
</el-dialog>
<!-- 拆卷 -->
<el-dialog class="tip-dialog" title="拆卷" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="uncoilVisible">
<div class="setting-dialog">
<div class="tip-content">
<p class="tipMsg">拆卷之后对应的案卷数据将会自动删除</p>
<span>你是否还要继续?</span>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="uncoilVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleUncoilConfirm">确定</el-button>
</div>
</div>
</el-dialog>
<!-- 合卷 -->
<CombineFile ref="combineFileRef" />
<!-- 插件 -->
<InsertFile ref="insertFileRef" />
<!-- 移动 -->
<CollectMoveFile ref="collectMoveFileRef" />
<!-- 归档 -->
<el-dialog class="tip-dialog" title="归档" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="filingVisible">
<div class="setting-dialog">
<div class="tip-content">
<p class="tipMsg">此操作将会把所选条目提交归档</p>
<span>你是否还要继续?</span>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="filingVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleFilingConfirm">确定</el-button>
</div>
</div>
</el-dialog>
</div>
</template>
@ -138,9 +186,12 @@ import UploadOriginal from './uploadOriginal/index.vue'
import BlukImport from './bulkImport/index.vue'
import BlukEditing from './blukEditing/index.vue'
import FileNumberAdjustment from './fileNumberAdjustment/index.vue'
import CombineFile from './combineFile/index.vue'
import InsertFile from './insertFile/index.vue'
import CollectMoveFile from './collectMoveFile/index.vue'
export default {
name: 'CollectHeader',
components: { PreviewForm, UploadOriginal, BlukImport, BlukEditing, FileNumberAdjustment },
components: { PreviewForm, UploadOriginal, BlukImport, BlukEditing, FileNumberAdjustment, CombineFile, InsertFile, CollectMoveFile },
mixins: [],
props: {
selectedCategory: {
@ -180,7 +231,10 @@ export default {
formTitle: '项目',
formPreviewData: [], // data
deleteVisible: false,
moveVisible: false
moveVisible: false,
updateVisible: false,
uncoilVisible: false,
filingVisible: false
}
},
computed: {
@ -327,12 +381,71 @@ export default {
}
this.$refs.blukEditingRef.bulkEditingVisible = true
},
//
handleAdjustment() {
this.$refs.fileNumberAdjustmentRef.isType = this.isTitleType
if (this.selections.length === 0) {
this.$refs.fileNumberAdjustmentRef.adjustmentTipVisible = true
} else {
this.$refs.fileNumberAdjustmentRef.adjustmentVisible = true
}
},
//
handleFileNumberUpdate() {
if (this.selections.length === 0) {
this.$message('您还未勾选需要操作的条目,请先确认!')
return false
}
this.updateVisible = true
},
handleUpdateConfirm() {
this.updateVisible = false
},
//
handleUncoil() {
if (this.selections.length === 0) {
this.$message('您还未勾选需要操作的条目,请先确认!')
return false
}
this.uncoilVisible = true
},
handleUncoilConfirm() {
this.uncoilVisible = false
},
//
handleCombineFile() {
if (this.selections.length < 2) {
this.$message('合卷操作至少勾选2个案卷,请重试!')
return false
}
this.$refs.combineFileRef.combineFileVisible = true
},
//
handleInsertFile() {
if (this.selections.length !== 1) {
this.$message('插卷操作只可勾选唯一目标条目,请先确认!')
return false
}
this.$refs.insertFileRef.insertFileVisible = true
},
//
handleCollectMoveFile() {
if (this.selections.length === 0) {
this.$message('您还未勾选需要操作的条目,请先确认!')
return false
}
this.$refs.collectMoveFileRef.collectMoveFileVisible = true
},
//
handleFiling() {
if (this.selections.length === 0) {
this.$message('您还未勾选需要操作的条目,请先确认!')
return false
}
this.filingVisible = true
},
handleFilingConfirm() {
this.filingVisible = false
}
}
}

22
src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/data.json

@ -0,0 +1,22 @@
[
{
"id": 1,
"label": "字段A",
"isType": 1
},
{
"id": 2,
"label": "字段B",
"isType": 0
},
{
"id": 3,
"label": "字段C",
"isType": 1
},
{
"id": 4,
"label": "字段D",
"isType": 1
}
]

217
src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/index.vue

@ -0,0 +1,217 @@
<template>
<!-- 移动 -->
<el-dialog class="collectMoveFile-dialog" title="移动" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="collectMoveFileVisible">
<div class="collectMove-main">
<div class="collectMove-left">
<h3 class="arc-title arc-title-top">档案门类</h3>
<el-tree :data="treeList" :props="defaultProps" @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 || data.isType === 3 || data.isType===5" class="iconArch">
{{ data.cnName }}
</span>
<span v-if="data.isType===4" class="iconFile">
{{ data.cnName }}
</span>
</span>
</el-tree>
</div>
<div class="collectMove-right">
<div class="head-search">
<el-input v-model="query.blurry" clearable size="small" placeholder="输入题名或档号搜索" prefix-icon="el-icon-search" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
<rrOperation />
</div>
<div class="table-list">
<el-table :data="crud.data" style="width: 100%" height="380">
<el-table-column type="selection" :reserve-selection="true" width="55" align="center" />
<el-table-column prop="number" label="题名" width="120" />
<el-table-column prop="operator" label="档号" width="120" />
<el-table-column prop="operationType" label="年度" width="120" />
<el-table-column prop="file" label="所属门类" width="160" />
<el-table-column prop="createDate" label="所属分类" width="200" />
<el-table-column prop="createDate" label="起始时间" width="200" />
<el-table-column prop="createDate" label="终止时间" width="200" />
</el-table>
<!--分页组件-->
<el-pagination
:current-page="page.page"
:total="page.total"
:page-size="page.size"
:pager-count="5"
layout="total, prev, pager, next, sizes"
@size-change="handleSizeChange"
@current-change="handleCurrentPage"
/>
</div>
<div class="move-checked">
<el-checkbox-group v-model="checkList">
<div class="checkbox-style">
<span>移动电子文件</span>
<el-checkbox label="移动电子文件" />
</div>
<div class="checkbox-style">
<span>保留原条目</span>
<el-checkbox label="保留原条目" />
</div>
</el-checkbox-group>
</div>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="collectMoveFileVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleComfireCollectMoveFile">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import CRUD, { presenter, crud } from '@crud/crud'
import rrOperation from '@crud/RR.operation'
import treeJson from './tree.json'
export default {
name: 'CollectMoveFile',
components: { rrOperation },
mixins: [presenter(), crud()],
cruds() {
return CRUD({
url: 'api/archives-type/menu',
crudMethod: { },
optShow: {
add: false,
edit: false,
del: false,
reset: true,
download: false,
group: false
}
})
},
data() {
return {
query: {
blurry: ''
},
collectMoveFileVisible: false,
treeList: [],
defaultProps: {
children: 'children',
label: 'label'
},
tableData: [],
page: {
page: 1,
size: 10,
total: 0
},
checkList: []
}
},
created() {
this.treeList = treeJson.data
},
mounted() {
},
methods: {
handleComfireCollectMoveFile() {
this.collectMoveFileVisible = false
},
handleNodeClick(data) {
console.log(data)
},
handleSizeChange(size) {
this.page.size = size
this.page.page = 1
},
handleCurrentPage(val) {
this.page.page = val
}
}
}
</script>
<style lang='scss' scoped>
.collectMoveFile-dialog{
::v-deep .el-dialog{
width: 895px;
.search-btn-box{
.el-button{
margin-left: 10px;
}
}
}
}
.collectMove-main{
display: flex;
justify-content: space-between;
height: 557px;
border: 1px solid #E6E8ED;
.collectMove-left{
width: 297px;
.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%;
}
}
}
.collectMove-right{
width: 579px;
border-left: 1px solid #E6E8ED;
.head-search{
padding: 20px 20px 0 0;
justify-content: flex-end;
}
.table-list{
height: 440px;
border-bottom: 1px solid #E6E8ED;
.el-pagination{
margin: 15px 0 !important;
}
}
.move-checked{
padding: 0 30px;
height: 42px;
line-height: 42px;
.el-checkbox-group{
display: flex;
justify-content: flex-start;
}
.checkbox-style{
font-size: 14px;
color: #0C0E1E;
margin-right: 30px;
}
.el-checkbox{
margin-right: 20px;
::v-deep .el-checkbox__label{
opacity: 0;
margin-left: -100px;
padding-left: 0;
}
}
}
}
}
.dialog-footer{
margin-top: 20px;
}
</style>

117
src/views/collectReorganizi/collectionLibrary/module/collectMoveFile/tree.json

@ -0,0 +1,117 @@
{
"code": 200,
"message": "操作成功",
"data": [
{
"id": "0ED1F5CF0EBAC01B914132",
"cnName": "档案",
"enName": "archives",
"pid": "0",
"isType": 1,
"categorySeq": 0,
"children": [
{
"id": "D70C5574B8DCE7A65F7037",
"cnName": "文书档案",
"enName": null,
"pid": "0ED1F5CF0EBAC01B914132",
"isType": 1,
"categorySeq": null,
"children": [
{
"id": "F0F59CC713C83AE4BAB99B",
"cnName": "文书档案(案卷)",
"enName": "tb_2023_06_21_1687319104861",
"pid": "D70C5574B8DCE7A65F7037",
"isType": 3,
"categorySeq": 1,
"children": [
{
"id": "CD135F6A77018CE04D4FDB",
"cnName": "文书档案(卷内)",
"enName": "tb_2023_06_21_1687319123605",
"pid": "F0F59CC713C83AE4BAB99B",
"isType": 4,
"categorySeq": null,
"children": [],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687319124000,
"update_time": 1687319124000
}
],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687319105000,
"update_time": 1687319114000
},
{
"id": "005E76FEC5A2AAB368CA1F",
"cnName": "文书档案(资料)",
"enName": "tb_2023_06_21_1687330804487",
"pid": "D70C5574B8DCE7A65F7037",
"isType": 5,
"categorySeq": 2,
"children": [],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687330805000,
"update_time": 1687330811000
}
],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687243138000,
"update_time": 1687243138000
},
{
"id": "D70C5574B8DCE7A65F7038",
"cnName": "基建档案",
"enName": null,
"pid": "0ED1F5CF0EBAC01B914132",
"isType": 1,
"categorySeq": null,
"children": [
{
"id": "F0F59CC713C83AE4BAB99B",
"cnName": "基建档案(项目)",
"enName": "tb_2023_06_21_1687319104861",
"pid": "D70C5574B8DCE7A65F7037",
"isType": 2,
"categorySeq": 1,
"children": [
],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687319105000,
"update_time": 1687319114000
}
],
"remark": null,
"typeMetic": true,
"create_by": "admin",
"update_by": "admin",
"create_time": 1687243138000,
"update_time": 1687243138000
}
],
"remark": "",
"typeMetic": true,
"create_by": null,
"update_by": "admin",
"create_time": null,
"update_time": 1655112365000
}
],
"timestamp": 1688967875784
}

63
src/views/collectReorganizi/collectionLibrary/module/combineFile/index.vue

@ -0,0 +1,63 @@
<template>
<!-- 合卷 -->
<el-dialog class="fileUpload-dialog" title="合卷" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="combineFileVisible">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="合并到" prop="combineNumber">
<el-select v-model="form.combineNumber" placeholder="请选择" style="width: 400px;">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="combineFileVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleComfireCombineFile">确定</el-button>
</div>
</el-dialog>
</template>
<script>
export default {
name: 'CombineFile',
components: { },
mixins: [],
data() {
return {
combineFileVisible: false,
form: {
combineNumber: ''
},
options: [
{
value: '1',
label: '档号1'
}
],
rules: {
combineNumber: [
{ required: true, message: '请选择', trigger: 'change' }
]
}
}
},
created() {
},
mounted() {
},
methods: {
handleComfireCombineFile() {
this.combineFileVisible = false
}
}
}
</script>
<style lang='scss' scoped>
.dialog-footer{
margin-top: 0;
}
</style>

166
src/views/collectReorganizi/collectionLibrary/module/fileNumberAdjustment/index.vue

@ -14,11 +14,63 @@
</div>
</el-dialog>
<el-dialog title="档案调整" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="adjustmentVisible">
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="moveVisible = false">取消</el-button>
<el-button type="primary">确定</el-button>
</div>
<el-dialog class="adjust-dialog" title="档案调整" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="adjustmentVisible">
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
<div style="display: flex; justify-content: flex-start;">
<el-form-item label="需要调整字段" prop="adjustFields">
<el-select v-model="form.adjustFields" placeholder="请选择" style="width: 225px;">
<el-option
v-for="item in fieldsOptions"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="起始值" prop="initialValue">
<!-- <el-input v-model="form.initialValue" style="width: 225px;" /> -->
<el-input-number
v-model.number="form.initialValue"
:min="0"
:max="999"
controls-position="right"
/>
</el-form-item>
<el-button class="adjust-submit" type="primary">调整</el-button>
</div>
<div style="display: flex; justify-content: flex-start;">
<el-form-item label="生成编码字段" prop="codeFields">
<el-select v-model="form.codeFields" placeholder="请选择" style="width: 225px;">
<el-option
v-for="item in codeFieldsOptions"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-button class="adjust-submit" type="primary">调整</el-button>
</div>
</el-form>
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="number" label="题名" width="120" />
<el-table-column prop="operator" label="档号" width="120" />
<el-table-column prop="operationType" label="年度" width="120" />
<el-table-column prop="file" label="所属门类" width="160" />
<el-table-column prop="createDate" label="所属分类" width="200" />
<el-table-column prop="createDate" label="起始时间" width="200" />
<el-table-column prop="createDate" label="终止时间" width="200" />
</el-table>
<!--分页组件-->
<el-pagination
:current-page="page.page"
:total="page.total"
:page-size="page.size"
:pager-count="5"
layout="total, prev, pager, next, sizes"
@size-change="handleSizeChange"
@current-change="handleCurrentPage"
/>
</el-dialog>
</div>
</template>
@ -28,10 +80,85 @@ export default {
name: 'FileNumberAadjustment',
components: { },
mixins: [],
props: {
selectedCategory: {
type: Object,
default: function() {
return {}
}
}
},
data() {
return {
adjustmentTipVisible: false,
adjustmentVisible: false
adjustmentVisible: false,
form: {
adjustFields: '',
initialValue: '',
codeFields: ''
},
fieldsOptions: [
],
codeFieldsOptions: [
{
value: '1',
label: '档号'
}
],
rules: {
initialValue: [
{ required: true, message: '请输入起始值', trigger: 'blur' }
]
},
tableData: [],
page: {
page: 1,
size: 10,
total: 0
},
isType: 2
}
},
watch: {
isType(newVal) {
if (newVal === 3) {
if (this.selectedCategory.isType === 5) {
this.fieldsOptions = [{
value: '目录号',
label: '目录号'
},
{
value: '件号',
label: '件号'
},
{
value: '档号',
label: '档号'
}]
} else {
this.fieldsOptions = [{
value: '案卷号',
label: '案卷号'
},
{
value: '档号',
label: '档号'
}]
}
} else if (newVal === 4) {
this.fieldsOptions = [{
value: '卷内顺序号',
label: '卷内顺序号'
},
{
value: '目录号',
label: '目录号'
},
{
value: '档号',
label: '档号'
}]
}
}
},
created() {
@ -42,10 +169,37 @@ export default {
handleComfireAdjustment() {
this.adjustmentTipVisible = false
this.adjustmentVisible = true
},
handleSizeChange(size) {
this.page.size = size
this.page.page = 1
},
handleCurrentPage(val) {
this.page.page = val
}
}
}
</script>
<style lang='scss' scoped>
.adjust-dialog{
::v-deep .el-dialog{
width: 815px;
}
}
::v-deep .el-dialog .el-dialog__body .el-form-item:nth-child(odd){
margin-right: 0;
}
.adjust-submit{
padding: 0 20px;
margin-left: 10px;
height: 30px;
line-height: 28px;
color: #fff;
background: #1F55EB;
&:hover{
color: #fff;
background: #1F55EB;
}
}
</style>

103
src/views/collectReorganizi/collectionLibrary/module/insertFile/index.vue

@ -0,0 +1,103 @@
<template>
<!-- 插件 -->
<el-dialog class="insertFile-dialog" title="插件" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="insertFileVisible">
<div class="head-search">
<el-input v-model="query.blurry" clearable size="small" placeholder="输入题名搜索" prefix-icon="el-icon-search" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
<rrOperation />
</div>
<el-table :data="crud.data" style="width: 100%">
<el-table-column type="selection" :reserve-selection="true" width="55" align="center" />
<el-table-column prop="number" label="题名" width="120" />
<el-table-column prop="operator" label="档号" width="120" />
<el-table-column prop="operationType" label="年度" width="120" />
<el-table-column prop="file" label="所属门类" width="160" />
<el-table-column prop="createDate" label="所属分类" width="200" />
<el-table-column prop="createDate" label="起始时间" width="200" />
<el-table-column prop="createDate" label="终止时间" width="200" />
</el-table>
<!--分页组件-->
<el-pagination
:current-page="page.page"
:total="page.total"
:page-size="page.size"
:pager-count="5"
layout="total, prev, pager, next, sizes"
@size-change="handleSizeChange"
@current-change="handleCurrentPage"
/>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="insertFileVisible = false">取消</el-button>
<el-button type="primary" @click.native="handleComfireInsertFile">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import CRUD, { presenter, crud } from '@crud/crud'
import rrOperation from '@crud/RR.operation'
export default {
name: 'InsertFile',
components: { rrOperation },
mixins: [presenter(), crud()],
cruds() {
return CRUD({
url: 'api/archives-type/menu',
crudMethod: { },
optShow: {
add: false,
edit: false,
del: false,
reset: true,
download: false,
group: false
}
})
},
data() {
return {
query: {
blurry: ''
},
insertFileVisible: false,
tableData: [],
page: {
page: 1,
size: 10,
total: 0
}
}
},
created() {
},
mounted() {
},
methods: {
handleComfireInsertFile() {
this.insertFileVisible = false
},
handleSizeChange(size) {
this.page.size = size
this.page.page = 1
},
handleCurrentPage(val) {
this.page.page = val
}
}
}
</script>
<style lang='scss' scoped>
.insertFile-dialog{
::v-deep .el-dialog{
width: 815px;
.search-btn-box{
.el-button{
margin-left: 10px;
}
}
}
}
.dialog-footer{
margin-top: 20px;
}
</style>

7
src/views/collectReorganizi/collectionLibrary/module/uploadOriginal/index.vue

@ -1,7 +1,7 @@
<template>
<div>
<!-- 原文上传 -->
<el-dialog class="upload-dialog" :title="uploadTitle" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="uploadVisible">
<el-dialog class="fileUpload-dialog" :title="uploadTitle" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="uploadVisible">
<div class="setting-dialog">
<div class="upload-container">
<i v-if="fileList.length === 0" class="iconfont icon-tianjiawenjian upload-icon" />
@ -166,11 +166,6 @@ export default {
</script>
<style lang='scss' scoped>
.upload-dialog {
::v-deep .el-dialog{
width: 536px;
}
}
.upload-container{
display: flex;
flex-direction: column;

2
src/views/prearchiveLibrary/index.vue

@ -89,7 +89,7 @@
</el-dialog>
<!-- 批量成件 -->
<batchFile ref="batchForm" />
<!-- 批量成件 -->
<!-- 移动 -->
<moveFile ref="moveForm" />
<!-- 合并成件 -->
<el-dialog class="dialog-middle" :modal-append-to-body="false" :close-on-click-modal="false" :before-close="handleClose" :visible="mergeVisible" title="合并成件">

Loading…
Cancel
Save