处理 alarm 模块,DB Monitor overview 页面表格字段,及样式调整
处理新增表单的校验问题 调整instances tablespace 页签查询接口及参数
This commit is contained in:
parent
d57dcfa147
commit
9c30a2d773
|
@ -2,8 +2,8 @@
|
||||||
<div style="height: 100%">
|
<div style="height: 100%">
|
||||||
<div class="monitor-search">
|
<div class="monitor-search">
|
||||||
<a-row type="flex" :gutter="10">
|
<a-row type="flex" :gutter="10">
|
||||||
<a-col flex="335px">
|
<a-col flex="305px">
|
||||||
<span class="item-label">Database name</span>
|
<span class="item-label">DataSource</span>
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 180px"
|
style="width: 180px"
|
||||||
v-model="name"
|
v-model="name"
|
||||||
|
@ -154,7 +154,7 @@ export default {
|
||||||
},
|
},
|
||||||
getDbNameList() {
|
getDbNameList() {
|
||||||
let params = {
|
let params = {
|
||||||
dbType: 'ORACLE',
|
sourceId: this.name,
|
||||||
}
|
}
|
||||||
getAction('/sysDatabase/dbNames', params).then((res) => {
|
getAction('/sysDatabase/dbNames', params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
@ -176,8 +176,8 @@ export default {
|
||||||
ondbNameChange(val) {
|
ondbNameChange(val) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
let params = {
|
let params = {
|
||||||
dbType: 'ORACLE',
|
sourceId: this.name,
|
||||||
dataBase: val,
|
dbName: val,
|
||||||
}
|
}
|
||||||
getAction('/sysDatabase/dbInfo', params).then((res) => {
|
getAction('/sysDatabase/dbInfo', params).then((res) => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
@ -104,11 +104,11 @@
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="Drive">
|
<a-form-item label="Drive">
|
||||||
<a-input-number
|
<a-input
|
||||||
v-decorator="[
|
v-decorator="[
|
||||||
'dbDriver',
|
'dbDriver',
|
||||||
{
|
{
|
||||||
rules: [{ required: true, message: 'Please input port!' }],
|
rules: [{ required: true, message: 'Please input drive!' }],
|
||||||
initialVale: this.formVal.dbDriver,
|
initialVale: this.formVal.dbDriver,
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
v-decorator="[
|
v-decorator="[
|
||||||
'dbUrl',
|
'dbUrl',
|
||||||
{
|
{
|
||||||
rules: [{ required: true, message: 'Please input ip address!' }],
|
rules: [{ required: true, message: 'Please input url!' }],
|
||||||
initialVale: this.formVal.dbUrl,
|
initialVale: this.formVal.dbUrl,
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
|
@ -176,20 +176,22 @@ const columns = [
|
||||||
customRender: 'status',
|
customRender: 'status',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: 'IP ADDRESS',
|
// title: 'IP ADDRESS',
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
dataIndex: 'ipAddress',
|
// dataIndex: 'ipAddress',
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: 'DB TYPE',
|
title: 'DB TYPE',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'dataBaseType',
|
dataIndex: 'dataBaseType',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'PROT',
|
title: 'URL',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'port',
|
dataIndex: 'url',
|
||||||
|
ellipsis: true,
|
||||||
|
width: 300,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'SLOW QUERY',
|
title: 'SLOW QUERY',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user