From a2a27e334f6710836848de1d0c1dd90e64f802aa Mon Sep 17 00:00:00 2001 From: jyx <2012969435@qq.com> Date: Sat, 14 Sep 2024 11:31:59 +0800 Subject: [PATCH] fix --- src/api/login.js | 17 +++ src/pages/detail/index.vue | 34 ++++-- src/pages/login/index.vue | 196 ++++++++++++++++++++++++----------- src/pages/painting/index.vue | 37 ++++++- utils/service/index.js | 10 +- 5 files changed, 217 insertions(+), 77 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index 85fae50..7823c3f 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -7,6 +7,7 @@ export const userLogin = (data) => { data, }); }; + //验证码 export const userSend = (data) => { return request({ url: "/user/send", @@ -14,5 +15,21 @@ export const userSend = (data) => { data, }); }; + //扫码查看画桶详情 + export const pbDetail = (data) => { + return request({ + url: "/containeradm/v1/painting_bucket/get_by_id", + method: "POST", + data, + }); + }; + //查询可放画桶的空闲货架孔 + export const freebox = (data) => { + return request({ + url: "/containeradm/v1/box_rel_bucket/freebox", + method: "POST", + data, + }); + }; \ No newline at end of file diff --git a/src/pages/detail/index.vue b/src/pages/detail/index.vue index ca0b787..babc05d 100644 --- a/src/pages/detail/index.vue +++ b/src/pages/detail/index.vue @@ -1,14 +1,14 @@