From 5c277f9748367fb2d95da7a8bf42573cf0e496e9 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 26 Jun 2023 23:25:12 +0800 Subject: [PATCH] =?UTF-8?q?[issues/563]=E6=9A=97=E8=89=B2=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E9=83=A8=E5=88=86=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/address/index.less | 5 ++++- src/views/system/address/index.vue | 8 +------- .../depart/components/DepartFormTab.vue | 20 ++++++++++++------- .../depart/components/DepartRuleTab.vue | 12 +++-------- src/views/system/depart/index.less | 4 ++++ src/views/system/depart/index.vue | 9 +-------- 6 files changed, 26 insertions(+), 32 deletions(-) diff --git a/src/views/system/address/index.less b/src/views/system/address/index.less index e1f751a..61b73d4 100644 --- a/src/views/system/address/index.less +++ b/src/views/system/address/index.less @@ -1,7 +1,10 @@ //noinspection LessUnresolvedVariable -@prefix-cls: ~'@{namespace}-depart-manage'; +@prefix-cls: ~'@{namespace}-address-list'; .@{prefix-cls} { + // update-begin-author:liusq date:20230625 for: [issues/563]暗色主题部分失效 + background-color: @component-background; + // update-end-author:liusq date:20230625 for: [issues/563]暗色主题部分失效 &--box { .ant-tabs-nav { padding: 0 20px; diff --git a/src/views/system/address/index.vue b/src/views/system/address/index.vue index bd5eac3..302f969 100644 --- a/src/views/system/address/index.vue +++ b/src/views/system/address/index.vue @@ -84,12 +84,6 @@ queryPositionInfo(); - diff --git a/src/views/system/depart/components/DepartFormTab.vue b/src/views/system/depart/components/DepartFormTab.vue index 895428d..23cc921 100644 --- a/src/views/system/depart/components/DepartFormTab.vue +++ b/src/views/system/depart/components/DepartFormTab.vue @@ -2,7 +2,7 @@
-
+
重置 保存
@@ -15,13 +15,15 @@ import { BasicForm, useForm } from '/@/components/Form/index'; import { saveOrUpdateDepart } from '../depart.api'; import { useBasicFormSchema, orgCategoryOptions } from '../depart.data'; + import { useDesign } from '/@/hooks/web/useDesign'; + + const { prefixCls } = useDesign('j-depart-form-content'); const emit = defineEmits(['success']); const props = defineProps({ data: { type: Object, default: () => ({}) }, rootTreeData: { type: Array, default: () => [] }, }); - const prefixCls = inject('prefixCls'); const loading = ref(false); // 当前是否是更新模式 const isUpdate = ref(true); @@ -112,11 +114,15 @@ } } - diff --git a/src/views/system/depart/components/DepartRuleTab.vue b/src/views/system/depart/components/DepartRuleTab.vue index a4e4390..b87222f 100644 --- a/src/views/system/depart/components/DepartRuleTab.vue +++ b/src/views/system/depart/components/DepartRuleTab.vue @@ -24,7 +24,7 @@
-
+