From 94d144039aaf2c8b1100f4dda2518c9506f27829 Mon Sep 17 00:00:00 2001 From: dxn_notebook <867344970@qq.com> Date: Wed, 11 Jan 2023 17:06:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=A4=A9=E9=99=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lang/pendingOrder.js | 13 + src/components/ration/otgCorrection/index.vue | 172 ++++-------- src/config/config.js | 8 +- .../Feedback/Inspection/Report/index.vue | 2 +- .../Daichuli/Feedback/Inspection/index.vue | 6 +- src/views/Daichuli/Feedback/index.vue | 250 +++++++----------- src/views/Daichuli/index.vue | 66 ++--- vue.config.js | 8 +- 8 files changed, 194 insertions(+), 331 deletions(-) diff --git a/src/api/lang/pendingOrder.js b/src/api/lang/pendingOrder.js index c9d9b35..a8fd50e 100644 --- a/src/api/lang/pendingOrder.js +++ b/src/api/lang/pendingOrder.js @@ -187,3 +187,16 @@ export function downloadPdf(url) { method: "GET" }); } + +/** + * @Descripttion 根据token获取用户信息 + * @param {*} token + * @return {*} + */ +export async function getUserInfo(token) { + return request({ + url: '/app/logincheck?token=' + token, + method: 'get', + baseURL: 'http://10.0.3.157:18030/yunguan-app' + }) +} \ No newline at end of file diff --git a/src/components/ration/otgCorrection/index.vue b/src/components/ration/otgCorrection/index.vue index 22eaf37..1c6eb95 100644 --- a/src/components/ration/otgCorrection/index.vue +++ b/src/components/ration/otgCorrection/index.vue @@ -7,54 +7,24 @@