diff --git a/src/api/QuestionClass.js b/src/api/QuestionClass.js
index f4af1be..41de4d4 100644
--- a/src/api/QuestionClass.js
+++ b/src/api/QuestionClass.js
@@ -15,6 +15,14 @@ export function getQuestionClass(params) {
params
})
}
+
+export function GetQuestionClassByType(params) {
+ return request({
+ url: `/QuestionClass/GetQuestionClassByType`,
+ method: 'get',
+ params
+ })
+}
// 修改 | 保存
export function EditQuestionClass(params) {
return request({
diff --git a/src/api/TestPaper.js b/src/api/TestPaper.js
index c2f8bc6..93f4dc0 100644
--- a/src/api/TestPaper.js
+++ b/src/api/TestPaper.js
@@ -10,7 +10,8 @@ export function EditTestPaper(params) {
export function getTestPaperList(params) {
return request({
- url: `/TestPaper/List?pageIndex=${params.pageIndex}&pageSize=${params.pageSize}&sort=${params.sort}&sortOrder=${params.sortOrder}`,
+ url: `/TestPaper/List`,
+ // url: `/TestPaper/List?pageIndex=${params.pageIndex}&pageSize=${params.pageSize}&sort=${params.sort}&sortOrder=${params.sortOrder}`,
method: 'get',
data: params
})
diff --git a/src/api/user.js b/src/api/user.js
index f375988..82bced6 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -94,4 +94,12 @@ export function UpdateCurrentPasswordById(data) {
method: 'post',
data
})
-}
+}
+
+export function AddInvitationAnswerMultiple(data) {
+ return request({
+ url: `/InvitationAnswer/AddInvitationAnswerMultiple`,
+ method: 'post',
+ data
+ })
+}
\ No newline at end of file
diff --git a/src/views/QuestionBank/components/EditDimension.vue b/src/views/QuestionBank/components/EditDimension.vue
index 921d8fe..8ac49c4 100644
--- a/src/views/QuestionBank/components/EditDimension.vue
+++ b/src/views/QuestionBank/components/EditDimension.vue
@@ -237,8 +237,7 @@
} catch (e) { }
},
show(id) {
- if (id) {
- this.data = {
+ this.data = {
// id: Date.parse(new Date()) + '_' + Math.ceil(Math.random() * 99999),
// key: Date.parse(new Date()) + '_' + Math.ceil(Math.random() * 99999),
rules: [
@@ -255,6 +254,8 @@
}
]
};
+ if (id) {
+
this.dialogFormVisible = true;
getQuestionClass({ id }).then(res => {
diff --git a/src/views/QuestionBank/index.vue b/src/views/QuestionBank/index.vue
index f66502f..d36c527 100644
--- a/src/views/QuestionBank/index.vue
+++ b/src/views/QuestionBank/index.vue
@@ -6,48 +6,24 @@
-
-
+
+
-
+
{{ node.label }}
-
+
添加下级
- 编辑
- handleDeleteQuestionClass(node, data)"
- >
+ 编辑
+
+ handleDeleteQuestionClass(node, data)">
删除
@@ -59,24 +35,16 @@
- 添加题目
+ 添加题目
-
+ " :header-cell-class-name="headerStyle" :stripe="true">
{{ scope.row.id }}
@@ -86,32 +54,28 @@
{{
scope.row.subjectName
- }}
+ }}
-
+
{{
scope.row.QuestionClassName
- }}
+ }}
{{
scope.row.fraction
- }}
+ }}
{{
scope.row.singleFraction
- }}
+ }}
@@ -119,46 +83,33 @@
{{ scope.row.answer }}
-
+
{{
scope.row.subject
- }}
+ }}
-
+
{{
scope.row.analysis
- }}
+ }}
- {
handleCommand(e, scope.row.id);
}
- "
- style="padding-left: 10px"
- >
+ " style="padding-left: 10px">
操作
- 编辑
+ 编辑
删除
@@ -167,83 +118,43 @@
-
+ " :page-size="this.parameter.pageSize" layout="total,prev, pager, next" :total="Count">
-
-
+
+
-
+
- 确定
+ 确定
-
+
-
+
-
+
-
+
@@ -253,484 +164,488 @@
-
+
{{ scope.row.option }}
-
-
+
+
-
+
-
+
-
-
+
+
{{ item.option }}
-
+
{{
item.option
- }}
+ }}
-
-
+
+
单项分数:
-
+
-
+
- 确定
+ 确定
-
+
+ /deep/.cell {
+ padding-left: 0px;
+ }
+
+ /deep/.el-form-item {
+ margin-bottom: 5px;
+ }
+
+ /deep/.el-radio {
+ margin-right: 10px;
+ }
+
+ /deep/.el-radio__input.is-checked .el-radio__inner {
+ border-color: #409eff;
+ background-color: #409eff;
+ }
+
+ /deep/.el-radio__input.is-checked+.el-radio__label {
+ color: #409eff;
+ font-weight: bold;
+ }
+
+ /deep/.tableStyle {
+ background-color: #304156 !important;
+ color: #fff;
+ font-weight: 400;
+ }
+
+ .QuestDiv {
+ width: 24%;
+ float: left;
+ min-height: 50px;
+ border: 1px solid #cdcdcd;
+ margin-right: 10px;
+ box-shadow: 0 0 10px #808080;
+ border-radius: 8px;
+ min-height: 100px;
+ background-color: #fff;
+ opacity: 0.8;
+ margin-bottom: 10px;
+ height: 313px;
+ }
+
+ .clear {
+ clear: both;
+ margin-bottom: 10px;
+ }
+
+ .font-color {
+ background-color: #ae1e15 !important;
+ color: #fff;
+ box-shadow: 0 0 5px #ae1e15;
+ }
+
+ /deep/.el-input-group__prepend {
+ font-weight: bold;
+ width: 30px;
+ text-align: center;
+ background: #409eff;
+ color: #fff;
+ }
+
+ .optionInput {
+ float: left;
+ width: 620px !important;
+ }
+
+ .el-icon {
+ font-size: 20px;
+ line-height: 40px;
+ margin: 0 5px;
+ cursor: pointer;
+ color: #409eff !important;
+ }
+
+ >>>.subjectContentClass .el-checkbox__label {
+ padding-right: 10px !important;
+ }
+
+ .seetingsDiv {
+ width: 100%;
+ height: 60px;
+ background: #efefef;
+ line-height: 60px;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #cdcdcd;
+ }
+
+ .seetingsDiv button {
+ background-color: #304156;
+ border: 0px;
+ margin-left: 10px;
+ box-shadow: 0 0 5px #cdcdcd;
+ float: right;
+ margin-top: 12px;
+ margin-right: 10px;
+ }
+
+ .areadiv {
+ background-color: #efefef;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #efefef;
+ }
+
+ .TreeHeader {
+ background-color: #304156;
+ height: 60px;
+ border-radius: 5px;
+ box-shadow: 0 0 10px #efefef;
+ line-height: 60px;
+ color: #fff;
+ padding-left: 10px;
+ }
+
+ .classbtn {
+ float: right;
+ margin: 11px 10px 0 0;
+ height: 35px;
+ line-height: 12px;
+ }
+
+ .eltree {
+ background-color: #efefef;
+ }
+
+ /deep/.el-tree-node__content {
+ min-height: 40px;
+ }
+
+ .custom-tree-node {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ font-size: 14px;
+ padding-right: 8px;
+ }
+
\ No newline at end of file
diff --git a/src/views/TestPaper/ManualTestPaper.vue b/src/views/TestPaper/ManualTestPaper.vue
index 91257e1..0afed77 100644
--- a/src/views/TestPaper/ManualTestPaper.vue
+++ b/src/views/TestPaper/ManualTestPaper.vue
@@ -10,10 +10,12 @@
+
- {{ i.subject }}
+ {{
+ i.subject }}
加载中...
没有更多了
@@ -28,6 +30,7 @@
+
@@ -38,6 +41,8 @@
+
+
@@ -56,7 +61,7 @@
主观题:{{TestPaper.SubjectiveNumber}}
- {{TestPaper.TotalScore}}
+ {{TestPaper.TotalScore || ''}}
@@ -114,6 +119,7 @@