From 61760acdba2fb64462612d2a6a43cbc83576ae55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Thu, 29 Dec 2022 18:25:55 +0800 Subject: [PATCH] =?UTF-8?q?UI=E7=95=8C=E9=9D=A2=E5=8F=98=E6=9B=B4-?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=B7=A5=E5=85=B7-=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/App.vue | 8 +++++ jero-web/src/assets/less/common.less | 11 +++++++ .../src/components/onlineForm/OnlineForm.css | 4 +++ .../src/components/onlineForm/onlineForm.js | 32 ++++++++++--------- jero-web/src/views/system/QuartzJobList.vue | 16 +++++----- .../src/views/system/SysCheckRuleList.vue | 12 +++---- .../src/views/system/SysDataSourceList.vue | 20 ++++++------ jero-web/src/views/system/SysFillRuleList.vue | 14 ++++---- 8 files changed, 71 insertions(+), 46 deletions(-) diff --git a/jero-web/src/App.vue b/jero-web/src/App.vue index a5ed87aac..de9e3a1dc 100644 --- a/jero-web/src/App.vue +++ b/jero-web/src/App.vue @@ -178,4 +178,12 @@ line-height: 38px !important; height: 38px !important; } + + .ant-table-column-title{ + font-weight: bold!important; + } + + .ant-table-thead > tr > th { + background: #f3f6f6!important; + } \ No newline at end of file diff --git a/jero-web/src/assets/less/common.less b/jero-web/src/assets/less/common.less index ae083bfe0..8683c2b46 100644 --- a/jero-web/src/assets/less/common.less +++ b/jero-web/src/assets/less/common.less @@ -125,4 +125,15 @@ .ant-table-column-title{ font-weight: bold!important; +} + +.ant-table-thead > tr > th { + background: #f3f6f6!important; +} +.ant-tooltip-inner { + color: #333; + background-color: #fff!important; +} +.ant-tooltip-arrow::before { + background-color: #fff; } \ No newline at end of file diff --git a/jero-web/src/components/onlineForm/OnlineForm.css b/jero-web/src/components/onlineForm/OnlineForm.css index ea188d397..1c5efed9a 100644 --- a/jero-web/src/components/onlineForm/OnlineForm.css +++ b/jero-web/src/components/onlineForm/OnlineForm.css @@ -1,3 +1,7 @@ +.box-input{ + height: 38px!important; +} + .group-query-strig[data-v-16acf936] { width: 30px; text-align: center; diff --git a/jero-web/src/components/onlineForm/onlineForm.js b/jero-web/src/components/onlineForm/onlineForm.js index b5893b218..363a74bd5 100644 --- a/jero-web/src/components/onlineForm/onlineForm.js +++ b/jero-web/src/components/onlineForm/onlineForm.js @@ -45401,31 +45401,31 @@ reportUrlText: "", columns: [{ title: "报表名称", - align: "center", + align: "left", dataIndex: "name" }, { title: "编码", - align: "center", + align: "left", dataIndex: "code" }, { title: "查询SQL", - align: "center", + align: "left", dataIndex: "cgrSql", scopedSlots: { customRender: "cgrSql" } }, { title: "数据源", - align: "center", + align: "left", dataIndex: "dbSource_dictText" }, { title: "创建时间", - align: "center", + align: "left", dataIndex: "createTime" }, { title: "操作", dataIndex: "action", - align: "center", + align: "left", scopedSlots: { customRender: "action" } @@ -72384,6 +72384,7 @@ label: "表名" } }, [n("a-input", { + staticClass: "box-input", attrs: { placeholder: "请输入表名" }, @@ -72429,8 +72430,9 @@ label: "表描述" } }, [n("a-input", { + staticClass: "box-input", attrs: { - placeholder: "请输入表描述" + placeholder: "请输入表描述", }, model: { value: e.queryParam.tableTxt, @@ -72913,13 +72915,13 @@ dataIndex: "", key: "rowIndex", width: 60, - align: "center", + align: "left", customRender: function(e, t, n) { return parseInt(n) + 1 } }, { title: "表类型", - align: "center", + align: "left", sorter: !0, dataIndex: "tableType", customRender: function(t, n) { @@ -72930,19 +72932,19 @@ }, { title: "表名", sorter: !0, - align: "center", + align: "left", dataIndex: "tableName" }, { title: "表描述", - align: "center", + align: "left", dataIndex: "tableTxt" }, { title: "版本", - align: "center", + align: "left", dataIndex: "tableVersion" }, { title: "同步状态", - align: "center", + align: "left", sorter: !0, dataIndex: "isDbSynch", scopedSlots: { @@ -72950,13 +72952,13 @@ } }, { title: "创建时间", - align: "center", + align: "left", sorter: !0, dataIndex: "createTime" }, { title: "操作", dataIndex: "action", - align: "center", + align: "left", scopedSlots: { customRender: "action" } diff --git a/jero-web/src/views/system/QuartzJobList.vue b/jero-web/src/views/system/QuartzJobList.vue index db0d65e90..60e047a36 100644 --- a/jero-web/src/views/system/QuartzJobList.vue +++ b/jero-web/src/views/system/QuartzJobList.vue @@ -140,14 +140,14 @@ dataIndex: '', key:'rowIndex', width:60, - align:"center", + align:"left", customRender:function (t,r,index) { return parseInt(index)+1; } }, { title: '任务类名', - align:"center", + align:"left", dataIndex: 'jobClassName', sorter: true, /* customRender:function (text) { @@ -156,26 +156,26 @@ }, { title: 'cron表达式', - align:"center", + align:"left", dataIndex: 'cronExpression' }, { title: '参数', - align:"center", + align:"left", width: 150, dataIndex: 'parameter', scopedSlots: {customRender: 'parameterRender'}, }, { title: '描述', - align:"center", + align:"left", width: 250, dataIndex: 'description', scopedSlots: {customRender: 'description'}, }, { title: '状态', - align:"center", + align:"left", dataIndex: 'status', scopedSlots: { customRender: 'customRenderStatus' }, filterMultiple: false, @@ -187,7 +187,7 @@ { title: '操作', dataIndex: 'action', - align:"center", + align:"left", width:180, scopedSlots: { customRender: 'action' }, } @@ -287,5 +287,5 @@ } \ No newline at end of file diff --git a/jero-web/src/views/system/SysCheckRuleList.vue b/jero-web/src/views/system/SysCheckRuleList.vue index 75a96d8c3..7f4027e44 100644 --- a/jero-web/src/views/system/SysCheckRuleList.vue +++ b/jero-web/src/views/system/SysCheckRuleList.vue @@ -126,29 +126,29 @@ title: '#', key: 'rowIndex', width: 60, - align: 'center', + align: 'left', customRender: (t, r, i) => i + 1 }, { title: '规则名称', - align: 'center', + align: 'left', dataIndex: 'ruleName' }, { title: '规则Code', - align: 'center', + align: 'left', dataIndex: 'ruleCode' }, { title: '规则描述', - align: 'center', + align: 'left', dataIndex: 'ruleDescription', customRender: (t) => () }, { title: '操作', dataIndex: 'action', - align: 'center', + align: 'left', scopedSlots: { customRender: 'action' }, } ], @@ -174,5 +174,5 @@ } \ No newline at end of file diff --git a/jero-web/src/views/system/SysDataSourceList.vue b/jero-web/src/views/system/SysDataSourceList.vue index 0ccde8d2d..7954fe32e 100644 --- a/jero-web/src/views/system/SysDataSourceList.vue +++ b/jero-web/src/views/system/SysDataSourceList.vue @@ -119,50 +119,50 @@ dataIndex: '', key: 'rowIndex', width: 60, - align: 'center', + align: 'left', customRender: (t, r, index) => index + 1 }, { title: '数据源编码', - align: 'center', + align: 'left', dataIndex: 'code' }, { title: '数据源名称', - align: 'center', + align: 'left', dataIndex: 'name' }, { title: '数据库类型', - align: 'center', + align: 'left', dataIndex: 'dbType_dictText' }, { title: '驱动类', - align: 'center', + align: 'left', dataIndex: 'dbDriver', customRender: (t) => ellipsis(t) }, { title: '数据源地址', - align: 'center', + align: 'left', dataIndex: 'dbUrl', customRender: (t) => ellipsis(t) }, { title: '数据库名称', - align: 'center', + align: 'left', dataIndex: 'dbName' }, { title: '用户名', - align: 'center', + align: 'left', dataIndex: 'dbUsername' }, { title: '操作', dataIndex: 'action', - align: 'center', + align: 'left', scopedSlots: { customRender: 'action' }, } ], @@ -184,5 +184,5 @@ } \ No newline at end of file diff --git a/jero-web/src/views/system/SysFillRuleList.vue b/jero-web/src/views/system/SysFillRuleList.vue index 1989c2f8a..6a2b1242b 100644 --- a/jero-web/src/views/system/SysFillRuleList.vue +++ b/jero-web/src/views/system/SysFillRuleList.vue @@ -115,33 +115,33 @@ dataIndex: '', key: 'rowIndex', width: 60, - align: 'center', + align: 'left', customRender: (t, r, index) => 1 + index }, { title: '规则名称', - align: 'center', + align: 'left', dataIndex: 'ruleName' }, { title: '规则Code', - align: 'center', + align: 'left', dataIndex: 'ruleCode' }, { title: '规则实现类', - align: 'center', + align: 'left', dataIndex: 'ruleClass' }, { title: '规则参数', - align: 'center', + align: 'left', dataIndex: 'ruleParams' }, { title: '操作', dataIndex: 'action', - align: 'center', + align: 'left', scopedSlots: { customRender: 'action' }, } ], @@ -183,5 +183,5 @@ } \ No newline at end of file