diff --git a/src/api/crm/api_ys.js b/src/api/crm/api_ys.js index a4964b6..a80171b 100644 --- a/src/api/crm/api_ys.js +++ b/src/api/crm/api_ys.js @@ -93,7 +93,7 @@ export function viewingMarketInfgetDetail(data) { //市场信审核列表接口 export function approvalMarketInfget(data) { return request.get({ - url: 'app/informationMarketInformation/Approval', + url: '/crm/app/informationMarketInformation/Approval', data },{ isTransformResponse:false diff --git a/src/api/crm/customer/getCustomer.js b/src/api/crm/customer/getCustomer.js index 333e9fc..318db98 100644 --- a/src/api/crm/customer/getCustomer.js +++ b/src/api/crm/customer/getCustomer.js @@ -25,7 +25,7 @@ export function saveappCrmCusUserNew(params){ // 查询业务员名下所有的客户 export function SearchForAllCustomersSalesperson(params){ return request.get({ - url: 'app/appCrmCusUserNewController/SearchForAllCustomersSalesperson', + url: '/crm/app/appCrmCusUserNewController/SearchForAllCustomersSalesperson', data: params },{isTransformResponse: false}) } diff --git a/src/pages/business/CRM/chooseCus.vue b/src/pages/business/CRM/chooseCus.vue index eac0e61..6372957 100644 --- a/src/pages/business/CRM/chooseCus.vue +++ b/src/pages/business/CRM/chooseCus.vue @@ -1,170 +1,256 @@ - \ No newline at end of file diff --git a/src/pages/business/CRM/customer/customerUserBelong.vue b/src/pages/business/CRM/customer/customerUserBelong.vue index 50ef41f..1c9496b 100644 --- a/src/pages/business/CRM/customer/customerUserBelong.vue +++ b/src/pages/business/CRM/customer/customerUserBelong.vue @@ -17,7 +17,7 @@ - - - - - - - - - - + + + + + + + + - - - - - - {{item.cusName+"("+item.shortName+")"}} - - - - - + + + + + + + + + + + + + + + + {{ item.cusName }} + + + + + + + + + - + +.border-bottom { + margin-top: 6rpx; +} + \ No newline at end of file diff --git a/src/pages/business/CRM/plan/myPlan.vue b/src/pages/business/CRM/plan/myPlan.vue index e7a49e6..9217f13 100644 --- a/src/pages/business/CRM/plan/myPlan.vue +++ b/src/pages/business/CRM/plan/myPlan.vue @@ -17,7 +17,7 @@ - 姓名:{{ userInfo.nickName || userInfo.userName }} + 姓名:{{ userInfo.nickName || userInfo.userName }} {{ yearMonth }} @@ -54,10 +54,11 @@ + - + @@ -106,12 +107,12 @@ let getWorkEvent = (index) => { const refreshPlanList = () => { message.showLoading(); // 获取用户信息 - getUserInfo().then(res => { - userInfo.value = res.user; - console.log(route.path, ":用户信息获取成功"); - }).catch(err => { - console.warn(err, "用户信息获取失败") - }); + // getUserInfo().then(res => { + // userInfo.value = res.user; + // console.log(route.path, ":用户信息获取成功"); + // }).catch(err => { + // console.warn(err, "用户信息获取失败") + // }); // 获取周计划列表 getWeeklyPlanList(queryParams.value).then(res => { const {rows} = res; @@ -180,11 +181,11 @@ function handleCreate() { handlePlanEdit({itemList, selectIndex: result.tapIndex}, true); }).catch((err) => { console.warn(err, "已存在周计划") - uni.showToast({ - icon: 'error', - title: '已有本周或下周计划', - duration: 2000 - }) + // uni.showToast({ + // icon: 'error', + // title: '已有本周或下周计划', + // duration: 2000 + // }) }) // }else{ // 创建下周计划 // } @@ -234,7 +235,7 @@ function handleEdit(index) { // console.log(JSON.stringify(formData)) console.log(route.path, formData, "前往修改页面"); const editFields = [OrdinalDate[index], WorkType[index], WorkEvent[index]]; - let userName = userInfo.value.nickName || userInfo.value.userName; + let userName = null; // userInfo.value.userName || userInfo.value.nickName; handlePlanEdit({userName, formData, editFields}, false); } @@ -268,9 +269,14 @@ function handleEdit(index) { } .white-bg.white-bg-2 { - margin-bottom: 20rpx; +/* margin-bottom: 20rpx; */ +} +.bottom-spliter{ + height: 20rpx; +} +.bg-gray{ + background-color: #f0f0f0; } - .report-list .w-b-title .btn-edit { background-color: #5C96F7; } diff --git a/src/pages/business/CRM/plan/planEdit.vue b/src/pages/business/CRM/plan/planEdit.vue index c36e3e2..cf37728 100644 --- a/src/pages/business/CRM/plan/planEdit.vue +++ b/src/pages/business/CRM/plan/planEdit.vue @@ -4,7 +4,7 @@