From e55e6efab63bfa0e8bfd724efd8c5e2eac4f71dd Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 27 Aug 2025 10:06:38 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99?= =?UTF-8?q?=E6=A0=91=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfigMaterial/ConfigMaterialInfoList.vue | 139 +++++++++++++++++- .../ConfigMaterialInfoListMenu.vue | 71 +++++++++ .../components/ConfigMaterialCategoryForm.vue | 10 +- .../ConfigMaterialMedicationForm.vue | 9 +- .../components/ConfigMaterialTypeForm.vue | 9 +- 5 files changed, 232 insertions(+), 6 deletions(-) create mode 100644 src/views/invoicing/ConfigMaterial/ConfigMaterialInfoListMenu.vue diff --git a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue index de82c52..286dd2f 100644 --- a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue +++ b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue @@ -58,13 +58,136 @@ @click="handleAddbj({ levle: '1' })" preIcon="ant-design:plus-outlined"> 一级分类 - + + + + + + + + + + + + @@ -117,7 +240,7 @@ - + -->
@@ -179,6 +302,7 @@ import ConfigMaterialTypeModal from '/@/views/invoicing/ConfigMaterial/component import ConfigMaterialMedicationModal from '/@/views/invoicing/ConfigMaterial/components/ConfigMaterialMedicationModal.vue'; import QianyiModal from '/@/views/invoicing/ConfigMaterial/components/QianyiModal.vue'; import WlqianyiModal from '/@/views/invoicing/ConfigMaterial/components/WlqianyiModal.vue'; +import ConfigMaterialInfoListMenu from './ConfigMaterialInfoListMenu.vue'; import { useResponsive } from '/@/hooks/web/useResponsive'; const { screenEnum, screenWidth } = useResponsive(); @@ -656,4 +780,13 @@ onMounted(() => { height: 81.5vh; } } + + +:deep(.ant-menu-item-selected) { + color: #4b4b4b !important; +} + +:deep(.ant-menu-submenu-title) { + color: #4b4b4b !important; +} \ No newline at end of file diff --git a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoListMenu.vue b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoListMenu.vue new file mode 100644 index 0000000..ddc145d --- /dev/null +++ b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoListMenu.vue @@ -0,0 +1,71 @@ + + + + diff --git a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialCategoryForm.vue b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialCategoryForm.vue index c632315..638024d 100644 --- a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialCategoryForm.vue +++ b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialCategoryForm.vue @@ -4,10 +4,16 @@ @@ -35,6 +40,7 @@ import { saveOrUpdate } from '../ConfigMaterialMedication.api'; import { Form } from 'ant-design-vue'; import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue'; + import { IconPicker } from '/@/components/Icon/index'; const props = defineProps({ formDisabled: { type: Boolean, default: false }, formData: { type: Object, default: () => ({})}, @@ -49,6 +55,7 @@ categoryId: '', typeId: '', medicationName: '', + icon: '', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } }); diff --git a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialTypeForm.vue b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialTypeForm.vue index 65f1273..65bcce7 100644 --- a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialTypeForm.vue +++ b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialTypeForm.vue @@ -9,11 +9,16 @@ - + + + + + + @@ -30,6 +35,7 @@ import { saveOrUpdate } from '../ConfigMaterialType.api'; import { Form } from 'ant-design-vue'; import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue'; + import { IconPicker } from '/@/components/Icon/index'; const props = defineProps({ formDisabled: { type: Boolean, default: false }, formData: { type: Object, default: () => ({})}, @@ -43,6 +49,7 @@ id: '', categoryId: '', typeName: '', + icon: '', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } }); From d06145e113f9dcbad676ba74402ae4dd5864c5d3 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 27 Aug 2025 13:56:19 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serviceDirective/ConfigServiceDirectiveList.vue | 8 ++++---- .../components/ConfigServiceDirectiveModal.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue index d3411cf..3da2541 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue +++ b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue @@ -422,7 +422,7 @@ --> + :footer-style="{ textAlign: 'right' }" :bodyStyle="{ padding: '0' }"> @@ -432,7 +432,7 @@ + :footer-style="{ textAlign: 'right' }" :bodyStyle="{ padding: '0' }">