UI界面变更-开发工具-表头字体背景颜色

This commit is contained in:
刘彦泽
2022-12-29 18:25:55 +08:00
parent 1043e32d94
commit 61760acdba
8 changed files with 71 additions and 46 deletions
+8
View File
@@ -178,4 +178,12 @@
line-height: 38px !important; line-height: 38px !important;
height: 38px !important; height: 38px !important;
} }
.ant-table-column-title{
font-weight: bold!important;
}
.ant-table-thead > tr > th {
background: #f3f6f6!important;
}
</style> </style>
+11
View File
@@ -126,3 +126,14 @@
.ant-table-column-title{ .ant-table-column-title{
font-weight: bold!important; 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;
}
@@ -1,3 +1,7 @@
.box-input{
height: 38px!important;
}
.group-query-strig[data-v-16acf936] { .group-query-strig[data-v-16acf936] {
width: 30px; width: 30px;
text-align: center; text-align: center;
@@ -45401,31 +45401,31 @@
reportUrlText: "", reportUrlText: "",
columns: [{ columns: [{
title: "报表名称", title: "报表名称",
align: "center", align: "left",
dataIndex: "name" dataIndex: "name"
}, { }, {
title: "编码", title: "编码",
align: "center", align: "left",
dataIndex: "code" dataIndex: "code"
}, { }, {
title: "查询SQL", title: "查询SQL",
align: "center", align: "left",
dataIndex: "cgrSql", dataIndex: "cgrSql",
scopedSlots: { scopedSlots: {
customRender: "cgrSql" customRender: "cgrSql"
} }
}, { }, {
title: "数据源", title: "数据源",
align: "center", align: "left",
dataIndex: "dbSource_dictText" dataIndex: "dbSource_dictText"
}, { }, {
title: "创建时间", title: "创建时间",
align: "center", align: "left",
dataIndex: "createTime" dataIndex: "createTime"
}, { }, {
title: "操作", title: "操作",
dataIndex: "action", dataIndex: "action",
align: "center", align: "left",
scopedSlots: { scopedSlots: {
customRender: "action" customRender: "action"
} }
@@ -72384,6 +72384,7 @@
label: "表名" label: "表名"
} }
}, [n("a-input", { }, [n("a-input", {
staticClass: "box-input",
attrs: { attrs: {
placeholder: "请输入表名" placeholder: "请输入表名"
}, },
@@ -72429,8 +72430,9 @@
label: "表描述" label: "表描述"
} }
}, [n("a-input", { }, [n("a-input", {
staticClass: "box-input",
attrs: { attrs: {
placeholder: "请输入表描述" placeholder: "请输入表描述",
}, },
model: { model: {
value: e.queryParam.tableTxt, value: e.queryParam.tableTxt,
@@ -72913,13 +72915,13 @@
dataIndex: "", dataIndex: "",
key: "rowIndex", key: "rowIndex",
width: 60, width: 60,
align: "center", align: "left",
customRender: function(e, t, n) { customRender: function(e, t, n) {
return parseInt(n) + 1 return parseInt(n) + 1
} }
}, { }, {
title: "表类型", title: "表类型",
align: "center", align: "left",
sorter: !0, sorter: !0,
dataIndex: "tableType", dataIndex: "tableType",
customRender: function(t, n) { customRender: function(t, n) {
@@ -72930,19 +72932,19 @@
}, { }, {
title: "表名", title: "表名",
sorter: !0, sorter: !0,
align: "center", align: "left",
dataIndex: "tableName" dataIndex: "tableName"
}, { }, {
title: "表描述", title: "表描述",
align: "center", align: "left",
dataIndex: "tableTxt" dataIndex: "tableTxt"
}, { }, {
title: "版本", title: "版本",
align: "center", align: "left",
dataIndex: "tableVersion" dataIndex: "tableVersion"
}, { }, {
title: "同步状态", title: "同步状态",
align: "center", align: "left",
sorter: !0, sorter: !0,
dataIndex: "isDbSynch", dataIndex: "isDbSynch",
scopedSlots: { scopedSlots: {
@@ -72950,13 +72952,13 @@
} }
}, { }, {
title: "创建时间", title: "创建时间",
align: "center", align: "left",
sorter: !0, sorter: !0,
dataIndex: "createTime" dataIndex: "createTime"
}, { }, {
title: "操作", title: "操作",
dataIndex: "action", dataIndex: "action",
align: "center", align: "left",
scopedSlots: { scopedSlots: {
customRender: "action" customRender: "action"
} }
+8 -8
View File
@@ -140,14 +140,14 @@
dataIndex: '', dataIndex: '',
key:'rowIndex', key:'rowIndex',
width:60, width:60,
align:"center", align:"left",
customRender:function (t,r,index) { customRender:function (t,r,index) {
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{ {
title: '任务类名', title: '任务类名',
align:"center", align:"left",
dataIndex: 'jobClassName', dataIndex: 'jobClassName',
sorter: true, sorter: true,
/* customRender:function (text) { /* customRender:function (text) {
@@ -156,26 +156,26 @@
}, },
{ {
title: 'cron表达式', title: 'cron表达式',
align:"center", align:"left",
dataIndex: 'cronExpression' dataIndex: 'cronExpression'
}, },
{ {
title: '参数', title: '参数',
align:"center", align:"left",
width: 150, width: 150,
dataIndex: 'parameter', dataIndex: 'parameter',
scopedSlots: {customRender: 'parameterRender'}, scopedSlots: {customRender: 'parameterRender'},
}, },
{ {
title: '描述', title: '描述',
align:"center", align:"left",
width: 250, width: 250,
dataIndex: 'description', dataIndex: 'description',
scopedSlots: {customRender: 'description'}, scopedSlots: {customRender: 'description'},
}, },
{ {
title: '状态', title: '状态',
align:"center", align:"left",
dataIndex: 'status', dataIndex: 'status',
scopedSlots: { customRender: 'customRenderStatus' }, scopedSlots: { customRender: 'customRenderStatus' },
filterMultiple: false, filterMultiple: false,
@@ -187,7 +187,7 @@
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align:"center", align:"left",
width:180, width:180,
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} }
@@ -287,5 +287,5 @@
} }
</script> </script>
<style scoped> <style scoped>
@import '~@assets/less/common.less' @import'~@assets/less/common.less'
</style> </style>
@@ -126,29 +126,29 @@
title: '#', title: '#',
key: 'rowIndex', key: 'rowIndex',
width: 60, width: 60,
align: 'center', align: 'left',
customRender: (t, r, i) => i + 1 customRender: (t, r, i) => i + 1
}, },
{ {
title: '规则名称', title: '规则名称',
align: 'center', align: 'left',
dataIndex: 'ruleName' dataIndex: 'ruleName'
}, },
{ {
title: '规则Code', title: '规则Code',
align: 'center', align: 'left',
dataIndex: 'ruleCode' dataIndex: 'ruleCode'
}, },
{ {
title: '规则描述', title: '规则描述',
align: 'center', align: 'left',
dataIndex: 'ruleDescription', dataIndex: 'ruleDescription',
customRender: (t) => (<j-ellipsis value={t} length={48}/>) customRender: (t) => (<j-ellipsis value={t} length={48}/>)
}, },
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align: 'center', align: 'left',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} }
], ],
@@ -174,5 +174,5 @@
} }
</script> </script>
<style scoped> <style scoped>
@import '~@assets/less/common.less'; @import'~@assets/less/common.less';
</style> </style>
+10 -10
View File
@@ -119,50 +119,50 @@
dataIndex: '', dataIndex: '',
key: 'rowIndex', key: 'rowIndex',
width: 60, width: 60,
align: 'center', align: 'left',
customRender: (t, r, index) => index + 1 customRender: (t, r, index) => index + 1
}, },
{ {
title: '数据源编码', title: '数据源编码',
align: 'center', align: 'left',
dataIndex: 'code' dataIndex: 'code'
}, },
{ {
title: '数据源名称', title: '数据源名称',
align: 'center', align: 'left',
dataIndex: 'name' dataIndex: 'name'
}, },
{ {
title: '数据库类型', title: '数据库类型',
align: 'center', align: 'left',
dataIndex: 'dbType_dictText' dataIndex: 'dbType_dictText'
}, },
{ {
title: '驱动类', title: '驱动类',
align: 'center', align: 'left',
dataIndex: 'dbDriver', dataIndex: 'dbDriver',
customRender: (t) => ellipsis(t) customRender: (t) => ellipsis(t)
}, },
{ {
title: '数据源地址', title: '数据源地址',
align: 'center', align: 'left',
dataIndex: 'dbUrl', dataIndex: 'dbUrl',
customRender: (t) => ellipsis(t) customRender: (t) => ellipsis(t)
}, },
{ {
title: '数据库名称', title: '数据库名称',
align: 'center', align: 'left',
dataIndex: 'dbName' dataIndex: 'dbName'
}, },
{ {
title: '用户名', title: '用户名',
align: 'center', align: 'left',
dataIndex: 'dbUsername' dataIndex: 'dbUsername'
}, },
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align: 'center', align: 'left',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} }
], ],
@@ -184,5 +184,5 @@
} }
</script> </script>
<style scoped> <style scoped>
@import '~@assets/less/common.less'; @import'~@assets/less/common.less';
</style> </style>
@@ -115,33 +115,33 @@
dataIndex: '', dataIndex: '',
key: 'rowIndex', key: 'rowIndex',
width: 60, width: 60,
align: 'center', align: 'left',
customRender: (t, r, index) => 1 + index customRender: (t, r, index) => 1 + index
}, },
{ {
title: '规则名称', title: '规则名称',
align: 'center', align: 'left',
dataIndex: 'ruleName' dataIndex: 'ruleName'
}, },
{ {
title: '规则Code', title: '规则Code',
align: 'center', align: 'left',
dataIndex: 'ruleCode' dataIndex: 'ruleCode'
}, },
{ {
title: '规则实现类', title: '规则实现类',
align: 'center', align: 'left',
dataIndex: 'ruleClass' dataIndex: 'ruleClass'
}, },
{ {
title: '规则参数', title: '规则参数',
align: 'center', align: 'left',
dataIndex: 'ruleParams' dataIndex: 'ruleParams'
}, },
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align: 'center', align: 'left',
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} }
], ],
@@ -183,5 +183,5 @@
} }
</script> </script>
<style scoped> <style scoped>
@import '~@assets/less/common.less' @import'~@assets/less/common.less'
</style> </style>