From ccf21096c2d7e894b6a5126f2ae3a494dc663b24 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 11 Jan 2024 11:15:58 +0800 Subject: [PATCH] fix --- src/api/index.js | 4 + src/pages/activity/add/index.vue | 4 +- src/pages/activity/list/index.vue | 16 ++- src/pages/activity/manage/matchSignup.vue | 135 +++++++++++++++--- .../miniProgramMg/index/hot/add/index.vue | 21 ++- src/plugins/requests/index.js | 4 +- src/setting.js | 2 +- 7 files changed, 154 insertions(+), 32 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 158648d..ad7954d 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -24,6 +24,9 @@ export default { editCompetition: `competition/competition/management/editCompetition`, getCompetition: `competition/competition/management/getCompetition`, queryRegistrationByCondition: `competition/competition/registration/queryRegistrationByCondition`, + disableRegistration: `competition/competition/registration/disableRegistration`, + excelExportCom: `${host}competition/competition/registration/excelExport`, + exportDataInBatchesCom: `${host}competition/competition/registration/exportDataInBatches`, enterpriseCertificationDetails: `nakadai/enterprise/certification/enterpriseCertificationDetails`, delCertification: `nakadai/enterprise/certification/batchDeletion`, @@ -64,4 +67,5 @@ export default { saveExplosive: `nakadai/explosiveRecommendation/save`, sortExplosive: `nakadai/explosiveRecommendation/sort`, updateExplosive: `nakadai/explosiveRecommendation/update`, + prodList: `nakadai/prod/page`, } \ No newline at end of file diff --git a/src/pages/activity/add/index.vue b/src/pages/activity/add/index.vue index ebd32b8..30a4bf8 100644 --- a/src/pages/activity/add/index.vue +++ b/src/pages/activity/add/index.vue @@ -29,7 +29,8 @@ - @@ -568,6 +569,7 @@ export default { if (!form.name) return Util.warningMsg("请填写活动名称"); // 发布需要校验 if (status) { + if (!form.classificationId) return Util.warningMsg("请选择活动分类"); if (!this.sponsorList.length) return Util.warningMsg("请填写主办方"); if (!form.signUpStartTime) return Util.warningMsg("请选择报名时间"); let now = new Date().getTime(); diff --git a/src/pages/activity/list/index.vue b/src/pages/activity/list/index.vue index 38b81f2..7bde939 100644 --- a/src/pages/activity/list/index.vue +++ b/src/pages/activity/list/index.vue @@ -61,10 +61,8 @@
创建活动 - 批量删除 + @click="add">创建活动 + 批量删除
@@ -88,7 +86,9 @@ + width="170"> - --> +