From 53193d9a0f6eac11a98c6da032e8a97979f433cb Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 10 四月 2024 21:20:11 +0800
Subject: [PATCH] Merge branch 'phyzasrs' of http://47.97.1.152:5880/r/wms_app into phyzasrs
---
pages/mat/matQuery.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pages/mat/matQuery.vue b/pages/mat/matQuery.vue
index e3713f5..da55e82 100644
--- a/pages/mat/matQuery.vue
+++ b/pages/mat/matQuery.vue
@@ -153,6 +153,7 @@
if (tagId == null || tagId == '' || tagId == undefined) {
return;
}
+ uni.showLoading({})
uni.request({
url: that.baseUrl + '/mat/list/pda/page/auth',
data: {
@@ -168,6 +169,7 @@
that.tagList = null
var res = result.data
if (res.code === 200) {
+ uni.hideLoading()
if (res.data.records != null && res.data.records.length > 0) {
let list = res.data.records
that.matList = that.reload ? list : that.matList.concat(list);
@@ -178,6 +180,7 @@
}
that.baColor = "background-color: #1cbbb4;"
} else if (res.code === 403 ) {
+ uni.hideLoading()
uni.showToast({title: res.msg, icon: "none", position: 'top'})
setTimeout(() => {
uni.reLaunch({
@@ -185,6 +188,7 @@
});
}, 1000);
} else {
+ uni.hideLoading()
uni.showToast({title: res.msg, icon: "none",position: 'top'})
}
--
Gitblit v1.9.1