diff --git a/src/api/tenant/account.js b/src/api/tenant/account.js
index 3d93a3e..ccbd030 100644
--- a/src/api/tenant/account.js
+++ b/src/api/tenant/account.js
@@ -1,81 +1,4 @@
import request from '@/router/axios';
-/*
-**忘记密码
-/
-
-/*图形验证码*/
-export const getCaptcha = () => request({
- url: '/api/jobslink-api/system/front/account/captcha',
- method: 'get'
-});
-
-/*发送短信验证码*/
-export const sendCodeFgt = (form) => {
- return request({
- url: '/api/jobslink-api/system/front/account/sendValidate',
- method: 'get',
- headers: {
- 'Captcha-Key': form.key,
- 'Captcha-Code': form.imgCode
- },
- params: {
- mobile: form.phone
- }
- })
-}
-
-/*提交忘记密码*/
-export const forgetPwd = (phone, code, password, authType) => {
- return request({
- headers: {
- 'SCaptcha-Key': phone,
- 'SCaptcha-Code': code
- },
- url: '/api/jobslink-api/system/front/account/password',
- method: 'post',
- params: {
- mobile: phone,
- password,
- authType
- }
- })
-}
-
-
-/*
-**账户安全
-/
-
-/*变更负责人*/
-export const changeLeader = (form, id) => {
- return request({
- headers: {
- 'SCaptcha-Key': form.phone,
- 'SCaptcha-Code': form.code
- },
- url: '/api/jobslink-api/system/tuser/updateAdmin',
- method: 'post',
- data: {
- realName: form.realName,
- idNumber: form.idNumber,
- account: form.phone,
- id: id
- }
- })
-}
-
-/*修改密码*/
-export const changePwd = (oldPassword, newPassword, newPassword1) => {
- return request({
- url: '/api/jobslink-api/system/tuser/update-password',
- method: 'post',
- params: {
- oldPassword,
- newPassword,
- newPassword1,
- }
- })
-}
/*获取账户信息*/
export const getAccount = () => {
@@ -84,39 +7,3 @@ export const getAccount = () => {
method: 'get'
})
}
-
-
-/*获取是否是管理员*/
-export const getIsAdmin = () => {
- return request({
- url: '/api/jobslink-api/system/tuser/isAdmin',
- method: 'get'
- })
-}
-
-/*发送验证码*/
-export const sendCode = (mobile) => {
- return request({
- url: '/api/jobslink-api/system/tuser/sendValidate',
- method: 'get',
- params: {
- mobile
- }
- })
-}
-
-/*换绑手机号*/
-export const changePhone = (form, id) => {
- return request({
- headers: {
- 'SCaptcha-Key': form.newPhone,
- 'SCaptcha-Code': form.code
- },
- url: '/api/jobslink-api/system/tuser/updateAccount',
- method: 'post',
- data: {
- account: form.newPhone,
- id: id
- }
- })
-}
diff --git a/src/lang/en.js b/src/lang/en.js
index 2f2a57f..291eb54 100644
--- a/src/lang/en.js
+++ b/src/lang/en.js
@@ -100,7 +100,7 @@ export default {
notice: 'notice',
theme: 'theme',
color: 'color',
- accountsafe: "账户安全",
+ accountsafe: "账户信息",
set: '设置',
companyindex: '公司主页'
},
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 5968b7e..ed06181 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -64,7 +64,7 @@ export default {
permission: '权限',
error: '异常页面',
test: '测试页面',
- accountsafe: "账户安全",
+ accountsafe: "账户信息",
set: '设置',
companyindex: '公司主页'
},
@@ -102,7 +102,7 @@ export default {
notice: '消息通知',
theme: '主题',
color: '换色',
- accountsafe: "账户安全",
+ accountsafe: "账户信息",
set: '设置',
companyindex: '公司主页'
},
diff --git a/src/router/views/index.js b/src/router/views/index.js
index cd945c4..80ee761 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -98,7 +98,7 @@ export default [
redirect: 'tenant/account/index',
children: [{
path: 'index',
- name: '账户安全',
+ name: '账户信息',
meta: {i18n: 'accountsafe', code: 'accountsafe'},
component: () =>
import(/* webpackChunkName: "views" */ '@/views/tenant/account/index')
diff --git a/src/views/tenant/account/index.vue b/src/views/tenant/account/index.vue
index a2e14b9..7467ad8 100644
--- a/src/views/tenant/account/index.vue
+++ b/src/views/tenant/account/index.vue
@@ -1,12 +1,12 @@
-
+
- 账户信息
+ 用户信息
@@ -17,245 +17,15 @@
手机号码:{{userInfo.account}}
-
- 变更负责人
-
-
-
-
-
-
-
-
- 账户安全
-
-
-
- 登录密码:已设置
- 安全性高的密码可以使账号更安全。
-
- 修改密码
-
-
-
- 绑定手机号码:已绑定
- 绑定手机后,您即可享受丰富的手机服务,如手机找回密码等。
-
- 换绑手机号码
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{msgText}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{msgText}}
-
-
-
-
-
-
-
-
-