notice.mixins.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // 机构通知消息
  2. const noticeMixins = {
  3. filters: {
  4. noticeUsersFilters(value) {
  5. const map = {
  6. 1: '上架费',
  7. 2: '机构分配通知',
  8. 3: '机构转移通知',
  9. 4: '机构分配通知',
  10. 7: '机构访问通知',
  11. 8: '机构回收通知',
  12. 9: '客户注册通知',
  13. 10: '客户访问通知'
  14. }
  15. return map[value]
  16. },
  17. },
  18. methods: {
  19. noticeSellerUserText(cell) {
  20. const map = {
  21. 1: `${cell.content}`,
  22. 2: '系统已为你分配机构客户,请及时跟进。',
  23. 3: '系统已将你的机构转移给其他销售人员,你已无权管理该客户。',
  24. 4: '系统已为你分配机构客户,请及时跟进。',
  25. 7: `昨日【${cell.name}...】等${cell.sum}家机构客户访问了采美商城`,
  26. 8: '系统已将你的机构客户进行回收,你已无权管理该客户。',
  27. 9: `昨日【${cell.name}...】通过您的内容库资料分享注册成为了机构客户`,
  28. 10: `昨日【${cell.name}...】等${cell.sum}家机构客户访问了您的内容库资料分享`
  29. }
  30. return map[cell.shopTieredType]
  31. },
  32. }
  33. }
  34. export default noticeMixins