查询
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js
index 06a97743c..941296850 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/Index.js
@@ -37,8 +37,8 @@ var bootstrap = function ($, learun) {
id: 'form',
title: '添加字典',
url: top.$.rootUrl + '/LR_SystemModule/DataItem/Form?parentId=' + parentId + '&itemCode=' + classify_itemCode,
- width: 500,
- height: 370,
+ width: 600,
+ height: 500,
callBack: function (id) {
return top[id].acceptClick(refreshGird);
}
@@ -48,17 +48,14 @@ var bootstrap = function ($, learun) {
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('F_ItemDetailId');
top.selectedDataItemRow = $('#gridtable').jfGridGet('rowdata');
-
-
-
-
+
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑字典',
url: top.$.rootUrl + '/LR_SystemModule/DataItem/Form?itemCode=' + classify_itemCode,
- width: 500,
- height: 370,
+ width: 600,
+ height: 500,
callBack: function (id) {
return top[id].acceptClick(refreshGird);
}
@@ -108,9 +105,18 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailList',
headData: [
- { label: '项目名', name: 'F_ItemName', width: 200, align: 'left' },
- { label: '项目值', name: 'F_ItemValue', width: 200, align: 'left' },
- { label: '简拼', name: 'F_SimpleSpelling', width: 150, 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' },
+ { label: '中文简称', name: 'F_ItemName', width: 200, align: 'left' },
+ { label: '编号', name: 'F_ItemValue', width: 200, align: 'left' },
+ { label: '数据项名', name: 'F_SimpleSpelling', width: 150, align: 'left' },
+ { label: '类型', name: 'F_Type', width: 100, align: 'left' },
+ { label: '长度', name: 'F_Length', width: 100, align: 'left' },
+ { label: '约束', name: 'F_Constraint', width: 100, align: 'left' },
+ { label: '值空间', name: 'F_ValueSpace', width: 100, align: 'left' },
+ { label: '解释/举例', name: 'F_Explain', width: 100, align: 'left' },
+ { label: '引用编号', name: 'F_ReferenceNum', width: 100, align: 'left' },
{ label: '排序', name: 'F_SortCode', width: 80, align: 'center' },
{
label: "有效", name: "F_EnabledMark", width: 50, align: "center",
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
index f5c4b935b..86e1b03fa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
@@ -128,6 +128,42 @@ namespace Learun.Application.Base.SystemModule
///
[Column("F_MODIFYUSERNAME")]
public string F_ModifyUserName { get; set; }
+ ///
+ /// 类型
+ ///
+ ///
+ [Column("F_TYPE")]
+ public string F_Type { get; set; }
+ ///
+ /// 长度
+ ///
+ ///
+ [Column("F_LENGTH")]
+ public string F_Length { get; set; }
+ ///
+ /// 约束
+ ///
+ ///
+ [Column("F_CONSTRAINT")]
+ public string F_Constraint { get; set; }
+ ///
+ /// 值空间
+ ///
+ ///
+ [Column("F_VALUESPACE")]
+ public string F_ValueSpace { get; set; }
+ ///
+ /// 解释举例
+ ///
+ ///
+ [Column("F_EXPLAIN")]
+ public string F_Explain { get; set; }
+ ///
+ /// 引用编号
+ ///
+ ///
+ [Column("F_REFERENCENUM")]
+ public string F_ReferenceNum { get; set; }
#endregion
#region 扩展操作
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
index e53ae1d1e..0b413979f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
@@ -57,7 +57,8 @@ namespace Learun.Application.Base.SystemModule
t.F_CreateUserName,
t.F_ModifyDate,
t.F_ModifyUserId,
- t.F_ModifyUserName
+ t.F_ModifyUserName,
+t.F_Type,t.F_Length,t.F_Constraint,t.F_ValueSpace,t.F_Explain,t.F_ReferenceNum
";
}
#endregion