diff --git a/src/assets/img/exts/pdf.png b/src/assets/img/exts/pdf.png new file mode 100644 index 0000000..39e05f1 Binary files /dev/null and b/src/assets/img/exts/pdf.png differ diff --git a/src/assets/img/exts/pic.png b/src/assets/img/exts/pic.png new file mode 100644 index 0000000..6f63244 Binary files /dev/null and b/src/assets/img/exts/pic.png differ diff --git a/src/assets/img/exts/ppt.png b/src/assets/img/exts/ppt.png new file mode 100644 index 0000000..ac00198 Binary files /dev/null and b/src/assets/img/exts/ppt.png differ diff --git a/src/assets/img/exts/txt.png b/src/assets/img/exts/txt.png new file mode 100644 index 0000000..bb1276a Binary files /dev/null and b/src/assets/img/exts/txt.png differ diff --git a/src/assets/img/exts/video.png b/src/assets/img/exts/video.png new file mode 100644 index 0000000..d509482 Binary files /dev/null and b/src/assets/img/exts/video.png differ diff --git a/src/assets/img/exts/word.png b/src/assets/img/exts/word.png new file mode 100644 index 0000000..aeb4ddc Binary files /dev/null and b/src/assets/img/exts/word.png differ diff --git a/src/components/Header.vue b/src/components/Header.vue index 8228573..6c572da 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -5,6 +5,12 @@ @click="goHome" src="../assets/img/logo.png"> + + 刘榕ip + 陈赓ip +
{ }) }, + + ipChange (val) { + localStorage.setItem('nakadaiIp', val) + location.reload() + }, }, }; diff --git a/src/setting.js b/src/setting.js index 8fb3326..54160c9 100644 --- a/src/setting.js +++ b/src/setting.js @@ -9,12 +9,13 @@ let jumpPath = `${location.origin}/judgmentPoint/` let sandPath = `http://121.37.12.51/sandbox` // 沙盘地址 let host = `${location.origin}/` if (isDev) { + console.log("🚀 ~ localStorage.getItem('nakadaiIp'):",localStorage.getItem('nakadaiIp')) jumpPath = 'http://192.168.31.125:8087/' // 本地调试-需要启动本地判分点系统 // jumpPath = 'https://judgment.huorantech.cn/' sandPath = `http://${location.hostname}:9520` host = 'http://121.37.12.51/' // host = 'https://huorantech.cn/' - host = 'http://192.168.31.217:9000/' + host = localStorage.getItem('nakadaiIp') == 1 ? 'http://192.168.31.51:9000/' : 'http://192.168.31.217:9000/' } else if (isPro) { sandPath = `https://izhixinyun.com/sandbox` jumpPath = 'https://judgment.huorantech.cn/' diff --git a/src/views/match/list/index.vue b/src/views/match/list/index.vue index 392d10b..200b294 100644 --- a/src/views/match/list/index.vue +++ b/src/views/match/list/index.vue @@ -349,6 +349,7 @@ export default { } }, mounted () { + this.$store.commit('SET_M_PAGE', 1) // websocket实时刷新 Bus.$on('matchSocket', () => { this.getData() diff --git a/src/views/match/manage/matchSignup.vue b/src/views/match/manage/matchSignup.vue index 336770c..4acd17b 100644 --- a/src/views/match/manage/matchSignup.vue +++ b/src/views/match/manage/matchSignup.vue @@ -605,7 +605,7 @@ export default { this.form = JSON.parse(JSON.stringify(row)) }, del (row) { - this.$confirm(!this.info.completeCompetitionSetup.competitionType || row.captain === '否' ? '此删除操作不可逆,是否确认删除选中项?' : '删除队长后,该团队下所有成员都会同步移除报名,是否确认删除?', "提示", { + this.$confirm(!this.info.completeCompetitionSetup.competitionType || row.captain === '否' ? '删除后该参赛人员已有的成绩会一并删除,成绩排名将会受影响,是否确定要删除?' : '删除队长后,该团队下所有成员都会同步移除报名,已有的成绩也会一并删除,成绩排名将会受影响,是否确认删除?', "提示", { type: "warning" }).then(() => { this.$post(this.api.batchDeleteApplicants, { registrationVOS: [row] }).then(res => { @@ -852,7 +852,7 @@ export default { // 批量删除 async batchDel () { const list = this.multipleSelection - const tips = list.length ? (this.info.completeCompetitionSetup.competitionType && list.find(e => e.captain === '是') ? '删除队长后,该团队下所有成员都会同步移除报名,是否确认删除?' : '此删除操作不可逆,是否确认删除选中项?') : '是否确定删除全部报名人员?' + const tips = list.length ? (this.info.completeCompetitionSetup.competitionType && list.find(e => e.captain === '是') ? '删除队长后,该团队下所有成员都会同步移除报名,已有的成绩也会一并删除,成绩排名将会受影响,是否确认删除?' : '删除后该参赛人员已有的成绩会一并删除,成绩排名将会受影响,是否确定要删除?') : '删除后参赛人员已有的成绩会一并删除,成绩排名将会受影响,是否确定删除全部报名人员?' this.$confirm(tips, "提示", { type: "warning" }).then(async () => { diff --git a/src/views/system/taskLog.vue b/src/views/system/taskLog.vue index 1f763e6..01817d3 100644 --- a/src/views/system/taskLog.vue +++ b/src/views/system/taskLog.vue @@ -17,24 +17,33 @@ show-overflow-tooltip> + min-width="90" + align="center" + show-overflow-tooltip> + min-width="300" + align="center" + show-overflow-tooltip>