diff --git a/cdTMP/.editorconfig b/cdTMP/.editorconfig index 7692192..10a8119 100644 --- a/cdTMP/.editorconfig +++ b/cdTMP/.editorconfig @@ -1,4 +1,3 @@ -# http://editorconfig.org root = true # 当前配置在项目根 [*] # 表示所有文件适用 diff --git a/cdTMP/src/layout/page-layout.vue b/cdTMP/src/layout/page-layout.vue index dbc05b3..1323620 100644 --- a/cdTMP/src/layout/page-layout.vue +++ b/cdTMP/src/layout/page-layout.vue @@ -35,6 +35,6 @@ defineExpose({ refresh }) diff --git a/cdTMP/src/layout/project-layout.vue b/cdTMP/src/layout/project-layout.vue index 9081a11..4b0476c 100644 --- a/cdTMP/src/layout/project-layout.vue +++ b/cdTMP/src/layout/project-layout.vue @@ -119,7 +119,7 @@ - + @@ -326,7 +326,7 @@ const handleSearchTreeDataClick = () => { const loop = (itemdata) => { const result = [] itemdata.forEach((item) => { - if (item.title.indexOf(searchKey.value) > -1) { + if (item.title.indexOf(searchKey.value.replace(" ", "")) > -1) { result.push({ ...item }) } else if (item.children) { const filterdata = loop(item.children) @@ -640,7 +640,7 @@ const roundColumn = ref([ { span: 12, formList: [ - { title: "名称", dataIndex: "name" }, + { title: "名称", dataIndex: "name", rules: [{ required: true, message: "名称必填" }] }, { title: "结束时间", dataIndex: "endTime", @@ -783,12 +783,6 @@ const soDutColumn = ref([ dict: { url: "system/contact/index", props: { label: "name", value: "name" }, translation: true }, rules: [{ required: true, message: "单位必选" }] }, - { - title: "发布时间", - dataIndex: "date", - rules: [{ required: true, message: "时间必填" }], - formType: "date" - }, { title: "空行", dataIndex: "black_line", @@ -1103,6 +1097,10 @@ const problemRoundRef = ref(null) .myhcalc { height: calc(100% - 60px); } +// 这里容易出错注意 +.my-custom { + width: calc(100% - 300px); +} .my-arco-wrap-class :deep(.arco-tree-node-title-text) { white-space: nowrap; text-overflow: ellipsis; diff --git a/cdTMP/src/views/login.vue b/cdTMP/src/views/login.vue index 3704bf5..fedaeec 100644 --- a/cdTMP/src/views/login.vue +++ b/cdTMP/src/views/login.vue @@ -129,6 +129,7 @@ const handleSubmit = async ({ values, errors }) => { z-index: 1; width: 100%; height: 100%; + background-size: cover; background-image: url("@/assets/BingWallpaper.jpg"); } .bg-backdrop-layout {