Commit 1f1c4026 authored by ytbdmhy's avatar ytbdmhy

归档version:0.4.0

parent cd46dc34
<template> <template>
<div> <div class="archive-administration">
<el-backtop target=".archive-administration" right="70" bottom="70">
<div style="text-align: center;font-size: 20px"></div>
</el-backtop>
<el-table <el-table
v-loading.fullscreen.lock="loading" v-loading.fullscreen.lock="loading"
:data="tableData" :data="tableData"
border border
style="width: 100%"> style="width: 100%">
<!-- @row-click="getFileList">-->
<el-table-column <el-table-column
align="center" align="center"
label="序号" label="序号"
...@@ -17,7 +19,7 @@ ...@@ -17,7 +19,7 @@
align="center" align="center"
prop="type" prop="type"
label="档案类别" label="档案类别"
width="250"> width="100">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
...@@ -31,7 +33,11 @@ ...@@ -31,7 +33,11 @@
label="档号" label="档号"
width="180"> width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="getFileList(scope.row)">{{scope.row.number}}</el-button> <el-button
type="text"
@click="getFileList(scope.row)">
{{scope.row.number}}
</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -124,9 +130,19 @@ ...@@ -124,9 +130,19 @@
label="案卷号" label="案卷号"
width="70"> width="70">
</el-table-column> </el-table-column>
<el-table-column align="center" fixed="right" label="操作" width="100"> <el-table-column
align="center"
fixed="right"
label="操作"
width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" plain @click="exportArchive(scope.row)">导出</el-button> <el-button
type="primary"
size="mini"
plain
@click="exportArchive(scope.row)">
导出
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -301,44 +317,8 @@ ...@@ -301,44 +317,8 @@
margin-top: 10px; margin-top: 10px;
} }
.wrap { .archive-administration {
overflow: hidden;
position: relative;
}
.masks {
width: 100%;
height: 100%; height: 100%;
position: absolute; overflow-y: scroll;
left: 0;
top: 0;
z-index: 200
}
.form {
float: left;
width: 45%;
margin-left: 20px
}
.imgcon {
margin: 0 auto;
box-shadow: 0 0 15px lightgray;
overflow: hidden;
margin-bottom: 40px
}
.block {
width: 23%
}
.block {
float: left;
height: 100%;
margin-right: 20px
}
.imtil {
padding: 0 0 20px 0
} }
</style> </style>
<template> <template>
<div> <div class="archive-expect">
<el-backtop target=".archive-expect" right="70" bottom="70">
<div style="text-align: center;font-size: 20px"></div>
</el-backtop>
<el-table <el-table
v-loading.fullscreen.lock="loading" v-loading.fullscreen.lock="loading"
:data="tableData" :data="tableData"
border border
style="width: 100%"> style="width: 100%">
<!-- @row-click="getFileList">-->
<el-table-column <el-table-column
align="center" align="center"
type="selection" type="selection"
...@@ -28,10 +30,8 @@ ...@@ -28,10 +30,8 @@
<el-table :data="scope.row.eventLogList" border style="width: 100%"> <el-table :data="scope.row.eventLogList" border style="width: 100%">
<el-table-column align="center" label="文件序号" type="index" width="60"></el-table-column> <el-table-column align="center" label="文件序号" type="index" width="60"></el-table-column>
<el-table-column align="center" prop="eventTimeStr" label="成文时间" width="180"></el-table-column> <el-table-column align="center" prop="eventTimeStr" label="成文时间" width="180"></el-table-column>
<el-table-column align="center" prop="name" label="姓名" width="100" <el-table-column align="center" prop="nameDec" label="姓名" width="100"></el-table-column>
:formatter="decryptCellValue"></el-table-column> <el-table-column align="center" prop="idcardDec" label="身份证" width="200"></el-table-column>
<el-table-column align="center" prop="idcard" label="身份证" width="200"
:formatter="decryptCellValue"></el-table-column>
<el-table-column align="center" prop="concatAddress" label="乡镇/村社" width="200"></el-table-column> <el-table-column align="center" prop="concatAddress" label="乡镇/村社" width="200"></el-table-column>
<el-table-column <el-table-column
align="center" align="center"
...@@ -103,51 +103,19 @@ ...@@ -103,51 +103,19 @@
</el-table> </el-table>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- align="center"--> align="center"
<!-- prop="type"--> prop="eventSign"
<!-- label="档案类别"--> label="业务类型"
<!-- width="250">--> :formatter="getEventType"
<!-- </el-table-column>--> width="150">
<!-- <el-table-column--> </el-table-column>
<!-- align="center"-->
<!-- prop="volumeNumber"-->
<!-- label="全宗号"-->
<!-- width="70">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="number"-->
<!-- label="档号"-->
<!-- width="180">-->
<!--&lt;!&ndash; <template slot-scope="scope">&ndash;&gt;-->
<!--&lt;!&ndash; <el-button type="text" @click="getFileList(scope.row)">{{scope.row.number}}</el-button>&ndash;&gt;-->
<!--&lt;!&ndash; </template>&ndash;&gt;-->
<!-- </el-table-column>-->
<el-table-column <el-table-column
align="center" align="center"
prop="year" prop="year"
label="年度" label="年度"
width="70"> width="70">
</el-table-column> </el-table-column>
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="retentionPeriod"-->
<!-- label="保管期限"-->
<!-- width="60">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="institution"-->
<!-- label="机构(问题)"-->
<!-- width="70">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="responsiblePerson"-->
<!-- label="责任者"-->
<!-- width="130">-->
<!-- </el-table-column>-->
<el-table-column <el-table-column
align="center" align="center"
prop="title" prop="title"
...@@ -178,12 +146,6 @@ ...@@ -178,12 +146,6 @@
label="件数" label="件数"
width="60"> width="60">
</el-table-column> </el-table-column>
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="createTimeStr"-->
<!-- label="归档时间"-->
<!-- width="120">-->
<!-- </el-table-column>-->
<el-table-column <el-table-column
align="center" align="center"
prop="fileType" prop="fileType"
...@@ -200,23 +162,35 @@ ...@@ -200,23 +162,35 @@
align="center" align="center"
prop="categoryType" prop="categoryType"
label="类别代码" label="类别代码"
width="70"> width="60">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="businessType" prop="businessType"
label="业务类别" label="业务类别"
width="200"> width="250">
</el-table-column> </el-table-column>
<!-- <el-table-column--> <el-table-column
<!-- align="center"--> align="center"
<!-- prop="fileNumber"--> fixed="right"
<!-- label="案卷号"--> label="操作"
<!-- width="70">--> width="200">
<!-- </el-table-column>-->
<el-table-column align="center" fixed="right" label="操作" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" plain @click="fileArchive(scope.row)">归档</el-button> <el-input
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
v-model="scope.row.fileNumber"
style="float: left;width: 63%"
placeholder="输入案卷号"
clearable
size="mini"></el-input>
<el-button
style="float: left;margin-left: 10px"
type="primary"
size="mini"
plain
@click="fileArchive(scope.row)">
归档
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -263,6 +237,12 @@ ...@@ -263,6 +237,12 @@
this.$api.getlist.selectExpectArchive(data) this.$api.getlist.selectExpectArchive(data)
.then((response) => { .then((response) => {
if (response.code === 200) { if (response.code === 200) {
for (const i in response.data.content) {
for (const j in response.data.content[i].eventLogList) {
response.data.content[i].eventLogList[j].nameDec = this.$options.methods.decryptParam(response.data.content[i].eventLogList[j].name);
response.data.content[i].eventLogList[j].idcardDec = this.$options.methods.decryptParam(response.data.content[i].eventLogList[j].idcard);
}
}
this.tableData = response.data.content; this.tableData = response.data.content;
this.totals = response.data.totalSize; this.totals = response.data.totalSize;
} }
...@@ -296,11 +276,24 @@ ...@@ -296,11 +276,24 @@
}); });
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
}, },
decryptCellValue(row, column, cellValue, index) { decryptCellValue(row, column, cellValue) {
if (cellValue === null || cellValue === "") return null; this.decryptParam(cellValue);
return this.decrypt(cellValue); },
decryptParam(param) {
if (param === null || param === "") return null;
return this.decrypt(param);
}, },
fileArchive(archive) { fileArchive(archive) {
if (archive.fileNumber === null || archive.fileNumber === "" || archive.fileNumber < 0) {
this.$message({
showClose: true,
message: "请输入案卷号",
type: 'warning',
duration: 3000
});
return;
}
this.loading = true;
const archives = [archive]; const archives = [archive];
this.fileArchives(archives); this.fileArchives(archives);
}, },
...@@ -324,6 +317,7 @@ ...@@ -324,6 +317,7 @@
}); });
} }
this.reload(); this.reload();
this.loading = false;
}) })
.catch((response) => { .catch((response) => {
this.$message({ this.$message({
...@@ -332,8 +326,8 @@ ...@@ -332,8 +326,8 @@
type: 'error', type: 'error',
duration: 10000 duration: 10000
}); });
});
this.loading = false; this.loading = false;
});
}, },
reload() { reload() {
const data = { const data = {
...@@ -343,8 +337,26 @@ ...@@ -343,8 +337,26 @@
eventTypeDetail: this.eventTypeDetail, eventTypeDetail: this.eventTypeDetail,
}; };
this.search(data); this.search(data);
},
getEventType(row, column, cellValue) {
switch (cellValue) {
case "1" : return "参保登记";
case "3" : return "待遇申请";
case "4" : return "参保注销";
case "5" : return "补缴保费";
case "6" : return "升档改办";
case "7" : return "关系转移";
case "2-1" : return "信息变更/档次变更";
case "2-2" : return "信息变更/银行卡变更";
case "2-3" : return "信息变更/手机号变更";
case "2-4" : return "信息变更/参保身份变更";
case "2-5" : return "信息变更/户籍地址变更";
case "2-6" : return "信息变更/姓名变更";
case "2-7" : return "信息变更/身份证变更";
default : return null;
} }
}, },
},
created() { created() {
this.loading = true; this.loading = true;
const data = { const data = {
...@@ -354,8 +366,15 @@ ...@@ -354,8 +366,15 @@
this.$api.getlist.selectExpectArchive(data) this.$api.getlist.selectExpectArchive(data)
.then((response) => { .then((response) => {
if (response.code === 200) { if (response.code === 200) {
for (const i in response.data.content) {
for (const j in response.data.content[i].eventLogList) {
response.data.content[i].eventLogList[j].nameDec = this.$options.methods.decryptParam(response.data.content[i].eventLogList[j].name);
response.data.content[i].eventLogList[j].idcardDec = this.$options.methods.decryptParam(response.data.content[i].eventLogList[j].idcard);
}
}
this.tableData = response.data.content; this.tableData = response.data.content;
this.totals = response.data.totalSize; this.totals = response.data.totalSize;
console.log(this.tableData);
} }
}) })
.catch((response) => { .catch((response) => {
...@@ -375,44 +394,8 @@ ...@@ -375,44 +394,8 @@
margin-left: 20px; margin-left: 20px;
} }
.wrap { .archive-expect {
overflow: hidden;
position: relative;
}
.masks {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 200
}
.form {
float: left;
width: 45%;
margin-left: 20px
}
.imgcon {
margin: 0 auto;
box-shadow: 0 0 15px lightgray;
overflow: hidden;
margin-bottom: 40px
}
.block {
width: 23%
}
.block {
float: left;
height: 100%; height: 100%;
margin-right: 20px overflow-y: scroll;
}
.imtil {
padding: 0 0 20px 0
} }
</style> </style>
<template> <template>
<div> <div class="files-of-archive">
<el-backtop target=".files-of-archive" right="70" bottom="70">
<div style="text-align: center;font-size: 20px"></div>
</el-backtop>
<div align="left" v-if="this.archiveObject" class="files-of-archive-form">
<el-form
ref="form"
:model="this.archiveObject"
label-position="left">
<el-form-item
label="当前档案案卷正题名"
label-width="150px"
style="width: 30%;float: left">
<div class="masks"></div>
<el-input
v-model="this.archiveObject.title"></el-input>
</el-form-item>
<el-form-item
label="当前档案案卷号"
label-width="110px"
style="width: 10%;float: left;margin-left: 20px">
<div class="masks"></div>
<el-input
v-model="this.archiveObject.fileNumber"></el-input>
</el-form-item>
<el-button
type="primary"
style="width: 10%;margin-left: 20px"
@click="searchAllArchiveFile">
查看所有档案文件
</el-button>
</el-form>
</div>
<div style="margin-top: 10px" class="files-of-archive-table">
<el-table <el-table
v-loading.fullscreen.lock="loading" v-loading.fullscreen.lock="loading"
:data="tableData" :data="tableData"
...@@ -14,38 +47,38 @@ ...@@ -14,38 +47,38 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="type"
label="档案类别" label="档案类别"
:formatter="getArchiveType" width="100">
width="250">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="volumeNumber"
label="全宗号" label="全宗号"
:formatter="getArchiveVolumeNumber"
width="70"> width="70">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="archiveNumber"
label="档号" label="档号"
:formatter="getArchiveNumber"
width="180"> width="180">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="year"
label="年度" label="年度"
:formatter="getArchiveYear"
width="70"> width="70">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="retentionPeriod"
label="保管期限" label="保管期限"
:formatter="getArchiveRetentionPeriod"
width="60"> width="60">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="institution"
label="机构(问题)" label="机构(问题)"
:formatter="getArchiveInstitution"
width="70"> width="70">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -62,8 +95,8 @@ ...@@ -62,8 +95,8 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="responsiblePerson"
label="责任者" label="责任者"
:formatter="getArchiveResponsiblePerson"
width="130"> width="130">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -92,20 +125,20 @@ ...@@ -92,20 +125,20 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="fileType"
label="档案类别" label="档案类别"
:formatter="getArchiveFileType"
width="100"> width="100">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="secondaryCategory"
label="二级类目" label="二级类目"
:formatter="getArchiveSecondaryCategory"
width="250"> width="250">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="categoryType"
label="类别代码" label="类别代码"
:formatter="getArchiveCategoryType"
width="60"> width="60">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -128,14 +161,14 @@ ...@@ -128,14 +161,14 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="businessType"
label="业务类别" label="业务类别"
:formatter="getArchiveBusinessType"
width="200"> width="200">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="fileNumber"
label="案卷号" label="案卷号"
:formatter="getArchiveFileNumber"
width="70"> width="70">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -209,13 +242,13 @@ ...@@ -209,13 +242,13 @@
<el-button <el-button
class="fileButton" class="fileButton"
type="primary" type="primary"
@click="fileEventLogs"> >
导出文件列表 导出文件列表
</el-button> </el-button>
<el-pagination <el-pagination
class="pone" class="pone"
:page-size='pageSize' :page-size='pageSize'
:page-sizes="[10, 30, 50]" :page-sizes="[10, 30, 50, 100]"
@size-change="handleSizeChange" @size-change="handleSizeChange"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="totals" :total="totals"
...@@ -223,12 +256,11 @@ ...@@ -223,12 +256,11 @@
@current-change="current_change"> @current-change="current_change">
</el-pagination> </el-pagination>
</div> </div>
</div>
</template> </template>
<script> <script>
import CryptoJS from 'crypto-js' import CryptoJS from 'crypto-js'
import {Loading} from 'element-ui';
export default { export default {
data() { data() {
return { return {
...@@ -248,7 +280,7 @@ ...@@ -248,7 +280,7 @@
const data = { const data = {
pageNum: pageNum, pageNum: pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
archiveId: this.archiveObject.id archiveId: this.archiveObject ? this.archiveObject.id : null
}; };
this.search(data); this.search(data);
}, },
...@@ -258,12 +290,15 @@ ...@@ -258,12 +290,15 @@
.then((response) => { .then((response) => {
if (response.code === 200) { if (response.code === 200) {
for (const i in response.data.content) { for (const i in response.data.content) {
// if (response.data.content[i].name !== null && response.data.content[i].name !== "") { if (response.data.content[i].name !== null && response.data.content[i].name !== "") {
// response.data.content[i].name = this.decrypt(response.data.content[i].name); response.data.content[i].name = this.decrypt(response.data.content[i].name);
// } }
// if (response.data.content[i].idcard !== null && response.data.content[i].idcard !== "") { if (response.data.content[i].idcard !== null && response.data.content[i].idcard !== "") {
// response.data.content[i].idcard = this.decrypt(response.data.content[i].idcard); response.data.content[i].idcard = this.decrypt(response.data.content[i].idcard);
// } }
if (response.data.content[i].title !== null && response.data.content[i].title !== "") {
response.data.content[i].title = this.decrypt(response.data.content[i].title);
}
} }
this.tableData = response.data.content; this.tableData = response.data.content;
this.totals = response.data.totalSize; this.totals = response.data.totalSize;
...@@ -280,7 +315,7 @@ ...@@ -280,7 +315,7 @@
const data = { const data = {
pageNum: 1, pageNum: 1,
pageSize: pageSize, pageSize: pageSize,
archiveId: this.archiveObject.id archiveId: this.archiveObject ? this.archiveObject.id : null
}; };
this.search(data); this.search(data);
}, },
...@@ -299,42 +334,18 @@ ...@@ -299,42 +334,18 @@
}); });
return decrypted.toString(CryptoJS.enc.Utf8); return decrypted.toString(CryptoJS.enc.Utf8);
}, },
getArchiveType() { searchAllArchiveFile() {
return this.archiveObject.type; this.pageNum = 1;
}, this.indexStart = 1;
getArchiveVolumeNumber() { this.archiveObject = null;
return this.archiveObject.volumeNumber; sessionStorage.setItem("archiveObject", null);
}, const data = {
getArchiveNumber() { pageNum: this.pageNum,
return this.archiveObject.number; pageSize: this.pageSize,
}, archiveId: null
getArchiveYear() { };
return this.archiveObject.year; this.search(data);
}, }
getArchiveRetentionPeriod() {
return this.archiveObject.retentionPeriod;
},
getArchiveInstitution() {
return this.archiveObject.institution;
},
getArchiveResponsiblePerson() {
return this.archiveObject.responsiblePerson;
},
getArchiveFileType() {
return this.archiveObject.fileType;
},
getArchiveSecondaryCategory() {
return this.archiveObject.secondaryCategory;
},
getArchiveCategoryType() {
return this.archiveObject.categoryType;
},
getArchiveBusinessType() {
return this.archiveObject.businessType;
},
getArchiveFileNumber() {
return this.archiveObject.fileNumber;
},
}, },
created() { created() {
// this.loading = true; // this.loading = true;
...@@ -345,18 +356,21 @@ ...@@ -345,18 +356,21 @@
const data = { const data = {
pageNum: 1, pageNum: 1,
pageSize: this.pageSize, pageSize: this.pageSize,
archiveId: this.archiveObject.id archiveId: this.archiveObject ? this.archiveObject.id : null
}; };
this.$api.getlist.selectArchiveFiles(data) this.$api.getlist.selectArchiveFiles(data)
.then((response) => { .then((response) => {
if (response.code === 200) { if (response.code === 200) {
for (const i in response.data.content) { for (const i in response.data.content) {
// if (response.data.content[i].name !== null && response.data.content[i].name !== "") { if (response.data.content[i].name !== null && response.data.content[i].name !== "") {
// response.data.content[i].name = this.decrypt(response.data.content[i].name); response.data.content[i].name = this.decrypt(response.data.content[i].name);
// } }
// if (response.data.content[i].idcard !== null && response.data.content[i].idcard !== "") { if (response.data.content[i].idcard !== null && response.data.content[i].idcard !== "") {
// response.data.content[i].idcard = this.decrypt(response.data.content[i].idcard); response.data.content[i].idcard = this.decrypt(response.data.content[i].idcard);
// } }
if (response.data.content[i].title !== null && response.data.content[i].title !== "") {
response.data.content[i].title = this.decrypt(response.data.content[i].title);
}
} }
this.tableData = response.data.content; this.tableData = response.data.content;
this.totals = response.data.totalSize; this.totals = response.data.totalSize;
...@@ -383,10 +397,6 @@ ...@@ -383,10 +397,6 @@
width: 10%; width: 10%;
margin-top: 10px; margin-top: 10px;
} }
.wrap {
overflow: hidden;
position: relative;
}
.masks { .masks {
width: 100%; width: 100%;
...@@ -397,30 +407,8 @@ ...@@ -397,30 +407,8 @@
z-index: 200 z-index: 200
} }
.form { .files-of-archive {
float: left;
width: 45%;
margin-left: 20px
}
.imgcon {
margin: 0 auto;
box-shadow: 0 0 15px lightgray;
overflow: hidden;
margin-bottom: 40px
}
.block {
width: 23%
}
.block {
float: left;
height: 100%; height: 100%;
margin-right: 20px overflow-y: scroll;
}
.imtil {
padding: 0 0 20px 0
} }
</style> </style>
<template xmlns:v-popover="http://www.w3.org/1999/xhtml"> <template xmlns:v-popover="http://www.w3.org/1999/xhtml">
<div> <div class="no-archive-event-log">
<el-backtop target=".no-archive-event-log" right="70" bottom="70">
<div style="text-align: center;font-size: 20px"></div>
</el-backtop>
<div> <div>
<el-alert <el-alert
v-if="!showSelection" v-if="!showSelection"
...@@ -390,6 +393,7 @@ ...@@ -390,6 +393,7 @@
this.eventLogList = selection; this.eventLogList = selection;
}, },
fileEventLogs() { fileEventLogs() {
console.log(this.eventLogList);
if (this.eventLogList.length === 0) { if (this.eventLogList.length === 0) {
this.$message({ this.$message({
showClose: true, showClose: true,
...@@ -421,9 +425,11 @@ ...@@ -421,9 +425,11 @@
type: 'error', type: 'error',
duration: 10000 duration: 10000
}); });
this.eventLogList.length = 0;
} }
this.pageNum = 1; this.pageNum = 1;
this.reload(); this.reload();
this.loading = false;
}) })
.catch((response) => { .catch((response) => {
this.$message({ this.$message({
...@@ -432,9 +438,9 @@ ...@@ -432,9 +438,9 @@
type: 'error', type: 'error',
duration: 10000 duration: 10000
}); });
}); this.eventLogList.length = 0;
this.loading = false; this.loading = false;
});
}, },
reload() { reload() {
const data = { const data = {
...@@ -517,4 +523,8 @@ ...@@ -517,4 +523,8 @@
margin-left: 20px; margin-left: 20px;
} }
.no-archive-event-log {
height: 100%;
overflow-y: scroll;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment