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.json b/src/pages.json
index 5266e2b..1ccf3ce 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -217,13 +217,6 @@
"navigationBarTitleText": "通用信息更新"
}
},
- //选择客户(已更新)
- {
- "path": "pages/business/CRM/chooseCus",
- "style": {
- "navigationBarTitleText": "客户选择"
- }
- },
//选择客户人员(已更新)
{
"path": "pages/business/CRM/customerUserList",
diff --git a/src/pages/business/CRM/chooseCus.vue b/src/pages/business/CRM/chooseCus.vue
deleted file mode 100644
index eac0e61..0000000
--- a/src/pages/business/CRM/chooseCus.vue
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.cusName+"("+item.shortName+")"}}
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/changeCustomerOwner.vue b/src/pages/business/CRM/customer/changeCustomerOwner.vue
index af43b36..feb555b 100644
--- a/src/pages/business/CRM/customer/changeCustomerOwner.vue
+++ b/src/pages/business/CRM/customer/changeCustomerOwner.vue
@@ -128,7 +128,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/customer/customerUserBelong.vue b/src/pages/business/CRM/customer/customerUserBelong.vue
index 50ef41f..f524fee 100644
--- a/src/pages/business/CRM/customer/customerUserBelong.vue
+++ b/src/pages/business/CRM/customer/customerUserBelong.vue
@@ -17,7 +17,7 @@
-
.con-bg{
background: white;
- min-height: 100vh;
+/* min-height: 100vh; */
}
.white-bg {
diff --git a/src/pages/business/CRM/map/checkInView.vue b/src/pages/business/CRM/map/checkInView.vue
index d1d874b..c490281 100644
--- a/src/pages/business/CRM/map/checkInView.vue
+++ b/src/pages/business/CRM/map/checkInView.vue
@@ -10,18 +10,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ defaultDate }}
+
+
+
+
+
diff --git a/src/pages/business/CRM/marketActivity/auditReport.vue b/src/pages/business/CRM/marketActivity/auditReport.vue
index 9590654..0b827e3 100644
--- a/src/pages/business/CRM/marketActivity/auditReport.vue
+++ b/src/pages/business/CRM/marketActivity/auditReport.vue
@@ -82,7 +82,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/marketActivity/chooseCus.vue b/src/pages/business/CRM/marketActivity/chooseCus.vue
index 56bb92a..6302c31 100644
--- a/src/pages/business/CRM/marketActivity/chooseCus.vue
+++ b/src/pages/business/CRM/marketActivity/chooseCus.vue
@@ -82,7 +82,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/marketActivity/detailForApproval.vue b/src/pages/business/CRM/marketActivity/detailForApproval.vue
index bc420d7..e2dad85 100644
--- a/src/pages/business/CRM/marketActivity/detailForApproval.vue
+++ b/src/pages/business/CRM/marketActivity/detailForApproval.vue
@@ -95,12 +95,7 @@ import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import customHeader from '@/components/customHeader.vue'
import customTabs from '@/components/customTabs.vue';
-import {
- auditActivityReport,
- getRejectReason,
- getVisistDetailList,
- getYsVisistInfo
-} from '../../../../api/crm/activity/activity';
+import { auditActivityReport, getVisistDetailList, getYsVisistInfo } from '../../../../api/crm/activity/activity';
let visistId = ref(0)
@@ -132,38 +127,10 @@ const activeTab = ref(0);//默认报告明细
const tabList = ['报告明细'];
//点击驳回
-// 修正后的驳回方法
-const refuse = async () => {
- uni.showModal({
- title: '驳回原因',
- content: '',
- editable: true,
- success: async function (modalRes) { // 使用modalRes避免重名
- if (modalRes.confirm) {
- try {
- const param = {
- visistId: visistId.value,
- rejectReason: modalRes.content // 用户输入的驳回原因
- };
- const apiRes = await getRejectReason(param); // 避免与modalRes重名
- uni.showToast({
- title: '驳回成功',
- icon: 'success'
- });
- // 操作完成后返回
- setTimeout(() => {
- uni.navigateBack(1);
- }, 800);
- } catch (err) {
- console.log('驳回失败:', err);
- uni.showToast({
- title: '驳回失败',
- icon: 'error'
- });
- }
- }
- }
- });
+function refuse() {
+ uni.navigateTo({
+ url: './auditReject?visistId=' + visistId.value
+ })
}
//点击通过
@@ -178,7 +145,7 @@ function adopt(item) {
reportStaffName: item.staffName,
}).then(res => {
if (res.code == 200) {
- mescroll.resetUpScroll()
+ // that.mescroll.resetUpScroll()
} else {
uni.showToast({
icon: 'none',
@@ -186,10 +153,6 @@ function adopt(item) {
});
}
})
-
- uni.navigateBack({
- })
-
}
}
diff --git a/src/pages/business/CRM/marketActivity/visitReport.vue b/src/pages/business/CRM/marketActivity/visitReport.vue
index 958cf01..09ffdb9 100644
--- a/src/pages/business/CRM/marketActivity/visitReport.vue
+++ b/src/pages/business/CRM/marketActivity/visitReport.vue
@@ -79,7 +79,6 @@ import customHeader from '@/components/customHeader.vue'
import MescrollUni from 'mescroll-uni/mescroll-uni.vue';
import { getNavBarPaddingTop } from '@/utils/system.js'
import { getYsVisistList, removeVisist, updateStatus } from '../../../../api/crm/activity/activity';
-import {onHide, onShow} from "@dcloudio/uni-app";
// 获取导航栏高度用于内容区域padding
const navBarPaddingTop = ref(0);
@@ -87,10 +86,6 @@ onMounted(() => {
navBarPaddingTop.value = getNavBarPaddingTop() * 2;
})
-onShow(()=>{
- getList()
-})
-
// 查询列表
let list = ref([]);
@@ -147,7 +142,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
@@ -215,13 +210,6 @@ const getVisitorReportList = (pageNum, pageSize) => {
});
}
-//页面数据方法
-function getList(){
- getYsVisistList({pageNum: 1, pageSize: 10}).then(res=>{
- list.value=res.rows;
- })
-}
-
let Loop = ref(0)
let now
@@ -264,7 +252,7 @@ function touchstart(item) {
});
}
// 刷新内容
- downCallback(mescrollRef.value.mescroll);
+ upCallback()
});
}
}
@@ -273,10 +261,6 @@ function touchstart(item) {
}
-onHide(()=>{
- clearInterval(Loop.value); //再次清空定时器,防止重复注册定时器
-})
-
function touchend() {
let endDate = new Date();
console.log('结束时间', endDate)
diff --git a/src/pages/business/CRM/marketActivity/visitReportView.vue b/src/pages/business/CRM/marketActivity/visitReportView.vue
index 0d1c5e6..4291e72 100644
--- a/src/pages/business/CRM/marketActivity/visitReportView.vue
+++ b/src/pages/business/CRM/marketActivity/visitReportView.vue
@@ -1,348 +1,226 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
- {{ notictTypeCheck.name ? notictTypeCheck.name : '全部' }}
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
- 客户:{{ item.cusName }}
-
- {{ item.visistCode }}
-
+
+
+
+
+
+ 客户:{{ item.cusName }}
+
+ {{ item.visistCode }}
+
-
- {{ item.myselfBrowsing == 0 ? '未读' : '已读' }}
+
+ {{ item.myselfBrowsing == 0 ? '未读' : '已读' }}
+
+
+
+
+
+
+ 报告类型
+ {{ item.visistType === "业务招待" ? "Ⅱ类活动" : "走访报告" }}
+
+
+ 我方领导
+ {{ item.joinUser }}
+
+
+
+ 报告人
+ {{ item.staffName }}
+
+
+
+ 报告日期
+ {{ item.visistDate }}
+
+
+
+
-
-
-
-
-
- 报告类型
- {{ item.visistType === "业务招待" ? "Ⅱ类活动" : "走访报告" }}
-
-
- 我方领导
- {{ item.joinUser }}
-
-
-
- 报告人
- {{ item.staffName }}
-
-
-
- 报告日期
- {{ item.visistDate }}
-
-
-
+
-
-
-
+
-
diff --git a/src/pages/business/CRM/marketActivity/visitorReportAdd.vue b/src/pages/business/CRM/marketActivity/visitorReportAdd.vue
index 131a919..b40fd87 100644
--- a/src/pages/business/CRM/marketActivity/visitorReportAdd.vue
+++ b/src/pages/business/CRM/marketActivity/visitorReportAdd.vue
@@ -69,10 +69,7 @@
class="uni-forms-item is-direction-top is-top">
+ :options="myLeaderList" @change="changeValue2" :key="Math.round()" :slabel="'text'">
@@ -141,9 +138,7 @@ const submitForm = async () => {
icon: 'success'
});
saveVisistReportForm.cusId = formData.value.cusId
- if (Array.isArray(formData.value.leader)) {
- saveVisistReportForm.joinUser = formData.value.leader.map(item => item.text).join(',');
- }
+ saveVisistReportForm.joinUser = formData.value.leader.map(item => item.text).join(',')
saveVisistReportForm.visistDate = formData.value.visitDate
saveVisistReportForm.visistType = 'I类活动(走访)'
saveVisistReportForm.mapId = mapId.value
@@ -254,11 +249,10 @@ function chooseRecord(e) {
.form-con {
/* #ifdef APP-PLUS */
- height: calc(100vh - 95px) !important;
- /* #endif */
- /* #ifndef APP-PLUS */
- height:calc(100vh - 68px) !important;
- /* #endif */
+ height: calc(100vh - 100px)
+ /* #endif */
+ /* #ifndef APP-PLUS */
+ /* #endif */
}
:deep(.uni-date-x) {
diff --git a/src/pages/business/CRM/marketInformation/beCurrent.vue b/src/pages/business/CRM/marketInformation/beCurrent.vue
index 313a875..4ee6b5f 100644
--- a/src/pages/business/CRM/marketInformation/beCurrent.vue
+++ b/src/pages/business/CRM/marketInformation/beCurrent.vue
@@ -143,7 +143,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/beCurrentDetail.vue b/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
index 31b78e6..5e78dce 100644
--- a/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
+++ b/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
@@ -148,7 +148,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/competitor.vue b/src/pages/business/CRM/marketInformation/competitor.vue
index e83c481..b32accc 100644
--- a/src/pages/business/CRM/marketInformation/competitor.vue
+++ b/src/pages/business/CRM/marketInformation/competitor.vue
@@ -340,7 +340,7 @@ const dynamicPlaceholder = computed(() => {
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/competitorDetail.vue b/src/pages/business/CRM/marketInformation/competitorDetail.vue
index 42bf8ce..43ddd76 100644
--- a/src/pages/business/CRM/marketInformation/competitorDetail.vue
+++ b/src/pages/business/CRM/marketInformation/competitorDetail.vue
@@ -348,7 +348,7 @@ const dynamicPlaceholder = computed(() => {
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/infomationView.vue b/src/pages/business/CRM/marketInformation/infomationView.vue
index 775f7d7..7dad9f8 100644
--- a/src/pages/business/CRM/marketInformation/infomationView.vue
+++ b/src/pages/business/CRM/marketInformation/infomationView.vue
@@ -244,7 +244,7 @@ const inputval = ref(''); // 搜索内容
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/marketInformation/keyModelTasks.vue b/src/pages/business/CRM/marketInformation/keyModelTasks.vue
index 3756522..299ba18 100644
--- a/src/pages/business/CRM/marketInformation/keyModelTasks.vue
+++ b/src/pages/business/CRM/marketInformation/keyModelTasks.vue
@@ -147,7 +147,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
@@ -203,7 +203,7 @@
height: calc(120vh - 100px)
/* #endif */
/* #ifndef APP-PLUS */
- height:calc(120vh - 80px)
+ height:calc(140vh - 80px)
/* #endif */
}
diff --git a/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue b/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
index 221ac5d..db6f94c 100644
--- a/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
+++ b/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
@@ -152,7 +152,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/majorMatter.vue b/src/pages/business/CRM/marketInformation/majorMatter.vue
index 0d4e999..8b67af4 100644
--- a/src/pages/business/CRM/marketInformation/majorMatter.vue
+++ b/src/pages/business/CRM/marketInformation/majorMatter.vue
@@ -172,7 +172,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/majorMatterDetail.vue b/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
index 3c99a93..8df76ee 100644
--- a/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
+++ b/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
@@ -179,7 +179,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/marketInformation.vue b/src/pages/business/CRM/marketInformation/marketInformation.vue
index 0913465..481566a 100644
--- a/src/pages/business/CRM/marketInformation/marketInformation.vue
+++ b/src/pages/business/CRM/marketInformation/marketInformation.vue
@@ -31,7 +31,7 @@
{{ item.cusName }}
- {{ item.state }}
@@ -50,7 +50,7 @@
{{ item.cusName }}
- {{ item.state }}
@@ -69,7 +69,7 @@
{{ item.competitiveUnits }}
- {{ item.state }}
@@ -88,7 +88,7 @@
{{ item.cusName }}
- {{ item.state }}
@@ -109,7 +109,7 @@
{{ item.cusName }}
- {{ item.state }}
@@ -127,7 +127,7 @@
{{ item.cusName }}
- {{ item.state }}
@@ -237,7 +237,7 @@
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
@@ -493,4 +493,8 @@
.report-list .title {
display: flex;
}
+ .btn-blue {
+ background-color: #3384DF; /* 蓝色背景 */
+ color: #ffffff;
+ }
\ No newline at end of file
diff --git a/src/pages/business/CRM/marketInformation/marketInformationReview.vue b/src/pages/business/CRM/marketInformation/marketInformationReview.vue
index 03fa6b3..0f52342 100644
--- a/src/pages/business/CRM/marketInformation/marketInformationReview.vue
+++ b/src/pages/business/CRM/marketInformation/marketInformationReview.vue
@@ -105,7 +105,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/marketInformation/marketOpportunities.vue b/src/pages/business/CRM/marketInformation/marketOpportunities.vue
index 952afa8..be61582 100644
--- a/src/pages/business/CRM/marketInformation/marketOpportunities.vue
+++ b/src/pages/business/CRM/marketInformation/marketOpportunities.vue
@@ -232,7 +232,8 @@
// 选择客户页面跳转
function chooseCustomer(){
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
+
})
}
//定义数据接收的值
@@ -311,7 +312,7 @@
height: calc(120vh - 100px)
/* #endif */
/* #ifndef APP-PLUS */
- height:calc(120vh - 80px)
+ height:calc(140vh - 80px)
/* #endif */
}
diff --git a/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue b/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
index 4ca4e2e..027ba3b 100644
--- a/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
+++ b/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
@@ -244,7 +244,7 @@
// 选择客户页面跳转
function chooseCustomer(){
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url:'/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/personnelChanges.vue b/src/pages/business/CRM/marketInformation/personnelChanges.vue
index 50c46be..985fea0 100644
--- a/src/pages/business/CRM/marketInformation/personnelChanges.vue
+++ b/src/pages/business/CRM/marketInformation/personnelChanges.vue
@@ -201,7 +201,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue b/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
index 3d084c4..64aad48 100644
--- a/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
+++ b/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
@@ -202,7 +202,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/paymentCollection/addPaymentCollection.vue b/src/pages/business/CRM/paymentCollection/addPaymentCollection.vue
index b4ce4df..df639ab 100644
--- a/src/pages/business/CRM/paymentCollection/addPaymentCollection.vue
+++ b/src/pages/business/CRM/paymentCollection/addPaymentCollection.vue
@@ -101,7 +101,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
diff --git a/src/pages/business/CRM/paymentCollection/index.vue b/src/pages/business/CRM/paymentCollection/index.vue
index 55ea079..1e1c576 100644
--- a/src/pages/business/CRM/paymentCollection/index.vue
+++ b/src/pages/business/CRM/paymentCollection/index.vue
@@ -110,7 +110,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/business/CRM/paymentCollection/paymentDetail.vue b/src/pages/business/CRM/paymentCollection/paymentDetail.vue
index 4b46007..b39b09a 100644
--- a/src/pages/business/CRM/paymentCollection/paymentDetail.vue
+++ b/src/pages/business/CRM/paymentCollection/paymentDetail.vue
@@ -105,7 +105,7 @@
// 选择客户页面跳转
function chooseCustomer() {
uni.navigateTo({
- url: '/pages/business/CRM/chooseCus'
+ url: '/pages/business/CRM/marketActivity/chooseCus'
})
}
//定义数据接收的值
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 }} 周
diff --git a/src/pages/business/CRM/plan/planView.vue b/src/pages/business/CRM/plan/planView.vue
index d0d796e..e6993e7 100644
--- a/src/pages/business/CRM/plan/planView.vue
+++ b/src/pages/business/CRM/plan/planView.vue
@@ -146,7 +146,7 @@ const upOption = ref({
noMoreSize: 5,
empty: {
tip: '~ 空空如也 ~',
- icon: "../../static/images/mescroll-empty.png"
+ icon: "../../../../static/images/mescroll-empty.png"
},
textLoading: '加载中...',
textNoMore: '已经到底了'
diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue
index 34104c1..c0c14dc 100644
--- a/src/pages/login/login.vue
+++ b/src/pages/login/login.vue
@@ -266,7 +266,6 @@ const submitForm = () => {
//h5测试用 内网-sn123456
//公司外网 '9516053c-b441-465b-9781-06e7b8031811'
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
- //8f9bbe3b-7f1d-4e7f-9734-6faa6b86350f
param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
let res = await login(param);
userStore.login(res);
@@ -279,7 +278,7 @@ const submitForm = () => {
// 读取设备ID
safeSave.getSafeFile({ "key": "app_device_id" }, res3 => {
if (res3.code == 1) {
- let deviceId = res3.data;
+ let deviceId = res3.data;//'b97527c8-2ad4-493c-a01c-5f9d0aabaff2' //
// showAlert("读取成功=>"+deviceId);
param.uniqCode = deviceId;
console.log("param=>",param)