日志管理修改
This commit is contained in:
parent
f6f8cd5abe
commit
e412f30c04
@ -21,7 +21,15 @@ export const columns = [
|
|||||||
h('div',{
|
h('div',{
|
||||||
style: { marginBottom:'5px'}
|
style: { marginBottom:'5px'}
|
||||||
}, record.row.ip),
|
}, record.row.ip),
|
||||||
h('div', record.row.location),
|
h(
|
||||||
|
ElTag,
|
||||||
|
{
|
||||||
|
type: 'primary',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
default: () => record.row.location,
|
||||||
|
},
|
||||||
|
),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -39,7 +47,7 @@ export const columns = [
|
|||||||
default: () => (record.row.requestMethod),
|
default: () => (record.row.requestMethod),
|
||||||
}),
|
}),
|
||||||
h('div', '接口:'+record.row.url),
|
h('div', '接口:'+record.row.url),
|
||||||
|
h('div', '名称:' + record.title),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -57,7 +65,14 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
default: () => (record.row.status == 0 ? '正常' : '异常'),
|
default: () => (record.row.status == 0 ? '正常' : '异常'),
|
||||||
}),
|
}),
|
||||||
h('div', '请求耗时:'+record.row.consumeTime+'ms'),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'请求耗时:' + record.row.consumeTime + 'ms',
|
||||||
|
),
|
||||||
|
h('div', '响应时间:' + record.row.updateTime),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -21,7 +21,15 @@ export const columns = [
|
|||||||
h('div',{
|
h('div',{
|
||||||
style: { marginBottom:'5px'}
|
style: { marginBottom:'5px'}
|
||||||
}, record.row.ip),
|
}, record.row.ip),
|
||||||
h('div', record.row.location),
|
h(
|
||||||
|
ElTag,
|
||||||
|
{
|
||||||
|
type: 'primary',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
default: () => record.row.location,
|
||||||
|
},
|
||||||
|
),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -57,7 +65,14 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
default: () => (record.row.status == 0 ? '正常' : '异常'),
|
default: () => (record.row.status == 0 ? '正常' : '异常'),
|
||||||
}),
|
}),
|
||||||
h('div', '请求耗时:'+record.row.consumeTime+'ms'),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'请求耗时:' + record.row.consumeTime + 'ms',
|
||||||
|
),
|
||||||
|
h('div', '响应时间:' + record.row.updateTime),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user