From f0e87338fbeb8a43739193fc1d017754db4edb99 Mon Sep 17 00:00:00 2001 From: zdg Date: Wed, 11 Sep 2024 16:17:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/login/components/Register.vue | 4 ++-- src/renderer/src/views/login/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/views/login/components/Register.vue b/src/renderer/src/views/login/components/Register.vue index 63276dc..1f363cf 100644 --- a/src/renderer/src/views/login/components/Register.vue +++ b/src/renderer/src/views/login/components/Register.vue @@ -60,7 +60,7 @@
{{ item.name }}: - +
@@ -296,7 +296,7 @@ const submitForm = async (formEl) => { schoolId:ruleForm.school[2], classIds:ruleForm.class.join(','), subjectIds:ruleForm.discipline.map(o=>o.id).join(','), - subject:ruleForm.discipline.map(o=>o.itemtitle).join(','), + subject:ruleForm.discipline.map(o=>`${o.edustage}-${o.edusubject}`).join(','), areaIds:ruleForm.address.join(','), area:araname } diff --git a/src/renderer/src/views/login/index.vue b/src/renderer/src/views/login/index.vue index 8f803ee..537ba8c 100644 --- a/src/renderer/src/views/login/index.vue +++ b/src/renderer/src/views/login/index.vue @@ -32,7 +32,7 @@ >
- 注册账号 + 注册账号
-- 2.44.0.windows.1 From b9014b950a775d925ee761084cd1831ca132a828 Mon Sep 17 00:00:00 2001 From: zdg Date: Wed, 11 Sep 2024 20:05:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AF=86=E7=A0=81=E6=89=BE=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/login.js | 9 ++ .../src/views/login/components/Register.vue | 99 ++++++++++++------- src/renderer/src/views/login/index.vue | 8 +- 3 files changed, 77 insertions(+), 39 deletions(-) diff --git a/src/renderer/src/api/login.js b/src/renderer/src/api/login.js index 308e95c..16c03cf 100644 --- a/src/renderer/src/api/login.js +++ b/src/renderer/src/api/login.js @@ -88,6 +88,15 @@ export function signIn(data) { }) } +//登录模块-找回密码 +export function retrievePwd(data) { + return request({ + url: '/smarttalk/register/authRetrievePwd', + method: 'post', + data + }) +} + //注册模块-获取学校 export function deptTree(data) { return request({ diff --git a/src/renderer/src/views/login/components/Register.vue b/src/renderer/src/views/login/components/Register.vue index 1f363cf..2937f36 100644 --- a/src/renderer/src/views/login/components/Register.vue +++ b/src/renderer/src/views/login/components/Register.vue @@ -1,12 +1,12 @@