From 10b9a5caedbd86459496f1bb5fc6dda762662dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Wed, 20 Aug 2025 18:44:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=81=8C=E4=BD=8D=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .vscode/settings.json | 3 +- src/views/exam/classExam.vue | 2 +- src/views/exam/index.vue | 9 ++ src/views/teacher/edit.vue | 213 ++++++++++++----------------- src/views/teacher/index.vue | 110 ++++++--------- src/views/teacher/positionForm.vue | 106 ++++++-------- 7 files changed, 184 insertions(+), 260 deletions(-) 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 @@