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 0000000..31c27d1 Binary files /dev/null and b/src/assets/img/label.png differ 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 @@
  • + +
    +
    - 创建竞赛 + 创建竞赛
    - - - - + + - + - - - + + +