consts.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. MarketAnalysisReport = "marketAnalysisReport"
  24. )
  25. var (
  26. ReportCanceledKey = "marketAnalysisCanceled_%s"
  27. //项目规模分布
  28. ProjectScale = []struct {
  29. Key string
  30. From float64
  31. To float64
  32. }{
  33. {
  34. "<10万",
  35. 0,
  36. 100000,
  37. }, {
  38. "10万-50万",
  39. 100000,
  40. 500000,
  41. }, {
  42. "50万-100万",
  43. 500000,
  44. 1000000,
  45. }, {
  46. "100万-500万",
  47. 1000000,
  48. 5000000,
  49. }, {
  50. "500万-1000万",
  51. 5000000,
  52. 10000000,
  53. }, {
  54. "1000万-1亿",
  55. 10000000,
  56. 100000000,
  57. }, {
  58. "≥1亿",
  59. 100000000,
  60. -1,
  61. },
  62. }
  63. BidStatus = []interface{}{"中标", "成交", "合同", "单一"}
  64. )