diff --git a/api/system/user.js b/api/system/user.js
index d961407..3327395 100644
--- a/api/system/user.js
+++ b/api/system/user.js
@@ -3,39 +3,46 @@ import request from '@/utils/request'
// 用户密码重置
export function updateUserPwd(oldPassword, newPassword) {
- const data = {
- oldPassword,
- newPassword
- }
- return request({
- url: '/system/user/profile/updatePwd',
- method: 'put',
- params: data
- })
+ const data = {
+ oldPassword,
+ newPassword
+ }
+ return request({
+ url: '/system/user/profile/updatePwd',
+ method: 'put',
+ params: data
+ })
}
// 查询用户个人信息
export function getUserProfile() {
- return request({
- url: '/system/user/profile',
- method: 'get'
- })
+ return request({
+ url: '/system/user/profile',
+ method: 'get'
+ })
}
// 修改用户个人信息
export function updateUserProfile(data) {
- return request({
- url: '/system/user/profile',
- method: 'put',
- data: data
- })
+ return request({
+ url: '/system/user/profile',
+ method: 'put',
+ data: data
+ })
}
// 用户头像上传
export function uploadAvatar(data) {
- return upload({
- url: '/system/user/profile/avatar',
- name: data.name,
- filePath: data.filePath
- })
+ return upload({
+ url: '/system/user/profile/avatar',
+ name: data.name,
+ filePath: data.filePath
+ })
}
+
+export function getUserInfo(id) {
+ return request({
+ url: '/system/user/' + id,
+ method: 'get'
+ })
+}
\ No newline at end of file
diff --git a/pages/les/callMaterial.vue b/pages/les/callMaterial.vue
index cdaf6f3..06be98a 100644
--- a/pages/les/callMaterial.vue
+++ b/pages/les/callMaterial.vue
@@ -5,7 +5,7 @@
-
diff --git a/pages/mes/jobReport/commissionRecord.vue b/pages/mes/jobReport/commissionRecord.vue
index ecf8047..3f22671 100644
--- a/pages/mes/jobReport/commissionRecord.vue
+++ b/pages/mes/jobReport/commissionRecord.vue
@@ -2,7 +2,8 @@
-
+
@@ -19,11 +20,22 @@
+
+
+
+
+
-
+
+
+
+
+
+
+
@@ -38,8 +50,9 @@