From 2ef4dc9f36574d854ce3df449d9aac6b26ff6f06 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 24 Jun 2022 09:59:55 +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 | 3 + src/assets/img/label.png | Bin 0 -> 334 bytes src/layouts/navbar/index.vue | 2 +- src/pages/account/login/index.vue | 12 +- src/pages/appraisal/list/index.vue | 11 +- src/pages/match/details/index.vue | 192 +++++++--- src/pages/match/list/index.vue | 213 ++++++----- src/pages/match/noticeDetail/index.vue | 172 +++++++++ src/pages/touristMatch/details/index.vue | 433 ----------------------- src/pages/touristMatch/list/index.vue | 221 ++++++------ src/router/modules/match.js | 6 + src/router/modules/touristMatch.js | 8 +- src/setting.js | 2 +- 13 files changed, 571 insertions(+), 704 deletions(-) create mode 100644 src/assets/img/label.png create mode 100644 src/pages/match/noticeDetail/index.vue delete mode 100644 src/pages/touristMatch/details/index.vue diff --git a/src/api/index.js b/src/api/index.js index 5d6a15b..dc71550 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -74,9 +74,12 @@ export default { // 线上赛事 contestPageConditionQueryByOccupationlabStu: `occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlabStu`, contestPageConditionQueryByOccupationlab: `occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlab`, + listOfRegisteredEvents: `occupationlab/enterprise/match/contest/listOfRegisteredEvents`, addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`, // 添加报名人员 getContestProgress: `occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展 getContest: `occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事 + queryAnnouncementByContestId: `occupationlab/contest/announcement/queryAnnouncementByContestId`, + queryAnnouncementDetails: `occupationlab/contest/announcement/queryAnnouncementDetails`, // 阿里云文件/视频管理 fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件 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/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index ed7e927..324e2c1 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -104,7 +104,7 @@ export default { : `http://www.dataforward.cn`) } else if (index === 'trial') { // 申请试用 - window.open('https://www.wjx.cn/vm/wB0RcMm.aspx') + // window.open('https://www.wjx.cn/vm/wB0RcMm.aspx') } else { const token = util.local.get(Setting.tokenKey) // 如果未登录且跳转的是登录后才有的菜单 diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 2721b22..63c36cf 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -236,18 +236,18 @@ export default { }, // 获取学校列表 getSchool() { - const schoolList = util.local.get('schoolList') - if (schoolList && schoolList.length) { - this.setSchool(schoolList) - } else { + // const schoolList = util.local.get('schoolList') + // if (schoolList && schoolList.length) { + // this.setSchool(schoolList) + // } else { this.$get(this.api.querySchool, { provinceId: '', cityId: '' }).then(({ list }) => { this.setSchool(list) - util.local.set('schoolList', list) + // util.local.set('schoolList', list) }).catch(res => {}) - } + // } }, getVerImg() { // 获取验证码图片 this.form.random = Math.floor(Math.random() * 999999999); diff --git a/src/pages/appraisal/list/index.vue b/src/pages/appraisal/list/index.vue index 1fba10c..6edeb0d 100644 --- a/src/pages/appraisal/list/index.vue +++ b/src/pages/appraisal/list/index.vue @@ -1,5 +1,5 @@