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"> - --> +