|
@@ -428,11 +428,13 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="10" :sm="10" :md="10" :lg="10">
|
|
|
<el-form-item label="分值">
|
|
|
- <el-input
|
|
|
+ <el-input-number
|
|
|
v-model="quesModel.score"
|
|
|
placeholder="分值"
|
|
|
+ :precision="1"
|
|
|
+ :min="0"
|
|
|
:disabled="quesModel.questionType == 'NESTED_ANSWER_QUESTION'"
|
|
|
- ></el-input>
|
|
|
+ ></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -1550,7 +1552,11 @@ export default {
|
|
|
"###"
|
|
|
);
|
|
|
}
|
|
|
- if (this.quesModel.questionType == "MATCHING_QUESTION") {
|
|
|
+ if (
|
|
|
+ this.quesModel.questionType == "NESTED_ANSWER_QUESTION" ||
|
|
|
+ this.quesModel.questionType == "MATCHING_QUESTION" ||
|
|
|
+ this.quesModel.questionType == "LISTENING_QUESTION"
|
|
|
+ ) {
|
|
|
this.quesModel.quesBody = this.quesModel.quesBody.replace(
|
|
|
/___([1-9][0-9]*)___/g,
|
|
|
"##$1##"
|