From 55a9ea2897d3dec7d968c6056cc5840988f48f2e Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 24 Jun 2022 16:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 33 +- src/assets/img/label.png | Bin 0 -> 334 bytes src/pages/achievement/list/index.vue | 40 +- src/pages/match/add/index.vue | 584 +++++++++++++++------- src/pages/match/list/index.vue | 146 +++--- src/pages/match/manage/index.vue | 77 +-- src/pages/match/manage/matchDetail.vue | 610 +++++++++++++++-------- src/pages/match/manage/matchProgress.vue | 4 +- src/pages/match/manage/matchSignup.vue | 52 +- src/pages/match/manage/notice.vue | 123 +++++ src/pages/match/manage/noticeDetail.vue | 304 +++++++++++ src/router/index.js | 18 + src/setting.js | 8 +- src/store/modules/user.js | 2 +- 14 files changed, 1455 insertions(+), 546 deletions(-) create mode 100644 src/assets/img/label.png create mode 100644 src/pages/match/manage/notice.vue create mode 100644 src/pages/match/manage/noticeDetail.vue diff --git a/src/api/index.js b/src/api/index.js index ab03d77..bbe239f 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,7 +1,7 @@ import Setting from "@/setting"; const host = Setting.apiBaseURL const uploadURL = Setting.upload.apiURL; -const host1 = "http://39.108.250.202:8080/" +const host1 = "http://121.37.12.51:8080/" export default { queryToken: `liuwanr/userInfo/queryToken`, @@ -42,7 +42,7 @@ export default { saveOrg: `occupationlab/architecture/save`, // 新增组织架构 updateOrg: `occupationlab/architecture/update`, // 编辑组织架构 deleteOrg: `occupationlab/architecture/delete`, // 删除组织架构 - studentTemplate: `http://39.108.250.202/template/学生导入模板.xlsx`, // 学生导入模板 + studentTemplate: `http://121.37.12.51/template/学生导入模板.xlsx`, // 学生导入模板 // 测评管理 questionsList: `occupationlab/questions/list`, // 题库列表查询 @@ -51,7 +51,7 @@ export default { questionsDetail: `occupationlab/questions/detail`, // 查看当前题库信息 questionsDelete: `occupationlab/questions/delete`, // 根据主键删除 questionsIsDisable: `occupationlab/questions/isDisable`, // 是否禁用试题 - questionsTemplate: `http://39.108.250.202/template/试题导入模板.xlsx`, //excel模板文件下载 + questionsTemplate: `http://121.37.12.51/template/试题导入模板.xlsx`, //excel模板文件下载 questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库 questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出 questionsInfo: `occupationlab/questions/info`, // 测评规则信息的展示 @@ -103,13 +103,18 @@ export default { updateProjectJudgment: `occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 deleteProjectJudgment: `occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 - // 赛事管理 + + // 赛事 + contestPageConditionQueryByOccupationlab: `occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlab`, addContest: `occupationlab/enterprise/match/contest/addContest`, - deleteContest: `occupationlab/enterprise/match/contest/deleteContest`, editContest: `occupationlab/enterprise/match/contest/editContest`, - publishContest: `occupationlab/enterprise/match/contest/publishContest`, + deleteContest: `occupationlab/enterprise/match/contest/deleteContest`, getContest: `occupationlab/enterprise/match/contest/getContest`, - queryContestByCondition: `occupationlab/enterprise/match/contest/queryContestByCondition`, + deleteAnnex: `occupationlab/contest/annex/delete`, + saveAnnex: `occupationlab/contest/annex/save`, + getSchoolsByProvince: `nakadai/nakadai/school/getSchoolsByProvince`, + disabledEvents: `occupationlab/enterprise/match/contest/disabledEvents`, + // 竞赛进展 addContestProgress: `occupationlab/enterprise/match/contest-progress/addContestProgress`, deleteContestProgress: `occupationlab/enterprise/match/contest-progress/deleteContestProgress`, @@ -118,10 +123,18 @@ export default { // 报名人员 addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`, disableContests: `occupationlab/enterprise/match/applicant/disableContests`, - excelExport: `occupationlab/enterprise/match/applicant/excelExport`, + excelExport: `${host}occupationlab/enterprise/match/applicant/excelExport`, queryApplicantByCondition: `occupationlab/enterprise/match/applicant/queryApplicantByCondition`, disableApplicant: `occupationlab/enterprise/match/applicant/disableApplicant`, - batchExport: `occupationlab/enterprise/match/applicant/batchExport`, + exportDataInBatches: `${host}occupationlab/enterprise/match/applicant/exportDataInBatches`, + // 赛事公告 + addAnnouncement: `occupationlab/contest/announcement/addAnnouncement`, + amendmentAnnouncement: `occupationlab/contest/announcement/amendmentAnnouncement`, + deleteAnnouncement: `occupationlab/contest/announcement/deleteAnnouncement`, + queryAnnouncementByContestId: `occupationlab/contest/announcement/queryAnnouncementByContestId`, + queryAnnouncementDetails: `occupationlab/contest/announcement/queryAnnouncementDetails`, + deleteAnnouncementAnnex: `occupationlab/contestAnnouncementAnnex/delete`, + saveAnnouncementAnnex: `occupationlab/contestAnnouncementAnnex/save`, // 栏目管理 addColumn: `occupationlab/enterprise/information/column/addColumn`, @@ -204,7 +217,7 @@ export default { modifyStaff: `occupationlab/staff/modifyStaff`, //编辑员工 delStaff: `occupationlab/staff/delStaff`, //删除员工 staffList: `occupationlab/staff/staffList`, //员工列表 - staffTemplate: `http://39.108.250.202/template/员工用户导入模板.xlsx`, //员工用户导入模板 + staffTemplate: `http://121.37.12.51/template/员工用户导入模板.xlsx`, //员工用户导入模板 exportFailureStaff: `${host}occupationlab/staff/exportFailure`, //批量导入员工失败数据导出 importStaff: `${host}occupationlab/staff/importStaff`, //批量导入员工 // 角色管理 diff --git a/src/assets/img/label.png b/src/assets/img/label.png new file mode 100644 index 0000000000000000000000000000000000000000..31c27d1100166ab3ec36998032ec9d25c777b0e2 GIT binary patch literal 334 zcmV-U0kQsxP)Px$2uVaiR7gwhl`(F@KoCXWn1&iDH=smZfzadz&>~veR3Ky=3po`vC8C8J&;VD6 zD7gU=H4PqwWkr~EWV4Y|ptxCUSNq@0{M{X);7<(wp}ryXt+>i3V_DtqH36>fP!3iA z;RRo6SpX%Z$yhcIL5BK@!x~=_L8oQ#Y=D8*aj2x0E96KZU(uR%iCkR(tsneY;!FE? zfV@syXHYoc-vgt>u0GpEEBqAw8NkyrA%lqL5a7uv!M46=o>pSv_q${!G3aRbRFv2Q zeUx4-{DCiC^zZ6*9L4ifgn%>E{QUrCK-Uny_ah0K1D!k#rxislY`-JUGWrTq8fkmX gj+Q0%;CkVJ3vA}d8A>e({r~^~07*qoM6N<$f-^jfrvLx| literal 0 HcmV?d00001 diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue index c7c53a0..2a06cc6 100644 --- a/src/pages/achievement/list/index.vue +++ b/src/pages/achievement/list/index.vue @@ -30,7 +30,7 @@
  • - +
  • - +
    - +
    @@ -21,7 +21,7 @@ :headers="headers" name="file" > - +

    上传封面

    @@ -44,7 +44,7 @@ :headers="headers" name="file" > - +

    上传封面

    @@ -54,9 +54,22 @@
    + +
    + 本校内 +
    +
    + 全平台 +
    +
    + 指定区域、院校 + 选择院校 + {{ rangeName }} +
    +
    - +
    @@ -98,240 +111,385 @@ :picker-options="pickerOptions"> - + + + + + 点击上传 +
    +

    支持扩展名:.rar .zip .doc .docx .pdf .jpg...

    +
    +
    - 保存 - 发布 + 保存 + 发布 + 预览 + + + + + 取 消 + 确 定 + + + + +
    +
    +
    {{ form.name }}
    +
    最近编辑时间:{{ form.updateTime }}
    +
    + +
    竞赛信息
    +
    + +
    +
    @@ -468,4 +626,42 @@ $upload-lg-height: 150px; font-weight: bold; } } +.match { + .l-title{ + display: flex; + align-items: center; + margin-bottom: 12px; + font-size: 14px; + color: #333; + img{ + margin-right: 5px; + } + } + .title{ + width: 67%; + margin: 0 auto; + font-size: 28px; + text-align: center; + color: #0B1D30; + } + .info .meta{ + padding: 16px 0; + font-size: 12px; + color: #999; + text-align: center; + } + .texts { + margin-bottom: 30px; + } + .files { + li { + display: flex; + align-items: center; + margin: 10px 0; + } + .file-name { + margin-right: 10px; + } + } +} \ No newline at end of file diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue index fe2f85f..e1ca01c 100644 --- a/src/pages/match/list/index.vue +++ b/src/pages/match/list/index.vue @@ -24,38 +24,48 @@
  • + +
    +
    - 创建竞赛 + 创建竞赛
    - - - - + + - + - - - + + +