From 37eb6782802746fae884681faa3060cafcff4f36 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 14 Oct 2024 14:16:12 +0800 Subject: [PATCH] fix --- src/assets/css/main.css | 7 + src/utils/api.js | 4 + src/views/customer/AddCustomer.vue | 21 +- src/views/match/manage/matchArch.vue | 51 +++- src/views/match/manage/matchArchList.vue | 362 +++++++++++++++++++---- src/views/match/manage/matchRank.vue | 93 +++++- src/views/match/manage/otherArchList.vue | 74 ++++- src/views/match/manage/theoryReport.vue | 3 +- src/views/order/AddOrder.vue | 6 + 9 files changed, 539 insertions(+), 82 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index dc9c1f1..fadb5df 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -519,4 +519,11 @@ li { list-style-type: disc; } } +} + +.files-tip { + li { + line-height: 1.8; + cursor: pointer; + } } \ No newline at end of file diff --git a/src/utils/api.js b/src/utils/api.js index d1792bf..910d7dd 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -414,9 +414,12 @@ export default { batchDeleteContestGrade: `competition/competition/performance/batchDeleteContestGrade`, batchImportGrades: `${host}competition/competition/performance/batchImportGrades`, exportExperimentalResultsInBatch: `${host}competition/competition/performance/exportExperimentalResultsInBatch`, + exportExamPaperReports: `${host}exam/exam/paper/exportExamPaperReports`, + batchExportReportsAsZip: `${host}occupationlab/occupationlab/achievement/batchExportReportsAsZip`, performanceExportFailure: `${host}competition/competition/performance/exportFailure`, rankExportFailure: `${host}competition/competition/rank/exportFailure`, batchImportRanking: `${host}competition/competition/rank/batchImportRanking`, + getPaperUploadFileZip: `${host}exam/exam/paper/question/userAnswer/getPaperUploadFileZip`, stageGradeManagementList: `competition/competition/performance/stageGradeManagementList`, stageRaceRanking: `competition/competition/rank/stageRaceRanking`, overallStandingsInThePointsRace: `competition/competition/rank/overallStandingsInThePointsRace`, @@ -442,6 +445,7 @@ export default { getCompetitionStageRankingTime: `competition/competitionReleaseTime/getCompetitionStageRankingTime`, frontOfficeCompetitionRanking: `competition/competition/rank/frontOfficeCompetitionRanking`, cCompetitionStageFileList: `competition/cCompetitionStageFile/listByEntity`, + getPaperUploadFile: `exam/exam/paper/question/userAnswer/getPaperUploadFile`, derive: `${host}competition/cCompetitionStageFile/deriveAll`, allExperimentalResultsAreDerived: `${host}competition/competition/performance/allExperimentalResultsAreDerived`, derivedRanking: `${host}competition/competition/rank/derivedRanking`, diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index 1e92149..d92c466 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -139,7 +139,7 @@ - {{ scope.row.status === '已过期' ? '' : scope.row.startAndEndTime }} + {{ scope.row.status === '已过期' ? '-' : scope.row.startAndEndTime }} 还有的订单还未生效 @@ -200,7 +200,7 @@ + v-if='scope.row.orderContent && scope.row.orderContent.length > 14'> {{ scope.row.orderContent }} {{ scope.row.orderContent }} @@ -526,6 +526,7 @@ export default { ], products: [], productAll: [], + productAllOrigin: [], pageProduct: this.$route.query.type === 'tab2' ? (+this.$route.query.page || 1) : 1, pageSizeProduct: 10, totalProduct: 0, @@ -775,6 +776,7 @@ export default { } }) this.productAll = data + this.productAllOrigin = data this.totalProduct = data.length this.handlePage() }).catch(res => { }) @@ -792,6 +794,15 @@ export default { this.handlePage() this.$router.push(`addcustomer?id=${this.customerId}&type=tab2&page=${val}`) }, + // 已订阅产品筛选 + filterForm2 () { + const list = this.productAllOrigin + const { productType, status, keyword } = this.form2 + this.productAll = list.filter(e => (productType === '' || productType === e.productType) && (e.status === status || status === '全部') && (!e.goodsName || (e.goodsName && e.goodsName.includes(keyword)))) + this.pageProduct = 1 + this.totalProduct = this.productAll.length + this.handlePage() + }, // 设置客户 setCustomer () { this.initCustomer() @@ -902,12 +913,6 @@ export default { this.productTypeList = res.classificationList }).catch(err => { }) }, - // 已订阅产品筛选 - filterForm2 () { - const list = this.productAll - const { productType, status, keyword } = this.form2 - this.products = list.filter(e => (productType === '' || productType === e.productType) && (e.status === status || status === '全部') && (!e.goodsName || (e.goodsName && e.goodsName.includes(keyword)))) - }, // 已订阅产品导出 exportList () { let list = this.productAll diff --git a/src/views/match/manage/matchArch.vue b/src/views/match/manage/matchArch.vue index 61b8245..1497bec 100644 --- a/src/views/match/manage/matchArch.vue +++ b/src/views/match/manage/matchArch.vue @@ -8,30 +8,46 @@ + - + {{ scope.row.competitionType ? '团队赛' : '个人赛' }} - - + + + {{ scope.row.startTime + ' ~ ' + scope.row.endTime }} - + - 排名 - 成绩管理 + 排名 + 成绩统计 + + 我的评阅任务 + 分配评阅任务 + + + + + + + + +
{{ scope.row.orderContent }}