diff --git a/src/views/system/dept/columns.ts b/src/views/system/dept/columns.ts index bf9afc4..6c2288e 100644 --- a/src/views/system/dept/columns.ts +++ b/src/views/system/dept/columns.ts @@ -5,7 +5,8 @@ export const columns = [ { title: '部门名称', key: 'name', - width: 200, + width: 150, + align: 'left', }, { title: '部门类型', diff --git a/src/views/system/logger/loginLog/columns.ts b/src/views/system/logger/loginLog/columns.ts index 018a201..e2ecd44 100644 --- a/src/views/system/logger/loginLog/columns.ts +++ b/src/views/system/logger/loginLog/columns.ts @@ -32,7 +32,15 @@ export const columns = [ }, record.ip, ), - h('div', record.location), + h( + NTag, + { + type: 'info', + }, + { + default: () => record.location, + }, + ), ]); }, }, @@ -50,7 +58,14 @@ export const columns = [ 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 ? '正常' : '异常'), }, ), - h('div', '请求耗时:' + record.consumeTime + 'ms'), + h( + 'div', + { + style: { marginBottom: '5px' }, + }, + '请求耗时:' + record.consumeTime + 'ms', + ), + h('div', '响应时间:' + record.updateTime), ]); }, }, diff --git a/src/views/system/logger/operLog/columns.ts b/src/views/system/logger/operLog/columns.ts index 740f011..5cf0db8 100644 --- a/src/views/system/logger/operLog/columns.ts +++ b/src/views/system/logger/operLog/columns.ts @@ -32,7 +32,15 @@ export const columns = [ }, record.ip, ), - h('div', record.location), + h( + NTag, + { + type: 'info', + }, + { + default: () => record.location, + }, + ), ]); }, }, @@ -50,7 +58,13 @@ export const columns = [ default: () => record.requestMethod, }, ), - h('div', '接口:' + record.url), + h( + 'div', + { + style: { marginBottom: '5px' }, + }, + '接口:' + record.url, + ), h('div', '名称:' + record.title), ]); }, @@ -71,7 +85,14 @@ export const columns = [ default: () => (record.status == 0 ? '正常' : '异常'), }, ), - h('div', '请求耗时:' + record.consumeTime + 'ms'), + h( + 'div', + { + style: { marginBottom: '5px' }, + }, + '请求耗时:' + record.consumeTime + 'ms', + ), + h('div', '响应时间:' + record.updateTime), ]); }, }, diff --git a/src/views/system/menu/columns.ts b/src/views/system/menu/columns.ts index 34f0249..372a8e4 100644 --- a/src/views/system/menu/columns.ts +++ b/src/views/system/menu/columns.ts @@ -11,7 +11,8 @@ export const columns: BasicColumn[] = [ { title: '菜单名称', key: 'name', - width: 250, + width: 150, + align: 'left', }, { title: '类型', diff --git a/src/views/system/role/auth.vue b/src/views/system/role/auth.vue index 49a9488..15762fd 100644 --- a/src/views/system/role/auth.vue +++ b/src/views/system/role/auth.vue @@ -21,7 +21,8 @@ label-field="name" children-field="children" cascade - :height="600" + virtual-scroll + style="height: 350px" :checked-keys="checkedKeys" :expanded-keys="expandedKeys" :indeterminate-keys="halfCheckedIds"