-
-
-
-
+
+
+
+
+
+
+
+
+
大赛发布类型
+
+
+ {{ item.name }}
+
+
+
编辑
+
+
+
+
+
+
编辑
+
+
+
+
+
+
-
-
-
- 保存{{ releaseType ? '草稿' : '' }}
- 上一步
- 发布
- 保存并下一步
-
-
预览
-
{{ editing ? '取消' : '返回' }}
-
+
+
+
+ 保存{{ releaseType ? '草稿' : '' }}
+ 上一步
+ 发布
+ 保存并下一步
+
预览
+
{{ editing ? '取消' : '返回' }}
+
+
\ No newline at end of file
diff --git a/src/pages/match/manage/matchRank.vue b/src/pages/match/manage/matchRank.vue
index 616f1db..47d9ef8 100644
--- a/src/pages/match/manage/matchRank.vue
+++ b/src/pages/match/manage/matchRank.vue
@@ -617,11 +617,11 @@ export default {
} else {
try {
// 取消定时发布的接口跟取消普通发布的接口不一样
- if (this.timeId) {
- await this.$post(`${this.api.cancelCompetitionStageRankingTime}?releaseId=${this.timeId}`)
- } else {
- await this.$post(`${this.api.cancelRanking}?competitionId=${this.id}&isOverallRanking=${this.active ? 0 : 1}&${this.active ? 'stageIds=' + this.active : query.join('&')}`)
- }
+ // if (this.timeId) {
+ await this.$post(`${this.api.cancelCompetitionStageRankingTime}?competitionId=${this.id}&releaseId=${this.timeId}&isOverallRanking=${this.active ? 0 : 1}&stageId=${this.active || this.stageId}`)
+ // } else {
+ await this.$post(`${this.api.cancelRanking}?competitionId=${this.id}&isOverallRanking=${this.active ? 0 : 1}&${this.active ? 'stageIds=' + this.active : query.join('&')}`)
+ // }
this.publishTime = ''
this.sourceType = ''
this.type = 0
diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue
index 52854d0..b102c71 100644
--- a/src/pages/station/preview/index.vue
+++ b/src/pages/station/preview/index.vue
@@ -585,7 +585,7 @@ export default {
const section = this.section === undefined ? 0 : +this.section
const clist = this.chapterList[chapter]
if (this.chapterList.length && clist.subsectionList && clist.subsectionList.length && !this.commentId) {
- // this.preview(clist.subsectionList[section], clist.name, 1);
+ this.preview(clist.subsectionList[section], clist.name, 1);
}
},
// 获取学习进度
@@ -728,7 +728,8 @@ export default {
// pid: reply ? reply.commentId : row ? row.commentId : 0,
pid: row ? row.commentId : 0,
replyAccountId: reply ? reply.createAccountId : row.createAccountId || '',
- status: row ? 2 : 1
+ status: row ? 2 : 1,
+ replyCommentId: reply ? reply.commentId : row ? row.commentId : ''
}).then(res => {
this.comment = ''
this.curReplyId = row ? row.commentId : ''
diff --git a/src/setting.js b/src/setting.js
index 01931e1..be0456c 100644
--- a/src/setting.js
+++ b/src/setting.js
@@ -27,7 +27,7 @@ if (isPro) {
host = "http://121.37.12.51/"; // 中台测试服
// host = 'https://www.occupationlab.com/' // 正式服
host = "http://192.168.31.152:9000/"; // 榕
- // host = 'http://192.168.31.53:9000/'; // 赓
+ // host = 'http://192.168.31.51:9000/'; // 赓
}
const Setting = {