From 8ee53be060938cb92ae7766c8c825d99ce59ec23 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 5 Feb 2024 17:02:30 +0800 Subject: [PATCH] fix --- public/index.html | 2 +- src/pages/achievement/info/course.vue | 2 +- src/pages/achievement/info/project.vue | 6 +- src/pages/achievement/list/course.vue | 5 +- src/pages/achievement/list/project.vue | 3 +- src/pages/activity/details/index.vue | 2 +- src/pages/assessment/list/index.vue | 1 + .../course/list/courseManagement/index.vue | 483 ++++--- src/pages/match/add/step1.vue | 2 +- src/pages/match/add/step2.vue | 11 +- src/pages/match/manage/matchInfo.vue | 1 - src/pages/product/show/index.vue | 1 + src/pages/screen/index.vue | 5 +- src/pages/system/list/index.vue | 92 +- src/pages/system/list/staff.vue | 1152 +++++++++-------- src/pages/system/list/staffSide.vue | 559 ++++---- 16 files changed, 1251 insertions(+), 1076 deletions(-) diff --git a/public/index.html b/public/index.html index 7b9845e..2a0608a 100644 --- a/public/index.html +++ b/public/index.html @@ -10,7 +10,7 @@ var _hmt = _hmt || []; (function() { var hm = document.createElement('script'); - hm.src = 'https://hm.baidu.com/hm.js?72fbad6ebf1d6c705117fe8fe0686a0e'; + hm.src = 'https://hm.baidu.com/hm.js?e4d7deeca2d6ea71d2bd5fa2365bc654'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(hm, s); })(); diff --git a/src/pages/achievement/info/course.vue b/src/pages/achievement/info/course.vue index 88cf2fc..825730d 100644 --- a/src/pages/achievement/info/course.vue +++ b/src/pages/achievement/info/course.vue @@ -3,7 +3,7 @@
-
diff --git a/src/pages/achievement/info/project.vue b/src/pages/achievement/info/project.vue index c478c81..559768e 100644 --- a/src/pages/achievement/info/project.vue +++ b/src/pages/achievement/info/project.vue @@ -320,7 +320,8 @@ export default { pageActivation: 1, pageSizeActivation: 10, totalActivation: 0, - loadIns: null + loadIns: null, + scores: {} }; }, components: { @@ -378,6 +379,7 @@ export default { this.errorAnalysis = res.errorAnalysis || {} this.max = res.highestErrorRate || {} this.min = res.minimumErrorRate || {} + this.scores = res.getFractionalSegmentNum this.getChart() this.errorChart() } catch (e) { @@ -531,7 +533,7 @@ export default { getChart () { // 初始化折线图 const xData = Array.from({ length: 101 }, (v, k) => k) const yData = Array.from({ length: 101 }, (v, k) => 0) - const list = this.listDataAll + const list = this.listData list.map(n => { yData[n.score]++ }) diff --git a/src/pages/achievement/list/course.vue b/src/pages/achievement/list/course.vue index 73b13bc..ccf3fd8 100644 --- a/src/pages/achievement/list/course.vue +++ b/src/pages/achievement/list/course.vue @@ -166,7 +166,8 @@ export default { path: 'list', query: { ...this.$route.query, - keyword: val + keyword: val, + page: 1 } }) this.initData(); @@ -182,7 +183,7 @@ export default { async getCourse () { const { data } = await this.$get(this.api.getSchoolEffectiveCourse) this.curs = data - this.initData(); + this.getData(); }, // 课程选择回调 curChange (id) { diff --git a/src/pages/achievement/list/project.vue b/src/pages/achievement/list/project.vue index 6e3e6c2..bd4db5f 100644 --- a/src/pages/achievement/list/project.vue +++ b/src/pages/achievement/list/project.vue @@ -232,7 +232,8 @@ export default { path: 'list', query: { ...this.$route.query, - keyword: val + keyword: val, + page: 1 } }) this.initData(); diff --git a/src/pages/activity/details/index.vue b/src/pages/activity/details/index.vue index 2fb0318..1273fa9 100644 --- a/src/pages/activity/details/index.vue +++ b/src/pages/activity/details/index.vue @@ -447,7 +447,7 @@ export default { .tool { z-index: 100; position: sticky; - top: 64px; + top: 0; margin-bottom: 20px; background-color: #fff; } diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue index e13c940..1ee6a36 100644 --- a/src/pages/assessment/list/index.vue +++ b/src/pages/assessment/list/index.vue @@ -291,6 +291,7 @@ export default { month: "", }, + mallId: '', pageNum: +this.$route.query.page || 1, // 当前页数 pageSize: 10, // 每页10条 total: 0, // 总数 diff --git a/src/pages/course/list/courseManagement/index.vue b/src/pages/course/list/courseManagement/index.vue index 3d218fa..de5bb93 100644 --- a/src/pages/course/list/courseManagement/index.vue +++ b/src/pages/course/list/courseManagement/index.vue @@ -1,233 +1,290 @@ diff --git a/src/pages/match/add/step1.vue b/src/pages/match/add/step1.vue index a148f68..fa18321 100644 --- a/src/pages/match/add/step1.vue +++ b/src/pages/match/add/step1.vue @@ -696,7 +696,7 @@ export default { this.$parent.showLoad() delete form.publishStatus if (status === 1) form.publishStatus = 1 - form.isOpen = status ? 0 : 1 // 保存则禁用,发布则启用 + form.ztOpen = status ? 0 : 1 // 保存则禁用,发布则启用 form.releaseType = releaseType form.id = this.$route.query.id diff --git a/src/pages/match/add/step2.vue b/src/pages/match/add/step2.vue index 0daf10b..16a6f14 100644 --- a/src/pages/match/add/step2.vue +++ b/src/pages/match/add/step2.vue @@ -80,8 +80,7 @@ * 团队参赛人数限制: 不限制 + :label="0">不限制 自定义 e.stageName) } - for (const e of form.competitionStageList) { - if (!e.teamNumLimitOpt) e.teamNumLimit = 0 - } + // for (const e of form.competitionStageList) { + // if (!e.teamNumLimitOpt) e.teamNumLimit = 0 + // } this.$parent.showLoad() this.pass = 1 if (form.ruleId) { diff --git a/src/pages/match/manage/matchInfo.vue b/src/pages/match/manage/matchInfo.vue index dbabc51..ccddd58 100644 --- a/src/pages/match/manage/matchInfo.vue +++ b/src/pages/match/manage/matchInfo.vue @@ -435,7 +435,6 @@ export default { status = 5; } this.status = status - console.log("🚀 ~ file: matchInfo.vue:350 ~ handleStatus ~ status", status) }, // 编辑保存 edit (showMsg) { diff --git a/src/pages/product/show/index.vue b/src/pages/product/show/index.vue index 4ad1f18..819f6b7 100644 --- a/src/pages/product/show/index.vue +++ b/src/pages/product/show/index.vue @@ -533,6 +533,7 @@ export default { margin-bottom: 15px; color: #333; font-size: 14px; + font-weight: 600; } .sectionName { position: relative; diff --git a/src/pages/screen/index.vue b/src/pages/screen/index.vue index baab042..7e44446 100644 --- a/src/pages/screen/index.vue +++ b/src/pages/screen/index.vue @@ -772,7 +772,7 @@ export default { sort: 0, isShelves: 0, hotTag: 1, - purchaseStatus: 1 + purchaseStatus: this.token ? 1 : '' }) if (cousrseRes) { const courseList = cousrseRes.page.records @@ -1063,6 +1063,8 @@ export default { }], yAxis: [{ type: 'value', + minInterval: 1, + min: 0, axisTick: { show: false }, @@ -1072,6 +1074,7 @@ export default { } }, axisLabel: { + // interval: 5, margin: 10, textStyle: { fontSize: 12, diff --git a/src/pages/system/list/index.vue b/src/pages/system/list/index.vue index 58168aa..7e0ae13 100644 --- a/src/pages/system/list/index.vue +++ b/src/pages/system/list/index.vue @@ -1,13 +1,18 @@ \ No newline at end of file diff --git a/src/pages/system/list/staff.vue b/src/pages/system/list/staff.vue index 0df5c9c..1d011a7 100644 --- a/src/pages/system/list/staff.vue +++ b/src/pages/system/list/staff.vue @@ -1,120 +1,206 @@ \ No newline at end of file diff --git a/src/pages/system/list/staffSide.vue b/src/pages/system/list/staffSide.vue index ab1d85e..cadc92c 100644 --- a/src/pages/system/list/staffSide.vue +++ b/src/pages/system/list/staffSide.vue @@ -1,12 +1,14 @@