@@ -46,7 +46,6 @@ var bootstrap = function ($, learun) { | |||||
// 审核 | // 审核 | ||||
$('#lr_check').on('click', function () { | $('#lr_check').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ID'); | var keyValue = $('#gridtable').jfGridValue('ID'); | ||||
console.log(keyValue, "keyValue") | |||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
var CheckMark = $('#gridtable').jfGridValue('F_EnabledMark'); | var CheckMark = $('#gridtable').jfGridValue('F_EnabledMark'); | ||||
if (CheckMark.indexOf('1') != -1) { | if (CheckMark.indexOf('1') != -1) { | ||||
@@ -715,7 +715,7 @@ var bootstrap = function ($, learun) { | |||||
}, []) | }, []) | ||||
//console.log('resources', list) | //console.log('resources', list) | ||||
} | } | ||||
console.log(list) | |||||
//console.log(list) | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -733,6 +733,3 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } | ||||
function delbtn() { | |||||
console.log('111111') | |||||
} |
@@ -729,7 +729,7 @@ var bootstrap = function ($, learun) { | |||||
}, []) | }, []) | ||||
//console.log('resources', list) | //console.log('resources', list) | ||||
} | } | ||||
console.log(list) | |||||
//console.log(list) | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -747,6 +747,3 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } | ||||
function delbtn() { | |||||
console.log('111111') | |||||
} |
@@ -420,7 +420,7 @@ var bootstrap = function ($, learun) { | |||||
var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | ||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | ||||
function (res) { | function (res) { | ||||
console.log(res) | |||||
//console.log(res) | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
setTimeout(function () { | setTimeout(function () { | ||||
location.reload(); | location.reload(); | ||||
@@ -827,8 +827,8 @@ var bootstrap = function ($, learun) { | |||||
rows: 100, | rows: 100, | ||||
isMultiselect: true, | isMultiselect: true, | ||||
onSelectRow: function (rowdata, type) { | onSelectRow: function (rowdata, type) { | ||||
console.log(rowdata) | |||||
console.log(type) | |||||
//console.log(rowdata) | |||||
//console.log(type) | |||||
if (type) { | if (type) { | ||||
var selectedRow = $('#gridtable').jfGridGet('rowdata'); | var selectedRow = $('#gridtable').jfGridGet('rowdata'); | ||||
@@ -26,7 +26,7 @@ var bootstrap = function ($, learun) { | |||||
var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | ||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | ||||
function (res) { | function (res) { | ||||
console.log(res) | |||||
//console.log(res) | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
setTimeout(function () { | setTimeout(function () { | ||||
location.reload(); | location.reload(); | ||||
@@ -748,7 +748,7 @@ var bootstrap = function ($, learun) { | |||||
}, []) | }, []) | ||||
//console.log('resources', list) | //console.log('resources', list) | ||||
} | } | ||||
console.log(list) | |||||
//console.log(list) | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -766,6 +766,3 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } | ||||
function delbtn() { | |||||
console.log('111111') | |||||
} |
@@ -22,7 +22,7 @@ var bootstrap = function ($, learun) { | |||||
var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); | ||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, | ||||
function (res) { | function (res) { | ||||
console.log(res) | |||||
//console.log(res) | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
setTimeout(function () { | setTimeout(function () { | ||||
location.reload(); | location.reload(); | ||||
@@ -850,7 +850,7 @@ var bootstrap = function ($, learun) { | |||||
}, []) | }, []) | ||||
//console.log('resources', list) | //console.log('resources', list) | ||||
} | } | ||||
console.log(list) | |||||
//console.log(list) | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -860,7 +860,7 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
search: function (param) { | search: function (param) { | ||||
param = param || {}; | param = param || {}; | ||||
param.SqlParameter = ' and AnomalousType=06 and IsReturnSchool=0 '; | |||||
param.SqlParameter = ' and AnomalousType=06 and IsReturnSchool=1 and F_EnabledMark=1 '; | |||||
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); | ||||
} | } | ||||
}; | }; | ||||
@@ -869,6 +869,3 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } | ||||
function delbtn() { | |||||
console.log('111111') | |||||
} |
@@ -716,7 +716,7 @@ var bootstrap = function ($, learun) { | |||||
}, []) | }, []) | ||||
//console.log('resources', list) | //console.log('resources', list) | ||||
} | } | ||||
console.log(list) | |||||
//console.log(list) | |||||
tempdatra = list | tempdatra = list | ||||
$('#selgridtab').jfGridSet('refreshdata', tempdatra); | $('#selgridtab').jfGridSet('refreshdata', tempdatra); | ||||
} | } | ||||
@@ -734,6 +734,3 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } | ||||
function delbtn() { | |||||
console.log('111111') | |||||
} |