You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

684 lines
32 KiB

  1. /* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
  2. * Copyright (c) 2013-2018 北京泉江科技有限公司
  3. * 创建人:超级管理员
  4. * 日 期:2019-01-29 17:31
  5. * 描 述:教师信息管理
  6. */
  7. var refreshGirdData;
  8. var bootstrap = function ($, learun) {
  9. "use strict";
  10. var page = {
  11. init: function () {
  12. page.initGird();
  13. page.bind();
  14. },
  15. bind: function () {
  16. $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
  17. page.search(queryJson);
  18. }, 350, 550);
  19. //$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
  20. $('#ProvinceNo').lrDataSourceSelect({
  21. code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
  22. select: function (item) {
  23. if (!!item) {
  24. $('#CityNo').lrselectRefresh({
  25. url: "/DIC_CITY/GetListByProvinceCode",
  26. param: { ProvinceCode: item.pcode },
  27. value: 'CCODE',
  28. text: 'CNAME'
  29. });
  30. $('#RegionNo').lrselectRefresh({
  31. url: "",
  32. data: []
  33. });
  34. }
  35. }
  36. });
  37. $('#CityNo').lrselect({
  38. select: function (item) {
  39. if (!!item) {
  40. $('#RegionNo').lrselectRefresh({
  41. url: top.$.rootUrl + "/DIC_AREA/GetAreasListByCityCode",
  42. param: { cityCode: item.CCODE },
  43. value: 'ACODE',
  44. text: 'ANAME'
  45. });
  46. }
  47. }
  48. });
  49. $('#RegionNo').lrselect();
  50. //政治面貌
  51. $('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus', allowSearch: true });
  52. //最高学历
  53. //$('#HighestRecord').lrDataItemSelect({ code: 'HighestEducation'});
  54. //民族
  55. $('#NationalityNo').lrDataItemSelect({ code: 'National', allowSearch: true });
  56. //性别
  57. $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
  58. //是否审核
  59. $('#CheckMark').lrDataItemSelect({ code: 'YesOrNoInt' });
  60. //学位
  61. $('#DegreeNo').lrDataItemSelect({ code: 'DegreeInSchool' });
  62. //职称
  63. $('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' });
  64. // 部门选择
  65. $('#F_DepartmentId').lrselect({
  66. type: 'tree',
  67. // 是否允许搜索
  68. allowSearch: true,
  69. // 访问数据接口地址
  70. //url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck',
  71. // 访问数据接口参数
  72. });
  73. //职工状态
  74. $('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' });
  75. //编制类别
  76. $('#CompilationCategory').lrDataItemSelect({
  77. code: 'CompilationCategory', select: function (item) {
  78. if (!!item && item.id == "02") {//编外
  79. //用工类型
  80. $('#EmployType').lrselectRefresh({
  81. url: '/LR_SystemModule/DataItem/GetDetailList',
  82. param: { itemCode: 'EmployType' },
  83. value: 'F_ItemValue',
  84. text: 'F_ItemName'
  85. });
  86. } else {
  87. $('#EmployType').lrselectRefresh({
  88. url: "",
  89. data: []
  90. });
  91. }
  92. }
  93. });//校区
  94. $('#F_CompanyId').lrDataSourceSelect({
  95. code: 'company', value: 'f_companyid', text: 'f_fullname',
  96. select: function (item) {
  97. if (!!item) {
  98. // 部门
  99. $('#F_DepartmentId').lrselectRefresh({
  100. type: 'tree',
  101. // 是否允许搜索
  102. allowSearch: true,
  103. // 访问数据接口地址
  104. url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree',
  105. // 访问数据接口参数
  106. param: { companyId: item.f_companyid, parentId: '0' }
  107. });
  108. }
  109. }
  110. });
  111. // 部门选择
  112. $('#F_DepartmentId').lrselect();
  113. //人员身份
  114. $('#CompilationCategory').lrDataItemSelect({ code: 'CompilationCategory' });
  115. //员工状态
  116. $('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' });
  117. //用工类型
  118. $('#EmployType').lrselect();
  119. // 刷新
  120. $('#lr_refresh').on('click', function () {
  121. location.reload();
  122. });
  123. // 新增
  124. $('#lr_add').on('click', function () {
  125. learun.layerForm({
  126. id: 'form',
  127. title: '新增',
  128. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/Form',
  129. width: 1000,
  130. height: 800,
  131. callBack: function (id) {
  132. return top[id].acceptClick(refreshGirdData);
  133. }
  134. });
  135. });
  136. // 编辑
  137. $('#lr_edit').on('click', function () {
  138. var keyValue = $('#gridtable').jfGridValue('EmpId');
  139. if (learun.checkrow(keyValue)) {
  140. if (keyValue.indexOf(',') != -1) {
  141. learun.alert.warning("只能选择一条记录进行编辑!");
  142. return;
  143. }
  144. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  145. if (CheckMark === "true") {
  146. learun.alert.warning("当前项目已审核不能编辑!");
  147. return;
  148. }
  149. learun.layerForm({
  150. id: 'form',
  151. title: '编辑',
  152. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/Form?keyValue=' + keyValue,
  153. width: 1000,
  154. height: 800,
  155. callBack: function (id) {
  156. return top[id].acceptClick(refreshGirdData);
  157. }
  158. });
  159. }
  160. });
  161. //导入
  162. $('#lr_import').on('click', function () {
  163. learun.layerForm({
  164. id: 'form',
  165. title: '导入',
  166. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/ImportForm',
  167. width: 400,
  168. height: 300,
  169. callBack: function (id) {
  170. return top[id].acceptClick(refreshGirdData);
  171. }
  172. });
  173. })
  174. //查看
  175. $('#lr_view').on('click', function () {
  176. var keyValue = $('#gridtable').jfGridValue('EmpId');
  177. if (learun.checkrow(keyValue)) {
  178. if (keyValue.indexOf(',') != -1) {
  179. learun.alert.warning("只能选择一条记录进行查看!");
  180. return;
  181. }
  182. learun.layerForm({
  183. id: 'formView',
  184. title: '查看',
  185. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/Form?keyValue=' + keyValue + '&isView=' + true,
  186. width: 1162,
  187. height: 600,
  188. btn: null
  189. });
  190. }
  191. });
  192. // 修改部门、系部
  193. $('#lr_editDept').on('click', function () {
  194. var keyValue = $('#gridtable').jfGridValue('EmpId');
  195. if (learun.checkrow(keyValue)) {
  196. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  197. if (CheckMark.indexOf('true') != -1) {
  198. learun.alert.warning("选中记录中包含已启用项目!");
  199. return;
  200. }
  201. learun.layerForm({
  202. id: 'formEdit',
  203. title: '修改部门、系部',
  204. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/FormEdit?keyValue=' + keyValue,
  205. width: 600,
  206. height: 400,
  207. callBack: function (id) {
  208. return top[id].acceptClick(refreshGirdData);
  209. }
  210. });
  211. }
  212. });
  213. // 删除
  214. $('#lr_delete').on('click', function () {
  215. var keyValue = $('#gridtable').jfGridValue('EmpId');
  216. if (learun.checkrow(keyValue)) {
  217. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  218. if (CheckMark.indexOf('true') != -1) {
  219. learun.alert.warning("选中记录中包含已启用项目,已启用不能删除!");
  220. return;
  221. }
  222. //if (CheckMark === true) {
  223. // learun.alert.warning("当前项目已审核不能删除!");
  224. // return;
  225. //}
  226. learun.layerConfirm('是否确认删除该项!', function (res) {
  227. if (res) {
  228. learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/DeleteForm', { keyValue: keyValue }, function () {
  229. refreshGirdData();
  230. });
  231. }
  232. });
  233. }
  234. });
  235. //审核
  236. $('#lr_lock').on('click', function () {
  237. var keyValue = $('#gridtable').jfGridValue('EmpId');
  238. if (learun.checkrow(keyValue)) {
  239. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  240. if (CheckMark.indexOf('true') != -1) {
  241. learun.alert.warning("选中记录中包含已启用项目!");
  242. return;
  243. }
  244. //if (CheckMark === true) {
  245. // learun.alert.warning("当前项目已审核无需再审!");
  246. // return;
  247. //}
  248. learun.layerConfirm('是否确认审核该项!', function (res) {
  249. if (res) {
  250. learun.postForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/Lock', { keyValue: keyValue }, function () {
  251. refreshGirdData();
  252. });
  253. }
  254. });
  255. }
  256. });
  257. //去审核
  258. $('#lr_unlock').on('click', function () {
  259. var keyValue = $('#gridtable').jfGridValue('EmpId');
  260. if (learun.checkrow(keyValue)) {
  261. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  262. if (CheckMark.indexOf('false') != -1) {
  263. learun.alert.warning("选中记录中包含已停用项目!");
  264. return;
  265. }
  266. //if (CheckMark === false) {
  267. // learun.alert.warning("当前项目还未审核不需要去审核!");
  268. // return;
  269. //}
  270. learun.layerConfirm('是否确认去审核该项!', function (res) {
  271. if (res) {
  272. learun.postForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/UnLock', { keyValue: keyValue }, function () {
  273. refreshGirdData();
  274. });
  275. }
  276. });
  277. }
  278. });
  279. $('#checkall').on('click', function () {
  280. learun.layerConfirm('是否确认全部审核?', function (res) {
  281. if (res) {
  282. learun.postForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/CheckAll', {}, function () {
  283. refreshGirdData();
  284. });
  285. }
  286. });
  287. });
  288. //生成二维码
  289. $("#lr_qrcode").on('click',
  290. function() {
  291. var keyValue = $('#gridtable').jfGridValue('EmpNo');
  292. var EmpName = $('#gridtable').jfGridValue('EmpName');
  293. //console.log(keyValue, EmpName);
  294. if (learun.checkrow(keyValue)) {
  295. if (keyValue.indexOf(',') != -1) {
  296. learun.alert.warning("只能选择一条记录生成!");
  297. return;
  298. }
  299. learun.layerForm({
  300. id: 'formcard',
  301. title: '生成二维码',
  302. url: top.$.rootUrl +
  303. '/EducationalAdministration/EmpInfo/QRCode?keyValue=' +
  304. keyValue +
  305. '&EmpName=' +
  306. escape(EmpName),
  307. width: 700,
  308. height: 300,
  309. btn: null,
  310. end: function() { refreshGirdData(); }
  311. });
  312. }
  313. });
  314. //简历
  315. $('#lr_resume').on('click', function () {
  316. var keyValue = $('#gridtable').jfGridValue('EmpId');
  317. if (learun.checkrow(keyValue)) {
  318. if (keyValue.indexOf(',') != -1) {
  319. learun.alert.warning("只能选择一条记录!");
  320. return;
  321. }
  322. var CheckMark = $('#gridtable').jfGridValue('CheckMark');
  323. if (CheckMark === "true") {
  324. learun.alert.warning("当前项目已审核不能编辑!");
  325. return;
  326. }
  327. learun.layerForm({
  328. id: 'form',
  329. title: '编辑',
  330. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/Form?keyValue=' + keyValue,
  331. width: 800,
  332. height: 600,
  333. callBack: function (id) {
  334. return top[id].acceptClick(refreshGirdData);
  335. }
  336. });
  337. }
  338. });
  339. //生成帐号
  340. $('#lr_generate').on('click', function () {
  341. learun.layerConfirm('是否确认生成帐号!', function (res) {
  342. if (res) {
  343. learun.postForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/Generate', {}, function () {
  344. refreshGirdData();
  345. });
  346. }
  347. });
  348. });
  349. $("#lr_update").on("click", function () {
  350. learun.layerConfirm('是否确认更新帐号!', function (res) {
  351. if (res) {
  352. learun.postForm(top.$.rootUrl + '/EducationalAdministration/EmpInfo/UpdateAccount', {}, function () {
  353. refreshGirdData();
  354. })
  355. }
  356. })
  357. });
  358. $("#lr_switch").on("click", function () {
  359. $.get("/EducationalAdministration/TeachSwitch/GetFirstEntity", function (data) {
  360. if (data.code == "200") {
  361. if (data.data.ID) {
  362. learun.layerForm({
  363. id: 'form',
  364. title: '设置',
  365. url: top.$.rootUrl + '/EducationalAdministration/TeachSwitch/Form?keyValue=' + data.data.ID,
  366. width: 600,
  367. height: 400,
  368. callBack: function (id) {
  369. return top[id].acceptClick();
  370. }
  371. });
  372. } else {
  373. learun.alert.warning("请在控制注册表中添加一条数据");
  374. }
  375. }
  376. }, "json")
  377. });
  378. //打印
  379. $('#lr_print').on('click', function () {
  380. var keyValue = $('#gridtable').jfGridValue('EmpId');
  381. if (learun.checkrow(keyValue)) {
  382. if (keyValue.indexOf(',') != -1) {
  383. learun.alert.warning("只能选择一条记录进行查看!");
  384. return;
  385. }
  386. learun.layerForm({
  387. id: 'print',
  388. title: '教职工基本信息登记表',
  389. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/Print?keyValue=' + keyValue,
  390. width: 1100,
  391. height: 800,
  392. btn: null
  393. });
  394. }
  395. });
  396. },
  397. // 初始化列表
  398. initGird: function () {
  399. $('#gridtable').lrAuthorizeJfGrid({
  400. url: top.$.rootUrl + '/EducationalAdministration/EmpInfo/GetPageList',
  401. headData: [
  402. {
  403. label: "审核标志", name: "CheckMark", width: 80, align: "center",
  404. formatter: function (cellvalue) {
  405. //return cellvalue == true ? "<i class=\"fa fa-toggle-on\"></i>" : "<i class=\"fa fa-toggle-off\"></i>";
  406. return cellvalue == true ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>";
  407. }
  408. },
  409. { label: "职工编号", name: "EmpNo", width: 100, align: "left" },
  410. { label: "姓名", name: "EmpName", width: 100, align: "left" },
  411. {
  412. label: "校区", name: "F_CompanyId", width: 100, align: "left",
  413. formatterAsync: function (callback, value, row, op, $cell) {
  414. learun.clientdata.getAsync('custmerData', {
  415. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'company',
  416. key: value,
  417. keyId: 'f_companyid',
  418. callback: function (_data) {
  419. callback(_data['f_fullname']);
  420. }
  421. });
  422. }
  423. },
  424. {
  425. label: "部门", name: "F_DepartmentId", width: 100, align: "left",
  426. formatterAsync: function (callback, value, row, op, $cell) {
  427. learun.clientdata.getAsync('custmerData', {
  428. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata',
  429. key: value,
  430. keyId: 'id',
  431. callback: function (_data) {
  432. callback(_data['name']);
  433. }
  434. });
  435. }
  436. },
  437. //{
  438. // label: "系部", name: "DeptNo", width: 100, align: "left",
  439. // formatterAsync: function (callback, value, row, op, $cell) {
  440. // learun.clientdata.getAsync('custmerData', {
  441. // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
  442. // key: value,
  443. // keyId: 'deptno',
  444. // callback: function (_data) {
  445. // callback(_data['deptname']);
  446. // }
  447. // });
  448. // }
  449. //},
  450. {
  451. label: "性别", name: "GenderNo", width: 80, align: "left",
  452. formatter: function (cellvalue) {
  453. return cellvalue == true ? "男" : "女";
  454. }
  455. },
  456. { label: "是否授课", name: "IsHasLesson", width: 100, align: "left", formatter: function (cellvalue) { return cellvalue == true ? "是" : "否" } },
  457. {
  458. label: "员工状态", name: "IsInActiveStatus", width: 100, align: "left",
  459. formatterAsync: function (callback, value, row, op, $cell) {
  460. learun.clientdata.getAsync('dataItem', {
  461. key: value,
  462. code: 'JobStatus',
  463. callback: function (_data) {
  464. callback(_data.text);
  465. }
  466. });
  467. }
  468. },
  469. { label: "员工状态时间", name: "IsInActiveTime", width: 100, align: "left"},
  470. {
  471. label: "人员身份", name: "CompilationCategory", width: 100, align: "left",
  472. formatterAsync: function (callback, value, row, op, $cell) {
  473. learun.clientdata.getAsync('dataItem', {
  474. key: value,
  475. code: 'CompilationCategory',
  476. callback: function (_data) {
  477. callback(_data.text);
  478. }
  479. });
  480. }
  481. },
  482. { label: "出生日期", name: "Birthday", width: 100, align: "left" },
  483. {
  484. label: "民族", name: "NationalityNo", width: 100, align: "left",
  485. formatterAsync: function (callback, value, row, op, $cell) {
  486. learun.clientdata.getAsync('dataItem', {
  487. key: value,
  488. code: 'National',
  489. callback: function (_data) {
  490. callback(_data.text);
  491. }
  492. });
  493. }
  494. },
  495. {
  496. label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left",
  497. formatterAsync: function (callback, value, row, op, $cell) {
  498. learun.clientdata.getAsync('dataItem', {
  499. key: value,
  500. code: 'PolityStatus',
  501. callback: function (_data) {
  502. callback(_data.text);
  503. }
  504. });
  505. }
  506. },
  507. { label: "身份证号", name: "IdentityCardNo", width: 150, align: "left" },
  508. { label: "排序", name: "F_Order", width: 100, align: "left" },
  509. {
  510. label: "最高学历", name: "HighestRecord", width: 100, align: "left",
  511. formatterAsync: function (callback, value, row, op, $cell) {
  512. learun.clientdata.getAsync('dataItem', {
  513. key: value,
  514. code: 'RecordInSchool',
  515. callback: function (_data) {
  516. callback(_data.text);
  517. }
  518. });
  519. }
  520. },
  521. {
  522. label: "最高学位", name: "DegreeNo", width: 100, align: "left",
  523. formatterAsync: function (callback, value, row, op, $cell) {
  524. learun.clientdata.getAsync('dataItem', {
  525. key: value,
  526. code: 'DegreeInSchool',
  527. callback: function (_data) {
  528. callback(_data.text);
  529. }
  530. });
  531. }
  532. },
  533. { label: "联系电话", name: "mobile", width: 100, align: "left" },
  534. { label: "电子邮箱", name: "EMail", width: 100, align: "left" },
  535. {
  536. label: "户籍省份", name: "ProvinceNo", width: 100, align: "left",
  537. formatterAsync: function (callback, value, row, op, $cell) {
  538. learun.clientdata.getAsync('custmerData', {
  539. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_PROVINCE',
  540. key: value,
  541. keyId: 'pcode',
  542. callback: function (_data) {
  543. callback(_data['pname']);
  544. }
  545. });
  546. }
  547. },
  548. {
  549. label: "户籍县区", name: "RegionNo", width: 100, align: "left",
  550. formatterAsync: function (callback, value, row, op, $cell) {
  551. learun.clientdata.getAsync('custmerData', {
  552. url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'DIC_AREA',
  553. key: value,
  554. keyId: 'acode',
  555. callback: function (_data) {
  556. callback(_data['aname']);
  557. }
  558. });
  559. }
  560. },
  561. {
  562. label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left",
  563. formatterAsync: function (callback, value, row, op, $cell) {
  564. learun.clientdata.getAsync('dataItem', {
  565. key: value,
  566. code: 'BCdOverseasChinese',
  567. callback: function (_data) {
  568. callback(_data.text);
  569. }
  570. });
  571. }
  572. },
  573. {
  574. label: "健康状况", name: "HealthStatusNo", width: 100, align: "left",
  575. formatterAsync: function (callback, value, row, op, $cell) {
  576. learun.clientdata.getAsync('dataItem', {
  577. key: value,
  578. code: 'BCdHealthStatus',
  579. callback: function (_data) {
  580. callback(_data.text);
  581. }
  582. });
  583. }
  584. },
  585. {
  586. label: "家庭出身", name: "FamilyOriginNo", width: 100, align: "left",
  587. formatterAsync: function (callback, value, row, op, $cell) {
  588. learun.clientdata.getAsync('dataItem', {
  589. key: value,
  590. code: 'BCdFamilyOrigin',
  591. callback: function (_data) {
  592. callback(_data.text);
  593. }
  594. });
  595. }
  596. },
  597. { label: "毕业学校", name: "GraduateSchoolName", width: 100, align: "left" },
  598. {
  599. label: "学科门类", name: "SubjectSpeciesNo", width: 100, align: "left",
  600. formatterAsync: function (callback, value, row, op, $cell) {
  601. learun.clientdata.getAsync('dataItem', {
  602. key: value,
  603. code: 'BCdSubjectSpecies',
  604. callback: function (_data) {
  605. callback(_data.text);
  606. }
  607. });
  608. }
  609. },
  610. {
  611. label: "岗位类别", name: "EmpSortNo", width: 100, align: "left",
  612. formatterAsync: function (callback, value, row, op, $cell) {
  613. learun.clientdata.getAsync('dataItem', {
  614. key: value,
  615. code: 'jsgw',
  616. callback: function (_data) {
  617. callback(_data.text);
  618. }
  619. });
  620. }
  621. },
  622. {
  623. label: "专职兼职", name: "EmpFullTimeNo", width: 100, align: "left",
  624. formatterAsync: function (callback, value, row, op, $cell) {
  625. learun.clientdata.getAsync('dataItem', {
  626. key: value,
  627. code: 'EmpFullTime',
  628. callback: function (_data) {
  629. callback(_data.text);
  630. }
  631. });
  632. }
  633. },
  634. {
  635. label: "岗位名称", name: "TitleOfTechPostNo", width: 100, align: "left",
  636. formatterAsync: function (callback, value, row, op, $cell) {
  637. learun.clientdata.getAsync('dataItem', {
  638. key: value,
  639. code: 'BCdTitleOfTechPost',
  640. callback: function (_data) {
  641. callback(_data.text);
  642. }
  643. });
  644. }
  645. },
  646. { label: "来校时间", name: "InSchoolDate", width: 100, align: "left" },
  647. { label: "紧急联系人", name: "Linkman", width: 100, align: "left" },
  648. { label: "联系人关系", name: "RelationOfLinkman", width: 100, align: "left" },
  649. { label: "联系人电话", name: "PhoneOfLinkman", width: 100, align: "left" },
  650. { label: "证书信息", name: "CertificateNames", width: 150, align: "left" },
  651. { label: "获取证书日期", name: "CertificateDates", width: 150, align: "left" },
  652. ],
  653. mainId: 'EmpId',
  654. sidx: 'DeptOrder,F_Order',
  655. isPage: true,
  656. isMultiselect: true
  657. });
  658. page.search();
  659. },
  660. search: function (param) {
  661. param = param || {};
  662. $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
  663. }
  664. };
  665. refreshGirdData = function () {
  666. page.search();
  667. };
  668. page.init();
  669. }