| | |
| | | baseHttp:'http://', |
| | | baseIP:'', |
| | | basePORT:'', |
| | | baseUrl:'/jkwms' |
| | | baseUrl:'/lywms' |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | }, |
| | | showTag(parentId) { |
| | | let that = this |
| | | uni.vibrateShort(); |
| | | uni.showLoading(); |
| | | uni.request({ |
| | | // url: "http://localhost:8081/jkwms/tag/list/pda/auth", |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/tag/list/pda/auth', |
| | | header: { |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | data: { |
| | | limit: 100000, |
| | | parentId: parentId |
| | | }, |
| | | method:"GET", |
| | | header: { |
| | | header: { |
| | | 'token':uni.getStorageSync('token'), |
| | | }, |
| | | }, |
| | | success(result) { |
| | | |
| | | that.tag = null |
| | | that.data = null |
| | | var res = result.data |