feedbackresult.js 669 B

123456789101112131415161718192021222324252627282930
  1. import common from '../../utils/util';
  2. import main from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. },
  7. onLoad: function (options) {
  8. var that = this;
  9. that.setData({
  10. Containnerheight: main.getWindowHeight(),
  11. });
  12. main.getData("GetMPSFeedbackList?UserID="+app.globalData.userInfo.UserID, function (data) {
  13. if (data) {
  14. that.setData({
  15. List:data,
  16. });
  17. }
  18. });
  19. },
  20. onShareAppMessage: function () {
  21. return {
  22. title: app.globalData.ShareTitle,
  23. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  24. imageUrl: app.globalData.ShareImage,
  25. }
  26. },
  27. })