project_tool.go 1.3 KB

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