|
@@ -12,6 +12,8 @@ import { getModel as createFillPane } from "../card/elements/fill-pane/model";
|
|
import { getModel as createPaneBox } from "./elements/pane-box/model";
|
|
import { getModel as createPaneBox } from "./elements/pane-box/model";
|
|
import { getModel as createFieldText } from "./elements/field-text/model";
|
|
import { getModel as createFieldText } from "./elements/field-text/model";
|
|
import { getModel as createPaperStruct } from "./elements/paper-struct/model";
|
|
import { getModel as createPaperStruct } from "./elements/paper-struct/model";
|
|
|
|
+import { getModel as createScoreTable } from "./elements/score-table/model";
|
|
|
|
+import { getModel as createPaperProps } from "./elements/paper-props/model";
|
|
|
|
|
|
// available infos
|
|
// available infos
|
|
const EDITABLE_ELEMENT = [
|
|
const EDITABLE_ELEMENT = [
|
|
@@ -28,7 +30,12 @@ const EDITABLE_ELEMENT = [
|
|
"FILL_TABLE",
|
|
"FILL_TABLE",
|
|
"FILL_PANE",
|
|
"FILL_PANE",
|
|
];
|
|
];
|
|
-const EDITABLE_TOPIC = ["PANE_BOX", "PAPER_STRUCT"];
|
|
|
|
|
|
+const EDITABLE_TOPIC = [
|
|
|
|
+ "PANE_BOX",
|
|
|
|
+ "PAPER_STRUCT",
|
|
|
|
+ "SCORE_TABLE",
|
|
|
|
+ "PAPER_PROPS",
|
|
|
|
+];
|
|
|
|
|
|
const ELEMENT_INFOS = {
|
|
const ELEMENT_INFOS = {
|
|
LINES: {
|
|
LINES: {
|
|
@@ -87,6 +94,14 @@ const ELEMENT_INFOS = {
|
|
name: "试卷结构",
|
|
name: "试卷结构",
|
|
getModel: createPaperStruct,
|
|
getModel: createPaperStruct,
|
|
},
|
|
},
|
|
|
|
+ SCORE_TABLE: {
|
|
|
|
+ name: "给分表格",
|
|
|
|
+ getModel: createScoreTable,
|
|
|
|
+ },
|
|
|
|
+ PAPER_PROPS: {
|
|
|
|
+ name: "试卷属性",
|
|
|
|
+ getModel: createPaperProps,
|
|
|
|
+ },
|
|
};
|
|
};
|
|
|
|
|
|
const ELEMENT_LIST = EDITABLE_ELEMENT.map((type) => {
|
|
const ELEMENT_LIST = EDITABLE_ELEMENT.map((type) => {
|