| | |
| | | if (tagId == null || tagId == '' || tagId == undefined) { |
| | | return; |
| | | } |
| | | uni.showLoading(); |
| | | uni.request({ |
| | | // url: "http://localhost:8081/jkwms/mat/list/pda/auth", |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mat/list/pda/auth', |
| | |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | if (res.data != null && res.data.length > 0) { |
| | | uni.showLoading(); |
| | | that.data = res.data |
| | | uni.hideLoading(); |
| | | } else { |
| | | // that.tagId = parentId |
| | | } |
| | |
| | | } else { |
| | | uni.showToast({title: res.msg, icon: "none",position: 'top'}) |
| | | } |
| | | uni.hideLoading(); |
| | | |
| | | } |
| | | }); |
| | | }, |