feat: 回滚
This commit is contained in:
parent
f82c90a8f8
commit
578ac166ba
|
@ -42,5 +42,4 @@ export const menuAside = supplementPath([
|
|||
// }
|
||||
{ path: '/resolveRecord', title: '解析记录', icon: 'fa-solid fa-compass' },
|
||||
{ path: '/versionRecord', title: '版本记录', icon: 'fa-solid fa-compass' },
|
||||
{ path: '/serverStatus', title: '服务状态', icon: 'fa-solid fa-compass' }
|
||||
])
|
||||
|
|
|
@ -63,15 +63,6 @@ const frameIn = [
|
|||
auth: true
|
||||
},
|
||||
component: _import('core/versionRecord')
|
||||
},
|
||||
{
|
||||
path: 'serverStatus',
|
||||
name: 'ServerStatus',
|
||||
meta: {
|
||||
title: '服务状态',
|
||||
auth: true
|
||||
},
|
||||
component: _import('core/serverStatus')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<template>
|
||||
<d2-container>
|
||||
<template slot="header">Page 1 header</template>
|
||||
Hello World
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'ServerStatus'
|
||||
}
|
||||
</script>
|
|
@ -1,5 +1,10 @@
|
|||
<template>
|
||||
<d2-container>
|
||||
<template slot="header">
|
||||
<div style="text-align: right">
|
||||
<el-button type="primary" @click="queryPage(1, pageSize)">刷新</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<el-table
|
||||
:data="tableData"
|
||||
height="520"
|
||||
|
@ -93,7 +98,9 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
_this.doRollback(row)
|
||||
_this.queryPage(1, this.pageSize)
|
||||
setTimeout(function () {
|
||||
_this.queryPage(1, _this.pageSize)
|
||||
}, 1000)
|
||||
}).catch(() => {
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue