From e8c35c7fac0fb0600a9764f95298ba793bc7888f Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 17 May 2024 15:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 6 ++- src/api/service.js | 36 ++++++++++++++- src/views/assistance/index.vue | 81 ++++++++++++++++++++++++++-------- 3 files changed, 102 insertions(+), 21 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index cf8653f..66aa024 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -5,7 +5,11 @@ const api = { ServiceListRcv: '/governance/service/rcvAndProcess/waitingRcvServiceList', Password: '/epmetuser/customerstaff/changePassword', ServiceListProcess: '/governance/service/rcvAndProcess/waitingProcessServiceList', - ServiceListCompleted: '/governance/service/rcvAndProcess/completedServiceList' + ServiceListCompleted: '/governance/service/rcvAndProcess/completedServiceList', + CommonalityDetail: '/governance/service/rcvAndProcess/commonDemand/detail', + MeasureDetail: '/governance/service/rcvAndProcess/userDemand/detail', + ListMyIdentities: '/governance/service/rcvAndProcess/listMyIdentities', + receiveService: '/governance/service/rcvAndProcess/receive' } export default api diff --git a/src/api/service.js b/src/api/service.js index 5373b08..229ed3b 100644 --- a/src/api/service.js +++ b/src/api/service.js @@ -1,6 +1,6 @@ import api from './index' import request from '@/utils/request' - +//待接单列表 export function getServiceListRcv(params) { return request({ url: api.ServiceListRcv, @@ -8,6 +8,7 @@ export function getServiceListRcv(params) { params }) } +//待处理列表 export function getServiceListProcess(params) { return request({ url: api.ServiceListProcess, @@ -15,6 +16,7 @@ export function getServiceListProcess(params) { params }) } +//已完成列表 export function getServiceListCompleted(params) { return request({ url: api.ServiceListCompleted, @@ -22,4 +24,36 @@ export function getServiceListCompleted(params) { params }) } +//共性服务详情 +export function getCommonalityDetail(params) { + return request({ + url: api.CommonalityDetail, + method: 'get', + params + }) +} +//个性服务详情 +export function getMeasureDetail(params) { + return request({ + url: api.MeasureDetail, + method: 'get', + params + }) +} +//我的身份 +export function getListMyIdentities(params) { + return request({ + url: api.ListMyIdentities, + method: 'get', + params + }) +} +//接单提交 +export function receiveService(data) { + return request({ + url: api.receiveService, + method: 'post', + data + }) +} diff --git a/src/views/assistance/index.vue b/src/views/assistance/index.vue index 92b026b..9010358 100644 --- a/src/views/assistance/index.vue +++ b/src/views/assistance/index.vue @@ -11,18 +11,35 @@ 内容 3 - - - 单选框 1 - 单选框 2 + + + {{item.serviceOrgName}} + + + 至 + + +