修改
This commit is contained in:
parent
f6ec4bb297
commit
21bee63340
@ -5,7 +5,8 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
title: '部门名称',
|
title: '部门名称',
|
||||||
key: 'name',
|
key: 'name',
|
||||||
width: 200,
|
width: 150,
|
||||||
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '部门类型',
|
title: '部门类型',
|
||||||
|
|||||||
@ -32,7 +32,15 @@ export const columns = [
|
|||||||
},
|
},
|
||||||
record.ip,
|
record.ip,
|
||||||
),
|
),
|
||||||
h('div', record.location),
|
h(
|
||||||
|
NTag,
|
||||||
|
{
|
||||||
|
type: 'info',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
default: () => record.location,
|
||||||
|
},
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -50,7 +58,14 @@ export const columns = [
|
|||||||
default: () => record.requestMethod,
|
default: () => record.requestMethod,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
h('div', '接口:' + record.url),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'接口:' + record.url,
|
||||||
|
),
|
||||||
|
h('div', '名称:' + record.title),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -70,7 +85,14 @@ export const columns = [
|
|||||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
h('div', '请求耗时:' + record.consumeTime + 'ms'),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'请求耗时:' + record.consumeTime + 'ms',
|
||||||
|
),
|
||||||
|
h('div', '响应时间:' + record.updateTime),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -32,7 +32,15 @@ export const columns = [
|
|||||||
},
|
},
|
||||||
record.ip,
|
record.ip,
|
||||||
),
|
),
|
||||||
h('div', record.location),
|
h(
|
||||||
|
NTag,
|
||||||
|
{
|
||||||
|
type: 'info',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
default: () => record.location,
|
||||||
|
},
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -50,7 +58,13 @@ export const columns = [
|
|||||||
default: () => record.requestMethod,
|
default: () => record.requestMethod,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
h('div', '接口:' + record.url),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'接口:' + record.url,
|
||||||
|
),
|
||||||
h('div', '名称:' + record.title),
|
h('div', '名称:' + record.title),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
@ -71,7 +85,14 @@ export const columns = [
|
|||||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
h('div', '请求耗时:' + record.consumeTime + 'ms'),
|
h(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
|
style: { marginBottom: '5px' },
|
||||||
|
},
|
||||||
|
'请求耗时:' + record.consumeTime + 'ms',
|
||||||
|
),
|
||||||
|
h('div', '响应时间:' + record.updateTime),
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -11,7 +11,8 @@ export const columns: BasicColumn[] = [
|
|||||||
{
|
{
|
||||||
title: '菜单名称',
|
title: '菜单名称',
|
||||||
key: 'name',
|
key: 'name',
|
||||||
width: 250,
|
width: 150,
|
||||||
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '类型',
|
title: '类型',
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
label-field="name"
|
label-field="name"
|
||||||
children-field="children"
|
children-field="children"
|
||||||
cascade
|
cascade
|
||||||
:height="600"
|
virtual-scroll
|
||||||
|
style="height: 350px"
|
||||||
:checked-keys="checkedKeys"
|
:checked-keys="checkedKeys"
|
||||||
:expanded-keys="expandedKeys"
|
:expanded-keys="expandedKeys"
|
||||||
:indeterminate-keys="halfCheckedIds"
|
:indeterminate-keys="halfCheckedIds"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user