Ver código fonte

字典增加标准列

金隅分支
liangkun 3 anos atrás
pai
commit
5cbaaa72a8
7 arquivos alterados com 30 adições e 2 exclusões
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml
  2. +4
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyIndex.js
  3. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Form.cshtml
  4. +4
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js
  5. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
  6. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemEntity.cs
  7. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml Ver arquivo

@@ -15,6 +15,10 @@
<div class="lr-form-item-title">编号<font face="宋体">*</font></div>
<input id="F_ItemCode" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">标准编码<font face="宋体">*</font></div>
<input id="F_ItemCodeGB" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">排序<font face="宋体">*</font></div>
<input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" />


+ 4
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyIndex.js Ver arquivo

@@ -71,9 +71,12 @@ var bootstrap = function ($, learun) {
});
},
initGrid: function () {
$('#gridtable').lrAuthorizeJfGrid({
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetClassifyList',
headData: [
{
label: '标准编码', name: 'F_ItemCodeGB', width: 200, align: 'left'
},
{ label: '名称', name: 'F_ItemName', width: 200, align: 'left' },
{ label: '编号', name: 'F_ItemCode', width: 200, align: 'left' },
{ label: '排序', name: 'F_SortCode', width: 50, align: 'center' },


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Form.cshtml Ver arquivo

@@ -12,6 +12,10 @@
<div class="lr-form-item-title">项目值<font face="宋体">*</font></div>
<input id="F_ItemValue" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">标准编码<font face="宋体">*</font></div>
<input id="F_ItemCodeGB" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">排序<font face="宋体">*</font></div>
<input id="F_SortCode" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" />


+ 4
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js Ver arquivo

@@ -105,9 +105,12 @@ var bootstrap = function ($, learun) {
});
},
initGrid: function () {
$('#gridtable').lrAuthorizeJfGrid({
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailList',
headData: [
{
label: '标准编码', name: 'F_ItemCodeGB', width: 200, align: 'left'
},
{ label: '项目名', name: 'F_ItemName', width: 200, align: 'left' },
{ label: '项目值', name: 'F_ItemValue', width: 200, align: 'left' },
{ label: '简拼', name: 'F_SimpleSpelling', width: 150, align: 'left' },


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs Ver arquivo

@@ -39,6 +39,12 @@ namespace Learun.Application.Base.SystemModule
[Column("F_ITEMCODE")]
public string F_ItemCode { get; set; }
/// <summary>
/// 标准编码
/// </summary>
/// <returns></returns>
[Column("F_ITEMCODEGB")]
public string F_ItemCodeGB { get; set; }
/// <summary>
/// 名称
/// </summary>
/// <returns></returns>


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemEntity.cs Ver arquivo

@@ -33,6 +33,12 @@ namespace Learun.Application.Base.SystemModule
[Column("F_ITEMCODE")]
public string F_ItemCode { get; set; }
/// <summary>
/// 标准编码
/// </summary>
/// <returns></returns>
[Column("F_ITEMCODEGB")]
public string F_ItemCodeGB { get; set; }
/// <summary>
/// 分类名称
/// </summary>
/// <returns></returns>


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs Ver arquivo

@@ -24,6 +24,7 @@ namespace Learun.Application.Base.SystemModule
t.F_ItemId,
t.F_ParentId,
t.F_ItemCode,
t.F_ItemCodeGB,
t.F_ItemName,
t.F_IsTree,
t.F_IsNav,
@@ -43,6 +44,7 @@ namespace Learun.Application.Base.SystemModule
t.F_ItemId,
t.F_ParentId,
t.F_ItemCode,
t.F_ItemCodeGB,
t.F_ItemName,
t.F_ItemValue,
t.F_QuickQuery,


Carregando…
Cancelar
Salvar