|
@@ -4,6 +4,7 @@ import { deepCopy } from "../plugins/utils";
|
|
|
const initIndex = {
|
|
|
question: 1,
|
|
|
absent: 1,
|
|
|
+ breach: 1,
|
|
|
paperType: 1,
|
|
|
examNumber: 1,
|
|
|
selective: 1,
|
|
@@ -203,6 +204,27 @@ export default {
|
|
|
]
|
|
|
});
|
|
|
}
|
|
|
+ // 违纪标记
|
|
|
+ if (element.discipline && !element.isSimple) {
|
|
|
+ fill_area.push({
|
|
|
+ field: "breach",
|
|
|
+ index: this.getFillAreaIndex("breach"),
|
|
|
+ single: true,
|
|
|
+ horizontal: true,
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ main_number: null,
|
|
|
+ sub_number: null,
|
|
|
+ options: [
|
|
|
+ this.getOffsetInfo(
|
|
|
+ document.getElementById("dynamic-breach-area")
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ recog_info: []
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ });
|
|
|
+ }
|
|
|
// A/B卷类型
|
|
|
if (element.aOrB && !element.isSimple) {
|
|
|
if (element.paperType === "PRINT") {
|