|
@@ -45,7 +45,9 @@
|
|
>
|
|
>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label-width="0px">
|
|
<el-form-item label-width="0px">
|
|
- <el-checkbox v-model="form.showForbidArea" @change="configChange"
|
|
|
|
|
|
+ <el-checkbox
|
|
|
|
+ v-model="form.showForbidArea"
|
|
|
|
+ @change="showForbidAreaChange"
|
|
>启用禁答区</el-checkbox
|
|
>启用禁答区</el-checkbox
|
|
>
|
|
>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -114,9 +116,6 @@ export default {
|
|
handler(val) {
|
|
handler(val) {
|
|
this.form = this.$objAssign(this.form, val);
|
|
this.form = this.$objAssign(this.form, val);
|
|
this.prePageSize = this.form.pageSize;
|
|
this.prePageSize = this.form.pageSize;
|
|
- if (val.hasOwnProperty("aOrBSystem")) {
|
|
|
|
- this.form.aOrB = val.aOrBSystem;
|
|
|
|
- }
|
|
|
|
this.columnOptions[2].disabled = val.examNumberStyle === "fill";
|
|
this.columnOptions[2].disabled = val.examNumberStyle === "fill";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -152,8 +151,10 @@ export default {
|
|
this.setTopicNos([]);
|
|
this.setTopicNos([]);
|
|
this.$emit("init-page");
|
|
this.$emit("init-page");
|
|
},
|
|
},
|
|
|
|
+ showForbidAreaChange() {
|
|
|
|
+ this.setCardConfig(this.form);
|
|
|
|
+ },
|
|
configChange() {
|
|
configChange() {
|
|
- // TIPS:暂时不用到
|
|
|
|
this.setCardConfig(this.form);
|
|
this.setCardConfig(this.form);
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.rebuildPages();
|
|
this.rebuildPages();
|