| | |
| | | async getDetail() { |
| | | let res = await user.getDetail() |
| | | if (res.code === 200) { |
| | | console.log(res); |
| | | this.user.username = res.data.username |
| | | this.user.id = res.data.id |
| | | this.type = res.data.type |
| | |
| | | method: 'POST', |
| | | header: {'token' : uni.getStorageSync('token'),}, |
| | | }).then((res)=>{ |
| | | console.log(res); |
| | | }) |
| | | }, |
| | | back() { |
| | |
| | | }, |
| | | getDetails(id) { |
| | | uni.navigateTo({ |
| | | url: '/pages/business/cstmr/cstmrDetails?id=' + id |
| | | url: `/pages/business/cstmr/cstmrDetails?id=${id}&type=del` |
| | | }) |
| | | }, |
| | | // --- |
| | |
| | | data: param, |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | _this.csmtrList = res.data.records |
| | | } |
| | | }) |