| | |
| | | if (tagId == null || tagId == '' || tagId == undefined) { |
| | | return; |
| | | } |
| | | uni.showLoading({}) |
| | | uni.request({ |
| | | url: that.baseUrl + '/mat/list/pda/page/auth', |
| | | data: { |
| | |
| | | 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); |
| | |
| | | } |
| | | that.baColor = "background-color: #1cbbb4;" |
| | | } else if (res.code === 403 ) { |
| | | uni.hideLoading() |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | |
| | | }); |
| | | }, 1000); |
| | | } else { |
| | | uni.hideLoading() |
| | | uni.showToast({title: res.msg, icon: "none",position: 'top'}) |
| | | } |
| | | |