@@ -37,8 +37,8 @@ var bootstrap = function ($, learun) {
id: 'form',
title: '添加字典',
url: top.$.rootUrl + '/LR_SystemModule/DataItem/Form?parentId=' + parentId + '&itemCode=' + classify_itemCode,
width: 5 00,
height: 37 0,
width: 6 00,
height: 50 0,
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: 5 00,
height: 37 0,
width: 6 00,
height: 50 0,
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",