|
@@ -150,12 +150,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="标准差" width="103" sortable prop="std">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="难度"
|
|
|
- width="103"
|
|
|
- sortable
|
|
|
- prop="difficultyDegree"
|
|
|
- >
|
|
|
+ <el-table-column label="难度" width="103" sortable prop="difficulty">
|
|
|
</el-table-column>
|
|
|
<el-table-column label="差异系数" width="103" sortable prop="cv">
|
|
|
</el-table-column>
|
|
@@ -348,9 +343,9 @@
|
|
|
>
|
|
|
<el-form :loading="quesLoading" label-position="right" label-width="80px">
|
|
|
<el-form-item label="难 度">
|
|
|
- <el-select v-model="difficultyDegree">
|
|
|
+ <el-select v-model="difficulty">
|
|
|
<el-option
|
|
|
- v-for="item in difficultyDegreeList"
|
|
|
+ v-for="item in difficultyList"
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
@@ -439,19 +434,13 @@ export default {
|
|
|
copyPaperId: "",
|
|
|
quesPropertyDialog: false,
|
|
|
difficultyDegree: 0.1,
|
|
|
+ difficulty: "易",
|
|
|
publicity: true,
|
|
|
updateType: "",
|
|
|
- difficultyDegreeList: [
|
|
|
- { label: 0.1, value: 0.1 },
|
|
|
- { label: 0.2, value: 0.2 },
|
|
|
- { label: 0.3, value: 0.3 },
|
|
|
- { label: 0.4, value: 0.4 },
|
|
|
- { label: 0.5, value: 0.5 },
|
|
|
- { label: 0.6, value: 0.6 },
|
|
|
- { label: 0.7, value: 0.7 },
|
|
|
- { label: 0.8, value: 0.8 },
|
|
|
- { label: 0.9, value: 0.9 },
|
|
|
- { label: 1.0, value: 1.0 },
|
|
|
+ difficultyList: [
|
|
|
+ { label: "难", value: "难" },
|
|
|
+ { label: "中", value: "中" },
|
|
|
+ { label: "易", value: "易" },
|
|
|
],
|
|
|
publicityList: PUBLICITY_LIST,
|
|
|
rules: {
|
|
@@ -739,12 +728,14 @@ export default {
|
|
|
},
|
|
|
openInit() {
|
|
|
this.difficultyDegree = 0.1;
|
|
|
+ this.difficulty = "易";
|
|
|
this.publicity = true;
|
|
|
this.quesPropertyDialog = true;
|
|
|
},
|
|
|
//重置
|
|
|
resetForm() {
|
|
|
this.difficultyDegree = 0.1;
|
|
|
+ this.difficulty = "易";
|
|
|
this.publicity = true;
|
|
|
},
|
|
|
resetForm2(formData) {
|
|
@@ -798,7 +789,7 @@ export default {
|
|
|
},
|
|
|
updateQuesPropertyByPaper() {
|
|
|
var params = "?ids=" + this.selectedPaperIds;
|
|
|
- params = params + "&difficultyDegree=" + this.difficultyDegree;
|
|
|
+ params = params + "&difficulty=" + this.difficulty;
|
|
|
params = params + "&publicity=" + this.publicity;
|
|
|
this.quesLoading = true;
|
|
|
this.$http
|
|
@@ -830,7 +821,7 @@ export default {
|
|
|
"/question/updatePro/courseCode/" +
|
|
|
this.formSearch.courseId +
|
|
|
"/" +
|
|
|
- this.difficultyDegree +
|
|
|
+ this.difficulty +
|
|
|
"/" +
|
|
|
this.publicity +
|
|
|
"/" +
|