diff --git a/src/api/mycar.js b/src/api/mycar.js index 4d06265..c8bc5c9 100644 --- a/src/api/mycar.js +++ b/src/api/mycar.js @@ -26,11 +26,10 @@ export function boundCarNum(params) { * 解绑车牌 * @param params */ -export function unboundCarNum(params) { +export function unboundCarNum() { return request({ url: '/personCarNumPc/unboundCarNum', - method: 'post', - params + method: 'post' }) } diff --git a/src/api/user.js b/src/api/user.js index ae6a71d..debf308 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -34,3 +34,25 @@ export function logout() { method: 'post' }) } + +export function uploadUserPic(file){ + debugger + return request({ + url: '/personPc/uploadUserPic', + method: 'post', + data:file + }) +} + +/** + * 更新个人客户信息 + * @param params + */ +export function updatePersonByCustId(params){ + return request({ + url: '/personPc/updatePersonBycustId', + method: 'post', + data:params + }) +} + diff --git a/src/views/information/index.vue b/src/views/information/index.vue index 0a6c433..8bad27d 100644 --- a/src/views/information/index.vue +++ b/src/views/information/index.vue @@ -1,91 +1,93 @@ -