From 69010141d5ee13ec4fb88abf4422ab42bec9431a Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 8 Mar 2024 10:41:37 +0800 Subject: [PATCH] =?UTF-8?q?confirm=E7=A1=AE=E8=AE=A4=E5=BC=B9=E6=A1=86?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E7=82=B9=E5=87=BB=E9=81=AE=E7=9B=96=E5=B1=82?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 8 +- src/components/editor.js | 135 +-- src/pages/activity/details/index.vue | 974 +++++++++--------- src/pages/activity/list/index.vue | 3 +- src/pages/activity/manage/add/index.vue | 6 +- src/pages/activity/manage/manage/index.vue | 6 +- .../activity/manage/manage/matchProgress.vue | 438 ++++---- src/pages/activity/manage/manage/notice.vue | 261 ++--- src/pages/course/details/index.vue | 3 +- src/pages/match/details/index.vue | 12 +- src/pages/match/list/index.vue | 3 +- src/pages/record/list/ass.vue | 10 +- src/pages/record/list/practice.vue | 10 +- src/pages/record/show/index.vue | 20 +- src/pages/setting/person/index.vue | 165 +-- src/pages/setting/person/info.vue | 6 +- src/pages/station/preview/index.vue | 3 +- src/pages/touristMatch/list/index.vue | 6 +- vue.config.js | 1 + 19 files changed, 1052 insertions(+), 1018 deletions(-) diff --git a/public/index.html b/public/index.html index 62f3cca..0b1b861 100644 --- a/public/index.html +++ b/public/index.html @@ -3,20 +3,20 @@ - + - 智信云 + 职站——为院校打造一站式虚拟仿真实训教学数智云平台 \ No newline at end of file diff --git a/src/pages/activity/list/index.vue b/src/pages/activity/list/index.vue index e401180..ea025da 100644 --- a/src/pages/activity/list/index.vue +++ b/src/pages/activity/list/index.vue @@ -348,7 +348,8 @@ export default { } else if (status == 1) { // 已报名,点击取消报名 this.$confirm('是否要取消报名?', '提示', { - type: 'success' + type: 'success', + closeOnClickModal: false }).then(() => { this.$post(`${this.api.delActivityApplicant}?id=${item.cancelId}`).then(res => { this.getData() diff --git a/src/pages/activity/manage/add/index.vue b/src/pages/activity/manage/add/index.vue index 862a620..0b5e160 100644 --- a/src/pages/activity/manage/add/index.vue +++ b/src/pages/activity/manage/add/index.vue @@ -261,7 +261,8 @@ export default { // 更改了信息才需要提示 if (this.updateTime) { this.$confirm(`所填写内容暂未保存,是否保存?`, '提示', { - type: 'warning' + type: 'warning', + closeOnClickModal: false }).then(() => { this.save(this.form.publishStatus) }).catch(() => { @@ -433,7 +434,8 @@ export default { // 更改了信息才需要提示 if (this.updateTime) { this.$confirm(`编辑的内容未保存,是否保存?`, '提示', { - type: 'warning' + type: 'warning', + closeOnClickModal: false }).then(() => { this.save(this.form.publishStatus) }).catch(() => { diff --git a/src/pages/activity/manage/manage/index.vue b/src/pages/activity/manage/manage/index.vue index e2a5246..aa84ccc 100644 --- a/src/pages/activity/manage/manage/index.vue +++ b/src/pages/activity/manage/manage/index.vue @@ -57,7 +57,8 @@ export default { const detail = this.$refs.detail if (detail && detail.updateTime) { this.$confirm(`编辑的内容未保存,是否保存并且发布?`, '提示.......', { - type: 'warning' + type: 'warning', + closeOnClickModal: false }).then(() => { detail.save(detail.form.publishStatus) }).catch(() => { @@ -81,7 +82,8 @@ export default { const detail = this.$refs.detail if (detail && detail.updateTime) { this.$confirm(`编辑的内容未保存,是否保存并且发布?`, '提示', { - type: 'warning' + type: 'warning', + closeOnClickModal: false }).then(() => { detail.save(detail.form.publishStatus) this.backOrTab(i) diff --git a/src/pages/activity/manage/manage/matchProgress.vue b/src/pages/activity/manage/manage/matchProgress.vue index c138368..060f45c 100644 --- a/src/pages/activity/manage/manage/matchProgress.vue +++ b/src/pages/activity/manage/manage/matchProgress.vue @@ -1,219 +1,253 @@ diff --git a/src/pages/activity/manage/manage/notice.vue b/src/pages/activity/manage/manage/notice.vue index a532ee3..a867b02 100644 --- a/src/pages/activity/manage/manage/notice.vue +++ b/src/pages/activity/manage/manage/notice.vue @@ -1,47 +1,70 @@ \ No newline at end of file diff --git a/src/pages/course/details/index.vue b/src/pages/course/details/index.vue index c07ecd1..a73b963 100644 --- a/src/pages/course/details/index.vue +++ b/src/pages/course/details/index.vue @@ -218,7 +218,8 @@ export default { // 如果没登录,直接去登录 if (!util.local.get(Setting.tokenKey) && !util.local.get('oc_server_token') && showConfirm) { this.$confirm('请先登录,是否直接前往登录?', "提示", { - type: 'success' + type: 'success', + closeOnClickModal: false }).then(() => { this.SET_COURSE(this.id) this.$router.push('/login') diff --git a/src/pages/match/details/index.vue b/src/pages/match/details/index.vue index fbdaf91..1e5fad5 100644 --- a/src/pages/match/details/index.vue +++ b/src/pages/match/details/index.vue @@ -1121,7 +1121,8 @@ export default { } if (notSave) { this.$confirm('所填写内容暂未保存,是否保存?', "提示", { - type: "warning" + type: "warning", + closeOnClickModal: false }).then(() => { // 保存团队名称和邀请码 if (notSave === 1) { @@ -1269,7 +1270,8 @@ export default { } } this.$confirm(include ? `该成员已被指定参加${include},踢出后需重新指定成员参加,是否确认踢出团队?` : '确定要踢出该成员吗?', '提示', { - type: 'warning' + type: 'warning', + closeOnClickModal: false }).then(() => { this.$post(`${this.api.removeTheLine}?teamId=${this.info.teamId}&competitionId=${this.id}&accountId=${row.accountId}`).then(res => { Util.successMsg('移除成功') @@ -1645,7 +1647,8 @@ export default { } else if (status == 1) { // 已报名,点击取消报名 this.$confirm('是否要取消报名?', '提示', { - type: 'success' + type: 'success', + closeOnClickModal: false }).then(() => { this.$post(`${this.api.cancelRegistration}?competitionId=${this.id}`).then(res => { this.status = 2 @@ -1656,7 +1659,8 @@ export default { } } else { // 如果没登录,提示去登录 this.$confirm('请先登录,是否直接前往登录?', "提示", { - type: 'success' + type: 'success', + closeOnClickModal: false }).then(() => { this.SET_SOURCE(this.id) this.$router.push('/login') diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue index 651bb76..a88bb7e 100644 --- a/src/pages/match/list/index.vue +++ b/src/pages/match/list/index.vue @@ -996,7 +996,8 @@ export default { } } else { this.$confirm('请先登录,是否直接前往登录?', "提示", { - type: 'success' + type: 'success', + closeOnClickModal: false }).then(() => { this.SET_SOURCE(item.id) this.$router.push('/login') diff --git a/src/pages/record/list/ass.vue b/src/pages/record/list/ass.vue index 7281c34..0e87da5 100644 --- a/src/pages/record/list/ass.vue +++ b/src/pages/record/list/ass.vue @@ -3,6 +3,7 @@ { this.listData = res.page.records; this.total = res.page.total; - }).catch(err => { }); + this.loading = false + }).catch(err => { + this.loading = false + }); }, initData () { this.page = 1 diff --git a/src/pages/record/list/practice.vue b/src/pages/record/list/practice.vue index 0124cd5..fdd4431 100644 --- a/src/pages/record/list/practice.vue +++ b/src/pages/record/list/practice.vue @@ -1,6 +1,7 @@