|
@@ -72,8 +72,8 @@ func (this *ETAController) GetList() {
|
|
|
}
|
|
|
indexList, err := services.GetList(etaRequest.ToEtaRequest())
|
|
|
if err != nil {
|
|
|
- br.Msg = "分类列表获取失败"
|
|
|
- br.ErrMsg = "分类列表获取失败,系统错误,Err:" + err.Error()
|
|
|
+ br.Msg = "指标列表获取失败"
|
|
|
+ br.ErrMsg = "指标列表获取失败,系统错误,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
var data = new(response.BaseFromBusinessIndexResponse)
|
|
@@ -126,6 +126,7 @@ func (this *ETAController) DeleteIndex() {
|
|
|
br.ErrMsg = "参数解析失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
if req.DeleteAll {
|
|
|
req.DeleteList = []string{}
|
|
|
undeleteMap := make(map[string]int, len(req.UnDeleteList))
|
|
@@ -134,7 +135,7 @@ func (this *ETAController) DeleteIndex() {
|
|
|
undeleteMap[v] = 1
|
|
|
}
|
|
|
}
|
|
|
- list, fetchErr := services.GetIndexList()
|
|
|
+ list, fetchErr := services.GetIndexList(req.SourceName, req.Frequency, req.KeyWord)
|
|
|
if fetchErr != nil {
|
|
|
br.Msg = "指标列表获取失败"
|
|
|
br.ErrMsg = "指标列表获取失败:" + fetchErr.Error()
|