WH01243 7 mēneši atpakaļ
vecāks
revīzija
ce61e0f780
1 mainītis faili ar 9 papildinājumiem un 12 dzēšanām
  1. 9 12
      jyBXCore/rpc/service/operator.go

+ 9 - 12
jyBXCore/rpc/service/operator.go

@@ -29,7 +29,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 			"key":        "purchaseTime",
 			"type":       "dateTimeList",
 			"label":      "预计采购时间",
-			"defaultVal": []string{},
+			"defaultVal": []string{""},
 			"props": map[string]interface{}{
 				"multiple": false,
 			},
@@ -53,7 +53,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 			"key":        "openingTime",
 			"type":       "dateTimeList",
 			"label":      "开标日期",
-			"defaultVal": []string{},
+			"defaultVal": []string{""},
 			"props": map[string]interface{}{
 				"multiple": false,
 			},
@@ -81,7 +81,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 		"key":        "publishTime",
 		"type":       "dateTimeList",
 		"label":      "发布时间",
-		"defaultVal": []string{},
+		"defaultVal": []string{""},
 		"props": map[string]interface{}{
 			"multiple": false,
 		},
@@ -121,7 +121,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 						"key":        "industry",
 						"type":       "selectList",
 						"label":      "行业",
-						"defaultVal": []string{},
+						"defaultVal": []string{""},
 						"props": map[string]interface{}{
 							"multiple": false,
 						},
@@ -136,7 +136,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 						"key":        "winnerTag",
 						"type":       "selectList",
 						"label":      "中标人标签",
-						"defaultVal": []string{},
+						"defaultVal": []string{""},
 						"props": map[string]interface{}{
 							"multiple": false,
 						},
@@ -344,7 +344,7 @@ func getLabel(entId int64) []map[string]interface{} {
 					"key":        key,
 					"type":       "dateTimeList",
 					"label":      name,
-					"defaultVal": []string{},
+					"defaultVal": []string{""},
 					"props": map[string]interface{}{
 						"multiple": false,
 					},
@@ -466,13 +466,10 @@ func getArea(entid, positionId int64, labelArr *[]map[string]interface{}) map[st
 	if len(data) > 0 {
 		return map[string]interface{}{
 			"key":        "province",
-			"type":       "component-popup",
+			"type":       "component-popup-area",
 			"label":      "城市",
-			"defaultVal": []string{},
-			"props": map[string]interface{}{
-				"multiple": false,
-			},
-			"options": data,
+			"defaultVal": []string{""},
+			"options":    data,
 		}
 	}
 	return map[string]interface{}{}