From fec97a91395b2d7e249ab4a42d5f319844a97122 Mon Sep 17 00:00:00 2001 From: jinna Date: Fri, 17 Feb 2023 14:27:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/booklist/booklist.js | 18 ++-- src/views/booklist/index.vue | 145 ++++++++++++++++++--------------- src/views/booknumber/index.vue | 35 ++++++-- 3 files changed, 122 insertions(+), 76 deletions(-) diff --git a/src/api/booklist/booklist.js b/src/api/booklist/booklist.js index 24ea367..f17bd6c 100644 --- a/src/api/booklist/booklist.js +++ b/src/api/booklist/booklist.js @@ -12,22 +12,30 @@ export const getList = (current, size, params) => { }, }); }; -export const getStatus = (id) => { +export const getStatus = (ids) => { return request({ url: "/api/blade-business/apm-record/register", - method: "get", + method: "post", params: { - id, + ids, }, }); }; //预约当个详情 -export const queryBookDetail = (ids) => { +export const queryBookDetail = (id) => { return request({ url: "/api/blade-business/apm-record/detail-by-id", method: "get", params: { - ids, + id, }, }); }; + +//系统时间 +export const getSystemTime = () => { + return request({ + url: "/api/blade-business/common-api/get-system-datetime", + method: "get", + }); +}; diff --git a/src/views/booklist/index.vue b/src/views/booklist/index.vue index f8e7506..46a4880 100644 --- a/src/views/booklist/index.vue +++ b/src/views/booklist/index.vue @@ -4,15 +4,26 @@ :permission="permissionList" :before-open="beforeOpen" :before-close="beforeClose" @search-change="searchChange" @search-reset="searchReset" @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> + +
- - - -
- {{ regData.status == 1 ? '报道成功' : '报道失败' }}
+ + + +
+ {{ regData.resStatus == 1 ? '报道成功' : '报道失败' }}
-
无此人员预约检测项目,请预约后按时间报道
-
报到时间与预约时间不符,请按预约时间报道
+
{{regData.resMsg}}