From 587cec1ca5e64b21240bc902cc3bf7e732a954d6 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 14 Oct 2025 11:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A0=E7=9B=9F=E6=9C=BA?= =?UTF-8?q?=E6=9E=84=E4=BF=A1=E6=81=AF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OrgCard/OrgCardCom.vue | 20 +- src/views/admin/orgInfo/OrgApplyInfo.api.ts | 96 +++++ src/views/admin/orgInfo/OrgInfoList.vue | 188 ++++++++ .../orgInfo/components/OrgApplyInfoForm.vue | 408 ++++++++++++++++++ .../orgInfo/components/OrgApplyInfoModal.vue | 129 ++++++ .../directive/orgCom/OrgListCom.vue | 13 +- .../synchronization/directive/syncList.vue | 2 +- 7 files changed, 846 insertions(+), 10 deletions(-) create mode 100644 src/views/admin/orgInfo/OrgApplyInfo.api.ts create mode 100644 src/views/admin/orgInfo/OrgInfoList.vue create mode 100644 src/views/admin/orgInfo/components/OrgApplyInfoForm.vue create mode 100644 src/views/admin/orgInfo/components/OrgApplyInfoModal.vue diff --git a/src/components/OrgCard/OrgCardCom.vue b/src/components/OrgCard/OrgCardCom.vue index 6856187..0e09a78 100644 --- a/src/components/OrgCard/OrgCardCom.vue +++ b/src/components/OrgCard/OrgCardCom.vue @@ -11,16 +11,16 @@
{{ orgInfo.departName - }} + }}
- 标准指令库 - 标准标签库 @@ -32,7 +32,7 @@ - +
机构负责人:{{ orgInfo.orgLeader }}
@@ -46,6 +46,8 @@ 加盟时间:{{ orgInfo.franchiseTime?.substring(0, 10) }} 了解更多 + 查看详情
@@ -62,10 +64,12 @@ const props = defineProps({ isDirectiveMain: { type: Boolean, default: false },//标准指令库 isElderTagMain: { type: Boolean, default: false },//标准标签库 showDetail: { type: Boolean, default: false }, - clickable: { type: Boolean, default: false } + showInfo: { type: Boolean, default: false }, + clickable: { type: Boolean, default: false }, + showMainTile: { type: Boolean, default: true },//是否展示标准指令库/标签库 }) -const emit = defineEmits(['click', 'detail']) +const emit = defineEmits(['click', 'detail', 'info']) const existTagFunc = () => { return props.isDirectiveMain || props.isElderTagMain @@ -78,6 +82,10 @@ const handleClick = () => { const handleDetail = () => { emit('detail', props.orgInfo) } + +const handleInfo = () => { + emit('info', props.orgInfo) +} \ No newline at end of file diff --git a/src/views/admin/orgInfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgInfo/components/OrgApplyInfoForm.vue new file mode 100644 index 0000000..b5aa33d --- /dev/null +++ b/src/views/admin/orgInfo/components/OrgApplyInfoForm.vue @@ -0,0 +1,408 @@ + + + + + diff --git a/src/views/admin/orgInfo/components/OrgApplyInfoModal.vue b/src/views/admin/orgInfo/components/OrgApplyInfoModal.vue new file mode 100644 index 0000000..8dc856b --- /dev/null +++ b/src/views/admin/orgInfo/components/OrgApplyInfoModal.vue @@ -0,0 +1,129 @@ + + + + + + diff --git a/src/views/synchronization/directive/orgCom/OrgListCom.vue b/src/views/synchronization/directive/orgCom/OrgListCom.vue index 0ab4b77..afe6319 100644 --- a/src/views/synchronization/directive/orgCom/OrgListCom.vue +++ b/src/views/synchronization/directive/orgCom/OrgListCom.vue @@ -5,11 +5,12 @@ :md="props.layout == 'full' ? 12 : 8" :lg="props.layout == 'full' ? 12 : 8" :xl="props.layout == 'full' ? 8 : 8" :xxl="props.layout == 'full' ? 6 : 8" :xxxl="props.layout == 'full' ? 4 : 8" :style="{ 'padding-right': ((index + 1) % 4 != 0) ? '14px' : '0px', 'padding-bottom': '14px' }"> - + :clickable="props.showChoose || props.showDirectiveChoose" @click="handleCardClick" @detail="handleDetail" + @info="handleInfo" />
@@ -38,6 +39,7 @@ const props = defineProps({ showChoose: { type: Boolean, default: false }, pageSize: { type: Number, default: 8 }, showDetail: { type: Boolean, default: false }, + showInfo: { type: Boolean, default: false }, title: { type: String, default: '' }, allowMultipleSelection: { type: Boolean, default: false }, layout: { type: String, default: 'full' }, @@ -45,9 +47,10 @@ const props = defineProps({ showDirectiveMain: { type: Boolean, default: false }, showDirectiveChoose: { type: Boolean, default: false }, showDMTip: { type: Boolean, default: false }, + showMainTile: { type: Boolean, default: true },//是否展示标准指令库/标签库 }) -const emit = defineEmits(['handleOrgDetail', 'handleOrgChoose']) +const emit = defineEmits(['handleOrgDetail', 'handleOrgChoose', 'handleOrgInfo']) const orgTableList = ref({ records: [], total: 0 }) const queryParam = reactive({}) @@ -82,6 +85,10 @@ function handleDetail(item: any) { emit('handleOrgDetail', item) } +function handleInfo(item: any) { + emit('handleOrgInfo', item) +} + function reload() { directiveMainSelectedOrg.value = {} queryParam.pageSize = pageParams.value.pageSize diff --git a/src/views/synchronization/directive/syncList.vue b/src/views/synchronization/directive/syncList.vue index e56bdd1..f8e5d41 100644 --- a/src/views/synchronization/directive/syncList.vue +++ b/src/views/synchronization/directive/syncList.vue @@ -34,7 +34,7 @@
-