From 8707612e200108cfeb43d99814257daf1f265030 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 8 Jul 2021 15:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E6=A0=A1=E3=80=81=E7=9C=81=E4=BB=BD?= =?UTF-8?q?=E5=9F=8E=E5=B8=82=E7=AD=89=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 4 + src/utils/api.js | 8 +- src/views/customer/AddCustomer.vue | 29 ++-- src/views/customer/Dashboard.vue | 4 +- src/views/oder/AddOrder.vue | 2 +- src/views/oder/Order.vue | 2 +- src/views/setting/Person.vue | 211 +++++++++++++++-------------- src/views/user/AddUser.vue | 2 +- src/views/user/User.vue | 7 +- 9 files changed, 143 insertions(+), 126 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 327cada..6a2df30 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -3,6 +3,7 @@ import Vuex from 'vuex'; Vue.use(Vuex); const store = new Vuex.Store({ state: { + avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png', courseId:'', userId: '', roleId: '', @@ -17,6 +18,9 @@ const store = new Vuex.Store({ loginToken: '' }, mutations:{ + userAvatar(state,payload){ + state.avatar = payload.avatar + }, userData (state, payload) { state.userId = payload.user_id }, diff --git a/src/utils/api.js b/src/utils/api.js index 4ae60d5..f3bac3b 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -35,8 +35,8 @@ export default { resetPwdCustomer: `${host3}/nakadai/customer/resetPwd`, queryCustomerIsExists: `${host3}/nakadai/customer/queryCustomerIsExists`, updateEnabled: `${host3}/nakadai/customer/updateEnabled`, - queryCustomerIndustryClass: `${host}/liuwanr/customer/queryCustomerIndustryClass`, - queryCustomerIndustry: `${host}/liuwanr/customer/queryCustomerIndustry`, + queryCustomerIndustryClass: `${host3}/nakadai/hrIndustryClass/queryIndustryClass`, + queryCustomerIndustry: `${host3}/nakadai/hrIndustry/queryIndustry`, queryPhone: `${host}/liuwanr/user/queryPhone`, querySchoolData: `${host3}/nakadai/school/querySchool`, queryPlatform: `${host}/liuwanr/userInfo/queryPlatform`, @@ -89,8 +89,8 @@ export default { querySchool: `${host}/liuwanr/school/querySchool`, //查询学校 querySchoolDetails: `${host}/liuwanr/school/querySchoolDetails`, //查询学校详情 - queryProvince: `${host}/liuwanr/province/queryProvince`, //查询省份 - queryCity: `${host}/liuwanr/city/queryCity`, //查询城市 + queryProvince: `${host3}/nakadai/province/queryProvince`, //查询省份 + queryCity: `${host3}/nakadai/city/queryCity`, //查询城市 queryCourseDiscipline: `${host}/liuwanr/course/queryCourseDiscipline`, //查询课程学科 queryCourseProfessionalClass: `${host}/liuwanr/course/queryCourseProfessionalClass`, //查询专业类 diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index b60a2c5..95f671d 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -140,14 +140,18 @@ 数据平台权限
- + - - - - - + + + + + + +