From 4a287894649365c8dcf6e760921ba43851862f0a Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 22 Sep 2022 19:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A=E6=88=91?= =?UTF-8?q?=E7=9A=84=E7=94=B3=E8=AF=B7=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/personalCenter.js | 17 + .../components/ApplyDetails.vue | 449 +++++++++--------- .../components/DeviceApplyDetail.vue | 43 ++ .../personalCenter/components/MyApply.vue | 106 ++++- 4 files changed, 379 insertions(+), 236 deletions(-) create mode 100644 front/src/views/personalCenter/components/DeviceApplyDetail.vue diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js index a579c418..7b65fd5f 100644 --- a/front/src/api/personalCenter.js +++ b/front/src/api/personalCenter.js @@ -284,3 +284,20 @@ export function endProcess(params) { params, }) } + +// 西海岸:我的申请--设备申请列表 +export function deviceApplylist(params) { + return request({ + url: '/deviceApply/page', + method: 'get', + params, + }) +} + +// 西海岸:我的申请--设备申请--查询详情 +export function getDeviceDetail(deviceId) { + return request({ + url: `/device/${deviceId}`, + method: 'get', + }) +} \ No newline at end of file diff --git a/front/src/views/personalCenter/components/ApplyDetails.vue b/front/src/views/personalCenter/components/ApplyDetails.vue index 857cc3ff..825354ae 100644 --- a/front/src/views/personalCenter/components/ApplyDetails.vue +++ b/front/src/views/personalCenter/components/ApplyDetails.vue @@ -1,24 +1,12 @@