Bläddra i källkod

调整教师培训信息管理

临城职教中职
ndbs 2 år sedan
förälder
incheckning
645ea1b316
4 ändrade filer med 16 tillägg och 16 borttagningar
  1. +7
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherTrain/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherTrain/Index.js
  3. +7
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherTrain/TeacherTrainEntity.cs
  4. +1
    -12
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherTrain/TeacherTrainService.cs

+ 7
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherTrain/Form.cshtml Visa fil

@@ -3,21 +3,25 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">组织培训单位</div>
<input id="TTUnit" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">教师姓名<font face="宋体">*</font></div>
<div id="EID" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">培训开始时间<font face="宋体">*</font></div>
<input id="TTStartTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TTStartTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
<input id="TTStartTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#TTStartTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">培训结束时间<font face="宋体">*</font></div>
<input id="TTEndTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TTEndTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
<input id="TTEndTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#TTEndTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">培训内容<font face="宋体">*</font></div>
<textarea id="TTContent" class="form-control" style="height:100px;" isvalid="yes" checkexpession="NotNull"></textarea>
<textarea id="TTContent" class="form-control" style="height: 100px;" isvalid="yes" checkexpession="NotNull"></textarea>
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherTrain">
<div class="lr-form-item-title">培训机构<font face="宋体">*</font></div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherTrain/Index.js Visa fil

@@ -69,6 +69,7 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/TeacherTrain/GetPageList',
headData: [
{ label: "培训组织单位", name: "TTUnit", width: 100, align: "left" },
{
label: "教师姓名", name: "EID", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {


+ 7
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherTrain/TeacherTrainEntity.cs Visa fil

@@ -11,7 +11,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// 日 期:2019-03-19 11:34
/// 描 述:教师培训信息
/// </summary>
public class TeacherTrainEntity
public class TeacherTrainEntity
{
#region 实体成员
/// <summary>
@@ -69,6 +69,12 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// </summary>
[Column("TTLEVEL")]
public int? TTLevel { get; set; }
/// <summary>
/// 培训组织单位
/// </summary>
[Column("TTUNIT")]
public string TTUnit { get; set; }

#endregion

#region 扩展操作


+ 1
- 12
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherTrain/TeacherTrainService.cs Visa fil

@@ -32,18 +32,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.TTID,
t.EID,
t.TTStartTime,
t.TTEndTime,
t.TTContent,
t.TTOrganization,
t.TTWay,
t.TTCertificates,
t.TTComment,
t.TTLevel
");
strSql.Append(@" * ");
strSql.Append(" FROM TeacherTrain t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();


Laddar…
Avbryt
Spara