feat: 数据同步 定时报告 优化

This commit is contained in:
dataeaseShu
2022-08-22 17:54:31 +08:00
parent 2067a1ed5e
commit fb0538954e
26 changed files with 3206 additions and 900 deletions

View File

@@ -34,7 +34,7 @@ export default {
return backPath || backName || backTo
},
needInnerPadding() {
return ['system-dept', 'system-dept-form', 'system-auth', 'sys-appearance', 'system-param', 'system-template'].includes(this.$route.name)
return ['sys-task-email', 'system-dept', 'system-dept-form', 'system-auth', 'sys-appearance', 'system-param', 'system-template', "sys-task-dataset"].includes(this.$route.name)
}
}
}
@@ -55,6 +55,7 @@ export default {
height: 100%;
display: flex;
flex-direction: column;
position: relative;
.route-title {
font-family: PingFang SC;
font-size: 20px;

View File

@@ -159,6 +159,10 @@ export default {
flex-direction: column;
justify-content: space-between;
::v-deep.el-table-column--selection .cell {
padding: 0 14px;
}
.el-table::before {
content: '';
position: absolute;

View File

@@ -13,11 +13,12 @@ export default {
const { columns } = context.props;
const { children = [] } = context;
if (!columns?.length) return children;
children.forEach(ele => {
if (columns.includes(ele.componentOptions?.propsData?.prop)) {
nodes.push(ele)
}
})
children.forEach((ele) => {
const { prop, type } = ele.componentOptions?.propsData || {};
if (columns.includes(prop) || type === "selection") {
nodes.push(ele);
}
});
return nodes;
},
};