作者 庄敏学

fixed

不能预览此文件类型
... ... @@ -55,16 +55,22 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error)
//指标任务
if len(item) > 4 && item[4] != "" {
taskName = item[4]
} else {
taskName = ""
}
form.Task = taskName
//权重
if len(item) > 6 && item[6] != "" {
weightName = item[6]
} else {
weightName = "/"
}
form.Weight = weightName
//标准
if len(item) > 7 && item[7] != "" {
standardName = item[7]
} else {
standardName = ""
}
form.Standard = standardName
formRows = append(formRows, form)
... ...