Browse Source

金隅内控调整去掉学期,授权书打印调整

金隅分支
liangkun 3 years ago
parent
commit
9f40e669d7
22 changed files with 149 additions and 108 deletions
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs
  3. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js
  4. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexChildren.cshtml
  5. +12
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexChildren.js
  6. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Form.cshtml
  7. +7
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Form.js
  8. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Index.cshtml
  9. +14
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Index.js
  10. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexChildren.cshtml
  11. +12
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexChildren.js
  12. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.cshtml
  13. +14
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js
  14. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Form.cshtml
  15. +8
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Form.js
  16. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Index.cshtml
  17. +14
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Index.js
  18. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexChildren.cshtml
  19. +12
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexChildren.js
  20. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.cshtml
  21. +14
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js
  22. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/AssScrap/AssScrapService.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.cshtml View File

@@ -10,13 +10,17 @@
<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">报废单号</div>
<input id="SPNo" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">报废方式</div>
<div id="SPType"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">说明</div>
<input id="SPRemark" type="text" class="form-control" />
<input id="SPRemark" type="text" class="form-control"/>
</div>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs View File

@@ -126,7 +126,7 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers
}
var beginTime = data?.LC_htkssj.ToDate();
var endTime = data?.LC_htjssj.ToDate();
var operationTime = data?.OperationTime.ToDate();
var operationTime = nwfTaskLogEntity?.F_CreateDate;
ViewBag.UserName = userInfo?.F_RealName;
ViewBag.IDCard = userInfo?.F_IdentityCardNo;
ViewBag.BeginYear = beginTime?.Year;


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js View File

@@ -201,6 +201,10 @@ var bootstrap = function ($, learun) {
if (isUser) {
param.isUser = 'true';
}
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},
downLoad: function (fileId) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexChildren.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 12
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexChildren.js View File

@@ -32,20 +32,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
// 刷新
$('#lr_refresh').on('click', function () {
@@ -216,6 +216,10 @@ var bootstrap = function ($, learun) {
param.MPUploaderTwo = MPUploaderTwo;
}
param.ParentId = ParentId;
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},
downLoad: function (fileId) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Form.cshtml View File

@@ -4,13 +4,13 @@
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">年<font face="宋体">*</font></div>
<div class="lr-form-item-title">年<font face="宋体">*</font></div>
<div id="MPAcademicYearNo" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
@*<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">学期<font face="宋体">*</font></div>
<div id="MPSemester" isvalid="yes" checkexpession="NotNull"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">月份<font face="宋体">*</font></div>
<div id="MPMonth" isvalid="yes" checkexpession="NotNull"></div>


+ 7
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Form.js View File

@@ -24,13 +24,13 @@ var bootstrap = function ($, learun) {
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});

$('#MPDepartment').lrselect({
type: 'tree',


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Index.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 14
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/Index.js View File

@@ -19,20 +19,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
// 刷新
$('#lr_refresh').on('click', function () {
@@ -99,8 +99,8 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/MP_PerformanceTracking/GetPageList',
headData: [
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
//{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{
label: "月份", name: "MPMonth", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -169,6 +169,10 @@ var bootstrap = function ($, learun) {
if (isUser) {
param.isUser = 'true';
}
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexChildren.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 12
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexChildren.js View File

@@ -28,20 +28,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
// 刷新
$('#lr_refresh').on('click', function () {
@@ -215,6 +215,10 @@ var bootstrap = function ($, learun) {
param.MPUploaderTwo = MPUploaderTwo;
}
param.ParentId = ParentId;
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 14
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js View File

@@ -19,20 +19,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
$('#MPDepartment').lrselect({
type: 'tree',
@@ -166,8 +166,8 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/MP_PerformanceTracking/GetPageList',
headData: [
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
//{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{
label: "月份", name: "MPMonth", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -254,6 +254,10 @@ var bootstrap = function ($, learun) {
if (isUser) {
param.isUser = 'true';
}
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Form.cshtml View File

@@ -4,13 +4,13 @@
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">年<font face="宋体">*</font></div>
<div class="lr-form-item-title">年<font face="宋体">*</font></div>
<div id="MPAcademicYearNo" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
@*<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">学期<font face="宋体">*</font></div>
<div id="MPSemester" isvalid="yes" checkexpession="NotNull"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item" data-table="MP_ManageMentPlan">
<div class="lr-form-item-title">月份<font face="宋体">*</font></div>
<div id="MPMonth" isvalid="yes" checkexpession="NotNull"></div>


+ 8
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Form.js View File

@@ -17,20 +17,20 @@ var bootstrap = function ($, learun) {
bind: function () {
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});

$('#MPDepartment').lrselect({
type: 'tree',


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Index.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 14
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/Index.js View File

@@ -19,20 +19,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
// 刷新
$('#lr_refresh').on('click', function () {
@@ -98,8 +98,8 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/MP_QualityObjectives/GetPageList',
headData: [
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
//{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{
label: "月份", name: "MPMonth", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -192,6 +192,10 @@ var bootstrap = function ($, learun) {
if (isUser) {
param.isUser = 'true';
}
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexChildren.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 12
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexChildren.js View File

@@ -28,20 +28,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
// 刷新
$('#lr_refresh').on('click', function () {
@@ -216,6 +216,10 @@ var bootstrap = function ($, learun) {
param.MPUploaderTwo = MPUploaderTwo;
}
param.ParentId = ParentId;
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.cshtml View File

@@ -11,13 +11,13 @@
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年</div>
<div class="lr-form-item-title">年</div>
<div id="MPAcademicYearNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">学期</div>
<div id="MPSemester"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">月份</div>
<div id="MPMonth"></div>


+ 14
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js View File

@@ -19,20 +19,20 @@ var bootstrap = function ($, learun) {
}, 220, 400);
//学年
$('#MPAcademicYearNo').lrselect({
placeholder: "请选择年",
placeholder: "请选择年",
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/MP_ManagementPlan/GetAcademicYear',
value: 'value',
text: 'text'
});
//学期
$('#MPSemester').lrselect({
placeholder: "请选择学期",
allowSearch: true,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
value: 'value',
text: 'text'
});
//$('#MPSemester').lrselect({
// placeholder: "请选择学期",
// allowSearch: true,
// url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterDataTwo',
// value: 'value',
// text: 'text'
//});
$('#MPMonth').lrDataItemSelect({ code: 'MPMonth' });
$('#MPDepartment').lrselect({
type: 'tree',
@@ -166,8 +166,8 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/PersonnelManagement/MP_QualityObjectives/GetPageList',
headData: [
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{ label: "年", name: "MPAcademicYearNo", width: 100, align: "left" },
//{ label: "学期", name: "MPSemester", width: 100, align: "left" },
{
label: "月份", name: "MPMonth", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -254,6 +254,10 @@ var bootstrap = function ($, learun) {
if (isUser) {
param.isUser = 'true';
}
if (!param.MPAcademicYearNo) {
var jsdate = new Date();
param.MPAcademicYearNo = jsdate.getFullYear();
}
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/AssScrap/AssScrapService.cs View File

@@ -54,6 +54,11 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
dp.Add("SPRemark", "%" + queryParam["SPRemark"].ToString() + "%", DbType.String);
strSql.Append(" AND t.SPRemark Like @SPRemark ");
}
if (!queryParam["SPNo"].IsEmpty())
{
dp.Add("SPNo", "%" + queryParam["SPNo"].ToString() + "%", DbType.String);
strSql.Append(" AND t.SPNo Like @SPNo ");
}
return this.BaseRepository().FindList<Ass_ScrapEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)


Loading…
Cancel
Save