From 8739cb4a34c25a9997bdebe2b498c1a2e8ad078b Mon Sep 17 00:00:00 2001
From: "PC-202311141343\\Administrator" <505354293@qq.com>
Date: Fri, 29 Aug 2025 14:43:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E4=BD=93=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/crm/api_ys.js | 2 +-
src/api/crm/customer/getCustomer.js | 2 +-
src/pages/business/CRM/chooseCus.vue | 332 ++++++++++-------
.../CRM/customer/customerUserBelong.vue | 2 +-
.../business/CRM/marketActivity/chooseCus.vue | 334 +++++++++++-------
src/pages/business/CRM/plan/myPlan.vue | 38 +-
src/pages/business/CRM/plan/planEdit.vue | 4 +-
7 files changed, 446 insertions(+), 268 deletions(-)
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 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 新增
+
+
+
-
-
-
-
-
-
- {{item.cusName+"("+item.shortName+")"}}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+
+
+
+
+
+
+
+
+
-
\ 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 @@
-
+
保存
@@ -16,7 +16,7 @@
- 姓名:{{ userInfo.nickName || userInfo.userName }}
+ 姓名:{{ userInfo.nickName || userInfo.userName }}
{{ currentEditDate.yearMonth }} 第 {{ currentEditDate.weekNum }} 周