From 35459a7771d7bd6882e5999a78d45e58b40aaea5 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Tue, 11 Nov 2025 09:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=BA=E6=9E=84=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=9F=A5=E8=AF=A2=E6=8A=A4=E7=90=86=E5=8D=95=E5=85=83?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrgCard/OrgCardCom.vue | 9 +- src/views/admin/orgInfo/OrgInfoList.vue | 15 +- .../orgInfo/components/OrgApplyHldyForm.vue | 184 ++++++++++++++++++ .../orgInfo/components/OrgApplyHldyModal.vue | 129 ++++++++++++ .../directive/orgCom/OrgListCom.vue | 9 +- 5 files changed, 341 insertions(+), 5 deletions(-) create mode 100644 src/views/admin/orgInfo/components/OrgApplyHldyForm.vue create mode 100644 src/views/admin/orgInfo/components/OrgApplyHldyModal.vue diff --git a/src/components/OrgCard/OrgCardCom.vue b/src/components/OrgCard/OrgCardCom.vue index 0e09a78..68d9b64 100644 --- a/src/components/OrgCard/OrgCardCom.vue +++ b/src/components/OrgCard/OrgCardCom.vue @@ -46,6 +46,9 @@ 加盟时间:{{ orgInfo.franchiseTime?.substring(0, 10) }} 了解更多 + + 护理单元 查看详情 @@ -65,11 +68,12 @@ const props = defineProps({ isElderTagMain: { type: Boolean, default: false },//标准标签库 showDetail: { type: Boolean, default: false }, showInfo: { type: Boolean, default: false }, + showHldy: { type: Boolean, default: false }, clickable: { type: Boolean, default: false }, showMainTile: { type: Boolean, default: true },//是否展示标准指令库/标签库 }) -const emit = defineEmits(['click', 'detail', 'info']) +const emit = defineEmits(['click', 'detail', 'info','hldy']) const existTagFunc = () => { return props.isDirectiveMain || props.isElderTagMain @@ -86,6 +90,9 @@ const handleDetail = () => { const handleInfo = () => { emit('info', props.orgInfo) } +const handleHldy = () => { + emit('hldy', props.orgInfo) +} diff --git a/src/views/admin/orgInfo/components/OrgApplyHldyModal.vue b/src/views/admin/orgInfo/components/OrgApplyHldyModal.vue new file mode 100644 index 0000000..3059e2b --- /dev/null +++ b/src/views/admin/orgInfo/components/OrgApplyHldyModal.vue @@ -0,0 +1,129 @@ + + + + + + diff --git a/src/views/synchronization/directive/orgCom/OrgListCom.vue b/src/views/synchronization/directive/orgCom/OrgListCom.vue index afe6319..52ecc61 100644 --- a/src/views/synchronization/directive/orgCom/OrgListCom.vue +++ b/src/views/synchronization/directive/orgCom/OrgListCom.vue @@ -6,11 +6,12 @@ :xxl="props.layout == 'full' ? 6 : 8" :xxxl="props.layout == 'full' ? 4 : 8" :style="{ 'padding-right': ((index + 1) % 4 != 0) ? '14px' : '0px', 'padding-bottom': '14px' }"> + @info="handleInfo" @hldy="handleHldy" />
@@ -48,9 +49,10 @@ const props = defineProps({ showDirectiveChoose: { type: Boolean, default: false }, showDMTip: { type: Boolean, default: false }, showMainTile: { type: Boolean, default: true },//是否展示标准指令库/标签库 + showHldy: { type: Boolean, default: false },//是否展示护理单元 }) -const emit = defineEmits(['handleOrgDetail', 'handleOrgChoose', 'handleOrgInfo']) +const emit = defineEmits(['handleOrgDetail', 'handleOrgChoose', 'handleOrgInfo','handleHldy']) const orgTableList = ref({ records: [], total: 0 }) const queryParam = reactive({}) @@ -88,6 +90,9 @@ function handleDetail(item: any) { function handleInfo(item: any) { emit('handleOrgInfo', item) } +function handleHldy(item: any) { + emit('handleHldy', item) +} function reload() { directiveMainSelectedOrg.value = {}