From 1695a4c4d4f739311e61b31ffd00decb2c214be2 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Fri, 22 Nov 2024 11:29:46 +0800
Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=81=94=E8=B0=83=E5=AE=8C?=
=?UTF-8?q?=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apis/modules/course.js | 4 +
apis/modules/user.js | 14 +-
apis/request.js | 2 +-
manifest.json | 2 +-
pages.json | 18 +-
pages/achievement/achievement.vue | 111 +++-
pages/index/index.vue | 47 +-
pages/login/login.vue | 114 +---
pages/person/person.vue | 302 ++--------
uni_modules/uni-data-select/changelog.md | 39 ++
.../uni-data-select/uni-data-select.vue | 562 ++++++++++++++++++
uni_modules/uni-data-select/package.json | 86 +++
uni_modules/uni-data-select/readme.md | 8 +
uni_modules/uni-load-more/changelog.md | 6 +
.../uni-load-more/uni-load-more.vue | 5 +
uni_modules/uni-load-more/package.json | 16 +-
user/reg/reg.vue | 92 ++-
user/selectAccount/selectAccount.vue | 63 +-
user/send/send.vue | 95 ---
user/switchAccount/switchAccount.vue | 119 ++++
20 files changed, 1138 insertions(+), 567 deletions(-)
create mode 100644 uni_modules/uni-data-select/changelog.md
create mode 100644 uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
create mode 100644 uni_modules/uni-data-select/package.json
create mode 100644 uni_modules/uni-data-select/readme.md
delete mode 100644 user/send/send.vue
create mode 100644 user/switchAccount/switchAccount.vue
diff --git a/apis/modules/course.js b/apis/modules/course.js
index 7677fe6..496abaf 100644
--- a/apis/modules/course.js
+++ b/apis/modules/course.js
@@ -35,4 +35,8 @@ export const practiceByStudentDetail = data => {
export const experimentOverview = () => {
return get('occupationlab/occupationlab/achievement/experimentOverview')
+}
+
+export const getSchoolEffectiveCourse = () => {
+ return get('nakadai/nakadai/curriculum/getSchoolEffectiveCourse')
}
\ No newline at end of file
diff --git a/apis/modules/user.js b/apis/modules/user.js
index effec4a..4e038d4 100644
--- a/apis/modules/user.js
+++ b/apis/modules/user.js
@@ -14,10 +14,12 @@ export const weChatToken = (data) => {
return post('users/users/user/weChatToken', data)
}
-export const captcha = (data) => {
- return Config.baseURL + `users/users/user/captcha`
+export const checkUserNameOrWorkNumber = (data) => {
+ return post('users/users/batchProcessing/checkUserNameOrWorkNumber', data)
}
+export const captcha = Config.baseURL + `users/users/user/captcha`
+
export const queryProvince = () => {
return get('nakadai/nakadai/province/queryProvince')
}
@@ -53,6 +55,14 @@ export const queryUserInfoDetails = () => {
return get('users/users/userAccount/queryUserInfoDetails')
}
+export const searchAllAccountsByPhone = data => {
+ return get('users/users/user/searchAllAccountsByPhone', data)
+}
+
+export const switchAccounts = (data) => {
+ return post('users/users/user/switchAccounts', data)
+}
+
export const updateMyEmail = (data) => {
return post('nakadai/nakadai/partner-team/updateMyEmail', data)
}
diff --git a/apis/request.js b/apis/request.js
index 4ea0553..eb185bc 100644
--- a/apis/request.js
+++ b/apis/request.js
@@ -30,7 +30,7 @@ const request = options => {
setTimeout(() => {
logouted = 0
uni.reLaunch({
- url: '/pages/index/index'
+ url: '/pages/login/login'
})
}, 1500)
reject(data)
diff --git a/manifest.json b/manifest.json
index 4d126fb..801eb23 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
"quickapp" : {},
/* 快应用特有相关 */
"mp-weixin" : {
- "appid" : "wx2b506fdb0eeee65d",
+ "appid" : "wx7e6ca7f895669c62",
"setting" : {
"urlCheck" : false,
"es6" : true,
diff --git a/pages.json b/pages.json
index 72681b0..87574a1 100644
--- a/pages.json
+++ b/pages.json
@@ -74,6 +74,14 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path" : "switchAccount/switchAccount",
+ "style" :
+ {
+ "navigationBarTitleText": "切换账号",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path" : "setting/setting",
"style" :
@@ -147,15 +155,7 @@
"navigationBarTitleText": "方案详情",
"enablePullDownRefresh": false
}
- },
- {
- "path" : "send/send",
- "style" :
- {
- "navigationBarTitleText": "下载发送",
- "enablePullDownRefresh": false
- }
- }
+ }
]
}
],
diff --git a/pages/achievement/achievement.vue b/pages/achievement/achievement.vue
index 3fbf5e8..e97ebec 100644
--- a/pages/achievement/achievement.vue
+++ b/pages/achievement/achievement.vue
@@ -32,15 +32,41 @@