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 = {}