作者 yangfu

导出修改

@@ -34,7 +34,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int @@ -34,7 +34,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int
34 return data[index].UserInfo.Phone 34 return data[index].UserInfo.Phone
35 case "DepartmentName": 35 case "DepartmentName":
36 if data[index].Department != nil { 36 if data[index].Department != nil {
37 - return data[index].Department.DepartmentNumber 37 + return data[index].Department.DepartmentName
38 } else { 38 } else {
39 return "" 39 return ""
40 } 40 }
@@ -53,7 +53,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int @@ -53,7 +53,7 @@ func (data ExportCompanyUserData) CellValue(index int, enName string) (value int
53 return statusName 53 return statusName
54 case "OrgName": 54 case "OrgName":
55 if data[index].Org != nil { 55 if data[index].Org != nil {
56 - return data[index].Org.OrgCode 56 + return data[index].Org.OrgName
57 } else { 57 } else {
58 return "" 58 return ""
59 } 59 }