From 450d458d089f699da9797f10d8938d59bd44ab2d Mon Sep 17 00:00:00 2001
From: huababa1 <2037205722@qq.com>
Date: Thu, 16 Oct 2025 19:15:32 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91?=
=?UTF-8?q?=E8=AF=95=E5=8D=B7=E4=BB=BB=E5=8A=A1=E5=85=B1=E4=BA=AB=EF=BC=8C?=
=?UTF-8?q?=E7=9F=A5=E8=AF=86=E7=82=B9=E5=85=A8=E9=80=89=EF=BC=8C=E6=93=8D?=
=?UTF-8?q?=E4=BD=9C=E9=A2=98=E8=AF=95=E9=A2=98=E8=80=83=E7=82=B9=E7=9A=84?=
=?UTF-8?q?=E7=A7=BB=E5=8A=A8=EF=BC=8C=E8=80=83=E7=82=B9=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E7=9A=84=E9=A2=98=E5=B9=B2=E4=BD=8D=E7=BD=AE=EF=BC=8C=E7=9B=91?=
=?UTF-8?q?=E6=8E=A7=E7=AE=A1=E7=90=86=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=EF=BC=8C=E6=B8=85=E9=99=A4=E7=BC=93=E5=AD=98=E5=8E=BB=E6=8E=89?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/tenant/index.ts | 4 +
src/views/Login/components/LoginForm.vue | 7 +
src/views/monitor/monitor/index.vue | 6 +
src/views/paper/question/BrowerForm.vue | 13 +-
src/views/paper/question/EmailForm.vue | 94 +++++++++++-
src/views/paper/question/FileForm.vue | 13 +-
src/views/paper/question/MysqlForm.vue | 14 +-
src/views/paper/question/PsForm.vue | 92 +++++++++---
src/views/paper/question/SettingForm.vue | 96 +++++++++++-
.../question/WindowsSystemSettingForm.vue | 99 +++++++++++--
src/views/paper/question/WpsPptxForm.vue | 61 +++++++-
src/views/paper/question/WpsWordForm.vue | 62 +++++++-
src/views/paper/question/WpsXlsxForm.vue | 140 ++++++++++++++----
src/views/paper/question/index.vue | 97 +++++++++---
src/views/system/tenant/TenantForm.vue | 24 +--
src/views/system/tenant/index.vue | 64 +++++++-
.../steps/step1/components/step-edit.vue | 28 ++++
.../steps/step4/components/step-edit.vue | 8 +-
src/views/task/exam/components/task-add.vue | 14 +-
src/views/task/exam/components/task-temp.vue | 2 +-
src/views/task/exam/index.vue | 5 +
.../steps/step1/components/step-edit.vue | 28 ++++
.../steps/step4/components/step-edit.vue | 8 +-
.../collegeexam/components/task-add.vue | 14 +-
.../collegeexam/components/task-temp.vue | 1 -
.../task/selftrans/collegeexam/index.vue | 5 +
.../steps/step1/components/step-edit.vue | 30 ++++
.../steps/step4/components/step-edit.vue | 8 +-
.../selftrans/module/components/task-add.vue | 14 +-
.../selftrans/module/components/task-temp.vue | 1 -
src/views/task/selftrans/module/index.vue | 5 +
.../steps/step1/components/step-edit.vue | 28 ++++
.../steps/step4/components/step-edit.vue | 8 +-
.../selftrans/random/components/task-add.vue | 14 +-
.../selftrans/random/components/task-temp.vue | 1 -
src/views/task/selftrans/random/index.vue | 5 +
.../steps/step1/components/step-edit.vue | 29 ++++
.../steps/step4/components/step-edit.vue | 8 +-
src/views/task/sprint/components/task-add.vue | 14 +-
.../task/sprint/components/task-temp.vue | 1 -
src/views/task/sprint/index.vue | 5 +
.../steps/step1/components/step-edit.vue | 29 ++++
.../steps/step4/components/step-edit.vue | 8 +-
src/views/task/trans/components/task-add.vue | 14 +-
src/views/task/trans/components/task-temp.vue | 1 -
src/views/task/trans/index.vue | 5 +
46 files changed, 1064 insertions(+), 163 deletions(-)
diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts
index 209e512..8c3b50c 100644
--- a/src/api/system/tenant/index.ts
+++ b/src/api/system/tenant/index.ts
@@ -66,3 +66,7 @@ export const deleteTenant = (id: number) => {
export const exportTenant = (params: TenantExportReqVO) => {
return request.download({ url: '/system/tenant/export-excel', params })
}
+
+export const resetPassword = (data) => {
+ return request.post({url: '/system/tenant/reset-password', data,})
+}
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index 22e4233..84d4702 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -271,6 +271,13 @@ const loginOutAdminPassword = async () => {
}
LoginApi.refreshLogout(data).then((res) => {
if (res) {
+ if (res === '900002') {
+ ElMessageBox.alert('管理员密码错误,请重新输入!', '提示', {
+ confirmButtonText: '确认',
+ type: 'error',
+ })
+ return
+ }
message.success(res)
isTrueLoginForAdminPassWord.value = false
}
diff --git a/src/views/monitor/monitor/index.vue b/src/views/monitor/monitor/index.vue
index 3f110d7..081f0d3 100644
--- a/src/views/monitor/monitor/index.vue
+++ b/src/views/monitor/monitor/index.vue
@@ -172,6 +172,12 @@
+
-
+
取消
确定
-
+
diff --git a/src/views/paper/question/EmailForm.vue b/src/views/paper/question/EmailForm.vue
index 4e877c8..a23dde6 100644
--- a/src/views/paper/question/EmailForm.vue
+++ b/src/views/paper/question/EmailForm.vue
@@ -152,11 +152,26 @@
-
-
-
- 删除
-
+
+
+
+
+ —
@@ -287,11 +302,52 @@
+
+