| | |
| | | * 页面的初始数据 |
| | | */ |
| | | data: { |
| | | fileId: 'Zi5EEhijAKugYeHe', |
| | | id: 'Zi5EEhijAKugYeHe', |
| | | content: {} |
| | | }, |
| | | |
| | |
| | | var that = this |
| | | this.getOpenerEventChannel().on('acceptDataFromOpenerPage', function (data) { |
| | | that.setData({ |
| | | fileId: data.fileId |
| | | id: data.id |
| | | }) |
| | | |
| | | that.getFile() |
| | |
| | | setTimeout(() => { |
| | | wx.hideLoading() |
| | | }, 20000); |
| | | consultservice.getMgtFile(app.globalData.accessToken.userId, this.data.fileId, { |
| | | consultservice.getMgtFile(app.globalData.accessToken.userId, this.data.id, { |
| | | success (res) { |
| | | res.mfReleaseDate = that.formateTime(res.mfReleaseDate) |
| | | res.mfEffectiveDate = that.formateTime(res.mfEffectiveDate) |