上传封面
-展示宽度为220,高度140,JPG/PNG/GIF,3MB以内
-上传封面
-展示宽度为1920,高度300,JPG/PNG/GIF,3MB以内
-支持扩展名:.rar .zip .doc .docx .pdf .jpg...
-diff --git a/src/setting.js b/src/setting.js
index 2b84faf..9a83c3b 100644
--- a/src/setting.js
+++ b/src/setting.js
@@ -11,8 +11,8 @@ if (isDev) {
jumpPath = 'http://192.168.31.125:8087/' // 本地调试-需要启动本地判分点系统
host = 'http://121.37.12.51/'
// host = 'https://huorantech.cn/'
- host = 'http://192.168.31.51:9000/'// 榕
- // host = 'http://192.168.31.116:9000/'// 赓
+ // host = 'http://192.168.31.51:9000/'// 榕
+ host = 'http://192.168.31.116:9000/'// 赓
} else if (isPro) {
jumpPath = 'https://www.huorantech.cn/judgmentPoint/'
}
@@ -45,7 +45,7 @@ const Setting = {
isDev,
isPro,
// 是否使用动态路由
- dynamicRoute: true,
+ dynamicRoute: false,
/**
* @description 默认密码
*/
diff --git a/src/utils/api.js b/src/utils/api.js
index d4240dc..903dccb 100644
--- a/src/utils/api.js
+++ b/src/utils/api.js
@@ -295,36 +295,46 @@ export default {
partnerAccountMergeList: `nakadai/nakadai/partnerAccount/partnerAccountMergeList`,
// 赛事
- contestPageConditionQueryByNakadai: `occupationlab/occupationlab/enterprise/match/contest/contestPageConditionQueryByNakadai`,
- addContest: `occupationlab/occupationlab/enterprise/match/contest/addContest`,
- editContest: `occupationlab/occupationlab/enterprise/match/contest/editContest`,
- deleteContest: `occupationlab/occupationlab/enterprise/match/contest/deleteContest`,
- getContest: `occupationlab/occupationlab/enterprise/match/contest/getContest`,
- deleteAnnex: `occupationlab/occupationlab/contest/annex/delete`,
- saveAnnex: `occupationlab/occupationlab/contest/annex/save`,
- getSchoolsByProvince: `nakadai/nakadai/school/getSchoolsByProvince`,
- disabledEvents: `occupationlab/occupationlab/enterprise/match/contest/disabledEvents`,
- batchDeleteContest: `occupationlab/occupationlab/enterprise/match/contest/batchDeleteContest`,
+ CompetitionPageConditionQueryByNakadai: `competition/competition/management/competitionPageConditionQueryByNakadai`,
+ addCompetition: `competition/competition/management/addCompetition`,
+ batchDeleteCompetition: `competition/competition/management/batchDeleteCompetition`,
+ checkTheStatusOfTheCompetition: `competition/competition/management/checkTheStatusOfTheCompetition`,
+ disabledEventsCompetition: `competition/competition/management/disabledEvents`,
+ editCompetition: `competition/competition/management/editCompetition`,
+ getCompetition: `competition/competition/management/getCompetition`,
+ disabledEventsCompetition: `competition/competition/management/disabledEvents`,
+ // 赛事内容
+ addCompetitionContent: `competition/competition/content/addCompetitionContent`,
+ editCompetitionContent: `competition/competition/content/editCompetitionContent`,
+ getCompetitionContent: `competition/competition/content/getCompetitionContent`,
+ // 赛事附件
+ delAnnex: `competition/competition/announcementAnnex/delete`,
+ saveAnnex: `competition/competition/announcementAnnex/save`,
+ updateAnnex: `competition/competition/announcementAnnex/update`,
+ viewAttachments: `competition/competition/announcementAnnex/viewAttachments`,
+ // 赛事规则
+ addCompetitionRule: `competition/competition/rule/addCompetitionRule`,
+ editCompetitionRule: `competition/competition/rule/editCompetitionRule`,
+ getCompetitionRule: `competition/competition/rule/getCompetitionRule`,
// 竞赛进展
- addContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/addContestProgress`,
- deleteContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/deleteContestProgress`,
- getContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/getContestProgress`,
- editContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/editContestProgress`,
+ addCompetitionProgress: `competition/competition/progress/addCompetitionProgress`,
+ deleteCompetitionProgress: `competition/competition/progress/deleteCompetitionProgress`,
+ editCompetitionProgress: `competition/competition/progress/editCompetitionProgress`,
+ getCompetitionProgress: `competition/competition/progress/getCompetitionProgress`,
// 报名人员
- addApplicant: `occupationlab/occupationlab/enterprise/match/applicant/addApplicant`,
- disableContests: `occupationlab/occupationlab/enterprise/match/applicant/disableContests`,
- excelExport: `${host}occupationlab/occupationlab/enterprise/match/applicant/excelExport`,
- queryApplicantByCondition: `occupationlab/occupationlab/enterprise/match/applicant/queryApplicantByCondition`,
- disableApplicant: `occupationlab/occupationlab/enterprise/match/applicant/disableApplicant`,
- exportDataInBatches: `${host}occupationlab/occupationlab/enterprise/match/applicant/exportDataInBatches`,
+ addCompetitionRegistration: `competition/competition/registration/addCompetitionRegistration`,
+ cancelRegistration: `competition/competition/registration/cancelRegistration`,
+ disableContests: `competition/competition/registration/disableContests`,
+ disableRegistration: `competition/competition/registration/disableRegistration`,
+ excelExport: `competition/competition/registration/excelExport`,
+ exportDataInBatches: `competition/competition/registration/exportDataInBatches`,
+ queryRegistrationByCondition: `competition/competition/registration/queryRegistrationByCondition`,
// 赛事公告
- addAnnouncement: `occupationlab/occupationlab/contest/announcement/addAnnouncement`,
- amendmentAnnouncement: `occupationlab/occupationlab/contest/announcement/amendmentAnnouncement`,
- deleteAnnouncement: `occupationlab/occupationlab/contest/announcement/deleteAnnouncement`,
- disableAnnouncement: `occupationlab/occupationlab/contest/announcement/disableAnnouncement`,
- queryAnnouncementByContestId: `occupationlab/occupationlab/contest/announcement/queryAnnouncementByContestId`,
- queryAnnouncementDetails: `occupationlab/occupationlab/contest/announcement/queryAnnouncementDetails`,
- deleteAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/delete`,
- saveAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/save`,
+ addAnnouncement: `competition/competition/announcement/addAnnouncement`,
+ amendmentAnnouncement: `competition/competition/announcement/amendmentAnnouncement`,
+ deleteAnnouncement: `competition/competition/announcement/deleteAnnouncement`,
+ disableAnnouncement: `competition/competition/announcement/disableAnnouncement`,
+ queryAnnouncementByContestId: `competition/competition/announcement/queryAnnouncementByContestId`,
+ queryAnnouncementDetails: `competition/competition/announcement/queryAnnouncementDetails`,
};
\ No newline at end of file
diff --git a/src/views/match/add/index.vue b/src/views/match/add/index.vue
index fccb2e0..adfbbee 100644
--- a/src/views/match/add/index.vue
+++ b/src/views/match/add/index.vue
@@ -5,576 +5,75 @@
上传封面
-展示宽度为220,高度140,JPG/PNG/GIF,3MB以内
-上传封面
-展示宽度为1920,高度300,JPG/PNG/GIF,3MB以内
-支持扩展名:.rar .zip .doc .docx .pdf .jpg...
-上传封面
+展示宽度为220,高度140,JPG/PNG/GIF,3MB以内
+上传封面
+展示宽度为1920,高度300,JPG/PNG/GIF,3MB以内
+支持扩展名:.rar .zip .doc .docx .pdf .jpg...
+积分赛——包含多个竞赛阶段,每个阶段的成绩都包含在最终总成绩里,最后一轮结束后总成绩排名靠前的参赛者得到获奖资格。
+淘汰赛——包含多个竞赛阶段,每个阶段结束后之后只有部分参赛者能晋级下一阶段,晋级最后一轮且在最后一轮排名靠前的参赛者得到获奖资格。
+单项赛——仅包含一个竞赛阶段,单项的成绩排名即为最终排名,排名靠前的参赛者得到获奖资格。
+注:系统默认排名规则,优先按分数排名(分数高则排名靠前),分数相同则按用时排名(用时短则排名靠前)。
+(若选择加权求和,则需要设置每个阶段成绩所占权重,且权重总和须为100%)
++ *晋级规则: +
+若选择“是”,则公布成绩详情,竞赛结束后参赛者可查看自己的比赛成绩得分详情;
+若选择“否”,则不公布成绩详情,参赛者只能知晓自己的分数及排名,不能查看得分详情。
+积分赛——包含多个竞赛阶段,每个阶段的成绩都包含在最终总成绩里,最后一轮结束后总成绩排名靠前的参赛者得到获奖资格。
+淘汰赛——包含多个竞赛阶段,每个阶段结束后之后只有部分参赛者能晋级下一阶段,晋级最后一轮且在最后一轮排名靠前的参赛者得到获奖资格。
+单项赛——仅包含一个竞赛阶段,单项的成绩排名即为最终排名,排名靠前的参赛者得到获奖资格。
+注:系统默认排名规则,优先按分数排名(分数高则排名靠前),分数相同则按用时排名(用时短则排名靠前)。
+(若选择加权求和,则需要设置每个阶段成绩所占权重,且权重总和须为100%)
++ *晋级规则: +
+若选择“是”,则公布成绩详情,竞赛结束后参赛者可查看自己的比赛成绩得分详情;
+若选择“否”,则不公布成绩详情,参赛者只能知晓自己的分数及排名,不能查看得分详情。
+