consts.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package consts
  2. const (
  3. JudgmentPrev0 = iota //地区分布-省份
  4. JudgmentPrev1 //地区分布-城市
  5. JudgmentPrev2 //客户分布
  6. JudgmentPrev3 //项目数量TOP3客户类型的重点中标单位
  7. JudgmentPrev4 //项目规模分布-金额分布
  8. JudgmentPrev5 //项目数量-项目金额---TOP3地区的重点中标单位
  9. JudgmentPrev6 //订阅分类|重点中标单位-项目数量|重点中标单位-项目金额
  10. JudgmentPrev7 //采购单位--TOP30
  11. JudgmentPrev8 //采购规模分布-金额分布
  12. JudgmentPrev9 //中标单位--TOP30
  13. JudgmentPrev10 //中标规模分布-金额分布
  14. JudgmentPrev11 //月度分配|年度分配
  15. Top3 = 3
  16. Top10 = 10
  17. Top30 = 30
  18. MarketScaleMain = "marketanalysisreport_scal"
  19. MarketTopProject = "marketanalysisreport_top"
  20. MarketProjectAllData = "marketanalysisreport_all"
  21. MarketScaleRefine = "marketanalysisreport_refine"
  22. MarketBuyerAndWinner = "marketanalysisreport_bw"
  23. )
  24. var (
  25. ReportCanceledKey = "marketAnalysisCanceled_%s"
  26. //项目规模分布
  27. ProjectScale = []struct {
  28. Key string
  29. From float64
  30. To float64
  31. }{
  32. {
  33. "<10万",
  34. 0,
  35. 100000,
  36. }, {
  37. "10万-50万",
  38. 100000,
  39. 500000,
  40. }, {
  41. "50万-100万",
  42. 500000,
  43. 1000000,
  44. }, {
  45. "100万-500万",
  46. 1000000,
  47. 5000000,
  48. }, {
  49. "500万-1000万",
  50. 5000000,
  51. 10000000,
  52. }, {
  53. "1000万-1亿",
  54. 10000000,
  55. 100000000,
  56. }, {
  57. "≥1亿",
  58. 100000000,
  59. -1,
  60. },
  61. }
  62. BidStatus = []interface{}{"中标", "成交", "合同", "单一"}
  63. )