|
@@ -59,7 +59,7 @@ func ImportAiPredictModelIndexAndData(imports []*aiPredictModel.AiPredictModelIm
|
|
|
b, _ := json.Marshal(oldConfig)
|
|
|
v.Index.ExtraConfig = string(b)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
v.Index.AiPredictModelIndexId = exist.AiPredictModelIndexId
|
|
|
v.Index.IndexCode = exist.IndexCode
|
|
|
updateIndexes = append(updateIndexes, v)
|
|
@@ -154,6 +154,12 @@ func GetAiPredictChartDetailByData(indexItem *aiPredictModel.AiPredictModelIndex
|
|
|
chartView.ChartNameEn = chartInfo.ChartNameEn
|
|
|
chartView.Source = chartInfo.Source
|
|
|
chartView.ChartImage = chartInfo.ChartImage
|
|
|
+ chartView.HaveOperaAuth = true
|
|
|
+ chartView.UniqueCode = chartInfo.UniqueCode
|
|
|
+ chartView.ChartSource = "AI预测模型"
|
|
|
+ chartView.ChartSourceEn = "AI预测模型"
|
|
|
+ chartView.SysUserId = chartInfo.SysUserId
|
|
|
+ chartView.SysUserRealName = chartInfo.SysUserRealName
|
|
|
} else {
|
|
|
chartView.ChartName = indexItem.IndexName
|
|
|
chartView.ChartNameEn = indexItem.IndexName
|