consts.go 1.6 KB

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