|
@@ -122,7 +122,6 @@ func (this *Tags) Index(types, name string) {
|
|
checkedIndustry = ""
|
|
checkedIndustry = ""
|
|
}
|
|
}
|
|
filters["area"] = this.T["area"]
|
|
filters["area"] = this.T["area"]
|
|
-
|
|
|
|
InfoType, filterInfoType := this.GetInfoType(checkedInfoType)
|
|
InfoType, filterInfoType := this.GetInfoType(checkedInfoType)
|
|
infotypeStr := ""
|
|
infotypeStr := ""
|
|
if checkedInfoType != "all" {
|
|
if checkedInfoType != "all" {
|
|
@@ -462,7 +461,8 @@ func (this *Tags) GetNewBidInfo() (list []map[string]interface{}) {
|
|
if l, ok := redis.Get("seoCache", rediskey).([]interface{}); ok && l != nil && len(l) > 0 {
|
|
if l, ok := redis.Get("seoCache", rediskey).([]interface{}); ok && l != nil && len(l) > 0 {
|
|
list = qu.ObjArrToMapArr(l)
|
|
list = qu.ObjArrToMapArr(l)
|
|
} else {
|
|
} else {
|
|
- _, _, lists := bidsearch.GetPcBidSearchData("", "", "", "", "拟建,招标预告,招标公告,招标结果,招标信用信息", "", "", "", "", "", "", "", "", 1, false, nil, bidSearch_field_1, "", false, false, "", 50, "")
|
|
|
|
|
|
+ // p397 未登录详情页最新招投标信息去掉拟建
|
|
|
|
+ _, _, lists := bidsearch.GetPcBidSearchData("", "", "", "", "招标预告,招标公告,招标结果,招标信用信息", "", "", "", "", "", "", "", "", 1, false, nil, bidSearch_field_1, "", false, false, "", 50, "")
|
|
if lists != nil && len(*lists) > 10 {
|
|
if lists != nil && len(*lists) > 10 {
|
|
*lists = (*lists)[0:10]
|
|
*lists = (*lists)[0:10]
|
|
for _, v := range *lists {
|
|
for _, v := range *lists {
|
|
@@ -762,9 +762,10 @@ func (this *Tags) GetInsturyKeywords(idstr string) (name, class_1, class_2 strin
|
|
|
|
|
|
// 获取信息类型 【全部是虚假的全部、实则是不包含拟建和采购意向的全部】
|
|
// 获取信息类型 【全部是虚假的全部、实则是不包含拟建和采购意向的全部】
|
|
// p353包含采购意向与拟建
|
|
// p353包含采购意向与拟建
|
|
|
|
+// p397 不包含拟建
|
|
func (this *Tags) GetInfoType(idstr string) (string, string) {
|
|
func (this *Tags) GetInfoType(idstr string) (string, string) {
|
|
if idstr == "all" {
|
|
if idstr == "all" {
|
|
- return "拟建,招标,邀标,询价,竞谈,单一,竞价,变更,中标,成交,废标,流标,合同,验收,违规,预告,需求公示,预审,论证意见,预审结果", ""
|
|
|
|
|
|
+ return "招标,邀标,询价,竞谈,单一,竞价,变更,中标,成交,废标,流标,合同,验收,违规,预告,需求公示,预审,论证意见,预审结果", ""
|
|
//return "", ""
|
|
//return "", ""
|
|
}
|
|
}
|
|
id, _ := strconv.Atoi(idstr)
|
|
id, _ := strconv.Atoi(idstr)
|