diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/AwardForm.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/AwardForm.js
index 77c55ea0d..c9400de3e 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/AwardForm.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/AwardForm.js
@@ -15,7 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
- $('#AwardType').lrDataItemSelect({ code: 'AwardType' });
+ $('#AwardType').lrDataItemSelect({ code: 'EncouragementDegree' });
$('#NatureType').lrselect({
data: [{ text: "集体", value: "0" }, { text: "个人", value: "1" }],
text: "text",
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/Form.cshtml
index 4cfc3f715..7d78c2b4e 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AwardAndPunishment/Form.cshtml
@@ -4,11 +4,11 @@
}
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js
index f0cddfca3..ae0150bd4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js
@@ -176,6 +176,8 @@ var bootstrap = function ($, learun) {
$('#IsRunSchool').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#IsDdifficulty').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#FiveYear').lrDataItemSelect({ code: 'PieceCultivateWay' });
+ $('#InternshipStatus').lrDataItemSelect({ code: 'InternshipStatus' });
+ $('#IsRestudy').lrDataItemSelect({ code: 'YesOrNoInt' });
},
initData: function () {
if (!!keyValue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Form.js
index 203a3bbd7..a511ed37a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Form.js
@@ -55,11 +55,32 @@ var bootstrap = function ($, learun) {
value: 'id',
allowSearch: true
})
- $('#DeangeUserr').lrformselect({
- layerUrl: top.$.rootUrl + '/LR_OrganizationModule/User/SelectOnlyForm',
- layerUrlW: 400,
- layerUrlH: 300,
- dataUrl: top.$.rootUrl + '/LR_OrganizationModule/User/GetListByUserIds'
+ $('#DeangeUserr').lrGirdSelect({
+ url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuInfoBasic',
+ selectWord: 'stuno',
+ value: 'stuno',
+ text: 'stuname',
+ headData:
+ [
+ { label: "学号", name: "stuno", width: 100, align: "left" },
+ { label: "姓名", name: "stuname", width: 100, align: "left" },
+ {
+ label: "班级", name: "classno", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
+ key: value,
+ keyId: 'classno',
+ callback: function (_data) {
+ callback(_data['classname']);
+ }
+ });
+ }
+ },
+ ],
+ select: function (item) {
+ $("#DeangeUserr").val(item.stuno);
+ }
});
},
initData: function () {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js
index 0ba082280..ace713e42 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_GoodsDemage/Index.js
@@ -19,7 +19,7 @@ var bootstrap = function ($, learun) {
});
// 新增
$('#lr_add').on('click', function () {
- learun.layerForm({
+ learun.layerForm({
id: 'form',
title: '新增',
url: top.$.rootUrl + '/LogisticsManagement/Acc_GoodsDemage/Form',
@@ -50,9 +50,9 @@ var bootstrap = function ($, learun) {
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
- learun.layerConfirm('是否确认删除该项!', function (res) {
+ learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
- learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Acc_GoodsDemage/DeleteForm', { keyValue: keyValue}, function () {
+ learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Acc_GoodsDemage/DeleteForm', { keyValue: keyValue }, function () {
refreshGirdData();
});
}
@@ -65,7 +65,8 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LogisticsManagement/Acc_GoodsDemage/GetPageList',
headData: [
- { label: "宿舍楼", name: "Dormitory", width: 100, align: "left",
+ {
+ label: "宿舍楼", name: "Dormitory", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Acc_DormitoryData',
@@ -75,8 +76,10 @@ var bootstrap = function ($, learun) {
callback(_data['name']);
}
});
- }},
- { label: "单元", name: "Unit", width: 100, align: "left",
+ }
+ },
+ {
+ label: "单元", name: "Unit", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Acc_UnitData',
@@ -86,8 +89,10 @@ var bootstrap = function ($, learun) {
callback(_data['name']);
}
});
- }},
- { label: "楼层", name: "Floor", width: 100, align: "left",
+ }
+ },
+ {
+ label: "楼层", name: "Floor", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Acc_FloorData',
@@ -97,8 +102,10 @@ var bootstrap = function ($, learun) {
callback(_data['name']);
}
});
- }},
- { label: "宿舍", name: "RId", width: 100, align: "left",
+ }
+ },
+ {
+ label: "宿舍", name: "RId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Acc_RoomData',
@@ -108,27 +115,33 @@ var bootstrap = function ($, learun) {
callback(_data['name']);
}
});
- }},
- { label: "物品", name: "Goods", width: 100, align: "left"},
- { label: "价格", name: "Price", width: 100, align: "left"},
- { label: "破坏者", name: "DeangeUserr", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op,$cell) {
- learun.clientdata.getAsync('user', {
- key: value,
- callback: function (_data) {
- callback(_data.name);
- }
- });
- }},
+ }
+ },
+ { label: "物品", name: "Goods", width: 100, align: "left" },
+ { label: "价格", name: "Price", width: 100, align: "left" },
+ {
+ label: "破坏者", name: "DeangeUserr", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'StuInfoBasic',
+ key: value,
+ keyId: 'stuno',
+ callback: function (_data) {
+ console.log(_data,123)
+ callback(_data['stuname']);
+ }
+ });
+ }
+ },
],
- mainId:'ID',
+ mainId: 'ID',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
- $('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
+ $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_Punishment/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_Punishment/Index.js
index 0192b5074..22fe3aa2a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_Punishment/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_Punishment/Index.js
@@ -148,9 +148,9 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: "奖励", name: "RewardContent", width: 100, align: "left" },
- { label: "奖励时间", name: "RTime", width: 100, align: "left" },
- { label: "奖励原因", name: "RReason", width: 100, align: "left" },
+ { label: "惩罚", name: "RewardContent", width: 100, align: "left" },
+ { label: "惩罚时间", name: "RTime", width: 100, align: "left" },
+ { label: "惩罚原因", name: "RReason", width: 100, align: "left" },
],
mainId: 'ID',
isPage: true
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
index d8a0d5ad7..dcef90fcd 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
@@ -758,6 +758,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
///
[Column("FiveYear")]
public string FiveYear { get; set; }
+ ///
+ /// 实习状态
+ ///
+ [Column("INTERNSHIPSTATUS")]
+ public string InternshipStatus { get; set; }
+ ///
+ /// 是否复读
+ ///
+ [Column("ISRESTUDY")]
+ public string IsRestudy { get; set; }
#endregion
#region 扩展操作