From d820cb0e8bb7a843d2ae2e413570a8aad9b51f71 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 17 Apr 2024 10:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 6 +- package.json | 1 + src/setting.js | 3 +- src/utils/api.js | 1 + src/views/match/add/step1.vue | 2 +- src/views/match/add/step2.vue | 18 ++++-- src/views/match/list/index.vue | 2 +- src/views/match/manage/matchArch.vue | 1 + src/views/match/manage/matchArchList.vue | 40 ++++++------- src/views/match/manage/matchRank.vue | 67 ++++++--------------- src/views/match/manage/matchSignup.vue | 75 ++++++++++++------------ src/views/serve/projectAdd.vue | 2 +- 12 files changed, 101 insertions(+), 117 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1f5578c..5c688d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9739,9 +9739,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash._basecopy": { "version": "3.0.1", diff --git a/package.json b/package.json index 17bab9c..c9e0195 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "image-webpack-loader": "^8.1.0", "js-cookie": "^3.0.1", "jszip": "^3.10.1", + "lodash": "^4.17.21", "mavon-editor": "^2.10.4", "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", diff --git a/src/setting.js b/src/setting.js index 783f5be..8fb3326 100644 --- a/src/setting.js +++ b/src/setting.js @@ -6,7 +6,7 @@ const isDev = process.env.NODE_ENV === 'development' // 开发环境 const isPro = url.includes('huorantech.cn') //正式服 let jumpPath = `${location.origin}/judgmentPoint/` -let sandPath = `https://izhixinyun.com/sandbox` // 沙盘地址 +let sandPath = `http://121.37.12.51/sandbox` // 沙盘地址 let host = `${location.origin}/` if (isDev) { jumpPath = 'http://192.168.31.125:8087/' // 本地调试-需要启动本地判分点系统 @@ -16,6 +16,7 @@ if (isDev) { // host = 'https://huorantech.cn/' host = 'http://192.168.31.217:9000/' } else if (isPro) { + sandPath = `https://izhixinyun.com/sandbox` jumpPath = 'https://judgment.huorantech.cn/' } diff --git a/src/utils/api.js b/src/utils/api.js index 7526c68..671890b 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -373,6 +373,7 @@ export default { cancelParticipant: `competition/competition/teamParticipant/cancelParticipant`, schoolsInCompetitionArea: `competition/competition/range/schoolsInCompetitionArea`, batchDeleteApplicants: `competition/competition/registration/batchDeleteApplicants`, + deleteAllData: `competition/competition/registration/deleteAllData`, batchImportPersonalData: `${host}competition/competition/registration/batchImportPersonalData`, batchImportTeamData: `${host}competition/competition/registration/batchImportTeamData`, TeamDataExportFailure: `${host}competition/competition/registration/exportFailure`, diff --git a/src/views/match/add/step1.vue b/src/views/match/add/step1.vue index 57858a1..5966462 100644 --- a/src/views/match/add/step1.vue +++ b/src/views/match/add/step1.vue @@ -565,7 +565,7 @@ export default { provinceId: e.provinceId || '', cityId: e.cityId || '', schoolId: e.schoolId || '', - type: e.schoolId ? 0 : 1 + type: e.schoolId ? 0 : (e.cityId ? 1 : 2) }) }) this.form.competitionRangeList = data diff --git a/src/views/match/add/step2.vue b/src/views/match/add/step2.vue index 61fc0bf..90b4022 100644 --- a/src/views/match/add/step2.vue +++ b/src/views/match/add/step2.vue @@ -85,6 +85,7 @@ :label="1">自定义 (可限制本阶段单个团队的出战人数) @@ -110,6 +111,7 @@ 本阶段成绩排名前 队,可晋级下一阶段比赛 @@ -117,6 +119,7 @@ 本阶段成绩排名前 %,可晋级下一阶段比赛 @@ -131,6 +134,7 @@ 分,可晋级下一阶段比赛 @@ -142,6 +146,7 @@ 占总成绩权重: % @@ -150,6 +155,7 @@ (阶段)比赛结束后 小时,公布(阶段)比赛成绩。 @@ -195,6 +201,7 @@ (阶段)比赛结束后 小时,公布(阶段)比赛成绩。 @@ -216,8 +223,8 @@