From a8dbd41bdbab6baf25634c98b6c20561232b9eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 29 Oct 2024 17:30:48 +0800 Subject: [PATCH] =?UTF-8?q?add:=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83UI?= =?UTF-8?q?=E8=BF=98=E5=8E=9F;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/profile/components/classList.vue | 26 ++++ .../views/profile/components/selectClass.vue | 73 +++++++++ src/renderer/src/views/profile/index.vue | 131 ++++++---------- src/renderer/src/views/profile/userAvatar.vue | 1 + src/renderer/src/views/profile/userInfo.vue | 140 ++++++++++++++---- 5 files changed, 254 insertions(+), 117 deletions(-) create mode 100644 src/renderer/src/views/profile/components/classList.vue create mode 100644 src/renderer/src/views/profile/components/selectClass.vue diff --git a/src/renderer/src/views/profile/components/classList.vue b/src/renderer/src/views/profile/components/classList.vue new file mode 100644 index 0000000..5779951 --- /dev/null +++ b/src/renderer/src/views/profile/components/classList.vue @@ -0,0 +1,26 @@ + + + {{item.caption}}、 + + 加入班级 + + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/profile/components/selectClass.vue b/src/renderer/src/views/profile/components/selectClass.vue new file mode 100644 index 0000000..10f82ed --- /dev/null +++ b/src/renderer/src/views/profile/components/selectClass.vue @@ -0,0 +1,73 @@ + + + + + {{ userStore.edustage }} + + + + + + 幼儿园 + 小学 + 初中 + 高中 + + + + + + + + {{ userStore.edusubject }} + + + + + + + {{ + item.itemtitle }} + + + + + + + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/profile/index.vue b/src/renderer/src/views/profile/index.vue index 8423f02..92ce668 100644 --- a/src/renderer/src/views/profile/index.vue +++ b/src/renderer/src/views/profile/index.vue @@ -1,105 +1,45 @@ - - - - - - 个人信息 - - - - - - - - - - - 用户名称 - - {{ state.user.userName }} - - - - - 手机号码 - - {{ state.user.phonenumber }} - - - - - 身份证号 - - {{ state.user.identity }} - - - - - 所属部门 - - - {{ state.user.dept.deptName }} / {{ state.postGroup }} - - - - - - 所属角色 - - {{ state.roleGroup || '教师' }} - - - - - 创建日期 - - {{ state.user.createTime }} - - - - - 版本编号 - - v{{version}} - - - - - - - - - - 基本资料 - - + + + + {{ state.user.nickName }} + + + + + + + - - - - - - + + + + + + + + -