| | |
| | | userInfo: null, |
| | | pageData: {}, |
| | | url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | //url: 'http://192.168.0.31:8085/nsjc-charge',y |
| | | //imgUrl: 'https://hugeinfo.com.cn/nsjc-charge', |
| | | //url: 'http://192.168.0.31:8085/nsjc-charge', |
| | | imgUrl: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | // url: 'http://nsjc.vaiwan.com/nsjc-charge', |
| | | imgUrl: 'http://nsjc.vaiwan.com/nsjc-charge' |
| | | // imgUrl: 'http://nsjc.vaiwan.com/nsjc-charge' |
| | | }, |
| | | // 过滤数组 |
| | | where: (collection, source) => { |
| | |
| | | }, |
| | | //上传文件 |
| | | upload: function(these, path, associateTypeId, way, id) { |
| | | console.log(these) |
| | | console.log(path) |
| | | console.log(associateTypeId) |
| | | console.log(way) |
| | | console.log(id) |
| | | var status = these.data['status']; |
| | | var batch; |
| | | if (status == 4) { |
| | |
| | | } else { |
| | | batch = 0 |
| | | } |
| | | console.log(batch) |
| | | wx.showToast({ |
| | | icon: "loading", |
| | | title: "正在上传" |
| | |
| | | batch |
| | | }, |
| | | success: function(res) { |
| | | console.log(res) |
| | | var evalList = these.data.evalList; |
| | | var evalListType = 'evalList' + associateTypeId; |
| | | var data = JSON.parse(res.data) |