diff --git a/src/api/crm/api_ys.js b/src/api/crm/api_ys.js
index ef47b5e..67413af 100644
--- a/src/api/crm/api_ys.js
+++ b/src/api/crm/api_ys.js
@@ -56,4 +56,83 @@ import request from "@/utils/request"
data
})
}
+ //市场信息查询接口
+ export function viewingMarketInfForAllMembers(data) {
+ return request.get({
+ url: '/app/informationMarketInformation/viewList',
+ data
+ })
+ }
+ //市场信息详情查询接口
+ export function viewingMarketInfgetDetail(data) {
+ return request.get({
+ url: '/app/informationMarketInformation/getDetail',
+ data
+ })
+ }
+ //市场信审核列表接口
+ export function approvalMarketInfget(data) {
+ return request.get({
+ url: 'app/informationMarketInformation/Approval',
+ data
+ })
+ }
+ //回款模块列表查询
+ export function getPaymentList(data) {
+ return request.get({
+ url: '/app/InformationReviewController/getPaymentList',
+ data
+ })
+ }
+ //回款新增接口
+ export function addPaymentCollection(data) {
+ return request.post({
+ url: '/app/InformationReviewController/addPaymentCollection',
+ data
+ })
+ }
+ //回款更新接口
+ export function updatePaymentDetail(data) {
+ return request.post({
+ url: '/app/InformationReviewController/updatePaymentDetail',
+ data
+ })
+ }
+ //回款删除接口
+ export function deletePaymentDetail(data) {
+ return request.post({
+ url: '/app/InformationReviewController/deletePaymentDetail',
+ data
+ })
+ }
+
+ //全员查询回款接口
+ export function getFullStaffStatisticsViewingTable(data) {
+ return request.get({
+ url: '/app/InformationReviewController/getFullStaffStatisticsViewingTable',
+ data
+ })
+ }
+ //个人查询回款接口
+ export function getPersonalPaymentCollectionTable(data) {
+ return request.get({
+ url: '/app/InformationReviewController/getPersonalPaymentCollectionTable',
+ data
+ })
+ }
+
+ //市场信息审核通过接口
+ export function crmMarketInformationApprovalSuccess(data) {
+ return request.get({
+ url: '/app/informationMarketInformation/ApprovalSuccess',
+ data
+ })
+ }
+ //市场信息审核驳回接口
+ export function crmMarketInformationApprovalUnSuccess(data) {
+ return request.get({
+ url: '/app/informationMarketInformation/ApprovalUnSuccess',
+ data
+ })
+ }
\ No newline at end of file
diff --git a/src/api/crm/customer/getCustomer.js b/src/api/crm/customer/getCustomer.js
index a2965fa..76c59c5 100644
--- a/src/api/crm/customer/getCustomer.js
+++ b/src/api/crm/customer/getCustomer.js
@@ -15,10 +15,40 @@ export function getCustomerLevel(params){
data: params
},{isTransformResponse: false})
}
-
+// 客户人员新增
export function saveappCrmCusUserNew(params){
return request.get({
url: '/app/appCrmCusUserNewController/add',
data: params
},{isTransformResponse: false})
+}
+// 查询业务员名下所有的客户
+export function SearchForAllCustomersSalesperson(params){
+ return request.get({
+ url: 'app/appCrmCusUserNewController/SearchForAllCustomersSalesperson',
+ data: params
+ },{isTransformResponse: false})
+}
+// 客户人员归属审核详情
+export function getCusUserApprovalListDetail(params){
+ return request.get({
+ url: '/app/appCrmCusUserNewController/getCusUserApprovalListDetail',
+ data: params
+ },{isTransformResponse: false})
+}
+// 查询主归属人列表
+export function SearchForAllPerson(params){
+ return request.get({
+ url: '/app/appCrmCusUserNewController/SearchForAllPerson',
+ data: params
+ },{isTransformResponse: false})
+}
+
+// 客户人员新增审核列表
+export function getCusUserApprovalList(params) {
+ return request.get({
+ url: '/app/appCrmCusUserNewController/getCusUserApprovalList',
+ data: params
+ }, {isTransformResponse: false}
+ )
}
\ No newline at end of file
diff --git a/src/api/crm/customer/updateCustomer.js b/src/api/crm/customer/updateCustomer.js
new file mode 100644
index 0000000..886e458
--- /dev/null
+++ b/src/api/crm/customer/updateCustomer.js
@@ -0,0 +1,36 @@
+import request from "@/utils/request"
+// 删除客户人员归属消息
+export function removeVisit(params){
+ return request.get({
+ url: '/app/appVisistReport/remove',
+ data: params
+ },{isTransformResponse: false})
+}
+// 更新客户人员
+export function upadateappCrmCusUserNew (data){
+ return request.post({
+ url: '/app/appCrmCusUserNewController/update',
+ data
+ },{isTransformResponse: false})
+}
+// 客户人员审核通过
+export function clientPersonnelsApproval(data) {
+ return request.get({
+ url: '/app/appCrmCusUserNewController/clientPersonnelsApproval',
+ data
+ }, {isTransformResponse: false});
+}
+//客户人员驳回
+export function customerPersonnelsRejectio(data) {
+ return request.get({
+ url: '/app/appCrmCusUserNewController/customerPersonnelsRejectio',
+ data
+ }, {isTransformResponse: false});
+}
+//主归属人变更提交
+export function submissionOfChangeOfMainOwner (data){
+ return request.get({
+ url: '/app/appCrmCusUserNewController/submissionOfChangeOfMainOwner',
+ data
+ },{isTransformResponse: false})
+}
\ No newline at end of file
diff --git a/src/api/crm/mainOwner/mainOwner.js b/src/api/crm/mainOwner/mainOwner.js
index c7c1ba5..9d4dbcb 100644
--- a/src/api/crm/mainOwner/mainOwner.js
+++ b/src/api/crm/mainOwner/mainOwner.js
@@ -16,3 +16,26 @@ export function queryViewMainOwnerDetail(params){
data: params
},{isTransformResponse: false})
}
+
+//查询主归属人变更人员的列表数据
+export function personnelAwaitingReviewForChange(params){
+ return request.get({
+ url: '/app/appCrmCusUserNewController/personnelAwaitingReviewForChange',
+ data: params
+ },{isTransformResponse: false})
+}
+
+//主归属人变更驳回
+export function changeOfPrimaryOwnershipNoApproved(params) {
+ return request.get({
+ url:'/app/appCrmCusUserNewController/changeOfPrimaryOwnershipNoApproved',
+ data: params
+ }, {isTransformResponse: false});
+}
+//主归属人变更通过
+export function changeOfPrimaryOwnershipApproved (params) {
+ return request.get({
+ url: '/app/appCrmCusUserNewController/changeOfPrimaryOwnershipApproved',
+ data: params
+ }, {isTransformResponse: false});
+}
\ No newline at end of file
diff --git a/src/pages.json b/src/pages.json
index 18cbffb..07cd9ee 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1,381 +1,531 @@
{
-
- "easycom": {
- "autoscan": true,
- "custom": {
- "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
- }
- },
- "pages": [
- {
- "path": "pages/loading/loading",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/home/home",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/business",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/visitorReport",//市场信息管理
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/visitorReportAdd",//走访报告添加
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/visitorReportDetail",//走访报告详情
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/visitorReportEnter",//走访报告内容录入
- "style": {
- "navigationBarTitleText": ""
- }
- },
- //市场信息管理(已更新)
- {
- "path": "pages/business/CRM/marketInformation/marketInformation",
- "style": {
- "navigationBarTitleText": "市场信息管理"
- }
- },
- //市场机会录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/marketOpportunities",
- "style": {
- "navigationBarTitleText": "市场机会录入"
- }
- },
- //市场机会修改(已更新)
- {
- "path": "pages/business/CRM/marketInformation/marketOpportunitiesDetail",
- "style": {
- "navigationBarTitleText": "市场机会修改"
- }
- },
- //重大事项录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/majorMatter",
- "style": {
- "navigationBarTitleText": "重大事项录入"
- }
- },
- //重大事项更改(已更新)
- {
- "path": "pages/business/CRM/marketInformation/majorMatterDetail",
- "style": {
- "navigationBarTitleText": "重大事项更改"
- }
- },
- //竞争对手信息录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/competitor",
- "style": {
- "navigationBarTitleText": "竞争对手信息录入"
- }
- },
- //竞争对手信息更改(已更新)
- {
- "path": "pages/business/CRM/marketInformation/competitorDetail",
- "style": {
- "navigationBarTitleText": "竞争对手信息更改"
- }
- },
- //人员变化信息录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/personnelChanges",
- "style": {
- "navigationBarTitleText": "人员变化信息录入"
- }
- },
- //人员变化信息更改(已更新)
- {
- "path": "pages/business/CRM/marketInformation/personnelChangesDetail",
- "style": {
- "navigationBarTitleText": "人员变化信息更改"
- }
- },
- //重点型号任务信息录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/keyModelTasks",
- "style": {
- "navigationBarTitleText": "重点型号任务信息录入"
- }
- },
- //重点型号任务信息更新(已更新)
- {
- "path": "pages/business/CRM/marketInformation/keyModelTasksDetail",
- "style": {
- "navigationBarTitleText": "重点型号任务信息更新"
- }
- },
- //通用信息录入(已更新)
- {
- "path": "pages/business/CRM/marketInformation/beCurrent",
- "style": {
- "navigationBarTitleText": "通用信息录入"
- }
- },
- //通用信息更新(已更新)
- {
- "path": "pages/business/CRM/marketInformation/beCurrentDetail",
- "style": {
- "navigationBarTitleText": "通用信息更新"
- }
- },
- //选择客户(已更新)
- {
- "path": "pages/business/CRM/chooseCus",
- "style": {
- "navigationBarTitleText": "客户选择"
- }
- },
- //选择客户人员(已更新)
- {
- "path": "pages/business/CRM/customerUserList",
- "style": {
- "navigationBarTitleText": "客户人员选择"
- }
- },
- {
- "path": "pages/business/CRM/weekPlanUpdate",//修改周计划
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/plan/index",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/plan/myPlan",//我的计划列表
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/plan/planEdit",//计划修改
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/plan/planView",//周计划查看
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/customer/customerAdd",//客户人员新增
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/customer/selectCustomer",//选择客户
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/vistorCheckin",//签到打卡
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/checkinStatistics",//打卡统计
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/paymentCollection",//回款查看
- "style": {
- "navigationBarTitleText": ""
- }
- },
-
- //===================================活动报告====================
- {
- "path": "pages/business/CRM/marketActivity/visitReport",//市场信息管理
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/visitorReportAdd",//走访报告添加
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/visitReportView",//走访报告查看
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/visitReportDetail",//走访报告查看具体明细
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/auditReport",//走访报告审批列表查看
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/detailForApproval",//走访报告明细审批
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/visitorReportEnter",//走访报告内容录入
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/auditReject",//走访报告驳回输入原因
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/customerUserList",//客户公司人员信息
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/myUserList",//我公司人员信息
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/activityTypeList",//活动类型
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/marketActivity/chooseCus",//选择客户单位
- "style": {
- "navigationBarTitleText": ""
- }
- },
- //====================地图======
- {
- "path": "pages/business/CRM/map/vistorCheckin",//签到打卡
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/map/addRearkSignIn",//签到备注
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/map/checkInView",//打卡信息(考勤查看)
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/business/CRM/map/checkinStatistics",//打卡统计
- "style": {
- "navigationBarTitleText": ""
- }
- },
- //===================================活动报告====================
- {
- "path": "pages/notice/notice",
- "style": {
- "navigationBarTitleText": "",
- "app-plus" : {
- "bounce" : "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
- },
- "mp-alipay":{"allowsBounceVertical":"NO"} // 取消支付宝和钉钉小程序的iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
- }
- },
- {
- "path": "pages/userinfo/userinfo",
- "style": {
- "navigationBarTitleText": ""
- }
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "718友晟",
- "navigationBarBackgroundColor": "#F8F8F8",
- "backgroundColor": "#F8F8F8",
- "navigationStyle": "custom"
- },
- "tabBar": {
- "color": "#919191",
- "selectedColor": "#ffffff",
- "borderStyle": "#ffffff",
- "backgroundColor": "#000000",
- "fontSize": "12px",
- "iconWidth": "24px",
- "list": [
- {
- "pagePath": "pages/home/home",
- "iconPath": "static/images/tabs/menu-home.png",
- "selectedIconPath": "static/images/tabs/menu-home-on.png",
- "text": "首页"
- },
- {
- "pagePath": "pages/business/business",
- "iconPath": "static/images/tabs/menu-business.png",
- "selectedIconPath": "static/images/tabs/menu-business-on.png",
- "text": "业务中心"
- },
- {
- "pagePath": "pages/notice/notice",
- "iconPath": "static/images/tabs/menu-info.png",
- "selectedIconPath": "static/images/tabs/menu-info-on.png",
- "text": "消息"
- },
- {
- "pagePath": "pages/userinfo/userinfo",
- "iconPath": "static/images/tabs/menu-me.png",
- "selectedIconPath": "static/images/tabs/menu-me-on.png",
- "text": "我的"
- }
- ]
- }
+ "easycom": {
+ "autoscan": true,
+ "custom": {
+ "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
+ }
+ },
+ "pages": [
+ {
+ "path": "pages/loading/loading",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/home/home",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/business",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/visitorReport",
+ //市场信息管理
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/visitorReportAdd",
+ //走访报告添加
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/visitorReportDetail",
+ //走访报告详情
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/visitorReportEnter",
+ //走访报告内容录入
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ //市场信息管理(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/marketInformation",
+ "style": {
+ "navigationBarTitleText": "市场信息管理"
+ }
+ },
+ //市场机会录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/marketOpportunities",
+ "style": {
+ "navigationBarTitleText": "市场机会录入"
+ }
+ },
+ //市场机会修改(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/marketOpportunitiesDetail",
+ "style": {
+ "navigationBarTitleText": "市场机会修改"
+ }
+ },
+ //重大事项录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/majorMatter",
+ "style": {
+ "navigationBarTitleText": "重大事项录入"
+ }
+ },
+ //重大事项更改(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/majorMatterDetail",
+ "style": {
+ "navigationBarTitleText": "重大事项更改"
+ }
+ },
+ //竞争对手信息录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/competitor",
+ "style": {
+ "navigationBarTitleText": "竞争对手信息录入"
+ }
+ },
+ //竞争对手信息更改(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/competitorDetail",
+ "style": {
+ "navigationBarTitleText": "竞争对手信息更改"
+ }
+ },
+ //人员变化信息录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/personnelChanges",
+ "style": {
+ "navigationBarTitleText": "人员变化信息录入"
+ }
+ },
+ //人员变化信息更改(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/personnelChangesDetail",
+ "style": {
+ "navigationBarTitleText": "人员变化信息更改"
+ }
+ },
+ //重点型号任务信息录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/keyModelTasks",
+ "style": {
+ "navigationBarTitleText": "重点型号任务信息录入"
+ }
+ },
+ //重点型号任务信息更新(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/keyModelTasksDetail",
+ "style": {
+ "navigationBarTitleText": "重点型号任务信息更新"
+ }
+ },
+ //通用信息录入(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/beCurrent",
+ "style": {
+ "navigationBarTitleText": "通用信息录入"
+ }
+ },
+ //通用信息更新(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/beCurrentDetail",
+ "style": {
+ "navigationBarTitleText": "通用信息更新"
+ }
+ },
+ //选择客户(已更新)
+ {
+ "path": "pages/business/CRM/chooseCus",
+ "style": {
+ "navigationBarTitleText": "客户选择"
+ }
+ },
+ //选择客户人员(已更新)
+ {
+ "path": "pages/business/CRM/customerUserList",
+ "style": {
+ "navigationBarTitleText": "客户人员选择"
+ }
+ },
+ //市场信息查看(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/infomationView",
+ "style": {
+ "navigationBarTitleText": "市场信息查看"
+ }
+ },
+ //市场信息详情(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/informationDetail",
+ "style": {
+ "navigationBarTitleText": "市场信息详情"
+ }
+ },
+ //市场信息审核(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/marketInformationReview",
+ "style": {
+ "navigationBarTitleText": "市场信息审核"
+ }
+ },
+ //市场信息审核详情(已更新)
+ {
+ "path": "pages/business/CRM/marketInformation/marketInformationReviewDetail",
+ "style": {
+ "navigationBarTitleText": "市场信息审核"
+ }
+ },
+ //回款首页查看(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/index",
+ "style": {
+ "navigationBarTitleText": "回款首页查看"
+ }
+ },
+ //回款新增(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/addPaymentCollection",
+ "style": {
+ "navigationBarTitleText": "回款新增"
+ }
+ },
+ //回款更新(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/paymentDetail",
+ "style": {
+ "navigationBarTitleText": "回款新增"
+ }
+ },
+ //回款查看公用页面(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/paymentCollectionCheck",
+ "style": {
+ "navigationBarTitleText": "回款查看"
+ }
+ },
+ //回款查看全员统计查看(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/fullStaffStatisticsViewingTable",
+ "style": {
+ "navigationBarTitleText": "全员统计查看"
+ }
+ },
+ //回款查看个人详情查看(已更新)
+ {
+ "path": "pages/business/CRM/paymentCollection/personalPaymentCollectionTable",
+ "style": {
+ "navigationBarTitleText": "个人详情查看"
+ }
+ },
+ {
+ "path": "pages/business/CRM/weekPlanUpdate",
+ //修改周计划
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/plan/index",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/plan/myPlan",
+ //我的计划列表
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/plan/planEdit",
+ //计划修改
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/plan/planView",
+ //周计划查看
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/customerAdd",
+ //客户人员新增
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/customerAudit",
+ //客户人员审核
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/customerUserBelong",
+ //客户人员归属
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/components/confirmForm",
+ //客户人员主归属人变更审核提交
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/changeCustomerOwner",
+ //客户人员主归属人变更
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/mainOwner/audit/mainOwnerChangeAudit",
+ //客户人员主归属人变更审核
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/mainOwner/audit/confirmForm",
+ //客户人员主归属人变更审核提交
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/components/customerUserEdit",
+ //客户人员详情编辑
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/customer/selectCustomer",
+ //选择客户
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/vistorCheckin",
+ //签到打卡
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/checkinStatistics",
+ //打卡统计
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/paymentCollection",
+ //回款查看
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ //===================================活动报告====================
+ {
+ "path": "pages/business/CRM/marketActivity/visitReport",
+ //市场信息管理
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/visitorReportAdd",
+ //走访报告添加
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/visitReportView",
+ //走访报告查看
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/visitReportDetail",
+ //走访报告查看具体明细
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/auditReport",
+ //走访报告审批列表查看
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/detailForApproval",
+ //走访报告明细审批
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/visitorReportEnter",
+ //走访报告内容录入
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/auditReject",
+ //走访报告驳回输入原因
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/customerUserList",
+ //客户公司人员信息
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/myUserList",
+ //我公司人员信息
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/activityTypeList",
+ //活动类型
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/marketActivity/chooseCus",
+ //选择客户单位
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ //====================地图======
+ {
+ "path": "pages/business/CRM/map/vistorCheckin",
+ //签到打卡
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/map/addRearkSignIn",
+ //签到备注
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/map/checkInView",
+ //打卡信息(考勤查看)
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/business/CRM/map/checkinStatistics",
+ //打卡统计
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ //===================================活动报告====================
+ {
+ "path": "pages/notice/notice",
+ "style": {
+ "navigationBarTitleText": "",
+ "app-plus": {
+ "bounce": "none"
+ // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
+ },
+ "mp-alipay": {
+ "allowsBounceVertical": "NO"
+ }
+ // 取消支付宝和钉钉小程序的iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
+ }
+ },
+ {
+ "path": "pages/userinfo/userinfo",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "718友晟",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8",
+ "navigationStyle": "custom"
+ },
+ "tabBar": {
+ "color": "#919191",
+ "selectedColor": "#ffffff",
+ "borderStyle": "#ffffff",
+ "backgroundColor": "#000000",
+ "fontSize": "12px",
+ "iconWidth": "24px",
+ "list": [
+ {
+ "pagePath": "pages/home/home",
+ "iconPath": "static/images/tabs/menu-home.png",
+ "selectedIconPath": "static/images/tabs/menu-home-on.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/business/business",
+ "iconPath": "static/images/tabs/menu-business.png",
+ "selectedIconPath": "static/images/tabs/menu-business-on.png",
+ "text": "业务中心"
+ },
+ {
+ "pagePath": "pages/notice/notice",
+ "iconPath": "static/images/tabs/menu-info.png",
+ "selectedIconPath": "static/images/tabs/menu-info-on.png",
+ "text": "消息"
+ },
+ {
+ "pagePath": "pages/userinfo/userinfo",
+ "iconPath": "static/images/tabs/menu-me.png",
+ "selectedIconPath": "static/images/tabs/menu-me-on.png",
+ "text": "我的"
+ }
+ ]
+ }
}
diff --git a/src/pages/business/CRM/customer/changeCustomerOwner.vue b/src/pages/business/CRM/customer/changeCustomerOwner.vue
new file mode 100644
index 0000000..1f5d820
--- /dev/null
+++ b/src/pages/business/CRM/customer/changeCustomerOwner.vue
@@ -0,0 +1,349 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+
+
+
+ 客户人员名称
+ {{ item.userName }}
+
+
+
+
+ 性别
+ {{ item.sex }}
+
+
+
+
+ 手机号
+ {{ item.mobilePhone || item.iphone }}
+
+
+
+
+ 部门
+ {{ item.userDept }}
+
+
+
+
+ 业务员认定等级
+ {{ item.salesmanThinkLevel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/components/confirmForm.vue b/src/pages/business/CRM/customer/components/confirmForm.vue
new file mode 100644
index 0000000..49c064d
--- /dev/null
+++ b/src/pages/business/CRM/customer/components/confirmForm.vue
@@ -0,0 +1,721 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ customerUser.cusName || '查询客户名称' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.userType ? formData.userType : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.functionalRequirements ? formData.functionalRequirements : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.salesmanThinkLevel ? formData.salesmanThinkLevel : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.sex ? formData.sex : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.hierarchyNeeds ? formData.hierarchyNeeds : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.develop ? formData.develop : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.support ? formData.support : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+ {{ formData.workingStatus ? formData.workingStatus : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/components/customerUserEdit.vue b/src/pages/business/CRM/customer/components/customerUserEdit.vue
new file mode 100644
index 0000000..cb3f608
--- /dev/null
+++ b/src/pages/business/CRM/customer/components/customerUserEdit.vue
@@ -0,0 +1,690 @@
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ customerUser.cusName || '查询客户名称' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.functionalRequirements ? formData.functionalRequirements : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.salesmanThinkLevel ? formData.salesmanThinkLevel : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.sex ? formData.sex : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.userType ? formData.userType : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.hierarchyNeeds ? formData.hierarchyNeeds : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.develop ? formData.develop : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.support ? formData.support : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+ {{ formData.workingStatus ? formData.workingStatus : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+ *★,°*:.☆( ̄▽ ̄)/$:*.°★*
+ 。恭喜你完成了信息填写,赶快提交吧!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/customerAdd.vue b/src/pages/business/CRM/customer/customerAdd.vue
index 89bbb02..f6f3a7a 100644
--- a/src/pages/business/CRM/customer/customerAdd.vue
+++ b/src/pages/business/CRM/customer/customerAdd.vue
@@ -1,3 +1,7 @@
+
@@ -29,7 +33,7 @@
- {{ customerUser.cusName || '查询客户人员' }}
+ {{ customerUser.cusName || '查询客户名称' }}
@@ -485,7 +489,8 @@ let handleUserTypeChange = (e) => {
// 选择日期
function handleTenureTimeChange(e) {
- // console.log(e)
+ let {value} = e.detail;
+ formData.value.tenureTime = value;
}
// 需求层次索引
@@ -508,7 +513,8 @@ let handleDevelopChange = e => {
// 选择生日
function handleBirthdayChange(e) {
- // console.log(e)
+ let{value} = e.detail
+ formData.value.birthday = value;
}
// 爱好标签索引
@@ -560,9 +566,15 @@ let submitForm = async () => {
uni.showLoading()
saveappCrmCusUserNew(formData.value).then(res=>{
uni.hideLoading();
- uni.showToast({
- title: "保存成功"
- })
+ if(res.code === 200){
+ uni.showToast({
+ title: "保存成功"
+ })
+ }else{
+ uni.showToast({
+ title: "操作失败"
+ })
+ }
setTimeout(()=>uni.navigateBack(), 1500);
}).catch(err=>{
uni.showToast({
diff --git a/src/pages/business/CRM/customer/customerAudit.vue b/src/pages/business/CRM/customer/customerAudit.vue
new file mode 100644
index 0000000..2fa806a
--- /dev/null
+++ b/src/pages/business/CRM/customer/customerAudit.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+
+ {{ item.auditStatus ? '' : '待您审批' }}
+
+
+
+ 客户人员名称
+ {{ item.userName }}
+
+
+
+
+ 目前业务员
+ {{ item.belonger }}
+
+
+
+
+ 创建时间
+ {{ item.createTime }}
+
+
+
+
+ 职能
+ {{ item.function }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/customerUserBelong.vue b/src/pages/business/CRM/customer/customerUserBelong.vue
new file mode 100644
index 0000000..179491b
--- /dev/null
+++ b/src/pages/business/CRM/customer/customerUserBelong.vue
@@ -0,0 +1,343 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+
+ {{ item.nodeCode }}
+
+
+
+ 客户人员名称
+ {{ item.userName }}
+
+
+
+
+ 客户等级
+ {{ item.cusEstate }}
+
+
+
+
+ 职能
+ {{ item.function }}
+
+
+
+
+ 创建时间
+ {{ item.createTime }}
+
+
+
+
+ 业务员认定等级
+ {{ item.salesmanThinkLevel }}
+
+
+
+
+ 系统认定等级
+ {{ item.systemThinkLevel }}
+
+
+
+
+ 驳回原因
+ {{ item.opinion }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/dataMap.js b/src/pages/business/CRM/customer/dataMap.js
index a8c1673..1084005 100644
--- a/src/pages/business/CRM/customer/dataMap.js
+++ b/src/pages/business/CRM/customer/dataMap.js
@@ -113,4 +113,14 @@ export const workingStatusList = [
{id: 1, name: '正常上班'},
{id: 2, name: '离职'},
{id: 3, name: '退休'}
-]
\ No newline at end of file
+]
+/**
+ * 人员所属审核状态字典
+ */
+export const statusColorMap = {
+ '提交': 'tijiao-deal',
+ '驳回': 'chaoqi-deal',
+ '超期': 'chaoqi-deal',
+ '完成': 'wancheng-deal',
+ '待审核': 'daishenhe-un-deal'
+}
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/selectCustomer.vue b/src/pages/business/CRM/customer/selectCustomer.vue
index 591053b..88deb74 100644
--- a/src/pages/business/CRM/customer/selectCustomer.vue
+++ b/src/pages/business/CRM/customer/selectCustomer.vue
@@ -2,7 +2,7 @@
-
+
@@ -20,9 +20,9 @@
-
+
@@ -117,7 +117,7 @@ let timerId = null;
// 搜索
watch(searchValue, (newValue, oldValue) => {
// console.log(`新值: ${newValue}, 旧值: ${oldValue}`);
- if(!timerId) clearTimeout(timerId);
+ if(timerId) clearTimeout(timerId);
cssFlag.value = true;
timerId = setTimeout(async ()=>{
handleSearch();
@@ -135,6 +135,7 @@ const downCallback = async (mescroll) => {
// 正确结束下拉刷新状态
mescroll.endSuccess(res.list.length, res.total >= upOption.value.page.size);
} catch (error) {
+ console.log(error)
// 发生错误时结束下拉刷新
mescroll.endErr();
}
@@ -152,16 +153,19 @@ const upCallback = async (mescroll) => {
// 正确结束上拉加载状态
mescroll.endSuccess(res.list.length, res.list.length >= mescroll.size);
} catch (error) {
+ console.log(error)
// 发生错误时结束上拉加载
mescroll.endErr();
}
}
// 查询搜索跳转
-let handleSearch = () => {
+let handleSearch = async () => {
// 触发下拉刷新以重新加载数据
if (mescrollRef.value) {
- downCallback(mescrollRef.value.mescroll);
+ uni.showLoading()
+ await downCallback(mescrollRef.value.mescroll);
+ uni.hideLoading()
}
}
// 获取数据列表
@@ -200,10 +204,6 @@ const radioChange = (e) => {
/* #endif */
}
-.search {
- display: flex;
-}
-
.search .btn-search {
border: none;
background: none;
@@ -219,15 +219,6 @@ const radioChange = (e) => {
display: none;
}
-.search .custom-search {
- width: 80%;
-
-}
-
-.search .custom-search.uni-searchbar {
- padding-right: 0 !important;
-}
-
.scroll-h {
/* #ifdef APP-PLUS */
height: calc(100vh - 120px);
diff --git a/src/pages/business/CRM/mainOwner/audit/confirmForm.vue b/src/pages/business/CRM/mainOwner/audit/confirmForm.vue
new file mode 100644
index 0000000..6d7c63f
--- /dev/null
+++ b/src/pages/business/CRM/mainOwner/audit/confirmForm.vue
@@ -0,0 +1,743 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ customerUser.cusName || '查询客户名称' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.userType ? formData.userType : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.functionalRequirements ? formData.functionalRequirements : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.salesmanThinkLevel ? formData.salesmanThinkLevel : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.sex ? formData.sex : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.hierarchyNeeds ? formData.hierarchyNeeds : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.develop ? formData.develop : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.support ? formData.support : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+ {{ formData.workingStatus ? formData.workingStatus : '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/mainOwner/audit/mainOwnerChangeAudit.vue b/src/pages/business/CRM/mainOwner/audit/mainOwnerChangeAudit.vue
new file mode 100644
index 0000000..7ea76e3
--- /dev/null
+++ b/src/pages/business/CRM/mainOwner/audit/mainOwnerChangeAudit.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+ {{item.auditStatus?'':'待您审批'}}
+
+
+ 客户人员名称
+ {{ item.userName }}
+
+
+
+
+ 目前业务员
+ {{ item.belonger }}
+
+
+
+
+ 创建时间
+ {{ item.createTime }}
+
+
+
+
+ 职能
+ {{ item.function }}
+
+
+
+
+ 申请变更人姓名
+ {{ item.applicantName }}
+
+
+
+
+ 申请原因
+ {{ item.reasonForChange }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/marketInformation/beCurrent.vue b/src/pages/business/CRM/marketInformation/beCurrent.vue
index 048a5d2..313a875 100644
--- a/src/pages/business/CRM/marketInformation/beCurrent.vue
+++ b/src/pages/business/CRM/marketInformation/beCurrent.vue
@@ -174,6 +174,11 @@
title: '提交成功',
icon: 'success'
})
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
+
console.log('表单数据:', formData.value)
} catch (err) {
console.log('表单验证失败:', err)
diff --git a/src/pages/business/CRM/marketInformation/beCurrentDetail.vue b/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
index 7481d4a..31b78e6 100644
--- a/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
+++ b/src/pages/business/CRM/marketInformation/beCurrentDetail.vue
@@ -179,8 +179,10 @@
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
@@ -216,8 +218,10 @@ onMounted(() => {
title: '删除成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/competitor.vue b/src/pages/business/CRM/marketInformation/competitor.vue
index 5c460e0..e83c481 100644
--- a/src/pages/business/CRM/marketInformation/competitor.vue
+++ b/src/pages/business/CRM/marketInformation/competitor.vue
@@ -327,15 +327,12 @@ const dynamicPlaceholder = computed(() => {
// 当前选中的信息类型
const competitorLevelOneIndex = ref(0)
const competitorLevelOne = ref('基本信息')
-
+ const competitorLevelTwo = ref('资质情况')
// 当前选中的具体分类索引
const competitorLevelTwoIndex = ref(0)
// 当前显示的具体分类选项数组(动态切换 array2 / array3)
const currentCompetitorLevelTwoArray = ref(array2.value)
-
- // 当前选中的具体分类名称
- const competitorLevelTwo = ref('')
// 表单引用 & 客户选择器引用
const formRef = ref(null)
@@ -374,6 +371,11 @@ const dynamicPlaceholder = computed(() => {
title: '提交成功',
icon: 'success'
})
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
+
console.log('表单数据:', formData.value)
} catch (err) {
console.log('表单验证失败:', err)
diff --git a/src/pages/business/CRM/marketInformation/competitorDetail.vue b/src/pages/business/CRM/marketInformation/competitorDetail.vue
index afa4bb7..42bf8ce 100644
--- a/src/pages/business/CRM/marketInformation/competitorDetail.vue
+++ b/src/pages/business/CRM/marketInformation/competitorDetail.vue
@@ -379,8 +379,10 @@ const dynamicPlaceholder = computed(() => {
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
@@ -448,8 +450,10 @@ const dynamicPlaceholder = computed(() => {
title: '删除成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/infomationView.vue b/src/pages/business/CRM/marketInformation/infomationView.vue
new file mode 100644
index 0000000..41d8790
--- /dev/null
+++ b/src/pages/business/CRM/marketInformation/infomationView.vue
@@ -0,0 +1,411 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{selCategory.val||'全部'}}
+
+
+
+
+ {{item.categoryName}}
+
+
+
+
+
+
+ {{'搜索'}}
+
+
+
+
+
+ 信息类型:{{ item.informationType }}
+
+
+
+ 公司名称:{{ item.cusName }}
+ {{item.myselfBrowsing==0?'未读':'已读'}}
+
+
+
+
+
+
+ 报告人
+ {{ item.createName }}
+
+
+
+ 报告日期
+ {{ item.createTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/marketInformation/informationDetail.vue b/src/pages/business/CRM/marketInformation/informationDetail.vue
new file mode 100644
index 0000000..98a4fe2
--- /dev/null
+++ b/src/pages/business/CRM/marketInformation/informationDetail.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ detailList.informationType }}
+
+ {{ detailList.cusName }}
+
+
+
+ 报告人
+ {{ detailList.createName }}
+
+
+
+ 创建日期
+ {{ detailList.createTime }}
+
+
+
+ 创建时间
+ {{ detailList.createTime }}
+
+
+
+
+ 机会类型
+ {{ detailList.opportunityType }}
+
+
+
+
+ 了解途径
+ {{ detailList.understandTheWay }}
+
+
+
+
+ 机会描述
+ {{ detailList.opportunityDescription }}
+
+
+
+
+ 机会所处状态
+ {{ detailList.opportunityStatus }}
+
+
+
+
+ 预测金额或情况
+ {{ detailList.predictedAmount }}
+
+
+
+
+ 竞争情况
+ {{ detailList.competitionSituation }}
+
+
+
+
+ 重大事项类型
+ {{ detailList.majorTypesOfMatters }}
+
+
+
+
+ 产生的影响
+ {{ detailList.theImpactGenerated }}
+
+
+
+
+ 公司应对策略
+ {{ detailList.companyResponseStrategy }}
+
+
+
+
+ 竞争单位
+ {{ detailList.competitiveUnits }}
+
+
+
+
+ 信息类型
+ {{ detailList.competitorLevelOne }}
+
+
+
+
+ 具体分类
+ {{ detailList.competitorLevelTwo }}
+
+
+
+
+ 具体事情
+ {{ detailList.specificMatters }}
+
+
+
+
+ 原职务
+ {{ detailList.originalPosition }}
+
+
+
+
+ 现职务
+ {{ detailList.currentPosition }}
+
+
+
+
+ 现职务是否与我公司业务相关
+ {{ detailList.positionOfOurCompany }}
+
+
+
+
+ 攻关力度
+ {{ detailList.developmentEfforts }}
+
+
+
+
+ 继任者
+ {{ detailList.successor }}
+
+
+
+
+ 重点型号
+ {{ detailList.keyModels }}
+
+
+
+
+ 目前状态
+ {{ detailList.currentStatus }}
+
+
+
+
+ 批产计划
+ {{ detailList.batchProductionPlan }}
+
+
+
+
+ 外协、外包、上级单位情况
+ {{ detailList.situation }}
+
+
+
+
+ 下级配套单位
+ {{ detailList.subordinateSupportingUnits }}
+
+
+
+
+ 通用表单类型
+ {{ detailList.generalFormType }}
+
+
+
+
+ 信息内容
+ {{ detailList.informationContent }}
+
+
+
+ 备注
+ {{ detailList.remark }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/marketInformation/keyModelTasks.vue b/src/pages/business/CRM/marketInformation/keyModelTasks.vue
index 2de48b5..3756522 100644
--- a/src/pages/business/CRM/marketInformation/keyModelTasks.vue
+++ b/src/pages/business/CRM/marketInformation/keyModelTasks.vue
@@ -178,6 +178,11 @@
title: '提交成功',
icon: 'success'
})
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
+
console.log('表单数据:', formData.value)
} catch (err) {
console.log('表单验证失败:', err)
diff --git a/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue b/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
index 9cadf4a..221ac5d 100644
--- a/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
+++ b/src/pages/business/CRM/marketInformation/keyModelTasksDetail.vue
@@ -183,8 +183,10 @@
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
@@ -217,8 +219,10 @@
title: '删除成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/majorMatter.vue b/src/pages/business/CRM/marketInformation/majorMatter.vue
index b4927cd..0d4e999 100644
--- a/src/pages/business/CRM/marketInformation/majorMatter.vue
+++ b/src/pages/business/CRM/marketInformation/majorMatter.vue
@@ -203,6 +203,11 @@
title: '提交成功',
icon: 'success'
})
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
+
console.log('表单数据:', formData.value)
} catch (err) {
console.log('表单验证失败:', err)
diff --git a/src/pages/business/CRM/marketInformation/majorMatterDetail.vue b/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
index fc959ff..3c99a93 100644
--- a/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
+++ b/src/pages/business/CRM/marketInformation/majorMatterDetail.vue
@@ -210,8 +210,10 @@
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
@@ -250,8 +252,10 @@
title: '删除成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/marketInformation.vue b/src/pages/business/CRM/marketInformation/marketInformation.vue
index b16f220..d693cf1 100644
--- a/src/pages/business/CRM/marketInformation/marketInformation.vue
+++ b/src/pages/business/CRM/marketInformation/marketInformation.vue
@@ -32,7 +32,7 @@
{{ item.cusName }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
机会类型:{{item.opportunityType}}
@@ -51,13 +51,13 @@
{{ item.cusName }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
产生的影响:{{item.theImpactGenerated}}
- 重大事项类型:{{item.majorTypesOfMatters}}
+ 重大事项类型:{{item.opportunityType}}
@@ -70,7 +70,7 @@
{{ item.competitiveUnits }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
@@ -89,7 +89,7 @@
{{ item.cusName }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
客户人员名称:{{item.cusUserName}}
@@ -110,7 +110,7 @@
{{ item.cusName }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
重点型号:{{item.keyModels}}
@@ -128,7 +128,7 @@
{{ item.cusName }}
{{ item.state }}
+ size="mini" @click.stop="itemView(item)">{{ item.state }}
标签:{{item.generalFormType}}
@@ -148,7 +148,8 @@
diff --git a/src/pages/business/CRM/marketInformation/marketInformationReviewDetail.vue b/src/pages/business/CRM/marketInformation/marketInformationReviewDetail.vue
new file mode 100644
index 0000000..f7c2907
--- /dev/null
+++ b/src/pages/business/CRM/marketInformation/marketInformationReviewDetail.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ detailList.informationType }}
+
+ {{ detailList.cusName }}
+
+
+
+ 报告人
+ {{ detailList.createName }}
+
+
+
+ 创建日期
+ {{ detailList.createTime }}
+
+
+
+
+
+ 机会类型
+ {{ detailList.opportunityType }}
+
+
+
+
+ 了解途径
+ {{ detailList.understandTheWay }}
+
+
+
+
+ 机会描述
+ {{ detailList.opportunityDescription }}
+
+
+
+
+ 机会所处状态
+ {{ detailList.opportunityStatus }}
+
+
+
+
+ 预测金额或情况
+ {{ detailList.predictedAmount }}
+
+
+
+
+ 竞争情况
+ {{ detailList.competitionSituation }}
+
+
+
+
+ 重大事项类型
+ {{ detailList.majorTypesOfMatters }}
+
+
+
+
+ 产生的影响
+ {{ detailList.theImpactGenerated }}
+
+
+
+
+ 公司应对策略
+ {{ detailList.companyResponseStrategy }}
+
+
+
+
+ 竞争单位
+ {{ detailList.competitiveUnits }}
+
+
+
+
+ 信息类型
+ {{ detailList.competitorLevelOne }}
+
+
+
+
+ 具体分类
+ {{ detailList.competitorLevelTwo }}
+
+
+
+
+ 具体事情
+ {{ detailList.specificMatters }}
+
+
+
+
+ 原职务
+ {{ detailList.originalPosition }}
+
+
+
+
+ 现职务
+ {{ detailList.currentPosition }}
+
+
+
+
+ 现职务是否与我公司业务相关
+ {{ detailList.positionOfOurCompany }}
+
+
+
+
+ 攻关力度
+ {{ detailList.developmentEfforts }}
+
+
+
+
+ 继任者
+ {{ detailList.successor }}
+
+
+
+
+ 重点型号
+ {{ detailList.keyModels }}
+
+
+
+
+ 目前状态
+ {{ detailList.currentStatus }}
+
+
+
+
+ 批产计划
+ {{ detailList.batchProductionPlan }}
+
+
+
+
+ 外协、外包、上级单位情况
+ {{ detailList.situation }}
+
+
+
+
+ 下级配套单位
+ {{ detailList.subordinateSupportingUnits }}
+
+
+
+
+ 通用表单类型
+ {{ detailList.generalFormType }}
+
+
+
+
+ 信息内容
+ {{ detailList.informationContent }}
+
+
+
+ 备注
+ {{ detailList.remark }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 驳回
+
+ 通过
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/marketInformation/marketOpportunities.vue b/src/pages/business/CRM/marketInformation/marketOpportunities.vue
index 90f91d1..952afa8 100644
--- a/src/pages/business/CRM/marketInformation/marketOpportunities.vue
+++ b/src/pages/business/CRM/marketInformation/marketOpportunities.vue
@@ -87,9 +87,6 @@
let customerUser = reactive({})
// 客户相关
const guestList = ref([])
- const guestArr = ref([])
- const guestIndex = ref(0)
-
// 表单数据
const formData = ref({
cusId: null,
@@ -186,7 +183,7 @@
const form = ref({
cusId: null,
cusName: null,
- opportunityType: "", // 机会类型
+ opportunityType: array.value[0].name, // 机会类型
understandTheWay: "", // 了解途径
opportunityDescription: "", // 机会描述
opportunityStatus: "", // 机会所处状态
@@ -243,7 +240,12 @@
//监听时间
onMounted(() => {
- uni.$on('onCustomerSelected', handleCustomerSelected)
+ // 设置机会类型的默认值
+ formData.value.opportunityType = array.value[0].name;
+ opportunityTypeIndex.value = 0;
+
+ // 原有的监听客户选择事件
+ uni.$on('onCustomerSelected', handleCustomerSelected);
})
//取消监听
onUnmounted(() => {
@@ -266,17 +268,18 @@
try {
// 表单校验
await formRef.value.validate()
- const res = await crmMarketInformationAdd(formData.value);
+ const res = await crmMarketInformationAdd(formData.value);
console.log(res)
uni.showToast({
title: '提交成功',
icon: 'success'
})
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
+
console.log('表单数据:', formData.value)
-
- // TODO: 在这里添加提交到后端的逻辑,比如调用 api.CrmMarketInformationAdd(formData.value)
- // 暂时只做校验提示
-
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue b/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
index d31a02e..a2d22d7 100644
--- a/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
+++ b/src/pages/business/CRM/marketInformation/marketOpportunitiesDetail.vue
@@ -293,8 +293,10 @@ onMounted(() => {
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
@@ -309,7 +311,10 @@ onMounted(() => {
title: '删除成功',
icon: 'success'
})
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}
diff --git a/src/pages/business/CRM/marketInformation/personnelChanges.vue b/src/pages/business/CRM/marketInformation/personnelChanges.vue
index efc0064..50c46be 100644
--- a/src/pages/business/CRM/marketInformation/personnelChanges.vue
+++ b/src/pages/business/CRM/marketInformation/personnelChanges.vue
@@ -81,7 +81,10 @@
} from 'vue'
import customHeader from '@/components/customHeader.vue'
import cache from '@/utils/cache'
- import { onShow, onUnload } from '@dcloudio/uni-app';
+ import {
+ onShow,
+ onUnload
+ } from '@dcloudio/uni-app';
import {
getGuestList
} from '@/api/business.js'
@@ -227,23 +230,23 @@
url: '/pages/business/CRM/customerUserList?cusName=' + formData.value.cusName
})
}
-//页面渲染完成后,查询catch的get
-onShow(() => {
+ //页面渲染完成后,查询catch的get
+ onShow(() => {
- if (cache.get('checkedRCClientList') != null && cache.get('checkedRCClientList') != []) {
- formData.value.cusUserName = cache.get('checkedRCClientList')
- }
+ if (cache.get('checkedRCClientList') != null && cache.get('checkedRCClientList') != []) {
+ formData.value.cusUserName = cache.get('checkedRCClientList')
+ }
-})
-//页面卸载之后,删除缓存信息
-onUnload(() => {
- handleDeleteLocal()
-})
+ })
+ //页面卸载之后,删除缓存信息
+ onUnload(() => {
+ handleDeleteLocal()
+ })
-//删除缓存
-let handleDeleteLocal = () => {
- cache.remove('checkedRCClientList');
-}
+ //删除缓存
+ let handleDeleteLocal = () => {
+ cache.remove('checkedRCClientList');
+ }
// 提交表单
const submitForm = async () => {
@@ -251,7 +254,7 @@ let handleDeleteLocal = () => {
// 表单校验
await formRef.value.validate()
const cusUserName1 = formData.value.cusUserName;
- const stringOfNames = cusUserName1.join(",")
+ const stringOfNames = cusUserName1.join(",")
formData.value.cusUserName = stringOfNames
const res = await crmMarketInformationAdd(formData.value);
console.log(res)
@@ -259,10 +262,10 @@ let handleDeleteLocal = () => {
title: '提交成功',
icon: 'success'
})
- console.log('表单数据:', formData.value)
-
- // TODO: 在这里添加提交到后端的逻辑,比如调用 api.CrmMarketInformationAdd(formData.value)
- // 暂时只做校验提示
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
diff --git a/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue b/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
index f2fae25..3d084c4 100644
--- a/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
+++ b/src/pages/business/CRM/marketInformation/personnelChangesDetail.vue
@@ -263,8 +263,10 @@ let handleDeleteLocal = () => {
title: '提交成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
// TODO: 在这里添加提交到后端的逻辑,比如调用 api.CrmMarketInformationAdd(formData.value)
// 暂时只做校验提示
@@ -318,8 +320,10 @@ let handleDeleteLocal = () => {
title: '删除成功',
icon: 'success'
})
- uni.$emit('refreshMarketOpportunityList')
- uni.navigateBack(1)
+ uni.$emit('refreshMarketList');
+ setTimeout(() => {
+ uni.navigateBack(1);
+ }, 1500);
} catch (err) {
console.log('表单验证失败:', err)
}