bug fixed
This commit is contained in:
@@ -215,6 +215,8 @@ namespace rmutr_report.Controllers
|
|||||||
ws.Cell(row, 23).Value = data1.value16;
|
ws.Cell(row, 23).Value = data1.value16;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
|
||||||
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
ws.Range(ws.Cell(row, 1),ws.Cell(row,23)).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
|
||||||
|
ws.Range(ws.Cell(row,8),ws.Cell(row,23)).Style.Alignment.SetTextRotation(90);
|
||||||
|
|
||||||
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.LeftBorder = XLBorderStyleValues.Thin;
|
||||||
ws.Cell(row, 1).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
ws.Cell(row, 1).Style.Border.RightBorder = XLBorderStyleValues.Thin;
|
||||||
|
|||||||
@@ -57,4 +57,68 @@ namespace rmutr_report.Models
|
|||||||
public string value15 { get; set; }
|
public string value15 { get; set; }
|
||||||
public string value16 { get; set; }
|
public string value16 { get; set; }
|
||||||
}
|
}
|
||||||
|
// public class detail_kpi_finance
|
||||||
|
// {
|
||||||
|
// public string year_range { get; set; }
|
||||||
|
// public string budget_year { get; set; }
|
||||||
|
// public string plan_year { get; set; }
|
||||||
|
// //public List<kpi_data> header_data { get; set; }
|
||||||
|
// public List<kpi_data2> agency_data { get; set; }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// public class kpi_data2{
|
||||||
|
// public string text1 { get; set; }
|
||||||
|
// public string text2 { get; set; }
|
||||||
|
// public string text3 { get; set; }
|
||||||
|
// public string text4 { get; set; }
|
||||||
|
// public string text5 { get; set; }
|
||||||
|
// public string text6 { get; set; }
|
||||||
|
// public string text7 { get; set; }
|
||||||
|
// public string text8 { get; set; }
|
||||||
|
// public string text9 { get; set; }
|
||||||
|
// public string text10 { get; set; }
|
||||||
|
// public string text11 { get; set; }
|
||||||
|
// public string text12 { get; set; }
|
||||||
|
// public string text13 { get; set; }
|
||||||
|
// public string text14 { get; set; }
|
||||||
|
// public string text15 { get; set; }
|
||||||
|
// public string text16 { get; set; }
|
||||||
|
// public List<kpi_data> header_data { get; set; }
|
||||||
|
//
|
||||||
|
// //public List<kpi_finance_detail> data { get; set; }
|
||||||
|
// }
|
||||||
|
// public class kpi_data
|
||||||
|
// {
|
||||||
|
// public string strategic_issues { get; set;}
|
||||||
|
// public List<kpi_finance_detail> data { get; set; }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// public class kpi_finance_detail
|
||||||
|
// {
|
||||||
|
// public string name { get; set; }
|
||||||
|
// public string unit { get; set; }
|
||||||
|
// public string director { get; set; }
|
||||||
|
// public string responsible_person { get; set; }
|
||||||
|
// public string compiler_reporter { get; set; }
|
||||||
|
// public decimal? plan_value { get; set; }
|
||||||
|
// public string value1 { get; set; }
|
||||||
|
// public string value2 { get; set; }
|
||||||
|
// public string value3 { get; set; }
|
||||||
|
// public string value4 { get; set; }
|
||||||
|
// public string value5 { get; set; }
|
||||||
|
// public string value6 { get; set; }
|
||||||
|
// public string value7 { get; set; }
|
||||||
|
// public string value8 { get; set; }
|
||||||
|
// public string value9 { get; set; }
|
||||||
|
// public string value10 { get; set; }
|
||||||
|
// public string value11 { get; set; }
|
||||||
|
// public string value12 { get; set; }
|
||||||
|
// public string value13 { get; set; }
|
||||||
|
// public string value14 { get; set; }
|
||||||
|
// public string value15 { get; set; }
|
||||||
|
// public string value16 { get; set; }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user