This commit is contained in:
2024-06-21 17:30:55 +08:00
parent 4a6e6f4ac4
commit 5ac86aaf60
4 changed files with 9 additions and 11 deletions

View File

@@ -1,4 +1,3 @@
# http://editorconfig.org
root = true # 当前配置在项目根 root = true # 当前配置在项目根
[*] # 表示所有文件适用 [*] # 表示所有文件适用

View File

@@ -35,6 +35,6 @@ defineExpose({ refresh })
<style lang="less" scoped> <style lang="less" scoped>
.full-empty { .full-empty {
width: 79vw; width: 100%;
} }
</style> </style>

View File

@@ -119,7 +119,7 @@
</a-tree> </a-tree>
</div> </div>
</a-layout-sider> </a-layout-sider>
<a-layout class="layout-content myhcalc"> <a-layout class="layout-content myhcalc my-custom">
<a-layout-content class="work-area project-layout"> <a-layout-content class="work-area project-layout">
<PageLayout ref="routeViewRef" /> <PageLayout ref="routeViewRef" />
</a-layout-content> </a-layout-content>
@@ -326,7 +326,7 @@ const handleSearchTreeDataClick = () => {
const loop = (itemdata) => { const loop = (itemdata) => {
const result = [] const result = []
itemdata.forEach((item) => { itemdata.forEach((item) => {
if (item.title.indexOf(searchKey.value) > -1) { if (item.title.indexOf(searchKey.value.replace(" ", "")) > -1) {
result.push({ ...item }) result.push({ ...item })
} else if (item.children) { } else if (item.children) {
const filterdata = loop(item.children) const filterdata = loop(item.children)
@@ -640,7 +640,7 @@ const roundColumn = ref([
{ {
span: 12, span: 12,
formList: [ formList: [
{ title: "名称", dataIndex: "name" }, { title: "名称", dataIndex: "name", rules: [{ required: true, message: "名称必填" }] },
{ {
title: "结束时间", title: "结束时间",
dataIndex: "endTime", dataIndex: "endTime",
@@ -783,12 +783,6 @@ const soDutColumn = ref([
dict: { url: "system/contact/index", props: { label: "name", value: "name" }, translation: true }, dict: { url: "system/contact/index", props: { label: "name", value: "name" }, translation: true },
rules: [{ required: true, message: "单位必选" }] rules: [{ required: true, message: "单位必选" }]
}, },
{
title: "发布时间",
dataIndex: "date",
rules: [{ required: true, message: "时间必填" }],
formType: "date"
},
{ {
title: "空行", title: "空行",
dataIndex: "black_line", dataIndex: "black_line",
@@ -1103,6 +1097,10 @@ const problemRoundRef = ref(null)
.myhcalc { .myhcalc {
height: calc(100% - 60px); height: calc(100% - 60px);
} }
// 这里容易出错注意
.my-custom {
width: calc(100% - 300px);
}
.my-arco-wrap-class :deep(.arco-tree-node-title-text) { .my-arco-wrap-class :deep(.arco-tree-node-title-text) {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@@ -129,6 +129,7 @@ const handleSubmit = async ({ values, errors }) => {
z-index: 1; z-index: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-size: cover;
background-image: url("@/assets/BingWallpaper.jpg"); background-image: url("@/assets/BingWallpaper.jpg");
} }
.bg-backdrop-layout { .bg-backdrop-layout {