|
|
@ -393,7 +393,6 @@ export default { |
|
|
|
// 处理大纲列表 |
|
|
|
// 处理大纲列表 |
|
|
|
handleQuesList () { |
|
|
|
handleQuesList () { |
|
|
|
this.list = _.cloneDeep(this.$parent.form.paperOutline) |
|
|
|
this.list = _.cloneDeep(this.$parent.form.paperOutline) |
|
|
|
console.log("🚀 ~ handleQuesList ~ this.list:", this.list) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
// 清空已选 |
|
|
|
// 清空已选 |
|
|
|
async clearChecked () { |
|
|
|
async clearChecked () { |
|
|
@ -452,18 +451,18 @@ export default { |
|
|
|
this.$set(e, 'hardDifficulty', 0) |
|
|
|
this.$set(e, 'hardDifficulty', 0) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
} else if (val === 2) { |
|
|
|
} else if (val === 2) { |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.5)) |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.45)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.5)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.55)) |
|
|
|
this.$set(e, 'hardDifficulty', 0) |
|
|
|
this.$set(e, 'hardDifficulty', 0) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
} else if (val === 3) { |
|
|
|
} else if (val === 3) { |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.4)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'hardDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'hardDifficulty', Math.floor(total * 0.4)) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
this.$set(e, 'veryHardDifficulty', 0) |
|
|
|
} else if (val === 4) { |
|
|
|
} else if (val === 4) { |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.1)) |
|
|
|
this.$set(e, 'basicDifficulty', Math.floor(total * 0.1)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.2)) |
|
|
|
this.$set(e, 'normalDifficulty', Math.floor(total * 0.1)) |
|
|
|
this.$set(e, 'hardDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'hardDifficulty', Math.floor(total * 0.3)) |
|
|
|
this.$set(e, 'veryHardDifficulty', Math.floor(total * 0.5)) |
|
|
|
this.$set(e, 'veryHardDifficulty', Math.floor(total * 0.5)) |
|
|
|
} |
|
|
|
} |
|
|
|