From b97f1e876d1c5640b89f4aaeda6858249b05fa04 Mon Sep 17 00:00:00 2001 From: lijing Date: Thu, 7 Nov 2024 16:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E6=9A=82=E5=AD=98=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quality/Materialinspection/index.vue | 107 +++++++++++++++--- src/utils/request.ts | 12 +- 2 files changed, 101 insertions(+), 18 deletions(-) diff --git a/src/pages/quality/Materialinspection/index.vue b/src/pages/quality/Materialinspection/index.vue index acd2841..a9938f8 100644 --- a/src/pages/quality/Materialinspection/index.vue +++ b/src/pages/quality/Materialinspection/index.vue @@ -149,7 +149,7 @@
实际值:
-
实际值:
+
实际值:
@@ -209,11 +209,11 @@
-
不合格描述:
+
- +
-
- -
-
- 测量值增加 +
+
+
+
+ 测量值增加 +
@@ -421,6 +422,11 @@ + + + 系统自动保存中请勿操作 + + diff --git a/src/utils/request.ts b/src/utils/request.ts index 54778cc..1b95191 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -36,11 +36,17 @@ http.interceptors.request.use( //'http://192.168.202.34:30000'; //正式 } // 所有请求默认提示加载中 - if (!loading) { - uni.showLoading({ title: '加载中' }); + if (config.url == '/prod-api/quality/handCheck/commitCheckResultsCg') { + loading = undefined; + uni.hideLoading(); } else { - clearTimeout(loading); + if (!loading) { + uni.showLoading({ title: '加载中' }); + } else { + clearTimeout(loading); + } } + // 在请求发送之前做一些处理 config.header['Referrer-Policy'] = 'strict-origin-when-cross-origin'; config.header['poolName'] = session.PoolName;