正在显示
2 个修改的文件
包含
4 行增加
和
3 行删除
@@ -74,14 +74,14 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) | @@ -74,14 +74,14 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) | ||
74 | } | 74 | } |
75 | form.Weight = weightName | 75 | form.Weight = weightName |
76 | //标准 | 76 | //标准 |
77 | - if len(item) > 7 && item[7] != "" { | ||
78 | - standardName = item[7] | ||
79 | - } | ||
80 | if key < len(rows)-1 { | 77 | if key < len(rows)-1 { |
81 | if len(rows[key+1]) > 1 && rows[key+1][1] != "" { | 78 | if len(rows[key+1]) > 1 && rows[key+1][1] != "" { |
82 | standardName = "" | 79 | standardName = "" |
83 | } | 80 | } |
84 | } | 81 | } |
82 | + if len(item) > 7 && item[7] != "" { | ||
83 | + standardName = item[7] | ||
84 | + } | ||
85 | form.Standard = standardName | 85 | form.Standard = standardName |
86 | //是否必填 | 86 | //是否必填 |
87 | if len(item) > 9 && item[9] != "" { | 87 | if len(item) > 9 && item[9] != "" { |
-
请 注册 或 登录 后发表评论