From 0165016dd7f14d7981eab4206fd92f20547fce2b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 26 Aug 2024 17:33:00 +0800 Subject: [PATCH] fix --- src/pages/knowledge/index.vue | 3 +- src/pages/ques/detail/index.vue | 73 +++++--- src/pages/ques/list/index.vue | 5 +- src/pages/quesBank/index.vue | 1 - src/pages/testPaper/detail/auto.vue | 96 ++++++---- src/pages/testPaper/detail/index.vue | 222 +++++++++++------------ src/pages/testPaper/detail/manual.vue | 40 ++-- src/pages/testPaper/detail/template.vue | 1 + src/pages/testPaper/list/index.vue | 10 +- src/pages/testPaperLibraryType/index.vue | 2 +- src/plugins/requests/index.js | 2 + 11 files changed, 254 insertions(+), 201 deletions(-) diff --git a/src/pages/knowledge/index.vue b/src/pages/knowledge/index.vue index 62f56d9..7842fa2 100644 --- a/src/pages/knowledge/index.vue +++ b/src/pages/knowledge/index.vue @@ -324,9 +324,8 @@ export default { }, // 点击树节点查询列表数据 handleNodeClick (data) { - this.$refs.table.clearSelection() this.isNotJoin = '' - this.getList() + this.initData() }, // 关闭组织新增编辑弹框 closeType () { diff --git a/src/pages/ques/detail/index.vue b/src/pages/ques/detail/index.vue index 8ee496d..8eb75b9 100644 --- a/src/pages/ques/detail/index.vue +++ b/src/pages/ques/detail/index.vue @@ -86,10 +86,12 @@
您确定要保存对本题所做的更改吗?
${this.detailType === 4 ? '' : '保存后,所有关联的试卷将会自动更新
'}`, '提示', { + await this.$confirm(`您确定要保存对本题所做的更改吗?
${this.detailType === 4 ? '' : '保存后,所有关联的试卷将会自动更新
'}${keep ? '系统未识别到与本题相似的题目
' : ''}`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning', @@ -725,6 +738,10 @@ export default { font-size: 13px; } + /deep/img { + max-width: 100%; + } + .sum { margin: 15px 0; font-size: 13px; @@ -735,18 +752,32 @@ export default { .fill-blanks { .fills { display: inline-flex; - align-items: center; + align-items: flex-start; + flex-wrap: wrap; + flex: 1; + } + + .fill-items { + width: calc(100% - 215px); + margin-right: 40px; } .fill-item { - display: inline-flex; + display: flex; align-items: center; - margin-right: 10px; + margin-bottom: 10px; - .el-input { - width: 100px; + .el-textarea { + width: 100%; margin-right: 10px; } + + &:first-child, + &:last-child { + .el-textarea { + width: calc(100% - 52px); + } + } } .add-fill { @@ -767,7 +798,7 @@ export default { .opts { .opt { display: flex; - align-items: center; + align-items: flex-start; margin-bottom: 15px; } diff --git a/src/pages/ques/list/index.vue b/src/pages/ques/list/index.vue index 1e1ace0..f26e56c 100644 --- a/src/pages/ques/list/index.vue +++ b/src/pages/ques/list/index.vue @@ -45,7 +45,8 @@{{ item.questionBankName }}
知识点
{{ item.name }}
-{{ item.name }}
+试卷
试卷基础信息
默认模板
-试卷大纲
+{{ templateName }}
+
- (
每空分值
-
+ (
每空分值
+