diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml
index f0de48bfc..cffdfbf60 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml
@@ -53,7 +53,7 @@
备注
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js
index d1f954b1a..4670ce37f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js
@@ -17,6 +17,8 @@ var bootstrap = function ($, learun) {
bind: function () {
$("#BookType").lrDataSourceSelect({ code: 'BookClass', value: 'id', text: 'typename' });
$("#BookLocation").lrDataSourceSelect({ code: 'BookLocation', value: 'id', text: 'booklocation' });
+ $('#CheckMark').lrDataItemSelect({ code: 'BookStatus' });
+
},
initData: function () {
if (!!keyValue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js
index ca6d77fbc..6642b2723 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js
@@ -91,8 +91,20 @@ var bootstrap = function ($, learun) {
{ label: "书籍作者", name: "Author", width: 100, align: "left" },
{ label: "书籍出版社", name: "Publisher", width: 100, align: "left" },
{ label: "书籍编号", name: "BookCode", width: 100, align: "left" },
- { label: "出版时间", name: "PublishTime", width: 100, align: "left" },
- { label: "入库时间", name: "AddTime", width: 100, align: "left" },
+ {
+ label: "出版时间", name: "PublishTime", width: 100, align: "left", formatter: function (cellvalue) {
+ if (cellvalue != null && cellvalue!=undefined && cellvalue!="") {
+ return cellvalue.slice(0, 10);
+ }
+ }
+ },
+ {
+ label: "入库时间", name: "AddTime", width: 100, align: "left", formatter: function (cellvalue) {
+ if (cellvalue != null && cellvalue != undefined && cellvalue != "") {
+ return cellvalue.slice(0, 10);
+ }
+ }
+ },
{ label: "书籍价格", name: "Price", width: 100, align: "left" },
{ label: "数量", name: "Amount", width: 100, align: "left" },
{
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.cshtml
index 7d41a9e7d..9319306d4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.cshtml
@@ -35,7 +35,7 @@
-
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.js
index 7defa5a51..2fc036723 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_YearAssess/Index.js
@@ -56,7 +56,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning('已提交,不能再修改!');
return;
}
- var keyValue = $('#gridtable').jfGridValue('ID');
+ var keyValue = $('#gridtableInPM_YearAssess').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'formInPM_YearAssess',
@@ -76,7 +76,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning('已提交,不能再修改!');
return;
}
- var keyValue = $('#gridtable').jfGridValue('ID');
+ var keyValue = $('#gridtableInPM_YearAssess').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
@@ -114,7 +114,7 @@ var bootstrap = function ($, learun) {
},
// 初始化列表
initGird: function () {
- $('#gridtable').jfGrid({
+ $('#gridtableInPM_YearAssess').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/PM_YearAssess/GetPageList',
headData: [
{ label: "考核时间", name: "AssessTime", width: 100, align: "left" },
@@ -138,7 +138,7 @@ var bootstrap = function ($, learun) {
search: function (param) {
param = param || {};
param.EmpId = empId;
- $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
+ $('#gridtableInPM_YearAssess').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml
index 7e8bdcf76..a41c6d9fa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml
@@ -21,19 +21,19 @@
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.js")
diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
index cfc1a87d9..f9381f03d 100644
--- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
+++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
@@ -22,7 +22,7 @@ export default {
// ],
"apiHost": [
// "http://cyzjzx.gnway.cc:31218/"//测试地址接口
- // "http://api.cyzjzx.com/"//正式地址接口
+ // "http://219.139.155.38:8687/"//正式地址接口
"http://192.168.10.175:8088/"
],
// "webHost":"http://cyzjzx.gnway.cc:30549/",//测试地址