diff --git a/src/views/monitor/dataSource/columns.ts b/src/views/monitor/dataSource/columns.ts
index ab751aa..05e5237 100644
--- a/src/views/monitor/dataSource/columns.ts
+++ b/src/views/monitor/dataSource/columns.ts
@@ -8,15 +8,18 @@ export const columns = [
{
label: 'ID',
prop: 'id',
- width: 100,
+ fixed: 'left',
+ width: 50,
},
{
label: '数据源名称',
prop: 'name',
+ width: 150,
},
{
label: '数据库类型',
prop: 'dbType',
+ width: 100,
render(record) {
let typeText = '';
switch (record.row.dbType) {
@@ -44,30 +47,37 @@ export const columns = [
{
label: '数据源编码',
prop: 'code',
+ width: 100,
},
{
label: '数据库驱动类',
prop: 'dbDriver',
+ width: 150,
},
{
label: '数据源地址',
prop: 'dbUrl',
+ width: 100,
},
{
label: '数据库名称',
prop: 'dbName',
+ width: 100,
},
{
label: '数据库用户名',
prop: 'dbUsername',
+ width: 120,
},
{
label: '备注',
prop: 'note',
+ width: 200,
},
{
label: '创建人',
prop: 'createUser',
+ width: 100,
},
{
label: '创建时间',
diff --git a/src/views/monitor/job/columns.ts b/src/views/monitor/job/columns.ts
index 6e1f24c..d6b48bd 100644
--- a/src/views/monitor/job/columns.ts
+++ b/src/views/monitor/job/columns.ts
@@ -8,31 +8,38 @@ export const columns = [
{
label: 'ID',
prop: 'id',
- width: 100,
+ fixed: 'left',
+ width: 50,
},
{
label: '任务名称',
prop: 'jobName',
+ width: 200,
},
{
label: '任务分组',
prop: 'jobGroup',
+ width: 100,
},
{
label: '任务触发器',
prop: 'jobTrigger',
+ width: 150,
},
{
label: '执行表达式',
prop: 'cronExpression',
+ width: 150,
},
{
label: '执行策略',
prop: 'executePolicyText',
+ width: 100,
},
{
label: '同步任务',
prop: 'isSync',
+ width: 100,
render(record) {
return h(
ElTag,
@@ -48,15 +55,18 @@ export const columns = [
{
label: 'URL',
prop: 'url',
+ width: 150,
},
{
label: '状态',
isSlot: true,
value: 'status',
+ width: 100,
},
{
label: '备注',
prop: 'note',
+ width: 200,
},
// {
// label: '状态',
diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue
index 1b77bd5..2120186 100644
--- a/src/views/monitor/online/index.vue
+++ b/src/views/monitor/online/index.vue
@@ -11,26 +11,63 @@
:data="onlineTableData.slice((pager.page - 1) * pager.size, pager.page * pager.size)"
row-key="detailId"
>
-
+
+
+
+
-
-
-
+
+
+
-
-
-