|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649 |
- var refreshGirdData;
- var bootstrap = function ($, learun) {
- "use strict";
- var page = {
- init: function () {
- page.initGird();
- page.bind();
- },
- bind: function () {
- $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
- page.search(queryJson);
- }, 320, 400);
- $('#DeptNo').lrselect({
- allowSearch: true,
- value: "deptno",
- text: "deptname",
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
- select: function (item) {
- if (item) {
- $('#MajorNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
- param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
- });
- } else {
- $('#MajorNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
- param: { strWhere: "1=1 AND CheckMark=1" }
- });
- }
-
- }
- });
- $('#MajorNo').lrselect({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
- value: "majorno",
- text: "majorname",
- param: { strWhere: "1=1 AND CheckMark=1" },
- select: function (item) {
- //var Grades = $("#Grade").lrselectGet();
- var Grades = $("#Grade").val();
- if (Grades != null && Grades != "" && Grades != "undefined") {
- if (item) {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "' order by classno desc" }
- });
- } else {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "1=1 order by classno desc" }
- });
- }
- } else {
- if (item) {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "majorno='" + item.majorno + "' order by classno desc" }
- });
- } else {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "1=1 order by classno desc" }
- });
- }
- }
- }
- });
- //$('#Grade').lrselect({
- // url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
- // value: "value",
- // text: "text",
- // select: function (item) {
- // var MajorNos = $("#MajorNo").lrselectGet();
- // if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
- // if (item) {
- // $('#ClassNo').lrselectRefresh({
- // allowSearch: true,
- // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- // param: {
- // strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "' order by classno desc"
- // }
- // });
- // } else {
- // $('#ClassNo').lrselectRefresh({
- // allowSearch: true,
- // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- // param: { strWhere: "1=1 order by classno desc" }
- // });
- // }
- // } else {
- // if (item) {
- // $('#ClassNo').lrselectRefresh({
- // allowSearch: true,
- // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- // param: {
- // strWhere: "1=1 AND Grade='" + item.text + "' order by classno desc"
- // }
- // });
- // } else {
- // $('#ClassNo').lrselectRefresh({
- // allowSearch: true,
- // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- // param: { strWhere: "1=1 order by classno desc" }
- // });
- // }
- // }
-
- // }
- //});
- $('#Grade').on('input', function () {
- var val = $(this).val();
- var MajorNos = $("#MajorNo").lrselectGet();
- if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
- if (val) {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: {
- strWhere: "majorno='" + MajorNos + "' AND Grade='" + val + "' order by classno desc"
- }
- });
- } else {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "1=1 order by classno desc" }
- });
- }
- } else {
- if (val) {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: {
- strWhere: "1=1 AND Grade='" + val + "' order by classno desc"
- }
- });
- } else {
- $('#ClassNo').lrselectRefresh({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "1=1 order by classno desc" }
- });
- }
- }
- });
- $('#ClassNo').lrselect({
- allowSearch: true,
- url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
- param: { strWhere: "1=1 order by classno desc" },
- value: "classno",
- text: "classname"
- });
- $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
- $('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
- $('#FiveYear').lrDataItemSelect({ code: 'PieceCultivateWay' });
- // 刷新
- $('#lr_refresh').on('click', function () {
- location.reload();
- });
-
-
- //打印学籍卡
- $('#lr_printxjk').on('click', function () {
- var keyValue = $('#gridtable').jfGridValue('StuId');
- if (learun.checkrow(keyValue)) {
- if (keyValue.indexOf(',') != -1) {
- learun.alert.warning("只能选择一条记录进行查看!");
- return;
- }
- learun.layerForm({
- id: 'print',
- title: '学籍卡打印',
- url: top.$.rootUrl + '/EducationalAdministration/StuInfoGraduate/Printxjk?keyValue=' + keyValue,
- width: 1100,
- height: 800,
- btn: null
- });
- }
- });
- },
- // 初始化列表
- initGird: function () {
- $('#gridtable').jfGrid({
- url: top.$.rootUrl + '/EducationalAdministration/StuInfoGraduate/GetPageList',
- headData: [
- {
- label: "审核状态", name: "CheckMark", width: 80, align: "center",
- formatter: function (cellvalue) {
- return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>";
- }
- },
- { label: "学生编号", name: "StuNo", width: 100, align: "left" },
- { label: "学籍号", name: "StuCode", width: 100, align: "left" },
- { label: "学号", name: "ProvinceCode", width: 100, align: "left" },
- { label: "姓名", name: "StuName", width: 100, align: "left" },
- {
- label: "性别", name: "GenderNo", width: 80, align: "left",
- formatter: function (cellvalue) {
- return cellvalue == true ? "男" : "女";
- }
- },
- {
- label: "出生日期", name: "Birthday", width: 100, align: "left",
- formatter: function (value) {
- return learun.formatDate(value, 'yyyy-MM-dd');
- }
- },
- { label: "身份证号", name: "IdentityCardNo", width: 100, align: "left" },
- {
- label: "民族", name: "NationalityNo", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'National',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'PolityStatus',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "年级", name: "Grade", width: 100, align: "left" },
- {
- label: "系所", name: "DeptNo", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('custmerData', {
- url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
- key: value,
- keyId: 'deptno',
- callback: function (_data) {
- callback(_data['deptname']);
- }
- });
- }
- },
- {
- label: "专业", name: "MajorNo", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('custmerData', {
- url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
- key: value,
- keyId: 'majorno',
- callback: function (_data) {
- callback(_data['majorname']);
- }
- });
- }
- },
- {
- label: "班级", name: "ClassNo", width: 100, align: "left",
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('custmerData', {
- url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'allbjqj',
- key: value,
- keyId: 'classno',
- callback: function (_data) {
- callback(_data['classname']);
- }
- });
- }
- },
- {
- label: "学制", name: "EduSystem", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'EduSystem',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "身体状态", name: "HealthStatus", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'QRCodeHealthStatus',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "学习形式", name: "StudyModality", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'StudyModality',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "报到日期", name: "RegisterDate", width: 100, align: "left" },
- { label: "入学方式", name: "EntranceWay", width: 100, align: "left" },
- { label: "入学年月", name: "EntranceDate", width: 100, align: "left" },
- { label: "余额", name: "Balance", width: 100, align: "left" },
- { label: "家庭地址", name: "MailAddress", width: 100, align: "left" },
- { label: "联系电话", name: "mobile", width: 100, align: "left" },
- { label: "户口所在地", name: "FatherUnit", width: 100, align: "left" },
- { label: "档案所在地", name: "MatherUnit", width: 100, align: "left" },
- {
- label: "五年一贯制", name: "FiveYear", width: 100, align: "left"
- , formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'PieceCultivateWay',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- //{
- // label: "异动状态", name: "AbmormityMoveMark", width: 80, align: "center",
- // formatter: function (cellvalue) {
- // return cellvalue == "1" ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
- // }
- //},
- {
- label: "是否上传头像", name: "Photo", width: 80, align: "center",
- formatter: function (cellvalue) {
- if (cellvalue != null && cellvalue != "" && cellvalue != undefined) {
- return cellvalue = "<span class=\"label label-success\">是</span>";
- } else {
- return cellvalue = "<span class=\"label label-danger\">否</span>";
- }
- }
- },
- { label: "拼音", name: "SpellFull", width: 100, align: "left", ishide: true },
- { label: "就读方式", name: "StudyingWay", width: 100, align: "left", ishide: true },
- {
- label: "国籍", name: "CountryNo", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'BCdCountry',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "港澳台侨外", name: "OverseasChineseNo", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'BCdOverseasChinese',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "婚姻状况", name: "MarriageStatus", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'BCdOverseasChinese',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "乘火车区间", name: "TrainInterval", width: 100, align: "left", ishide: true, },
- { label: "是否随迁子女", name: "IsTrailChildren", width: 100, align: "left", ishide: true, },
- { label: "生源地行政区划码", name: "StuPlaceCode", width: 100, align: "left", ishide: true, },
- { label: "出生地行政区划码", name: "BirthPlaceCode", width: 100, align: "left", ishide: true, },
- { label: "籍贯地行政区划码", name: "NativePlaceCode", width: 100, align: "left", ishide: true, },
- { label: "所属派出所", name: "BelongPolice", width: 100, align: "left", ishide: true, },
- { label: "户口所在地行政区划码", name: "ResidencePlaceCode", width: 100, align: "left", ishide: true, },
- { label: "是否农户", name: "ResidenceNo", width: 100, align: "left", ishide: true, },
- {
- label: "学生居住地类型", name: "StuLivePlaceType", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'StuLivePlaceType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "健康状况", name: "HealthStatusNo", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'StuHealthType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "学生来源", name: "StuOrigin", width: 100, align: "left", ishide: true, },
- { label: "招生对象", name: "RecruitObject", width: 100, align: "left", ishide: true, },
- { label: "贫困户否建档立卡贫困户", name: "PoorIsRecord", width: 100, align: "left", ishide: true, },
- {
- label: "招生方式", name: "RecruitWay", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'RecruitWay',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "联招合作类型", name: "RecruitCooperateType", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'RecruitCooperateType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "准考证号", name: "AdmissionNo", width: 100, align: "left", ishide: true, },
- { label: "考生号", name: "ksh", width: 100, align: "left", ishide: true, },
- { label: "考试总分", name: "ExamScore", width: 100, align: "left", ishide: true, },
- { label: "联招合作办学形式", name: "RecruitCooperateForm", width: 100, align: "left", ishide: true, },
- { label: "联招合作学校代码", name: "RecruitCooperateSchoolNo", width: 100, align: "left", ishide: true, },
- { label: "校外教学点", name: "SchoolOutsidePlace", width: 100, align: "left", ishide: true, },
- { label: "英文姓名", name: "EnglishName", width: 100, align: "left", ishide: true, },
- { label: "家庭邮政编码", name: "PostalCode", width: 100, align: "left", ishide: true, },
- { label: "其他联系方式", name: "OtherContact", width: 100, align: "left", ishide: true, },
- { label: "成员1姓名", name: "OneName", width: 100, align: "left", ishide: true, },
- { label: "成员1联系电话", name: "OneMobile", width: 100, align: "left", ishide: true },
- {
- label: "成员1关系", name: "OneMembership", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'GuardianType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员1是否监护人", name: "OneIsGuardian", width: 100, align: "left", ishide: true, },
- {
- label: "成员1出生年月", name: "OneBirthday", width: 100, align: "left", ishide: true,
- formatter: function (value) {
- return learun.formatDate(value, 'yyyy-MM-dd');
- }
- },
- {
- label: "成员1身份证件类型", name: "OneIdCardType", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'IdCardType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员1身份证件号", name: "OneIdCardNo", width: 100, align: "left", ishide: true, },
- {
- label: "成员1民族", name: "OneNationalityNo", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'National',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "成员1健康状况", name: "OneHealthStatus", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'EpiHealth',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员1工作或学习单位", name: "OneJob", width: 100, align: "left", ishide: true, },
- { label: "成员2姓名", name: "TwoName", width: 100, align: "left", ishide: true, },
- { label: "成员2联系电话", name: "TwoMobile", width: 100, align: "left", ishide: true },
- {
- label: "成员2关系", name: "TwoMembership", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'GuardianType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员2是否监护人", name: "TwoIsGuardian", width: 100, align: "left", ishide: true, },
- {
- label: "成员2出生年月", name: "TwoBirthday", width: 100, align: "left", ishide: true,
- formatter: function (value) {
- return learun.formatDate(value, 'yyyy-MM-dd');
- }
- },
- {
- label: "成员2身份证件类型", name: "TwoIdCardType", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'IdCardType',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员2身份证件号", name: "TwoIdCardNo", width: 100, align: "left", ishide: true, },
- {
- label: "成员2民族", name: "TwoNationalityNo", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'National',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- {
- label: "成员2健康状况", name: "TwoHealthStatus", width: 100, align: "left", ishide: true,
- formatterAsync: function (callback, value, row, op, $cell) {
- learun.clientdata.getAsync('dataItem', {
- key: value,
- code: 'EpiHealth',
- callback: function (_data) {
- callback(_data.text);
- }
- });
- }
- },
- { label: "成员2工作或学习单位", name: "TwoJob", width: 100, align: "left", ishide: true, },
- { label: "成员2职务", name: "TwoPosition", width: 100, align: "left", ishide: true, },
- { label: "毕业证书号", name: "DiplomaNo", width: 100, align: "left" },
- {
- label: '毕业状态', name: 'FinishSchoolMark', width: 100, align: "left", formatter: function (val) {
- if (val == '0') {
- return '待准许';
- } else if (val == "1") {
- return '准许毕业';
- } else if (val == '2') {
- return '已毕业';
- } else {
- return '待准许';
- }
- }
- },
- { label: "毕业时间", name: "FinishSchoolDate", width: 130, align: "left" },
- {
- label: "图书资料归还状态", name: "ReturnBooksStatus", width: 120, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已归还" : "未归还"
- }
- },
- { label: "图书资料归还时间", name: "ReturnBooksDate", width: 130, align: "left" },
- {
- label: "就业协议备案状态", name: "EmployAgreeStatus", width: 120, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已备案" : "未备案"
- }
- },
- { label: "就业协议备案时间", name: "EmployAgreeDate", width: 130, align: "left" },
- {
- label: "学杂费结算状态", name: "FeeSettleStatus", width: 100, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已结算" : "未结算"
- }
- },
- { label: "学杂费结算时间", name: "FeeSettleDate", width: 130, align: "left" },
- {
- label: "办理退住手续状态", name: "CheckOutStatus", width: 120, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已办理" : "未办理"
- }
- },
- { label: "办理退住手续时间", name: "CheckOutDate", width: 130, align: "left" },
- {
- label: "校园卡注销状态", name: "CardDeregistrateStatus", width: 100, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已注销" : "未注销"
- }
- },
- { label: "校园卡注销时间", name: "CardDeregistrateDate", width: 130, align: "left" },
- {
- label: "毕业证领取状态", name: "DiplomaReceiveStatus", width: 100, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已领取" : "未领取"
- }
- },
- { label: "毕业证领取时间", name: "DiplomaReceiveDate", width: 130, align: "left" },
- {
- label: "档案与组织关系转出状态", name: "FileTransferStatus", width: 150, align: "left", formatter: function (cellvalue) {
- return cellvalue == "1" ? "已转出" : "未转出"
- }
- },
- { label: "档案与组织关系转出时间", name: "FileTransferDate", width: 150, align: "left" },
- ],
- mainId: 'StuId',
- isPage: true,
- isMultiselect: false,
- sidx: "ClassNo desc,MajorNo desc,MajorNo desc,Grade desc,StuNo desc"
- });
- page.search();
- },
- search: function (param) {
- param = param || {};
- $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
- }
- };
- refreshGirdData = function () {
- page.search();
- };
- page.init();
- }
|