|
@@ -9,6 +9,7 @@ import (
|
|
|
"eta/eta_api/models/system"
|
|
|
"eta/eta_api/services/alarm_msg"
|
|
|
"eta/eta_api/services/data/data_manage_permission"
|
|
|
+ "eta/eta_api/services/eta_forum"
|
|
|
"eta/eta_api/utils"
|
|
|
"fmt"
|
|
|
"math"
|
|
@@ -3038,6 +3039,12 @@ func EditChartInfo(req data_manage.EditChartInfoReq, sysUser *system.Admin, lang
|
|
|
|
|
|
go EsAddOrEditMyChartInfoByChartInfoId(chartItem.ChartInfoId)
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if chartClassify.IsSelected == 0 && chartItem.ForumChartInfoId > 0 {
|
|
|
+ go eta_forum.DeleteChart(chartItem.ChartInfoId)
|
|
|
+ }
|
|
|
return
|
|
|
}
|
|
|
|