Ver Fonte

Merge branch 'feature/eta1.8.4_balance_table' into debug

xyxie há 11 meses atrás
pai
commit
85dccae2db

+ 1 - 0
models/data_manage/excel/excel_chart_edb.go

@@ -26,6 +26,7 @@ type ExcelChartEdb struct {
 	FromTag         string    `description:"标签"`
 	ModifyTime      time.Time `description:"修改时间"`
 	CreateTime      time.Time `description:"创建时间"`
+	ChartWidth      float64   `description:"线条大小"`
 }
 
 type ExcelChartEdbView struct {

+ 1 - 1
services/data/chart_info_excel_balance.go

@@ -87,7 +87,7 @@ func GetBalanceExcelChartDetail(chartInfo *models.ChartInfo, mappingListTmp []*e
 			ChartStyle:        "",
 			ChartColor:        "",
 			PredictChartColor: "",
-			ChartWidth:        0,
+			ChartWidth:        v.ChartWidth,
 			ChartType:         chartType,
 			LatestDate:        endDateStr,
 			LatestValue:       endVal,