project_tool.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package main
  2. var DateTimeSelect = []string{"bidopentime", "bidendtime", "signaturedate", "comeintime"}
  3. //项目中的字段
  4. var FIELDS = []string{
  5. "area",
  6. "city",
  7. "district",
  8. "projectname",
  9. "projectcode",
  10. "buyer",
  11. "buyerclass",
  12. "buyerperson",
  13. "buyertel",
  14. "winner",
  15. "agency",
  16. "topscopeclass",
  17. "subscopeclass",
  18. "package",
  19. }
  20. //招标信息字段
  21. var INFOFIELDS = []string{
  22. "projectname",
  23. "projectcode",
  24. "projectscope",
  25. "contractcode",
  26. "title",
  27. "href",
  28. "publishtime",
  29. "comeintime",
  30. "bidopentime",
  31. "toptype",
  32. "subtype",
  33. "buyer",
  34. "buyerclass",
  35. "agency",
  36. "winner",
  37. "winnertel",
  38. "winnerperson",
  39. "budget",
  40. "bidamount",
  41. "topscopeclass",
  42. "subscopclass",
  43. "infoformat",
  44. "buyerperson",
  45. "buyertel",
  46. "area",
  47. "city",
  48. "district",
  49. "spidercode",
  50. "site",
  51. "review_experts",
  52. "purchasing",
  53. "project_scale",
  54. "project_duration",
  55. "project_timeunit",
  56. "project_startdate",
  57. "project_completedate",
  58. "payway",
  59. "contract_guarantee",
  60. "bid_guarantee",
  61. "qualifies",
  62. //"entidlist",
  63. "tag_rule",
  64. }
  65. // 包信息
  66. var PackageEle = []string{
  67. "origin",
  68. "name",
  69. //"text",
  70. "budget",
  71. "winner",
  72. "bidamount",
  73. "bidamounttype",
  74. "currency",
  75. "bidstatus",
  76. }
  77. var bidstatus = map[string]string{
  78. "采购意向": "采购意向",
  79. "预告": "预告",
  80. "中标": "中标",
  81. "成交": "成交",
  82. "废标": "废标",
  83. "流标": "流标",
  84. "合同": "合同",
  85. }
  86. var bidtype = map[string]string{
  87. "招标": "招标",
  88. "邀标": "邀标",
  89. "询价": "询价",
  90. "单一": "单一",
  91. "竞价": "竞价",
  92. "竞谈": "竞谈",
  93. }