message-follow.ts 764 B

12345678910111213141516171819202122232425262728293031323334
  1. // module/chats/components/message-text/message-text.ts
  2. import I18nBehavior from "../../../../i18n/behavior";
  3. Component({
  4. behaviors: [I18nBehavior],
  5. /**
  6. * 组件的属性列表
  7. */
  8. properties: {
  9. payload: { type: Object, value: { title: '', loading: false } },
  10. active: { type: Boolean, value: false },
  11. },
  12. /**
  13. * 组件的初始数据
  14. */
  15. data: {
  16. i18n: {
  17. report: { title: '评估' },
  18. analysis: { title: '结果' },
  19. follow: { tips: '操作完成' },
  20. },
  21. },
  22. /**
  23. * 组件的方法列表
  24. */
  25. methods: {
  26. seeReport(){
  27. // const id = 1819;
  28. const id = wx.getStorageSync("tonguefaceAnalysisReportId");
  29. wx.navigateTo({ url: "/module/health/pages/analysis/analysis?id=" + id });
  30. },
  31. }
  32. })