|
|
|
@ -240,5 +240,143 @@ public class Ghre_CertificateServices : BaseServices<Ghre_Certificate, Ghre_Cert |
|
|
|
|
} |
|
|
|
|
return ServiceResult<ExcelData>.OprateSuccess("导入成功!", data); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ServiceResult<List<Ghre_CertificateControl>> QueryControl() |
|
|
|
|
{ |
|
|
|
|
var list = new List<Ghre_CertificateControl> |
|
|
|
|
{ |
|
|
|
|
new Ghre_CertificateControl() |
|
|
|
|
{ |
|
|
|
|
groupName="证书信息", |
|
|
|
|
groupList = { |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="证书编号", |
|
|
|
|
field="CertificateNo'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="发证日期", |
|
|
|
|
field="AwardDate'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="颁发机构", |
|
|
|
|
field="CertificationBody'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="有效期至", |
|
|
|
|
field="ValidityPeriod'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="电子章", |
|
|
|
|
field="ElectronicSealUrl'", |
|
|
|
|
type= "image" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
,new Ghre_CertificateControl() |
|
|
|
|
{ |
|
|
|
|
groupName="学员信息", |
|
|
|
|
groupList = { |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="员工姓名", |
|
|
|
|
field="StaffName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="部门", |
|
|
|
|
field="DeptName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="岗位", |
|
|
|
|
field="TitleName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="照片", |
|
|
|
|
field="PhotoUrl'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
,new Ghre_CertificateControl() |
|
|
|
|
{ |
|
|
|
|
groupName="课程信息", |
|
|
|
|
groupList = { |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="课程名称", |
|
|
|
|
field="CourseName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="课程场景", |
|
|
|
|
field="CourseSceneName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="学习时间", |
|
|
|
|
field="StudyTime'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
,new Ghre_CertificateControl() |
|
|
|
|
{ |
|
|
|
|
groupName="考试信息", |
|
|
|
|
groupList = { |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="考试名称", |
|
|
|
|
field="ExamName'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="考试编号", |
|
|
|
|
field="ExamNo'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="考试分数", |
|
|
|
|
field="ExamScore'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="考试结果", |
|
|
|
|
field="ExamResult'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
}, |
|
|
|
|
new Ghre_CertificateControlItem() |
|
|
|
|
{ |
|
|
|
|
label="考试评语", |
|
|
|
|
field="ExamComment'", |
|
|
|
|
type= "fieldText" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return ServiceResult<List<Ghre_CertificateControl>>.OprateSuccess("查询成功!", list); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
} |