Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. var refreshGirdData;
  2. var bootstrap = function ($, learun) {
  3. "use strict";
  4. var page = {
  5. init: function () {
  6. page.initGird();
  7. page.bind();
  8. },
  9. bind: function () {
  10. $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
  11. page.search(queryJson);
  12. }, 320, 400);
  13. $('#DeptNo').lrselect({
  14. allowSearch: true,
  15. value: "deptno",
  16. text: "deptname",
  17. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
  18. select: function (item) {
  19. if (item) {
  20. $('#MajorNo').lrselectRefresh({
  21. allowSearch: true,
  22. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
  23. param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" }
  24. });
  25. } else {
  26. $('#MajorNo').lrselectRefresh({
  27. allowSearch: true,
  28. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
  29. param: { strWhere: "1=1 AND CheckMark=1" }
  30. });
  31. }
  32. }
  33. });
  34. $('#MajorNo').lrselect({
  35. allowSearch: true,
  36. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo',
  37. value: "majorno",
  38. text: "majorname",
  39. param: { strWhere: "1=1 AND CheckMark=1" },
  40. select: function (item) {
  41. //var Grades = $("#Grade").lrselectGet();
  42. var Grades = $("#Grade").val();
  43. if (Grades != null && Grades != "" && Grades != "undefined") {
  44. if (item) {
  45. $('#ClassNo').lrselectRefresh({
  46. allowSearch: true,
  47. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  48. param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "' order by classno desc" }
  49. });
  50. } else {
  51. $('#ClassNo').lrselectRefresh({
  52. allowSearch: true,
  53. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  54. param: { strWhere: "1=1 order by classno desc" }
  55. });
  56. }
  57. } else {
  58. if (item) {
  59. $('#ClassNo').lrselectRefresh({
  60. allowSearch: true,
  61. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  62. param: { strWhere: "majorno='" + item.majorno + "' order by classno desc" }
  63. });
  64. } else {
  65. $('#ClassNo').lrselectRefresh({
  66. allowSearch: true,
  67. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  68. param: { strWhere: "1=1 order by classno desc" }
  69. });
  70. }
  71. }
  72. }
  73. });
  74. //$('#Grade').lrselect({
  75. // url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
  76. // value: "value",
  77. // text: "text",
  78. // select: function (item) {
  79. // var MajorNos = $("#MajorNo").lrselectGet();
  80. // if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
  81. // if (item) {
  82. // $('#ClassNo').lrselectRefresh({
  83. // allowSearch: true,
  84. // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  85. // param: {
  86. // strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "' order by classno desc"
  87. // }
  88. // });
  89. // } else {
  90. // $('#ClassNo').lrselectRefresh({
  91. // allowSearch: true,
  92. // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  93. // param: { strWhere: "1=1 order by classno desc" }
  94. // });
  95. // }
  96. // } else {
  97. // if (item) {
  98. // $('#ClassNo').lrselectRefresh({
  99. // allowSearch: true,
  100. // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  101. // param: {
  102. // strWhere: "1=1 AND Grade='" + item.text + "' order by classno desc"
  103. // }
  104. // });
  105. // } else {
  106. // $('#ClassNo').lrselectRefresh({
  107. // allowSearch: true,
  108. // url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  109. // param: { strWhere: "1=1 order by classno desc" }
  110. // });
  111. // }
  112. // }
  113. // }
  114. //});
  115. $('#Grade').on('input', function () {
  116. var val = $(this).val();
  117. var MajorNos = $("#MajorNo").lrselectGet();
  118. if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") {
  119. if (val) {
  120. $('#ClassNo').lrselectRefresh({
  121. allowSearch: true,
  122. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  123. param: {
  124. strWhere: "majorno='" + MajorNos + "' AND Grade='" + val + "' order by classno desc"
  125. }
  126. });
  127. } else {
  128. $('#ClassNo').lrselectRefresh({
  129. allowSearch: true,
  130. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  131. param: { strWhere: "1=1 order by classno desc" }
  132. });
  133. }
  134. } else {
  135. if (val) {
  136. $('#ClassNo').lrselectRefresh({
  137. allowSearch: true,
  138. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  139. param: {
  140. strWhere: "1=1 AND Grade='" + val + "' order by classno desc"
  141. }
  142. });
  143. } else {
  144. $('#ClassNo').lrselectRefresh({
  145. allowSearch: true,
  146. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  147. param: { strWhere: "1=1 order by classno desc" }
  148. });
  149. }
  150. }
  151. });
  152. $('#ClassNo').lrselect({
  153. allowSearch: true,
  154. url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
  155. param: { strWhere: "1=1 order by classno desc" },
  156. value: "classno",
  157. text: "classname"
  158. });
  159. $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
  160. $('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
  161. $('#FiveYear').lrDataItemSelect({ code: 'PieceCultivateWay' });
  162. // 刷新
  163. $('#lr_refresh').on('click', function () {
  164. location.reload();
  165. });
  166. //打印学籍卡
  167. $('#lr_printxjk').on('click', function () {
  168. var keyValue = $('#gridtable').jfGridValue('StuId');
  169. if (learun.checkrow(keyValue)) {
  170. if (keyValue.indexOf(',') != -1) {
  171. learun.alert.warning("只能选择一条记录进行查看!");
  172. return;
  173. }
  174. learun.layerForm({
  175. id: 'print',
  176. title: '学籍卡打印',
  177. url: top.$.rootUrl + '/EducationalAdministration/StuInfoGraduate/Printxjk?keyValue=' + keyValue,
  178. width: 1100,
  179. height: 800,
  180. btn: null
  181. });
  182. }
  183. });
  184. },
  185. // 初始化列表
  186. initGird: function () {
  187. $('#gridtable').jfGrid({
  188. url: top.$.rootUrl + '/EducationalAdministration/StuInfoGraduate/GetPageList',
  189. headData: [
  190. {
  191. label: "审核状态", name: "CheckMark", width: 80, align: "center",
  192. formatter: function (cellvalue) {
  193. return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>";
  194. }
  195. },
  196. { label: "学生编号", name: "StuNo", width: 100, align: "left" },
  197. { label: "学籍号", name: "StuCode", width: 100, align: "left" },
  198. { label: "学号", name: "ProvinceCode", width: 100, align: "left" },
  199. { label: "姓名", name: "StuName", width: 100, align: "left" },
  200. {
  201. label: "性别", name: "GenderNo", width: 80, align: "left",
  202. formatter: function (cellvalue) {
  203. return cellvalue == true ? "男" : "女";
  204. }
  205. },
  206. {
  207. label: "出生日期", name: "Birthday", width: 100, align: "left",
  208. formatter: function (value) {
  209. return learun.formatDate(value, 'yyyy-MM-dd');
  210. }
  211. },
  212. { label: "身份证号", name: "IdentityCardNo", width: 100, align: "left" },
  213. {
  214. label: "民族", name: "NationalityNo", width: 100, align: "left",
  215. formatterAsync: function (callback, value, row, op, $cell) {
  216. learun.clientdata.getAsync('dataItem', {
  217. key: value,
  218. code: 'National',
  219. callback: function (_data) {
  220. callback(_data.text);
  221. }
  222. });
  223. }
  224. },
  225. {
  226. label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left",
  227. formatterAsync: function (callback, value, row, op, $cell) {
  228. learun.clientdata.getAsync('dataItem', {
  229. key: value,
  230. code: 'PolityStatus',
  231. callback: function (_data) {
  232. callback(_data.text);
  233. }
  234. });
  235. }
  236. },
  237. { label: "年级", name: "Grade", width: 100, align: "left" },
  238. {
  239. label: "系所", name: "DeptNo", width: 100, align: "left",
  240. formatterAsync: function (callback, value, row, op, $cell) {
  241. learun.clientdata.getAsync('custmerData', {
  242. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
  243. key: value,
  244. keyId: 'deptno',
  245. callback: function (_data) {
  246. callback(_data['deptname']);
  247. }
  248. });
  249. }
  250. },
  251. {
  252. label: "专业", name: "MajorNo", width: 100, align: "left",
  253. formatterAsync: function (callback, value, row, op, $cell) {
  254. learun.clientdata.getAsync('custmerData', {
  255. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
  256. key: value,
  257. keyId: 'majorno',
  258. callback: function (_data) {
  259. callback(_data['majorname']);
  260. }
  261. });
  262. }
  263. },
  264. {
  265. label: "班级", name: "ClassNo", width: 100, align: "left",
  266. formatterAsync: function (callback, value, row, op, $cell) {
  267. learun.clientdata.getAsync('custmerData', {
  268. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'allbjqj',
  269. key: value,
  270. keyId: 'classno',
  271. callback: function (_data) {
  272. callback(_data['classname']);
  273. }
  274. });
  275. }
  276. },
  277. {
  278. label: "学制", name: "EduSystem", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
  279. learun.clientdata.getAsync('dataItem', {
  280. key: value,
  281. code: 'EduSystem',
  282. callback: function (_data) {
  283. callback(_data.text);
  284. }
  285. });
  286. }
  287. },
  288. {
  289. label: "身体状态", name: "HealthStatus", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
  290. learun.clientdata.getAsync('dataItem', {
  291. key: value,
  292. code: 'QRCodeHealthStatus',
  293. callback: function (_data) {
  294. callback(_data.text);
  295. }
  296. });
  297. }
  298. },
  299. {
  300. label: "学习形式", name: "StudyModality", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
  301. learun.clientdata.getAsync('dataItem', {
  302. key: value,
  303. code: 'StudyModality',
  304. callback: function (_data) {
  305. callback(_data.text);
  306. }
  307. });
  308. }
  309. },
  310. { label: "报到日期", name: "RegisterDate", width: 100, align: "left" },
  311. { label: "入学方式", name: "EntranceWay", width: 100, align: "left" },
  312. { label: "入学年月", name: "EntranceDate", width: 100, align: "left" },
  313. { label: "余额", name: "Balance", width: 100, align: "left" },
  314. { label: "家庭地址", name: "MailAddress", width: 100, align: "left" },
  315. { label: "联系电话", name: "mobile", width: 100, align: "left" },
  316. { label: "户口所在地", name: "FatherUnit", width: 100, align: "left" },
  317. { label: "档案所在地", name: "MatherUnit", width: 100, align: "left" },
  318. {
  319. label: "五年一贯制", name: "FiveYear", width: 100, align: "left"
  320. , formatterAsync: function (callback, value, row, op, $cell) {
  321. learun.clientdata.getAsync('dataItem', {
  322. key: value,
  323. code: 'PieceCultivateWay',
  324. callback: function (_data) {
  325. callback(_data.text);
  326. }
  327. });
  328. }
  329. },
  330. //{
  331. // label: "异动状态", name: "AbmormityMoveMark", width: 80, align: "center",
  332. // formatter: function (cellvalue) {
  333. // return cellvalue == "1" ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
  334. // }
  335. //},
  336. {
  337. label: "是否上传头像", name: "Photo", width: 80, align: "center",
  338. formatter: function (cellvalue) {
  339. if (cellvalue != null && cellvalue != "" && cellvalue != undefined) {
  340. return cellvalue = "<span class=\"label label-success\">是</span>";
  341. } else {
  342. return cellvalue = "<span class=\"label label-danger\">否</span>";
  343. }
  344. }
  345. },
  346. { label: "拼音", name: "SpellFull", width: 100, align: "left", ishide: true },
  347. { label: "就读方式", name: "StudyingWay", width: 100, align: "left", ishide: true },
  348. {
  349. label: "国籍", name: "CountryNo", width: 100, align: "left", ishide: true,
  350. formatterAsync: function (callback, value, row, op, $cell) {
  351. learun.clientdata.getAsync('dataItem', {
  352. key: value,
  353. code: 'BCdCountry',
  354. callback: function (_data) {
  355. callback(_data.text);
  356. }
  357. });
  358. }
  359. },
  360. {
  361. label: "港澳台侨外", name: "OverseasChineseNo", width: 100, align: "left", ishide: true,
  362. formatterAsync: function (callback, value, row, op, $cell) {
  363. learun.clientdata.getAsync('dataItem', {
  364. key: value,
  365. code: 'BCdOverseasChinese',
  366. callback: function (_data) {
  367. callback(_data.text);
  368. }
  369. });
  370. }
  371. },
  372. {
  373. label: "婚姻状况", name: "MarriageStatus", width: 100, align: "left", ishide: true,
  374. formatterAsync: function (callback, value, row, op, $cell) {
  375. learun.clientdata.getAsync('dataItem', {
  376. key: value,
  377. code: 'BCdOverseasChinese',
  378. callback: function (_data) {
  379. callback(_data.text);
  380. }
  381. });
  382. }
  383. },
  384. { label: "乘火车区间", name: "TrainInterval", width: 100, align: "left", ishide: true, },
  385. { label: "是否随迁子女", name: "IsTrailChildren", width: 100, align: "left", ishide: true, },
  386. { label: "生源地行政区划码", name: "StuPlaceCode", width: 100, align: "left", ishide: true, },
  387. { label: "出生地行政区划码", name: "BirthPlaceCode", width: 100, align: "left", ishide: true, },
  388. { label: "籍贯地行政区划码", name: "NativePlaceCode", width: 100, align: "left", ishide: true, },
  389. { label: "所属派出所", name: "BelongPolice", width: 100, align: "left", ishide: true, },
  390. { label: "户口所在地行政区划码", name: "ResidencePlaceCode", width: 100, align: "left", ishide: true, },
  391. { label: "是否农户", name: "ResidenceNo", width: 100, align: "left", ishide: true, },
  392. {
  393. label: "学生居住地类型", name: "StuLivePlaceType", width: 100, align: "left", ishide: true,
  394. formatterAsync: function (callback, value, row, op, $cell) {
  395. learun.clientdata.getAsync('dataItem', {
  396. key: value,
  397. code: 'StuLivePlaceType',
  398. callback: function (_data) {
  399. callback(_data.text);
  400. }
  401. });
  402. }
  403. },
  404. {
  405. label: "健康状况", name: "HealthStatusNo", width: 100, align: "left", ishide: true,
  406. formatterAsync: function (callback, value, row, op, $cell) {
  407. learun.clientdata.getAsync('dataItem', {
  408. key: value,
  409. code: 'StuHealthType',
  410. callback: function (_data) {
  411. callback(_data.text);
  412. }
  413. });
  414. }
  415. },
  416. { label: "学生来源", name: "StuOrigin", width: 100, align: "left", ishide: true, },
  417. { label: "招生对象", name: "RecruitObject", width: 100, align: "left", ishide: true, },
  418. { label: "贫困户否建档立卡贫困户", name: "PoorIsRecord", width: 100, align: "left", ishide: true, },
  419. {
  420. label: "招生方式", name: "RecruitWay", width: 100, align: "left", ishide: true,
  421. formatterAsync: function (callback, value, row, op, $cell) {
  422. learun.clientdata.getAsync('dataItem', {
  423. key: value,
  424. code: 'RecruitWay',
  425. callback: function (_data) {
  426. callback(_data.text);
  427. }
  428. });
  429. }
  430. },
  431. {
  432. label: "联招合作类型", name: "RecruitCooperateType", width: 100, align: "left", ishide: true,
  433. formatterAsync: function (callback, value, row, op, $cell) {
  434. learun.clientdata.getAsync('dataItem', {
  435. key: value,
  436. code: 'RecruitCooperateType',
  437. callback: function (_data) {
  438. callback(_data.text);
  439. }
  440. });
  441. }
  442. },
  443. { label: "准考证号", name: "AdmissionNo", width: 100, align: "left", ishide: true, },
  444. { label: "考生号", name: "ksh", width: 100, align: "left", ishide: true, },
  445. { label: "考试总分", name: "ExamScore", width: 100, align: "left", ishide: true, },
  446. { label: "联招合作办学形式", name: "RecruitCooperateForm", width: 100, align: "left", ishide: true, },
  447. { label: "联招合作学校代码", name: "RecruitCooperateSchoolNo", width: 100, align: "left", ishide: true, },
  448. { label: "校外教学点", name: "SchoolOutsidePlace", width: 100, align: "left", ishide: true, },
  449. { label: "英文姓名", name: "EnglishName", width: 100, align: "left", ishide: true, },
  450. { label: "家庭邮政编码", name: "PostalCode", width: 100, align: "left", ishide: true, },
  451. { label: "其他联系方式", name: "OtherContact", width: 100, align: "left", ishide: true, },
  452. { label: "成员1姓名", name: "OneName", width: 100, align: "left", ishide: true, },
  453. { label: "成员1联系电话", name: "OneMobile", width: 100, align: "left", ishide: true },
  454. {
  455. label: "成员1关系", name: "OneMembership", width: 100, align: "left", ishide: true,
  456. formatterAsync: function (callback, value, row, op, $cell) {
  457. learun.clientdata.getAsync('dataItem', {
  458. key: value,
  459. code: 'GuardianType',
  460. callback: function (_data) {
  461. callback(_data.text);
  462. }
  463. });
  464. }
  465. },
  466. { label: "成员1是否监护人", name: "OneIsGuardian", width: 100, align: "left", ishide: true, },
  467. {
  468. label: "成员1出生年月", name: "OneBirthday", width: 100, align: "left", ishide: true,
  469. formatter: function (value) {
  470. return learun.formatDate(value, 'yyyy-MM-dd');
  471. }
  472. },
  473. {
  474. label: "成员1身份证件类型", name: "OneIdCardType", width: 100, align: "left", ishide: true,
  475. formatterAsync: function (callback, value, row, op, $cell) {
  476. learun.clientdata.getAsync('dataItem', {
  477. key: value,
  478. code: 'IdCardType',
  479. callback: function (_data) {
  480. callback(_data.text);
  481. }
  482. });
  483. }
  484. },
  485. { label: "成员1身份证件号", name: "OneIdCardNo", width: 100, align: "left", ishide: true, },
  486. {
  487. label: "成员1民族", name: "OneNationalityNo", width: 100, align: "left", ishide: true,
  488. formatterAsync: function (callback, value, row, op, $cell) {
  489. learun.clientdata.getAsync('dataItem', {
  490. key: value,
  491. code: 'National',
  492. callback: function (_data) {
  493. callback(_data.text);
  494. }
  495. });
  496. }
  497. },
  498. {
  499. label: "成员1健康状况", name: "OneHealthStatus", width: 100, align: "left", ishide: true,
  500. formatterAsync: function (callback, value, row, op, $cell) {
  501. learun.clientdata.getAsync('dataItem', {
  502. key: value,
  503. code: 'EpiHealth',
  504. callback: function (_data) {
  505. callback(_data.text);
  506. }
  507. });
  508. }
  509. },
  510. { label: "成员1工作或学习单位", name: "OneJob", width: 100, align: "left", ishide: true, },
  511. { label: "成员2姓名", name: "TwoName", width: 100, align: "left", ishide: true, },
  512. { label: "成员2联系电话", name: "TwoMobile", width: 100, align: "left", ishide: true },
  513. {
  514. label: "成员2关系", name: "TwoMembership", width: 100, align: "left", ishide: true,
  515. formatterAsync: function (callback, value, row, op, $cell) {
  516. learun.clientdata.getAsync('dataItem', {
  517. key: value,
  518. code: 'GuardianType',
  519. callback: function (_data) {
  520. callback(_data.text);
  521. }
  522. });
  523. }
  524. },
  525. { label: "成员2是否监护人", name: "TwoIsGuardian", width: 100, align: "left", ishide: true, },
  526. {
  527. label: "成员2出生年月", name: "TwoBirthday", width: 100, align: "left", ishide: true,
  528. formatter: function (value) {
  529. return learun.formatDate(value, 'yyyy-MM-dd');
  530. }
  531. },
  532. {
  533. label: "成员2身份证件类型", name: "TwoIdCardType", width: 100, align: "left", ishide: true,
  534. formatterAsync: function (callback, value, row, op, $cell) {
  535. learun.clientdata.getAsync('dataItem', {
  536. key: value,
  537. code: 'IdCardType',
  538. callback: function (_data) {
  539. callback(_data.text);
  540. }
  541. });
  542. }
  543. },
  544. { label: "成员2身份证件号", name: "TwoIdCardNo", width: 100, align: "left", ishide: true, },
  545. {
  546. label: "成员2民族", name: "TwoNationalityNo", width: 100, align: "left", ishide: true,
  547. formatterAsync: function (callback, value, row, op, $cell) {
  548. learun.clientdata.getAsync('dataItem', {
  549. key: value,
  550. code: 'National',
  551. callback: function (_data) {
  552. callback(_data.text);
  553. }
  554. });
  555. }
  556. },
  557. {
  558. label: "成员2健康状况", name: "TwoHealthStatus", width: 100, align: "left", ishide: true,
  559. formatterAsync: function (callback, value, row, op, $cell) {
  560. learun.clientdata.getAsync('dataItem', {
  561. key: value,
  562. code: 'EpiHealth',
  563. callback: function (_data) {
  564. callback(_data.text);
  565. }
  566. });
  567. }
  568. },
  569. { label: "成员2工作或学习单位", name: "TwoJob", width: 100, align: "left", ishide: true, },
  570. { label: "成员2职务", name: "TwoPosition", width: 100, align: "left", ishide: true, },
  571. { label: "毕业证书号", name: "DiplomaNo", width: 100, align: "left" },
  572. {
  573. label: '毕业状态', name: 'FinishSchoolMark', width: 100, align: "left", formatter: function (val) {
  574. if (val == '0') {
  575. return '待准许';
  576. } else if (val == "1") {
  577. return '准许毕业';
  578. } else if (val == '2') {
  579. return '已毕业';
  580. } else {
  581. return '待准许';
  582. }
  583. }
  584. },
  585. { label: "毕业时间", name: "FinishSchoolDate", width: 130, align: "left" },
  586. {
  587. label: "图书资料归还状态", name: "ReturnBooksStatus", width: 120, align: "left", formatter: function (cellvalue) {
  588. return cellvalue == "1" ? "已归还" : "未归还"
  589. }
  590. },
  591. { label: "图书资料归还时间", name: "ReturnBooksDate", width: 130, align: "left" },
  592. {
  593. label: "就业协议备案状态", name: "EmployAgreeStatus", width: 120, align: "left", formatter: function (cellvalue) {
  594. return cellvalue == "1" ? "已备案" : "未备案"
  595. }
  596. },
  597. { label: "就业协议备案时间", name: "EmployAgreeDate", width: 130, align: "left" },
  598. {
  599. label: "学杂费结算状态", name: "FeeSettleStatus", width: 100, align: "left", formatter: function (cellvalue) {
  600. return cellvalue == "1" ? "已结算" : "未结算"
  601. }
  602. },
  603. { label: "学杂费结算时间", name: "FeeSettleDate", width: 130, align: "left" },
  604. {
  605. label: "办理退住手续状态", name: "CheckOutStatus", width: 120, align: "left", formatter: function (cellvalue) {
  606. return cellvalue == "1" ? "已办理" : "未办理"
  607. }
  608. },
  609. { label: "办理退住手续时间", name: "CheckOutDate", width: 130, align: "left" },
  610. {
  611. label: "校园卡注销状态", name: "CardDeregistrateStatus", width: 100, align: "left", formatter: function (cellvalue) {
  612. return cellvalue == "1" ? "已注销" : "未注销"
  613. }
  614. },
  615. { label: "校园卡注销时间", name: "CardDeregistrateDate", width: 130, align: "left" },
  616. {
  617. label: "毕业证领取状态", name: "DiplomaReceiveStatus", width: 100, align: "left", formatter: function (cellvalue) {
  618. return cellvalue == "1" ? "已领取" : "未领取"
  619. }
  620. },
  621. { label: "毕业证领取时间", name: "DiplomaReceiveDate", width: 130, align: "left" },
  622. {
  623. label: "档案与组织关系转出状态", name: "FileTransferStatus", width: 150, align: "left", formatter: function (cellvalue) {
  624. return cellvalue == "1" ? "已转出" : "未转出"
  625. }
  626. },
  627. { label: "档案与组织关系转出时间", name: "FileTransferDate", width: 150, align: "left" },
  628. ],
  629. mainId: 'StuId',
  630. isPage: true,
  631. isMultiselect: false,
  632. sidx: "ClassNo desc,MajorNo desc,MajorNo desc,Grade desc,StuNo desc"
  633. });
  634. page.search();
  635. },
  636. search: function (param) {
  637. param = param || {};
  638. $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
  639. }
  640. };
  641. refreshGirdData = function () {
  642. page.search();
  643. };
  644. page.init();
  645. }