diff --git a/src/api/crm/api_ys.js b/src/api/crm/api_ys.js index a80171b..d11451f 100644 --- a/src/api/crm/api_ys.js +++ b/src/api/crm/api_ys.js @@ -173,3 +173,56 @@ export function crmMarketInformationApprovalUnSuccess(data) { isTransformResponse:false }) } + +//任务清单 +export function SalesManTaskList(data) { + return request.get({ + url: '/crm/jys/app/schedulerTask/SalesManTaskList', + data + },{ + isTransformResponse:false + }) +} + +//主线任务列表 +export function SalesManTaskDetailList(data) { + return request.get({ + url: '/crm/jys/app/schedulerTask/SalesManTaskDetailList', + data + },{ + isTransformResponse:false + }) +} + + + +//任务计划新增 +export function taskPlanAdd(data) { + return request.post({ + url: '/crm/jys/app/schedulerTask/add', + data + },{ + isTransformResponse:false + }) +} + +//任务计划查看 +export function TaskPlanList(data) { + return request.get({ + url: '/crm/jys/app/schedulerTask/TaskPlanList', + data + },{ + isTransformResponse:false + }) +} + + +//我的审批 +export function getMyReviewList(data) { + return request.get({ + url: "/crm/jys/app/schedulerTask/myReview", + data + },{ + isTransformResponse:false + }); +} diff --git a/src/pages.json b/src/pages.json index d8697e7..a4b2f1a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -752,6 +752,27 @@ { "path": "pages/business/CRM/scheduler/taskListViewing", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/business/CRM/scheduler/taskViewingDetail", + + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/business/CRM/scheduler/taskPlanList", + + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/business/CRM/scheduler/taskPlanReview", + "style": { "navigationBarTitleText": "" } diff --git a/src/pages/business/CRM/scheduler/index.vue b/src/pages/business/CRM/scheduler/index.vue index d9aaf15..43c9917 100644 --- a/src/pages/business/CRM/scheduler/index.vue +++ b/src/pages/business/CRM/scheduler/index.vue @@ -19,19 +19,9 @@ - - - - - - 任务计划新增 - - - - - + 任务计划查看 @@ -40,6 +30,16 @@ + + + + + 任务计划审批 + + + + + diff --git a/src/pages/business/CRM/scheduler/taskListViewing.vue b/src/pages/business/CRM/scheduler/taskListViewing.vue index 903f645..2edf872 100644 --- a/src/pages/business/CRM/scheduler/taskListViewing.vue +++ b/src/pages/business/CRM/scheduler/taskListViewing.vue @@ -1,219 +1,412 @@ + .search .btn-search::after { + 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); + /* #endif */ + /* #ifndef APP-PLUS */ + height: calc(100vh - 110px); + /* #endif */ + } + + .white-bg { + padding-bottom: 10rpx; + } + + .search_center { + display: flex; + align-items: center; + border: none; + flex: 1; + height: 70rpx; + margin-left: 20rpx; + padding-left: 20rpx; + border-radius: 32.5rpx; + background-color: #f5f5f5; + + .search_icon { + width: 30rpx; + height: 30rpx; + margin-right: 22rpx; + } + + .category { + display: flex; + align-items: center; + margin-right: 16rpx; + padding-right: 16rpx; + border-right: 2rpx solid #D4D4D4; + position: relative; + + text { + font-size: 13px; + margin-left: 10rpx; + margin-right: 10rpx; + } + + image { + margin-top: 4rpx; + width: 20rpx; + height: 11rpx; + + } + + .pop { + position: absolute; + top: 50rpx; + background: #FFFFFF; + box-shadow: 0px 0px 40rpx 0px rgba(59, 59, 59, 0.2); + border-radius: 12rpx; + display: flex; + flex-direction: column; + align-items: center; + padding: 20rpx; + z-index: 100; + max-height: 566rpx; + overflow-y: auto; + + text { + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + white-space: nowrap; + margin: 10rpx 0; + line-height: 56rpx; + } + } + + .pop_arrow { + position: absolute; + top: 48rpx; + z-index: 999; + + &::after { + position: absolute; + content: ""; + left: 68rpx; + top: -26rpx; + border: 14rpx solid #fff; + border-color: transparent transparent #fff transparent; + } + } + } + } + \ No newline at end of file diff --git a/src/pages/business/CRM/scheduler/taskPlanAdded.vue b/src/pages/business/CRM/scheduler/taskPlanAdded.vue index 049db37..4e97c3f 100644 --- a/src/pages/business/CRM/scheduler/taskPlanAdded.vue +++ b/src/pages/business/CRM/scheduler/taskPlanAdded.vue @@ -2,7 +2,8 @@ - +