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 @@