From b015e22c1a409932559f8f0f8185a66d637898cb Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 12 Sep 2024 14:32:16 +0800
Subject: [PATCH] fix
---
src/api/index.js | 4 +-
src/pages/allocationReview/detail/auto.vue | 715 ---------
src/pages/allocationReview/detail/index.vue | 1360 -----------------
src/pages/allocationReview/detail/manual.vue | 610 --------
.../allocationReview/detail/repeatQues.vue | 119 --
.../allocationReview/detail/template.vue | 329 ----
src/pages/allocationReview/list/index.vue | 6 +-
src/pages/allocationReview/list/progress.vue | 6 +-
.../allocationReview/list/progressDetail.vue | 8 +-
src/pages/allocationReview/preview/index.vue | 706 ---------
.../allocationReview/records/allocation.vue | 262 ++++
src/pages/allocationReview/records/index.vue | 336 ++++
src/pages/allocationReview/records/people.vue | 351 +++++
src/pages/myReview/records/index.vue | 4 +-
src/router/modules/allocationReview.js | 10 +-
15 files changed, 969 insertions(+), 3857 deletions(-)
delete mode 100644 src/pages/allocationReview/detail/auto.vue
delete mode 100644 src/pages/allocationReview/detail/index.vue
delete mode 100644 src/pages/allocationReview/detail/manual.vue
delete mode 100644 src/pages/allocationReview/detail/repeatQues.vue
delete mode 100644 src/pages/allocationReview/detail/template.vue
delete mode 100644 src/pages/allocationReview/preview/index.vue
create mode 100644 src/pages/allocationReview/records/allocation.vue
create mode 100644 src/pages/allocationReview/records/index.vue
create mode 100644 src/pages/allocationReview/records/people.vue
diff --git a/src/api/index.js b/src/api/index.js
index 4076903..fae092a 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -7,7 +7,9 @@ export default {
queryProvince: `/nakadai/nakadai/province/queryProvince`,
queryCity: `/nakadai/nakadai/city/queryCity`,
- querySchool: `/nakadai/nakadai/school/querySchool`,
+ treeListArch: `/nakadai/nakadai/staffAccountArchitecture/treeList`,
+ staffList: `/nakadai/nakadai/backstageStaff/staffList`,
+ querySchoolByReadAndAppraise: `/nakadai/nakadai/school/querySchoolByReadAndAppraise`,
getDetailedExamScores: `/exam/exam/paper/getDetailedExamScores`,
reviewSettingsList: `/competition/competition/readAndAppraise/reviewSettingsList`,
diff --git a/src/pages/allocationReview/detail/auto.vue b/src/pages/allocationReview/detail/auto.vue
deleted file mode 100644
index 44701e1..0000000
--- a/src/pages/allocationReview/detail/auto.vue
+++ /dev/null
@@ -1,715 +0,0 @@
-
-
-
-
-
难度设置
-
-
-
-
-
- 第{{ arabicToChinese(scope.$index + 1) }}大题
-
-
-
- {{ questionTypes.find(e => e.id === scope.row.questionType).name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
知识点设置
-
-
-
-
题库
-
-
-
-
- 序号
- 题库名称
-
-
-
-
-
{{ i + 1 }}
-
{{ item.questionBankName }}
-
-
-
-
-

-
暂无数据
-
-
-
-
-
知识点
-
-
-
-
-
- 序号
- 知识点名称
-
-
-
-
-
knowledgeChange(val, item)">
-
{{ i + 1 }}
-
{{ item.name }}
-
-
-
-
-

-
暂无数据
-
-
-
-
-
-
已选知识点({{ allKnowledges.length }}个)
-
-
- 清空
-
-
-
-
-
-
- 题库:{{ item.quesBank.questionBankName }}
-
-
-
- {{ tag.name }}
-
-
-
-
-
-
-
年份设置
-
- 全选
-
-
-
-
-
-
-
- 取消
- 自动选题
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/detail/index.vue b/src/pages/allocationReview/detail/index.vue
deleted file mode 100644
index db742e0..0000000
--- a/src/pages/allocationReview/detail/index.vue
+++ /dev/null
@@ -1,1360 +0,0 @@
-
-
-
-
-
- 试卷基础信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 分钟
-
-
-
-
-
-
-
-
-
-
- difficultSelected = !!val">
-
-
-
-
-
基础题:难度系数0.2
-
普通题:难度系数0.4
-
较难题:难度系数0.6
-
困难题:难度系数0.8
-
(1)题型难度系数=对应题型所有试题的难度系数之和/总试题数
-
(2)试卷总难度系数=所有试题的难度系数之和/总试题数
-
(3)难度系数评价:
-
-
简单:系数 <=0.3
-
普通:0.3<系数<=0.4
-
较难:0.4<系数<0.5
-
困难:系数>=0.5
-
-
-
-
-
-
-
-
-
-
-
-
- 试卷大纲
-
-
{{ templateName }}
-
选择大纲模板
-
-
-
-
- 第{{ arabicToChinese(scope.$index + 1) }}大题
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 目标总题数:{{ overview.questionCount }};目标总分:{{ overview.totalScore }}
-
-
-
-
-
试卷试题
-
- 一键分配分值
- 自动选题
-
-
-
-
-
-
- 保存草稿
- 发布
- 预览
- 取消
-
-
-
-
-
-
-
- 大题 |
- 已添加题数/目标题数 |
- 已分配分值/目标分值 |
-
-
-
-
- 第{{ arabicToChinese(i + 1) }}大题 |
- {{ item.examQuestions.length }}/{{ item.questionNum }} |
- {{ getQuesAlreadyScore(item) }}/{{ item.targetScore }} |
-
-
- 总计 |
- {{ overview.alreadyQuesCount }}/{{ overview.questionCount }} |
- {{ overview.alreadyScore }}/{{ overview.totalScore }} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/detail/manual.vue b/src/pages/allocationReview/detail/manual.vue
deleted file mode 100644
index deaf352..0000000
--- a/src/pages/allocationReview/detail/manual.vue
+++ /dev/null
@@ -1,610 +0,0 @@
-
-
-
-
-
-
-
题库
-
-
-
-
- 序号
- 题库名称
-
-
-
-
-
{{ i + 1 }}
-
{{ item.questionBankName }}
-
-
-
-
-

-
暂无数据
-
-
-
-
-
{{ questionTypeName }}(共{{ ques.length }}道题)
-
-
-
-
-
-
- 序号
- 题干
- 知识点
-
-
-
-
-
quesChange(val, item)">
-
{{ i + 1 }}
-
- {{ item.stemText }}
-
-
- {{ item.knowledgePointName }}
-
-
-
-
-
-

-
暂无数据
-
-
-
-
-
-
-
-
更换试题(共{{ checked.length }}道题)
-
已选试题(共{{ checkedLen }}道题)
-
批量移除
-
-
-
-
-
-
-
-
- 序号
- 题干
- 知识点
-
-
-
-
-
-
-
-
{{ i + 1 }}
-
- {{ item.stemText }}
-
-
- {{ item.knowledgePointName }}
-
-
-
-
-
-
-
-
-
-

-
暂无数据
-
-
-
-
-
未找到试题,去新增
-
已选题数/目标题数:{{ checkedLen }}/{{ $parent.curType.questionNum }}
-
-
-
-
- 取消
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/detail/repeatQues.vue b/src/pages/allocationReview/detail/repeatQues.vue
deleted file mode 100644
index 9fd9d9a..0000000
--- a/src/pages/allocationReview/detail/repeatQues.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 详情
- 移除
-
-
-
-
-
-
- 检查一下
- 继续发布
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/detail/template.vue b/src/pages/allocationReview/detail/template.vue
deleted file mode 100644
index 1cd73cc..0000000
--- a/src/pages/allocationReview/detail/template.vue
+++ /dev/null
@@ -1,329 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 使用模板
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 第{{ arabicToChinese(scope.$index + 1) }}大题
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 目标总题数:{{ questionNum }};目标总分:{{ totalScore }}
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/list/index.vue b/src/pages/allocationReview/list/index.vue
index 612536c..e9da341 100644
--- a/src/pages/allocationReview/list/index.vue
+++ b/src/pages/allocationReview/list/index.vue
@@ -61,8 +61,8 @@
@@ -243,7 +243,7 @@ export default {
},
// 任务分配
toTask (row) {
- this.$router.push(`task`)
+ this.$router.push(`records`)
},
}
};
diff --git a/src/pages/allocationReview/list/progress.vue b/src/pages/allocationReview/list/progress.vue
index 26439ad..1cc40e7 100644
--- a/src/pages/allocationReview/list/progress.vue
+++ b/src/pages/allocationReview/list/progress.vue
@@ -12,7 +12,7 @@
-
-
+
@@ -93,7 +93,7 @@ export default {
methods: {
// 初始化
init () {
- this.initList()
+ this.initData()
},
// tab切换回调
async tabChange () {
@@ -114,7 +114,7 @@ export default {
this.totalQuesBank = res.message.total
} catch (e) { }
},
- initList () {
+ initData () {
this.page = 1
this.getList()
},
diff --git a/src/pages/allocationReview/list/progressDetail.vue b/src/pages/allocationReview/list/progressDetail.vue
index 918a80d..3398aff 100644
--- a/src/pages/allocationReview/list/progressDetail.vue
+++ b/src/pages/allocationReview/list/progressDetail.vue
@@ -29,7 +29,7 @@
-
@@ -104,7 +104,7 @@ export default {
// 初始化
init () {
this.getProvince()
- this.initList()
+ this.initData()
},
// tab切换回调
async tabChange () {
@@ -125,7 +125,7 @@ export default {
this.totalQuesBank = res.message.total
} catch (e) { }
},
- initList () {
+ initData () {
this.page = 1
this.getList()
},
@@ -172,7 +172,7 @@ export default {
},
// 获取学校
async getSchool () {
- const { list } = await this.$get(this.api.querySchool, {
+ const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, {
provinceId: this.filter.provinceId,
cityId: this.filter.cityId,
})
diff --git a/src/pages/allocationReview/preview/index.vue b/src/pages/allocationReview/preview/index.vue
deleted file mode 100644
index ad16621..0000000
--- a/src/pages/allocationReview/preview/index.vue
+++ /dev/null
@@ -1,706 +0,0 @@
-
-
-
-
{{ form.name }}
-
-
- 用时
- {{ timeSum.day }}天
- {{ timeSum.hour }}小时
- {{ timeSum.minutes }}分
- {{ timeSum.seconds }}秒
-
-
-

-
-
-
-
-
答题卡
-
-
答题进度
-
-
共{{ form.questionCount }}题,满分{{ form.score }}分
-
-
-
-
{{ arabicToChinese(i + 1) }}、{{ item.outlineName }}(本题共{{ item.questionNum }}小题,共{{
- item.targetScore }}分)
-
-
- -
-
- {{ j + 1 }}
-
-
-
-
-
-
- - 未作答
- - 已作答
- - 部分已作答
-
已标记
-
-
-
-
- -
-
- {{ arabicToChinese(i + 1) }}、{{ item.outlineName }}(本题共{{ item.questionNum }}小题,共{{
- item.targetScore }}分)
-

-
-
-
-
-
{{ j + 1 }} / {{ item.questionNum }}
-
{{ item.questionTypeName }}
-
-
({{ ques.score }}分)
-
![]()
-
-
-
-
-
-
-
-
-
{{ numToLetter(j) }}.
-
-
-
-
-
-
- {{ ques.fileName
- || ques.stemAttachment
- }}
- 下载
-
- essayAnswerReady(editor, ques)" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/allocationReview/records/allocation.vue b/src/pages/allocationReview/records/allocation.vue
new file mode 100644
index 0000000..88177c3
--- /dev/null
+++ b/src/pages/allocationReview/records/allocation.vue
@@ -0,0 +1,262 @@
+
+
+
+
+
+
+
+
+
+
+
选择评阅人员
+ 批量分配
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/allocationReview/records/index.vue b/src/pages/allocationReview/records/index.vue
new file mode 100644
index 0000000..4429e10
--- /dev/null
+++ b/src/pages/allocationReview/records/index.vue
@@ -0,0 +1,336 @@
+
+
+
+
筛选
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 分配评阅人员
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/allocationReview/records/people.vue b/src/pages/allocationReview/records/people.vue
new file mode 100644
index 0000000..beb7ecf
--- /dev/null
+++ b/src/pages/allocationReview/records/people.vue
@@ -0,0 +1,351 @@
+
+
+
选择评阅人员
+
+
+
+
+
+
+
+
+
+
+
用户
+
+
+
+
+
+ 姓名
+
+
+
+
+
+
userChange(val, item)">
+
{{ item.userName }}
+
+
+
+
+

+
暂无数据
+
+
+
+
+
+
+
+
+
+
+ 姓名
+
+
+
+
+
+
+
+
{{ item.userName }}
+
+
+
+
+
+
+
+

+
暂无数据
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/myReview/records/index.vue b/src/pages/myReview/records/index.vue
index 7ee466b..4a8a7ef 100644
--- a/src/pages/myReview/records/index.vue
+++ b/src/pages/myReview/records/index.vue
@@ -23,7 +23,7 @@
-
@@ -253,7 +253,7 @@ export default {
},
// 获取学校
async getSchool () {
- const { list } = await this.$get(this.api.querySchool, {
+ const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, {
provinceId: this.filter.provinceId,
cityId: this.filter.cityId,
})
diff --git a/src/router/modules/allocationReview.js b/src/router/modules/allocationReview.js
index e1eb45c..cc21495 100644
--- a/src/router/modules/allocationReview.js
+++ b/src/router/modules/allocationReview.js
@@ -15,10 +15,10 @@ export default {
component: () => import('@/pages/allocationReview/list'),
meta: { title: '分配评阅任务' }
},
- // {
- // path: 'detail',
- // component: () => import('@/pages/testPaper/detail'),
- // meta: { title: '试卷管理' }
- // },
+ {
+ path: 'records',
+ component: () => import('@/pages/allocationReview/records'),
+ meta: { title: '任务分配' }
+ },
]
};