diff --git a/src/api/all/index.ts b/src/api/all/index.ts
index 1b487ff..b00f92e 100644
--- a/src/api/all/index.ts
+++ b/src/api/all/index.ts
@@ -50,7 +50,6 @@ export const fetchNewKeywordDetail = (params: any) => {
// 使用Http.get方法,发送GET请求,获取行业话题列表
return Http.get('/v1/industry-new-keywords/' + params, {});
};
-fetchIndustryTopicDetail;
// 导出一个函数fetchUserPainPointsList,用于获取用户痛点列表
export const fetchUserPainPointsList = (params: any) => {
@@ -116,3 +115,28 @@ export const trialProduct = (id: number) => {
export const updateEnterpriseName = (data: any) => {
return Http.patch(`/v1/enterprises/name`, data, { headers: { 'enterprise-id': 1 } });
};
+
+// 发送修改手机号验证码
+export const sendUpdateMobileCaptcha = (data: any) => {
+ return Http.post(`/v1/sms/update-mobile-captcha`, data);
+};
+
+// 修改绑定的手机号
+export const updateMobile = (data: any) => {
+ return Http.post(`/v1/me/mobile`, data);
+};
+
+// 修改我的信息
+export const updateMyInfo = (data: any) => {
+ return Http.put(`/v1/me`, data);
+};
+
+// 获取企业账号分页
+export const fetchSubAccountPage = (params: any) => {
+ return Http.get(`/v1/enterprises/users`, params, { headers: { 'enterprise-id': 1 } });
+};
+
+// 获取企业账号分页
+export const fetchImageUploadFile = (params: any) => {
+ return Http.get(`/v1/oss/image-pre-signed-url`, params);
+};
diff --git a/src/views/components/management/person/index.vue b/src/views/components/management/person/index.vue
index 58636fd..5957f4c 100644
--- a/src/views/components/management/person/index.vue
+++ b/src/views/components/management/person/index.vue
@@ -8,32 +8,73 @@
{{ record.mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2') }}
-
+
-
-
+
+
-
-
- 上传新头像
+
-
+
+
+
+
+
+
+
+
+
+ 发送验证码
+ {{ countdown }}s
+
+
+
+
+
+
-