From 55ee6f735a40c811754ce1149ed2953fe1ef7b78 Mon Sep 17 00:00:00 2001 From: lcc Date: Wed, 7 Aug 2024 18:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=8A=A5?= =?UTF-8?q?=E5=90=8D=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sytopic/enroll/index.js | 22 +++ .../organization/components/org-edit.vue | 13 +- src/views/sytopic/enroll/index.vue | 176 ++++++++++++------ 3 files changed, 156 insertions(+), 55 deletions(-) diff --git a/src/api/sytopic/enroll/index.js b/src/api/sytopic/enroll/index.js index 5c2c875..3d8470c 100644 --- a/src/api/sytopic/enroll/index.js +++ b/src/api/sytopic/enroll/index.js @@ -32,3 +32,25 @@ export async function updateTopicEnrollStatus(id, status) { } return Promise.reject(new Error(res.data.message)); } + +/** + * 导出订单 + * @param params 查询条件 + */ +export async function exportTopicEnroll(params) { + const res = await request.get('/sytopic/enroll/export', { + params + }); + if (res.data.code === 0) { + return res.data.data; + } + return Promise.reject(new Error(res.data.message)); +} + +export async function pageSyTopicEnrollTopic() { + const res = await request.get('/sytopic/enroll/topicList', {}); + if (res.data.code === 0) { + return res.data.data; + } + return Promise.reject(new Error(res.data.message)); +} diff --git a/src/views/institution/organization/components/org-edit.vue b/src/views/institution/organization/components/org-edit.vue index 26b4b68..6c39160 100644 --- a/src/views/institution/organization/components/org-edit.vue +++ b/src/views/institution/organization/components/org-edit.vue @@ -55,6 +55,16 @@ />
建议尺寸100X100
+ + + + + + + @@ -127,7 +137,8 @@ sortNumber: null, comments: '', logo: [], - city: [] + city: [], + enrollDeal: 0 }; return { defaultForm, diff --git a/src/views/sytopic/enroll/index.vue b/src/views/sytopic/enroll/index.vue index 3e55110..5271911 100644 --- a/src/views/sytopic/enroll/index.vue +++ b/src/views/sytopic/enroll/index.vue @@ -2,19 +2,60 @@
- - +