project_tool.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. }
  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. "winnertel",
  37. "winnerperson",
  38. "budget",
  39. "bidamount",
  40. "topscopeclass",
  41. "subscopeclass",
  42. "infoformat",
  43. "buyerperson",
  44. "buyertel",
  45. "area",
  46. "city",
  47. "district",
  48. "spidercode",
  49. "site",
  50. "review_experts",
  51. "purchasing",
  52. "project_scale",
  53. "project_duration",
  54. "project_timeunit",
  55. "project_startdate",
  56. "project_completedate",
  57. "payway",
  58. "contract_guarantee",
  59. "bid_guarantee",
  60. "qualifies",
  61. "entidlist",
  62. "winnerorder",
  63. "purchasinglist",
  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. var bidtype = map[string]string{
  86. "招标": "招标",
  87. "邀标": "邀标",
  88. "询价": "询价",
  89. "单一": "单一",
  90. "竞价": "竞价",
  91. "竞谈": "竞谈",
  92. }