From 61f89c44851d3ddb39fef687e10e72313576b241 Mon Sep 17 00:00:00 2001
From: wangfs <15029758498@163.com>
Date: Thu, 4 Jul 2019 16:27:00 +0800
Subject: [PATCH] 提交登陆
---
src/api/mycar.js | 5 ++---
src/api/user.js | 22 ++++++++++++++++++++++
src/views/information/index.vue | 213 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
3 files changed, 165 insertions(+), 75 deletions(-)
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 @@
-
-
-
-
-
-
-
-
-
-
- 15143234323
-
- 支持JPG格式且小于5MB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
- 取消
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{userPhone}}
+
+ 支持JPG格式且小于5MB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
-
--
libgit2 0.21.4