|
@ -10,6 +10,7 @@ |
|
|
multiple |
|
|
multiple |
|
|
collapse-tags |
|
|
collapse-tags |
|
|
placeholder="请选择" |
|
|
placeholder="请选择" |
|
|
|
|
|
@change="handleChose" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in options" |
|
|
v-for="item in options" |
|
@ -39,38 +40,35 @@ |
|
|
height="calc(100vh - 493px)" |
|
|
height="calc(100vh - 493px)" |
|
|
@row-dblclick="handleDbClick" |
|
|
@row-dblclick="handleDbClick" |
|
|
> |
|
|
> |
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> --> |
|
|
|
|
|
<el-table-column type="index" label="序号" width="60" align="center" /> |
|
|
|
|
|
<el-table-column prop="child" label="子条数目" align="center" width="100" /> |
|
|
<el-table-column prop="child" label="子条数目" align="center" width="100" /> |
|
|
|
|
|
<el-table-column prop="security_class" label="密级" align="center" min-width="100" /> |
|
|
|
|
|
<el-table-column prop="retention" label="保管期限" align="center" min-width="100" /> |
|
|
|
|
|
<el-table-column prop="archive_year" label="年度" align="center" min-width="100" /> |
|
|
|
|
|
<el-table-column prop="fonds_no" label="全宗号" align="center" min-width="180" /> |
|
|
<el-table-column prop="category_type" label="门类级别" align="center" min-width="100"> |
|
|
<el-table-column prop="category_type" label="门类级别" align="center" min-width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<!-- 门类级别 --> |
|
|
|
|
|
<span v-if="scope.row.category_type === 5" style="width:56px">文件级</span> |
|
|
<span v-if="scope.row.category_type === 5" style="width:56px">文件级</span> |
|
|
<span v-if="scope.row.category_type === 4" style="width:56px">卷内级</span> |
|
|
<span v-if="scope.row.category_type === 4" style="width:56px">卷内级</span> |
|
|
<span v-if="scope.row.category_type === 3" style="width:56px">案卷级</span> |
|
|
<span v-if="scope.row.category_type === 3" style="width:56px">案卷级</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="case_name" label="门类名称" align="center" min-width="170" /> |
|
|
|
|
|
<el-table-column prop="fonds_no" label="全宗号" align="center" min-width="180" /> |
|
|
|
|
|
|
|
|
<el-table-column prop="category_name" label="门类名称" align="center" min-width="170" /> |
|
|
<el-table-column prop="archive_no" label="档号" align="center" min-width="180" /> |
|
|
<el-table-column prop="archive_no" label="档号" align="center" min-width="180" /> |
|
|
<el-table-column prop="archive_year" label="归档年度" align="center" min-width="100" /> |
|
|
|
|
|
<el-table-column prop="maintitle" label="题名" align="center" min-width="240" /> |
|
|
<el-table-column prop="maintitle" label="题名" align="center" min-width="240" /> |
|
|
<el-table-column prop="security_class" label="保密程度" align="center" min-width="100" /> |
|
|
|
|
|
<el-table-column prop="department" label="部门" align="center" min-width="100" /> |
|
|
|
|
|
|
|
|
<el-table-column type="serial_no" label="序号" width="100" align="center" /> |
|
|
|
|
|
<el-table-column type="arrive_class" label="收发类别" width="140" align="center" /> |
|
|
|
|
|
<el-table-column type="doc_no" label="发文字号" width="140" align="center" /> |
|
|
|
|
|
<el-table-column type="temp_no" label="临时卷号" width="140" align="center" /> |
|
|
<el-table-column prop="case_name" label="盒名称" align="center" min-width="180" /> |
|
|
<el-table-column prop="case_name" label="盒名称" align="center" min-width="180" /> |
|
|
<el-table-column prop="folder_location_details" label="所在位置" align="center" min-width="260"> |
|
|
|
|
|
|
|
|
<el-table-column prop="folder_location" label="所在位置" align="center" min-width="260"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="!scope.row.folder_location_details">-</span> |
|
|
|
|
|
|
|
|
<span v-if="!scope.row.folder_location">-</span> |
|
|
<span v-else> |
|
|
<span v-else> |
|
|
<el-tag effect="dark">{{ scope.row.folder_location_details }}</el-tag> |
|
|
|
|
|
|
|
|
<el-tag effect="dark">{{ scope.row.folder_location }}</el-tag> |
|
|
</span> |
|
|
</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="create_time" label="创建时间" align="center" min-width="180"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<div>{{ scope.row.create_time | parseTime }}</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column prop="created_date" label="成文日期" align="center" min-width="180" /> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<el-pagination :page-size.sync="page.size" :total="page.total" :current-page.sync="page.page" style="margin-top: 8px;" layout="total, prev, pager, next, sizes" @size-change="sizeChangeHandler($event)" @current-change="pageChangeHandler" /> |
|
|
<el-pagination :page-size.sync="page.size" :total="page.total" :current-page.sync="page.page" style="margin-top: 8px;" layout="total, prev, pager, next, sizes" @size-change="sizeChangeHandler($event)" @current-change="pageChangeHandler" /> |
|
|
</div> |
|
|
</div> |
|
@ -132,8 +130,17 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
handleChose(val) { |
|
|
|
|
|
if (val.length < 1) { |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
this.select = ['maintitle'] // 重新设置 v-model 的值 |
|
|
|
|
|
}) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
getSelectLabel(option) { |
|
|
getSelectLabel(option) { |
|
|
return this.options.find((c) => c.value === option)?.label |
|
|
|
|
|
|
|
|
const selectedOption = this.options.find((c) => c.value === option) |
|
|
|
|
|
return selectedOption ? selectedOption.label : '' |
|
|
}, |
|
|
}, |
|
|
// 双击详情 |
|
|
// 双击详情 |
|
|
handleDbClick(row) { |
|
|
handleDbClick(row) { |
|
@ -158,6 +165,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 首页 / 搜索页切换操作 |
|
|
// 首页 / 搜索页切换操作 |
|
|
handleSearch() { |
|
|
handleSearch() { |
|
|
|
|
|
if (this.select.length === 0) { |
|
|
|
|
|
this.$message.warning('请选择检索条件!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (this.$route.path.indexOf('dashboard') !== -1) { |
|
|
if (this.$route.path.indexOf('dashboard') !== -1) { |
|
|
this.$router.push('/archivesManage/archivesSearch') |
|
|
this.$router.push('/archivesManage/archivesSearch') |
|
|
localStorage.setItem('homeSearchWords', this.keywords) |
|
|
localStorage.setItem('homeSearchWords', this.keywords) |
|
|