Quellcode durchsuchen

教材出库查询功能有误

临城职教中职
ndbs vor 2 Jahren
Ursprung
Commit
aa2f76344c
2 geänderte Dateien mit 2 neuen und 33 gelöschten Zeilen
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookOut/Index.cshtml
  2. +0
    -31
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookOut/Index.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookOut/Index.cshtml Datei anzeigen

@@ -7,9 +7,9 @@
<div class="lr-layout-wrap lr-layout-wrap-notitle "> <div class="lr-layout-wrap lr-layout-wrap-notitle ">
<div class="lr-layout-tool"> <div class="lr-layout-tool">
<div class="lr-layout-tool-left"> <div class="lr-layout-tool-left">
<div class="lr-layout-tool-item">
@*<div class="lr-layout-tool-item">
<div id="datesearch"></div> <div id="datesearch"></div>
</div>
</div>*@
<div class="lr-layout-tool-item"> <div class="lr-layout-tool-item">
<div id="multiple_condition_query"> <div id="multiple_condition_query">
<div class="lr-query-formcontent"> <div class="lr-query-formcontent">


+ 0
- 31
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookOut/Index.js Datei anzeigen

@@ -7,41 +7,12 @@
var refreshGirdData; var refreshGirdData;
var bootstrap = function ($, learun) { var bootstrap = function ($, learun) {
"use strict"; "use strict";
var startTime;
var endTime;
var page = { var page = {
init: function () { init: function () {
page.initGird(); page.initGird();
page.bind(); page.bind();
}, },
bind: function () { bind: function () {
// 时间搜索框
$('#datesearch').lrdate({
dfdata: [
{ name: '今天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00') }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } },
{ name: '近7天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'd', -6) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } },
{ name: '近1个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -1) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } },
{ name: '近3个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -3) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }
],
// 月
mShow: false,
premShow: false,
// 季度
jShow: false,
prejShow: false,
// 年
ysShow: false,
yxShow: false,
preyShow: false,
yShow: false,
// 默认
dfvalue: '1',
selectfn: function (begin, end) {
startTime = begin;
endTime = end;
page.search();
}
});
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson); page.search(queryJson);
}, 100, 400); }, 100, 400);
@@ -150,8 +121,6 @@ var bootstrap = function ($, learun) {
}, },
search: function (param) { search: function (param) {
param = param || {}; param = param || {};
param.StartTime = startTime;
param.EndTime = endTime;
param.SqlParameter = ' and IsSubmit =1 '; param.SqlParameter = ' and IsSubmit =1 ';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
} }


Laden…
Abbrechen
Speichern