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