增加日志备份功能和完善日志 操作
This commit is contained in:
parent
58c745980c
commit
1d84c5db55
|
|
@ -30,7 +30,7 @@ export function getSysLogs(data) {
|
||||||
//备份系统日志列表
|
//备份系统日志列表
|
||||||
export function downloadSysLogs(data) {
|
export function downloadSysLogs(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/sys/sysLog/downloadSysLogs',
|
url: '/system/sys/sysLog/downloadSysLogs',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: data,
|
params: data,
|
||||||
responseType: 'blob'
|
responseType: 'blob'
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,9 @@
|
||||||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||||
备份
|
备份
|
||||||
</el-button> -->
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,9 @@
|
||||||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||||
备份
|
备份
|
||||||
</el-button> -->
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
<el-radio-group v-model="listQuery.type" class="toptype">
|
<el-radio-group v-model="listQuery.type" class="toptype">
|
||||||
<el-radio label="1">日志类型</el-radio>
|
<el-radio label="1">日志类型</el-radio>
|
||||||
<el-radio label="2">操作类型</el-radio>
|
<el-radio label="2">操作类型</el-radio>
|
||||||
|
<el-radio label="3">操作人</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<el-button style="margin-left: 20px" class="filter-item" type="primary" @click="handleFilter">
|
<el-button style="margin-left: 20px" class="filter-item" type="primary" @click="handleFilter">
|
||||||
查询
|
查询
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,9 @@
|
||||||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||||
备份
|
备份
|
||||||
</el-button> -->
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
|
|
@ -125,7 +125,7 @@ export default {
|
||||||
listLoading: false,
|
listLoading: false,
|
||||||
tableHeight: 650,
|
tableHeight: 650,
|
||||||
operateList: operateList,
|
operateList: operateList,
|
||||||
timeList:[{id:1,name:'时间'},{id:2,name:'操作人'},{id:3,name:'操作模块'},{id:4,name:'ip'},],
|
timeList:[{id:1,name:'时间'},{id:2,name:'操作人'},{id:3,name:'操作模块'},{id:4,name:'ip'},{id:5,name:'操作类型'},],
|
||||||
sortList:[{id:1,name:'倒序'},{id:2,name:'升序'}],
|
sortList:[{id:1,name:'倒序'},{id:2,name:'升序'}],
|
||||||
listQuery: {
|
listQuery: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue