This commit is contained in:
@@ -44,30 +44,21 @@ namespace rmutr_report.Controllers
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
if (project.eighth != null)
|
||||
if (project.ninth!=null)
|
||||
{
|
||||
foreach (var v in project.eighth)
|
||||
foreach (var vv in project.ninth)
|
||||
{
|
||||
string na = "ประเด็นยุทธศาสตร์ที่ ";
|
||||
v.strategic_issues = na + v.strategic_issues;
|
||||
string na2 = "กลยุทธ์ที่ ";
|
||||
v.measure = na2 + v.measure;
|
||||
if (vv.clause == "9.1 ตัวชี้วัดผลสัมฤทธิ์")
|
||||
{
|
||||
vv.clause = "12.1 ตัวชี้วัดผลสัมฤทธิ์";
|
||||
}
|
||||
if (vv.clause == "9.2 ตัวชี้วัดเชิงนโยบาย")
|
||||
{
|
||||
vv.clause = "12.2 ตัวชี้วัดเชิงนโยบาย";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (project.fourteenth != null)
|
||||
{
|
||||
foreach (var vv in project.fourteenth)
|
||||
{
|
||||
// string na = "องค์ประกอบที่ " ;
|
||||
// vv.component = na + vv.component;
|
||||
string na2 = "ตัวบ่งชี้ที่ ";
|
||||
vv.indicator = na2 + vv.indicator;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (project.sixteenths != null)
|
||||
{
|
||||
foreach (var sixteenthData in project.sixteenths)
|
||||
@@ -165,6 +156,7 @@ namespace rmutr_report.Controllers
|
||||
string na2 = " ครั้ง";
|
||||
vv.text2 = na;
|
||||
vv.khrang2 = na2;
|
||||
vv.text12 = "หน่วยนับ";
|
||||
}
|
||||
|
||||
if (vv.count_training != null)
|
||||
@@ -202,7 +194,7 @@ namespace rmutr_report.Controllers
|
||||
vv.text7 = na;
|
||||
vv.text8 = na1;
|
||||
vv.text9 = "ผู้เข้าร่วมโครงการสามารถนำความรู้ที่ได้รับไปบูรณาการอย่างไรบ้าง";
|
||||
vv.text10 = "รายละเอียด";
|
||||
//vv.text10 = "รายละเอียด";
|
||||
}
|
||||
|
||||
if (vv.expenses != null)
|
||||
|
||||
@@ -46,27 +46,9 @@ namespace rmutr_report.Controllers
|
||||
// }
|
||||
// }
|
||||
|
||||
if (project.eighth != null)
|
||||
{
|
||||
foreach (var v in project.eighth)
|
||||
{
|
||||
string na = "ประเด็นยุทธศาสตร์ที่ ";
|
||||
v.strategic_issues = na + v.strategic_issues;
|
||||
string na2 = "กลยุทธ์ที่ ";
|
||||
v.measure = na2 + v.measure;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (project.fourteenth != null)
|
||||
{
|
||||
foreach (var vv in project.fourteenth)
|
||||
{
|
||||
// string na = "องค์ประกอบที่ " ;
|
||||
// vv.component = na + vv.component;
|
||||
string na2 = "ตัวบ่งชี้ที่ ";
|
||||
vv.indicator = na2 + vv.indicator;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (project.sixteenths != null)
|
||||
@@ -165,6 +147,7 @@ namespace rmutr_report.Controllers
|
||||
string na2 = " ครั้ง";
|
||||
vv.text2 = na ;
|
||||
vv.khrang2 = na2 ;
|
||||
vv.text12 = "หน่วยนับ";
|
||||
}
|
||||
|
||||
if (vv.count_training != null )
|
||||
@@ -202,7 +185,7 @@ namespace rmutr_report.Controllers
|
||||
vv.text7 = na;
|
||||
vv.text8 = na1;
|
||||
vv.text9 = "ผู้เข้าร่วมโครงการสามารถนำความรู้ที่ได้รับไปบูรณาการอย่างไรบ้าง";
|
||||
vv.text10 = "รายละเอียด";
|
||||
//vv.text10 = "รายละเอียด";
|
||||
}
|
||||
if (vv.expenses!=null)
|
||||
{
|
||||
|
||||
@@ -64,27 +64,32 @@ namespace rmutr_report.Controllers
|
||||
// }
|
||||
// }
|
||||
|
||||
if (project.eighth != null)
|
||||
if (project.ninth!=null)
|
||||
{
|
||||
foreach (var v in project.eighth)
|
||||
foreach (var vv in project.ninth)
|
||||
{
|
||||
string na = "ประเด็นยุทธศาสตร์ที่ ";
|
||||
v.strategic_issues = na + v.strategic_issues;
|
||||
string na2 = "กลยุทธ์ที่ ";
|
||||
v.measure = na2 + v.measure;
|
||||
if (vv.clause == "9.1 ตัวชี้วัดผลสัมฤทธิ์")
|
||||
{
|
||||
vv.clause = "11.1 ตัวชี้วัดผลสัมฤทธิ์";
|
||||
}
|
||||
if (vv.clause == "9.2 ตัวชี้วัดเชิงนโยบาย")
|
||||
{
|
||||
vv.clause = "11.2 ตัวชี้วัดเชิงนโยบาย";
|
||||
}
|
||||
if (vv.ninths==null)
|
||||
{
|
||||
vv.ninths.Add(new ninth_data_detail()
|
||||
{
|
||||
detail = ""
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (project.fourteenth != null)
|
||||
{
|
||||
foreach (var vv in project.fourteenth)
|
||||
{
|
||||
// string na = "องค์ประกอบที่ " ;
|
||||
// vv.component = na + vv.component;
|
||||
string na2 = "ตัวบ่งชี้ที่ ";
|
||||
vv.indicator = na2 + vv.indicator;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (project.sixteenths != null)
|
||||
@@ -101,7 +106,38 @@ namespace rmutr_report.Controllers
|
||||
sixteenthData.klai_kangwon_total = sum4;
|
||||
}
|
||||
}
|
||||
if (project.seventeenth != null)
|
||||
{
|
||||
foreach (var v in project.seventeenth)
|
||||
{
|
||||
string a = "กิจกรรมที่ ";
|
||||
v.activity = a + v.activity;
|
||||
foreach (var vv in v.seventeenths)
|
||||
{
|
||||
string na = "ครั้งที่ ";
|
||||
vv.the_time = na + vv.the_time;
|
||||
foreach (var detail in vv.seventeenths2)
|
||||
{
|
||||
string in1 = "พื้นที่ (ภายในมหาวิทยาลัย) ";
|
||||
string in2 = "ระบุสถานที่ ";
|
||||
string out1 = "จังหวัด (ภายนอกมหาวิทยาลัย) ";
|
||||
|
||||
if (detail.internal_external1 == "ภายในมหาวิทยาลัย")
|
||||
{
|
||||
detail.text1 = "ภายในมหาวิทยาลัย";
|
||||
detail.area_province1 = in1 + detail.area_province1;
|
||||
detail.location1 = in2 + detail.location1;
|
||||
}
|
||||
if (detail.internal_external2 == "ภายนอกมหาวิทยาลัย")
|
||||
{
|
||||
detail.text2 = "ภายนอกมหาวิทยาลัย";
|
||||
detail.area_province2 = out1 + detail.area_province2;
|
||||
detail.location2 = in2 + detail.location2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (project.eighteenth != null)
|
||||
{
|
||||
foreach (var v in project.eighteenth)
|
||||
@@ -141,25 +177,6 @@ namespace rmutr_report.Controllers
|
||||
|
||||
foreach (var vv in v.twenty_ones)
|
||||
{
|
||||
// if (vv.clause1 != null || vv.clause1 != "")
|
||||
// {
|
||||
// vv.clause1 = vv.clause1;
|
||||
// }
|
||||
//
|
||||
// if (vv.clause2 != null || vv.clause2 != "")
|
||||
// {
|
||||
// vv.clause2 = vv.clause2;
|
||||
// }
|
||||
//
|
||||
// if (vv.clause3 != null || vv.clause3 != "")
|
||||
// {
|
||||
// vv.clause3 = vv.clause3;
|
||||
// }
|
||||
//
|
||||
// if (vv.clause4 != null || vv.clause4 != "")
|
||||
// {
|
||||
// vv.clause4 = vv.clause4;
|
||||
// }
|
||||
if (vv.count_quantitative != null)
|
||||
{
|
||||
|
||||
@@ -184,6 +201,7 @@ namespace rmutr_report.Controllers
|
||||
string na2 = " ครั้ง";
|
||||
vv.text2 = na;
|
||||
vv.khrang2 = na2;
|
||||
vv.text12 = "หน่วยนับ";
|
||||
}
|
||||
|
||||
if (vv.count_training != null)
|
||||
@@ -221,7 +239,7 @@ namespace rmutr_report.Controllers
|
||||
vv.text7 = na;
|
||||
vv.text8 = na1;
|
||||
vv.text9 = "ผู้เข้าร่วมโครงการสามารถนำความรู้ที่ได้รับไปบูรณาการอย่างไรบ้าง";
|
||||
vv.text10 = "รายละเอียด";
|
||||
//vv.text10 = "รายละเอียด";
|
||||
}
|
||||
|
||||
if (vv.expenses != null)
|
||||
|
||||
Reference in New Issue
Block a user