talentInfo_base.js 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. /**
  2. * 人才认定申报管理初始化
  3. */
  4. var TalentInfo = {
  5. id: "TalentInfoTable", //表格id
  6. seItem: null, //选中的条目
  7. table: null,
  8. layerIndex: -1
  9. };
  10. /**
  11. * 初始化表格的列
  12. */
  13. TalentInfo.initColumn = function () {
  14. var type = $("#type").val();
  15. var code = $("#deptCode").val();
  16. var isShow = true;
  17. var isShowVerifyDept = false;
  18. if (type == 2) {
  19. isShow = false;
  20. }
  21. var depts = ["super", "rsj"];
  22. if (depts.indexOf(code) > -1) {
  23. isShowVerifyDept = true;
  24. }
  25. return [
  26. {field: 'selectItem', checkbox: true},
  27. {title: '企业名称', field: 'enterprise_name', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px"},
  28. {title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px",
  29. formatter: function (value, row, index) {
  30. if (row.sex == 1) {
  31. return value + '<span style="color:#6495ED">【男】</span>';
  32. }
  33. if (row.sex == 2) {
  34. return value + '<span style="color:#FF82AB">【女】</span>';
  35. }
  36. }
  37. },
  38. // {title: '人才申报类型', field: 'talent_type', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px"},
  39. {title: '单位标签', field: 'enterprise_tag', visible: isShow, align: 'center', valign: 'middle', width: "120px", 'class': 'uitd_showTip'},
  40. {title: '证件号码', field: 'card_number', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px"},
  41. {title: '认定层次', field: 'talentArrangeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "80px"},
  42. {title: '认定条件', field: 'talentConditionName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "150px"},
  43. {title: '审核部门', field: 'verifyDepts', visible: isShowVerifyDept, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "150px",
  44. formatter: function (value, row, index) {
  45. var html = "";
  46. for (var i in value) {
  47. let checkState = "";
  48. if (value[i].active == 1) {
  49. if (value[i].checkState == 9) {
  50. checkState = "<span style='color:#ff0000;'>审核驳回</span>";
  51. }
  52. if (value[i].checkState == 12) {
  53. checkState = "<span style='color:green;'>审核通过</span>";
  54. }
  55. } else {
  56. checkState = "<span style='color:gray;'>待审核</span>";
  57. }
  58. html += "<p style='margin:0 auto;'>" + value[i].name + "(" + checkState + ")</p>"
  59. }
  60. return html
  61. }
  62. },
  63. {title: '首次提交时间', field: 'first_submit_time', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
  64. {title: '最新提交时间', field: 'new_submit_time', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
  65. {title: '审核状态', field: 'checkState', visible: true, align: 'center', valign: 'middle', width: "100px",
  66. formatter: function (value, row, index) {
  67. if (typeof row.deptCheckState != "undefined") {
  68. if (row.deptCheckState == 12) {
  69. return "<span class='label label-primary'>部门已通过</span>"
  70. } else if (row.deptCheckState == 9) {
  71. if (row.lastState == 13) {
  72. return "<span class='label label-success'>待重新审核</span>"
  73. } else {
  74. return "<span class='label label-danger'>部门已驳回</span>"
  75. }
  76. } else {
  77. return "<span class='label label-success'>待审核</span>"
  78. }
  79. } else {
  80. if (value == 2) {
  81. if (row.lastState == 4) {
  82. return "<span class='label label-success'>待审核(重新提交)</span>"
  83. }
  84. if (row.realState == 6) {
  85. return "<span class='label label-danger'>复审驳回</span>"
  86. }
  87. return "<span class='label label-success'>待审核</span>"
  88. }
  89. if (value == 3) {
  90. return "<span class='label label-success'>待复审</span>"
  91. }
  92. if (value == 5) {
  93. return "<span class='label label-success'>复审通过</span>"
  94. }
  95. if (value == 10) {
  96. return "<span class='label label-success'>待审核</span>"
  97. }
  98. if (value == 8) {
  99. if (row.realState == 11) {
  100. return "<span class='label label-danger'>初审驳回</span>"
  101. }
  102. }
  103. if (value == 9) {
  104. if (row.realState == 13) {
  105. return "<span class='label label-danger'>部门驳回</span>"
  106. } else if (row.realState == 15) {
  107. return "<span class='label label-danger'>复审驳回</span>"
  108. } else {
  109. if (row.lastState == 11) {
  110. return "<span class='label label-success'>待审核(重新提交)</span>"
  111. }
  112. return "<span class='label label-success'>待审核</span>"
  113. }
  114. }
  115. if (value == 16 || value == -1 || value == -2 || value == 7) {
  116. return "<span class='label label-danger'>审核不通过</span>"
  117. }
  118. if (value == 4) {
  119. if (row.highProcess != null && row.highProcess != '' && row.highProcess >= 1) {
  120. return "<span class='label label-success'>上级驳回</span>"
  121. } else {
  122. return "<span class='label label-success'>待审核</span>"
  123. }
  124. }
  125. if (value == 11) {
  126. if (row.highProcess != null && row.highProcess != '' && row.highProcess >= 3) {
  127. return "<span class='label label-success'>上级驳回</span>"
  128. } else {
  129. return "<span class='label label-success'>待审核</span>"
  130. }
  131. }
  132. if (value == 12) {
  133. return "<span class='label label-success'>待复审</span>"
  134. }
  135. if (value == 13) {
  136. if (row.highProcess != null && row.highProcess != '' && row.highProcess >= 4) {
  137. return "<span class='label label-danger'>上级驳回</span>"
  138. } else {
  139. return "<span class='label label-success'>待审核</span>"
  140. }
  141. }
  142. if (value == 14) {
  143. return "<span class='label label-primary'>已通过</span>"
  144. }
  145. if (value == 15) {
  146. if (row.highProcess != null && row.highProcess != '' && row.highProcess >= 5) {
  147. return "<span class='label label-success'>上级驳回</span>"
  148. } else {
  149. return "<span class='label label-success'>待审核</span>"
  150. }
  151. }
  152. }
  153. }
  154. },
  155. {title: '操作', field: 'id', visible: true, align: 'center', valign: 'middle', width: "80px",
  156. formatter: function (value, row, index) {
  157. return "<span class='label label-success' onclick=\"TalentInfo.showLog('" + value + "')\" >" +
  158. "<i class=\"fa fa-book\"></i>日志" +
  159. "</span>";
  160. }
  161. }
  162. ];
  163. };
  164. /**
  165. * 检查是否选中
  166. */
  167. TalentInfo.check = function () {
  168. var selected = $('#' + this.id).bootstrapTable('getSelections');
  169. if (selected.length != 1) {
  170. Feng.info("请先选中表格中的某一记录!");
  171. return false;
  172. } else {
  173. TalentInfo.seItem = selected[0];
  174. return true;
  175. }
  176. };
  177. TalentInfo.openCheckTalentInfo = function () {
  178. var title = $("#title").val();
  179. var process = $("#process").val();
  180. if (this.check()) {
  181. var index = layer.open({
  182. type: 2,
  183. title: '人才认定' + " - " + title,
  184. area: ['800px', '420px'], //宽高
  185. fix: false, //不固定
  186. maxmin: true,
  187. shade: 0,
  188. content: '/admin/talent/common_check/id/' + TalentInfo.seItem.id + '/process/' + process,
  189. btn: ['<i class="fa fa-eye"></i>&nbsp;&nbsp;保存未提交', '<i class="fa fa-save"></i>&nbsp;&nbsp;提交审核', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
  190. btnAlign: 'c',
  191. btn1: function (index, layero) {
  192. var obj = layero.find("iframe")[0].contentWindow;
  193. obj.TalentInfoInfoDlg.showFirstCheckModal();
  194. }, btn2: function (index, layero) {
  195. var obj = layero.find("iframe")[0].contentWindow;
  196. obj.TalentInfoInfoDlg.submitCheck();
  197. return false;
  198. }
  199. });
  200. layer.full(index);
  201. TalentInfo.layerIndex = index;
  202. }
  203. }
  204. /**
  205. * 打开查看人才认定-初级审核详情
  206. */
  207. TalentInfo.openTalentInfoDetail = function () {
  208. if (this.check()) {
  209. var index = layer.open({
  210. type: 2,
  211. title: '人才认定申报详情',
  212. area: ['800px', '420px'], //宽高
  213. fix: false, //不固定
  214. maxmin: true,
  215. content: Feng.ctxPath + '/talentInfo/talentInfo_toDetail/' + TalentInfo.seItem.id + '/1'
  216. });
  217. layer.full(index);
  218. TalentInfo.layerIndex = index;
  219. }
  220. };
  221. /**
  222. * 修改驳回的字段及附件
  223. */
  224. TalentInfo.updateFieldsAndFiles = function () {
  225. if (this.check()) {
  226. var ajax = new $ax("/admin/talent/findFieldsAndFiles?id=" + TalentInfo.seItem.id, function (data) {
  227. if (data.code == 200) {
  228. layer.open({
  229. type: 1,
  230. id: "neewFieldFormModel",
  231. title: '修改',
  232. area: ['800px', '450px'], //宽高
  233. fix: false, //不固定
  234. shade: 0,
  235. maxmin: true,
  236. content: TalentInfo.creatFieldCheckModal(),
  237. btn: ['<i class="fa fa-save"></i>&nbsp;&nbsp;提交', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
  238. btnAlign: 'c',
  239. zIndex: layer.zIndex,
  240. success: function (layero, index) {
  241. var html1 = '';
  242. if (typeof data.fieldList != "undefined" && data.fieldList.length > 0) {
  243. for (var key in data.fieldList) {
  244. html1 += '<li style="float:left;margin:0 10px 10px 0;"><input type="checkbox" value="' + data.fieldList[key]["key"] + '"><span>' + data.fieldList[key]["value"] + '</span></li>';
  245. }
  246. }
  247. var html2 = '';
  248. for (var key in data.fileList) {
  249. html2 = html2 + '<ul><li style="width: 100%"><input type="checkbox" value="' + data.fileList[key].id + '"><span>' + data.fileList[key].name + '</span></li></ul>';
  250. }
  251. $("#firstCheckForm #field_info ul").css("overflow", "hidden").html(html1);
  252. $("#field_file").css("overflow", "hidden").empty().append(html2);
  253. //$("#field_file").empty().append(html);
  254. if (data.select.fields != null && data.select.fields != '') {
  255. $("#firstCheckForm #field_info li input").each(function () {
  256. if (data.select.fields.indexOf($(this).val()) != -1) {
  257. this.checked = true;
  258. }
  259. });
  260. }
  261. if (data.select.files != null && data.select.files != '') {
  262. $("#field_file input").each(function () {
  263. if (data.select.files.indexOf($(this).val()) != -1) {
  264. this.checked = true;
  265. }
  266. });
  267. }
  268. },
  269. yes: function (index, layero) {
  270. TalentInfo.submitFieldsAndFiles(index, data.id);
  271. }
  272. });
  273. } else {
  274. Feng.error(data.msg);
  275. }
  276. }, function (data) {
  277. Feng.error("查询失败!" + data.responseJSON.message + "!");
  278. });
  279. ajax.start();
  280. }
  281. }
  282. /**
  283. * 修改提交
  284. * @param index
  285. * @param id
  286. */
  287. TalentInfo.submitFieldsAndFiles = function (index, id) {
  288. var fields = '';
  289. var files = '';
  290. $("#firstCheckForm #field_info li input").each(function (index) {
  291. if ($(this).is(":checked")) {
  292. fields = fields + $(this).val() + ",";
  293. }
  294. });
  295. $("#field_file li input").each(function (index) {
  296. if ($(this).is(":checked")) {
  297. files = files + $(this).val() + ",";
  298. }
  299. });
  300. if (fields == '' && files == '') {
  301. Feng.info("请选择可修改的字段或附件!");
  302. return;
  303. }
  304. var ajax = new $ax("/admin/talent/updateFieldsAndFiles", function (data) {
  305. if (data.code == 200) {
  306. layer.close(index);
  307. Feng.success(data.msg);
  308. } else {
  309. Feng.error(data.msg);
  310. }
  311. }, function (data) {
  312. Feng.error("修改失败!" + data.responseJSON.message + "!");
  313. });
  314. ajax.setData({"id": id, "fields": fields, "files": files})
  315. ajax.start();
  316. }
  317. /**
  318. * 审核不通过
  319. */
  320. TalentInfo.setNotPass = function () {
  321. var selecteds = $('#' + this.id).bootstrapTable('getSelections');
  322. if (selecteds.length == 0) {
  323. Feng.info("请选择需要设置审核不通过的行");
  324. return;
  325. }
  326. var ids = "";
  327. for (var key in selecteds) {
  328. ids = ids + selecteds[key].id + ",";
  329. }
  330. ids = ids.substring(0, ids.length - 1);
  331. layer.open({
  332. type: 1,
  333. id: "notPassModal",
  334. title: '修改',
  335. area: ['800px', '450px'], //宽高
  336. fix: false, //不固定
  337. shade: 0,
  338. maxmin: true,
  339. content: '<form id="checkNotPass">\n' +
  340. ' <div class="form-group" style="margin: 10px;">\n' +
  341. ' <label for="checkMsgNotPass" class="control-label" >审核不通过原因</label>\n' +
  342. ' <textarea class="form-control" id="checkMsgNotPass" placeholder="此功能适用于未在申报提交截止时间内提交的数据" rows="6"></textarea>\n' +
  343. ' </div>\n' +
  344. ' </form>',
  345. btn: ['<i class="fa fa-save"></i>&nbsp;&nbsp;提交', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
  346. btnAlign: 'c',
  347. zIndex: layer.zIndex,
  348. yes: function (index, layero) {
  349. var checkMsg = $("#checkMsgNotPass").val();
  350. if (Feng.isEmptyStr(checkMsg)) {
  351. Feng.info("请填写审核不通过原因");
  352. return;
  353. }
  354. var operation = function () {
  355. var ajax = new $ax("/admin/talent/cancel_verify", function (data) {
  356. if (data.code == 200) {
  357. Feng.success(data.msg);
  358. TalentInfo.table.refresh();
  359. layer.close(index);
  360. } else {
  361. Feng.error(data.msg);
  362. }
  363. }, function (data) {
  364. Feng.error("设置审核不通过失败!" + data.responseJSON.message + "!");
  365. });
  366. ajax.set("ids", ids);
  367. ajax.set("msg", checkMsg);
  368. ajax.start();
  369. }
  370. Feng.confirm("一旦提交无法修改,确定设置所选数据为审核不通过?", operation);
  371. }
  372. });
  373. }
  374. TalentInfo.creatFieldCheckModal = function () {
  375. return '<form id="firstCheckForm">\n' +
  376. ' <div class="form-group" style="margin: 10px;">\n' +
  377. ' <div >\n' +
  378. ' <label for="checkMsg" class="control-label">可修改字段</label>\n' +
  379. ' <div id="field_info">\n' +
  380. ' <ul>\n' +
  381. ' <li style="width:10%"><input type="checkbox" value="name"><span>姓名</span></li>\n' +
  382. ' <li style="width:10%"><input type="checkbox" value="sex"><span>性别</span></li>\n' +
  383. ' <li style="width:10%"><input type="checkbox" value="birthday"><span>出生日期</span></li>\n' +
  384. ' <li style="width:10%"><input type="checkbox" value="nationality"><span>国籍/地区</span></li>\n' +
  385. ' <li style="width:10%"><input type="checkbox" value="provinceCode" onchange="TalentInfo.fieldCheckd(this)"><span>籍贯省</span></li>\n' +
  386. ' <li style="width:10%"><input type="checkbox" value="cityCode" onchange="TalentInfo.fieldCheckd(this)"><span>籍贯市</span></li>\n' +
  387. ' <li style="width:10%"><input type="checkbox" value="countyCode"><span>籍贯县</span></li>\n' +
  388. ' <li style="width:10%"><input type="checkbox" value="nation"><span>民族</span></li>\n' +
  389. ' <li style="width:10%"><input type="checkbox" value="politics"><span>政治面貌</span></li>\n' +
  390. ' <li style="width:10%"><input type="checkbox" value="cardType"><span>证件类型</span></li>\n' +
  391. ' <li style="width:10%"><input type="checkbox" value="idCard"><span>证件号码</span></li>\n' +
  392. ' <li style="width:20.5%"><input type="checkbox" value="firstInJJTime"><span>首次来晋工作时间</span></li>\n' +
  393. ' <li style="width:10%"><input type="checkbox" value="source" onchange="TalentInfo.sourceCheckd(this)"><span>申报来源</span></li>\n' +
  394. ' <li style="width:20.5%"><input type="checkbox" value="ourCitySource"><span>公布入选来源</span></li>\n' +
  395. ' <li style="width:20.5%"><input type="checkbox" value="fromCity"><span>入选来源县市</span></li>\n' +
  396. ' <li style="width:20.5%"><input type="checkbox" value="qzBatch"><span>入选名单的文件号及批次</span></li>\n' +
  397. ' <li style="width:31%"><input type="checkbox" value="certificateStartTime"><span>泉州高层次人才证书发证日期</span></li>\n' +
  398. ' <li style="width:31%"><input type="checkbox" value="qzgccrcActiveTime"><span>泉州高层次人才证书的有效期</span></li>\n' +
  399. ' <li style="width:10%"><input type="checkbox" id="talentArrangeCheckBox" value="talentArrange" onchange="TalentInfo.fieldCheckd(this)"><span>人才层次</span></li>\n' +
  400. ' <li style="width:10%"><input type="checkbox" value="identifyCondition"><span>认定条件</span></li>\n' +
  401. ' <li style="width:20.5%"><input type="checkbox" value="identifyConditionName"><span>认定条件名称</span></li>\n' +
  402. ' <li style="width:20.5%"><input type="checkbox" value="identifyGetTime"><span>认定条件证书取得时间</span></li>\n' +
  403. ' <li style="width:10%"><input type="checkbox" value="talentType"><span>人才标签</span></li>\n' +
  404. ' <li style="width:31%"><input type="checkbox" value="letterTime"><span>首次来晋行政介绍信时间</span></li>\n' +
  405. ' <li style="width:10%"><input type="checkbox" value="introductionMode"><span>引进方式</span></li>\n' +
  406. ' <li style="width:20.5%"><input type="checkbox" value="entryTime"><span>本单位入职时间</span></li>\n' +
  407. ' <li style="width:10%"><input type="checkbox" value="post"><span>职务</span></li>\n' +
  408. ' <li style="width:20.5%"><input type="checkbox" value="startTime"><span>工作合同开始时间</span></li>\n' +
  409. ' <li style="width:20.5%"><input type="checkbox" value="endTime"><span>工作合同结束时间</span></li>\n' +
  410. ' <li style="width:20.5%"><input type="checkbox" value="lastYearWages"><span>上一年度年薪</span></li>\n' +
  411. ' <li style="width:10%"><input type="checkbox" value="highEducation"><span>最高学历</span></li>\n' +
  412. ' <li style="width:10%"><input type="checkbox" value="graduateSchool"><span>毕业院校</span></li>\n' +
  413. ' <li style="width:10%"><input type="checkbox" value="major"><span>专业</span></li>\n' +
  414. ' <li style="width:10%"><input type="checkbox" value="title"><span>职称</span></li>\n' +
  415. ' <li style="width:20.5%"><input type="checkbox" value="professionalQualifications"><span>国家职业资格</span></li>\n' +
  416. ' <li style="width:20.5%"><input type="checkbox" value="studyAbroad"><span>是否有留学经历</span></li>\n' +
  417. ' <li style="width:10%"><input type="checkbox" value="phone"><span>手机号码</span></li>\n' +
  418. ' <li style="width:10%"><input type="checkbox" value="email"><span>电子邮箱</span></li>\n' +
  419. ' <li style="width:10%"><input type="checkbox" value="bank"><span>开户银行</span></li>\n' +
  420. ' <li style="width:20.5%"><input type="checkbox" value="bankNetwork"><span>开户银行网点</span></li>\n' +
  421. ' <li style="width:10%"><input type="checkbox" value="bankNumber"><span>银行行号</span></li>\n' +
  422. ' <li style="width:10%"><input type="checkbox" value="bankAccount"><span>银行账号</span></li>\n' +
  423. ' <li style="width:31%"><input type="checkbox" value="breakFaith"><span>曾被相关主管部门列为失信个人</span></li>\n' +
  424. ' <li style="width:20.5%"><input type="checkbox" value="educationAndResume"><span>教育背景及工作简历</span></li>\n' +
  425. ' <li style="width:20.5%"><input type="checkbox" value="mainHonours"><span>主要业绩及取得的荣誉</span></li>\n' +
  426. ' </ul>\n' +
  427. ' </div>\n' +
  428. ' <label for="checkMsg" class="control-label">可修改附件</label>\n' +
  429. ' <div id="field_file">\n' +
  430. ' </div>\n' +
  431. ' <div class="form-group" style="text-align: center">\n' +
  432. ' <button type="button" class="btn btn-primary" onclick="TalentInfo.checkAll()">全选</button>\n' +
  433. ' <button type="button" class="btn btn-success" onclick="TalentInfo.unCheckAll()">反选</button>\n' +
  434. ' </div>\n' +
  435. ' </div>\n' +
  436. ' </div>\n' +
  437. ' </form>';
  438. }
  439. TalentInfo.fieldCheckd = function (context) {
  440. if ($(context).get(0).checked) {
  441. $(context).parent().next().children()[0].checked = true;
  442. $(context).parent().next().children().eq(0).trigger("change");
  443. }
  444. }
  445. TalentInfo.sourceCheckd = function (context) {
  446. if ($(context).get(0).checked) {
  447. $("#talentArrangeCheckBox").attr("checked", true);
  448. $("#talentArrangeCheckBox").trigger("change");
  449. }
  450. }
  451. TalentInfo.getPhones = function () {
  452. var process = $("#process").val();
  453. var ajax = new $ax("/admin/talent/getPhones/process/" + process, function (data) {
  454. if (data.code == 200) {
  455. layer.open({
  456. type: 1,
  457. title: "手机号码",
  458. area: ['830px', '300px'], //宽高
  459. fix: false, //不固定
  460. maxmin: true,
  461. content: "<span style='word-break:break-all'>" + data.obj + "</span>"
  462. });
  463. } else {
  464. Feng.info(data.msg);
  465. }
  466. }, function (data) {
  467. Feng.error("操作失败!");
  468. });
  469. ajax.setData(TalentInfo.formParams());
  470. ajax.start();
  471. }
  472. TalentInfo.getEnterprisePhones = function () {
  473. var process = $("#process").val();
  474. var ajax = new $ax("/admin/talent/getEnterprisePhones/process/" + process, function (data) {
  475. if (data.code == 200) {
  476. layer.open({
  477. type: 1,
  478. title: "手机号码",
  479. area: ['830px', '300px'], //宽高
  480. fix: false, //不固定
  481. maxmin: true,
  482. content: "<span style='word-break:break-all'>" + data.obj + "</span>"
  483. });
  484. } else {
  485. Feng.info(data.msg);
  486. }
  487. }, function (data) {
  488. Feng.error("操作失败!");
  489. });
  490. ajax.setData(TalentInfo.formParams());
  491. ajax.start();
  492. }
  493. $(function () {
  494. var defaultColunms = TalentInfo.initColumn();
  495. var process = $("#process").val();
  496. var table = new BSTable(TalentInfo.id, "/admin/talent/base_verify_list/process/" + process, defaultColunms);
  497. table.setPaginationType("server");
  498. table.setSingleSelect(false);
  499. table.setOnDblClickRow(function () {
  500. TalentInfo.openCheckTalentInfo();
  501. });
  502. TalentInfo.table = table.init();
  503. TalentInfo.init();
  504. // var defaultColunms = TalentInfo.initColumn();
  505. // var table = new KDTable(TalentInfo.id, "/talentInfo/list/1", defaultColunms);
  506. // table.setPaginationType("server");
  507. // TalentInfo.table = table.init();
  508. });