diff --git a/.gitignore b/.gitignore index 7815bac..7f9b81f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ tests/**/coverage/ *.sln tsconfig.tsbuildinfo .vscode +.vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json index 354c5f4..975bb66 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,8 @@ "editor.tabSize": 2, "editor.formatOnPaste": true, "editor.guides.bracketPairs": "active", - "files.autoSave": "afterDelay", + // "files.autoSave": "afterDelay", + "files.autoSave": "off", "git.confirmSync": false, "workbench.startupEditor": "newUntitledFile", "editor.suggestSelection": "first", diff --git a/src/views/exam/classExam.vue b/src/views/exam/classExam.vue index a88d407..8522245 100644 --- a/src/views/exam/classExam.vue +++ b/src/views/exam/classExam.vue @@ -62,7 +62,7 @@ const tableData: TableConfig = { grade: { label: "年级", width: "120px", - custom: (s) => `${s.gradeYear}${s.gradeLevel}`, + // custom: (s) => `${s.gradeLevel}${s.gradeYear}`, search: true, add: false, // 字段允许添加 edit: false, // 字段允许修改 diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue index 26f6ce4..014227f 100644 --- a/src/views/exam/index.vue +++ b/src/views/exam/index.vue @@ -133,6 +133,15 @@ const tableData: TableConfig = { add: true, // 字段允许添加 edit: true, // 字段允许修改 }, + baseSchoolScore: { + label: "资源校平均分", + // rules: ruleRequiredNumber, + search: true, + width: "150px", + setting: {}, + add: true, // 字段允许添加 + edit: true, // 字段允许修改 + }, startTime: { label: "考试时间", width: "210px", diff --git a/src/views/teacher/edit.vue b/src/views/teacher/edit.vue index 924716f..7be4b65 100644 --- a/src/views/teacher/edit.vue +++ b/src/views/teacher/edit.vue @@ -1,32 +1,12 @@