Переглянути джерело

实习基地增加岗位

怀来职教中心中职
liangkun 1 рік тому
джерело
коміт
4e5a12ce81
5 змінених файлів з 23 додано та 27 видалено
  1. +18
    -14
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml
  3. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js
  4. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs
  5. +1
    -11
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs

+ 18
- 14
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml Переглянути файл

@@ -3,33 +3,37 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">名称</div>
<input id="Name" type="text" class="form-control" />
<input id="Name" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">地址</div>
<input id="Address" type="text" class="form-control" />
<input id="Address" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">规模</div>
<input id="Scale" type="text" class="form-control" />
<input id="Scale" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">支持项目</div>
<input id="SupportProjets" type="text" class="form-control" />
<input id="SupportProjets" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">负责人</div>
<input id="Head" type="text" class="form-control" />
<input id="Head" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">联系方式</div>
<input id="Mobile" type="text" class="form-control" />
<input id="Mobile" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase" >
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">岗位</div>
<textarea id="PracCertificate" class="form-control" style="height:100px;"></textarea>
</div>
<div class="col-xs-12 lr-form-item" data-table="PracticeBase">
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea>
<textarea id="Remark" class="form-control" style="height:100px;"></textarea>
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/PracticeBase/Form.js")

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml Переглянути файл

@@ -33,7 +33,7 @@
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;录入</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_post" class="btn btn-default"><i class="fa fa-microchip"></i>&nbsp;岗位管理</a>
@*<a id="lr_post" class="btn btn-default"><i class="fa fa-microchip"></i>&nbsp;岗位管理</a>*@
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
</div>


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js Переглянути файл

@@ -93,7 +93,6 @@ var bootstrap = function ($, learun) {
{ label: "支持项目", name: "SupportProjets", width: 100, align: "left"},
{ label: "负责人", name: "Head", width: 100, align: "left"},
{ label: "联系方式", name: "Mobile", width: 100, align: "left"},
{ label: "备注", name: "Remark", width: 100, align: "left"},
],
mainId:'ID',
isPage: true


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs Переглянути файл

@@ -54,6 +54,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("REMARK")]
public string Remark { get; set; }

[Column("PRACCERTIFICATE")]
public string PracCertificate { get; set; }
#endregion

#region 扩展操作


+ 1
- 11
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs Переглянути файл

@@ -29,17 +29,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.ID,
t.Name,
t.Address,
t.Scale,
t.SupportProjets,
t.Head,
t.Mobile,
t.Remark
");
strSql.Append("SELECT * ");
strSql.Append(" FROM PracticeBase t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();


Завантаження…
Відмінити
Зберегти