IntegralVerify_info.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. /**
  2. * 初始化人才认定申报详情对话框
  3. */
  4. var locked = false;
  5. var IntegralVerifyInfoDlg = {
  6. integralVerifyInfoData: {},
  7. };
  8. /**
  9. * 初始化表格的列
  10. */
  11. IntegralVerifyInfoDlg.initFileTypeColumn = function () {
  12. return [
  13. {field: 'selectItem', checkbox: false, visible: false},
  14. {title: '名称', field: 'name', visible: true, align: 'left', valign: 'middle', width: "82%", 'class': 'uitd_showTip',
  15. formatter: function (value, row, index) {
  16. let str = '<div class="word-wrap">';
  17. if (row.must == 1) {
  18. str = str + '<i class="fa fa-paste"></i><span style="font-weight:bold;color:red;font-size:14px;font-family:宋体"> * </span> ' + value;
  19. }
  20. if (row.must == 2) {
  21. str = str + '<i class="fa fa-paste"></i>' + value;
  22. }
  23. str = str + '<br /><span id="desc_' + row.rel + '">' + row.description + '</span></div>'
  24. return str;
  25. }
  26. },
  27. {title: '模板', field: 'templateUrl', visible: true, align: 'center', valign: 'middle', width: "8%",
  28. formatter: function (value, row, index) {
  29. if (value == null || value == '' || value == 'null') {
  30. return '';
  31. }
  32. return "<button type='button' onclick=\"IntegralVerifyInfoDlg.downloadFile('" + row.id + "',3)\" style='margin-right: 10px' class=\"btn btn-xs btn-primary\">" +
  33. "<i class=\"fa fa-download\"></i>下载" +
  34. "</button>";
  35. }
  36. },
  37. {title: '操作', field: 'id', visible: true, align: 'center', valign: 'middle', width: "10%",
  38. formatter: function (value, row, index) {
  39. return "";
  40. }
  41. }
  42. ]
  43. };
  44. IntegralVerifyInfoDlg.changeAndLoadFile = function () {
  45. var table = $(".fileTable");
  46. var items = $("select[name='item_id[]']");
  47. var item_id = [];
  48. for (var i = 0; i < items.length; i++) {
  49. let _id = items.eq(i).val();
  50. if (_id) {
  51. item_id.push(_id);
  52. }
  53. }
  54. if (item_id.length == 0) {
  55. table.bootstrapTable("destroy");
  56. return;
  57. }
  58. var ajax = new $ax("/common/api/findCommonFileType", function (data) {
  59. if (data == null || data.length == 0) {
  60. return;
  61. }
  62. table.bootstrapTable("destroy");
  63. table.bootstrapTable({
  64. columns: IntegralVerifyInfoDlg.initFileTypeColumn(),
  65. data: data.rows,
  66. showHeader: true,
  67. rowStyle: function (row, index) {
  68. return {classes: ""};
  69. },
  70. onPostBody: function (data) {
  71. for (var k in data) {
  72. var files = data[k].files;
  73. var html = '<ul class="imgs"><li style="width: 70%;font-weight: bold;padding-top: 5px;">附件原名</li><li style="width: 10%;font-weight: bold;padding-top: 5px;">预览</li><li style="width: 20%;font-weight: bold;padding-top: 5px;">操作</li>';
  74. for (var key in files) {
  75. var sn = files[key].url.lastIndexOf(".");
  76. var suffix = files[key].ext; //files[key].url.substring(sn + 1, files[key].url.length);
  77. var imgStr = "";
  78. if (suffix == "pdf" || suffix == "PDF") {
  79. imgStr = "<button type='button' onclick=\"Feng.showPdf('" + files[key].url + "','" + files[key].id + "','" + files[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i></button>";
  80. } else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS' || suffix == 'docx' || suffix == 'doc' || suffix == 'DOCX' || suffix == 'DOC') {
  81. imgStr = "<button type='button' onclick=\"Feng.showExcel('" + files[key].url + "','" + files[key].id + "','" + files[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
  82. } else {
  83. imgStr = '<img class=\"imgUrl\" onclick=\"Feng.showImg(this)\" src=\"' + files[key].url + '\" style=\"width:25px;height:25px;\">';
  84. }
  85. html += '<li data-id="' + files[key].id + '">\n\
  86. <div>' + (data[k].step != 1 ? '<input type="hidden" name="uploadFiles[]" value="' + files[key].id + '">' : "") + '</div>\n' +
  87. '<div style="width: 70%;">' + files[key].orignName + '</div>\n' +
  88. '<div style="width: 10%;">' + imgStr + '</div>\n' +
  89. '<div style="width: 20%;"></div>\n\
  90. </li>';
  91. }
  92. html = html + '</ul>';
  93. table.find("tr[data-index='" + k + "']").after('<tr class="detail-view"><td colspan="5">' + html + '</td></tr>');
  94. }
  95. $("td.uitd_showTip").bind("mouseover", function () {
  96. var htm = $(this).html();
  97. $(this).webuiPopover({title: '详情', content: htm, trigger: 'hover'}).webuiPopover('show');
  98. });
  99. },
  100. });
  101. }, function (data) {
  102. Feng.error("查询失败!" + data.responseJSON.message + "!");
  103. });
  104. var queryData = {};
  105. queryData["mainId"] = $("#id").val();
  106. queryData['project'] = CONFIG.project_integral_apply;
  107. queryData['type'] = $("#type").val();
  108. queryData["itemId"] = item_id;
  109. queryData['checkState'] = $("#checkState").val();
  110. ajax.set(queryData);
  111. ajax.start();
  112. }
  113. /**
  114. * 关闭此对话框
  115. */
  116. IntegralVerifyInfoDlg.close = function () {
  117. parent.layer.close(window.parent.IntegralVerify.layerIndex);
  118. }
  119. IntegralVerifyInfoDlg.callback = function (data) {
  120. Feng.info(data.msg);
  121. }
  122. /**
  123. * 下载附件
  124. * @param value
  125. */
  126. IntegralVerifyInfoDlg.downloadFile = function (id, type) {
  127. window.location.href = "/common/api/downloadFile?id=" + id + "&type=" + type;
  128. }
  129. IntegralVerifyInfoDlg.expandRows = function () {
  130. $(".fileTable").bootstrapTable('expandAllRows')
  131. }
  132. /**
  133. * 显示审核模态框
  134. */
  135. IntegralVerifyInfoDlg.showCommonCheckModal = function () {
  136. var ajax = new $ax("/admin/integralVerify/validateIsCheck", function (data) {
  137. if (data.code == 200) {
  138. layer.open({
  139. type: 1,
  140. id: "neewFieldFormModel",
  141. title: '审核',
  142. area: ['800px', '350px'], //宽高
  143. fix: false, //不固定
  144. shade: 0,
  145. maxmin: true,
  146. content: IntegralVerifyInfoDlg.createNoFieldCheckModal(),
  147. btn: ['<i class="fa fa-save"></i>&nbsp;&nbsp;提交', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
  148. btnAlign: 'c',
  149. zIndex: layer.zIndex,
  150. success: function (layero, index) {
  151. layer.setTop(layero);
  152. $("#commonCheckForm")[0].reset();
  153. var process = $("#process").val();
  154. if (process == 3) {
  155. var html = '<option value=""></option>\n' +
  156. ' <option value="3">审核通过</option>\n' +
  157. ' <option value="2">审核驳回</option>';
  158. $("#checkStateModal").empty().append(html);
  159. }
  160. $("#checkStateModal").val(data.obj.checkState);
  161. $("#checkMsg").val(data.obj.checkMsg);
  162. },
  163. yes: function (index, layero) {
  164. IntegralVerifyInfoDlg.commonCheck(index);
  165. }
  166. });
  167. } else {
  168. Feng.error(data.msg);
  169. }
  170. }, function (data) {
  171. Feng.error("校验失败!" + data.responseJSON.message + "!");
  172. });
  173. ajax.setData({"id": $("#id").val(), "process": $("#process").val(), "companyId": $("#companyId").val()})
  174. ajax.start();
  175. }
  176. /**
  177. * 显示初审审核模态框
  178. */
  179. IntegralVerifyInfoDlg.showFirstCheckModal = function () {
  180. var ajax = new $ax("/admin/integralVerify/validateIsCheck", function (data) {
  181. if (data.code == 200) {
  182. layer.open({
  183. type: 1,
  184. id: "neewFieldFormModel",
  185. title: '审核',
  186. area: ['800px', '450px'], //宽高
  187. fix: false, //不固定
  188. shade: 0,
  189. maxmin: true,
  190. content: IntegralVerifyInfoDlg.creatFieldCheckModal(),
  191. btn: ['<i class="fa fa-save"></i>&nbsp;&nbsp;提交', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
  192. btnAlign: 'c',
  193. zIndex: layer.zIndex,
  194. success: function (layero, index) {
  195. layer.setTop(layero);
  196. var obj = data.obj.record;
  197. if (typeof data.obj.fieldList != "undefined" && data.obj.fieldList.length > 0) {
  198. var fieldList = data.obj.fieldList;
  199. var html1 = '';
  200. for (var key in fieldList) {
  201. html1 = html1 + '<li style="float:left;margin:0 10px 10px 0;"><input type="checkbox" value="' + fieldList[key]["key"] + '"><span>' + fieldList[key]["value"] + '</span></li>';
  202. }
  203. }
  204. var html2 = '';
  205. html2 = html2 + '<ul><li style="width: 100%"><input type="checkbox" value="1"><span>允许修改</span></li></ul>';
  206. $("#field_info ul").css("overflow", "hidden").empty().append(html1);
  207. $("#field_file").css("overflow", "hidden").empty().append(html2);
  208. var optionHtml = "";
  209. optionHtml = '<option value="">请选择</option>\n' +
  210. ' <option value="1">审核通过</option>\n' +
  211. ' <option value="2">审核驳回</option>\n' +
  212. ' <option value="3">审核不通过</option>';
  213. $("#checkStateFirstModal").empty().append(optionHtml);
  214. $("#firstCheckForm")[0].reset();
  215. //$("#checkStateFirstModal").val(obj.checkState);
  216. $("#checkStateFirstModal").trigger("change");
  217. $("#checkMsgFirst").val(obj.checkMsg);
  218. if (obj.fields != null && obj.fields != '') {
  219. $("#field_info input").each(function () {
  220. for (var key in obj.fields) {
  221. if ($(this).val() == obj.fields[key]) {
  222. this.checked = true;
  223. }
  224. }
  225. });
  226. }
  227. if (obj.files == 1) {
  228. $("#field_file input").each(function () {
  229. this.checked = true;
  230. });
  231. }
  232. },
  233. yes: function (index, layero) {
  234. IntegralVerifyInfoDlg.firstCheck(index);
  235. }
  236. });
  237. } else {
  238. Feng.error(data.msg);
  239. }
  240. }, function (data) {
  241. Feng.error("校验失败!" + data.responseJSON.message + "!");
  242. });
  243. ajax.setData({"id": $("#id").val(), "companyId": $("#companyId").val()})
  244. ajax.start();
  245. }
  246. IntegralVerifyInfoDlg.toggledepField = function () {
  247. var checkState = $("#checkStateModal").val();
  248. var checkMsg = $("#checkMsg").val();
  249. if (checkState == 3) {
  250. if (checkMsg == null || checkMsg == '') {
  251. $("#checkMsg").val("部门审核通过,待复核");
  252. }
  253. } else {
  254. $("#checkMsg").val("");
  255. }
  256. }
  257. /**
  258. * 显示字段或者隐藏字段选择
  259. */
  260. IntegralVerifyInfoDlg.toggleField = function () {
  261. var checkState = $("#checkStateFirstModal").val();
  262. var checkMsgFirst = $("#checkMsgFirst").val();
  263. $("#company_list").hide();
  264. if (checkState == 2) {
  265. $("#field").show();
  266. $("#checkMsgFirst").val("");
  267. } else if (checkState == 1) {
  268. $("#field").hide();
  269. $("#field").find("input[type=checkbox]").removeAttr("checked");
  270. if (checkMsgFirst == null || checkMsgFirst == '') {
  271. $("#checkMsgFirst").val("审核通过");
  272. }
  273. } else {
  274. $("#field").hide();
  275. $("#checkMsgFirst").val("审核不通过");
  276. }
  277. }
  278. /**
  279. * 全选
  280. */
  281. IntegralVerifyInfoDlg.checkAll = function () {
  282. $("#field input").each(function () {
  283. this.checked = true;
  284. })
  285. }
  286. /**
  287. * 反选
  288. */
  289. IntegralVerifyInfoDlg.unCheckAll = function () {
  290. $("#field input").each(function () {
  291. if (this.checked) {
  292. this.checked = false;
  293. } else {
  294. this.checked = true;
  295. }
  296. })
  297. }
  298. /**
  299. * 审核提交
  300. */
  301. IntegralVerifyInfoDlg.commonCheck = function (i) {
  302. var checkState = $("#checkStateModal").val();
  303. var checkMsg = $("#checkMsg").val();
  304. if (checkState == null || checkState == '') {
  305. Feng.info("请选择审核状态");
  306. return;
  307. }
  308. if (checkMsg == null || checkMsg == '') {
  309. Feng.info("请填写审核意见");
  310. return;
  311. }
  312. if (locked)
  313. return;
  314. locked = true;
  315. var ajax = new $ax(Feng.ctxPath + "/admin/integralVerify/check", function (data) {
  316. if (data.code == 200) {
  317. Feng.success(data.msg);
  318. // $("#commonModal").modal("hide");
  319. layer.close(i);
  320. } else {
  321. Feng.error(data.msg);
  322. }
  323. locked = false;
  324. }, function (data) {
  325. Feng.error("提交审核失败!" + data.responseJSON.message + "!");
  326. locked = false;
  327. });
  328. ajax.setData({"id": $("#id").val(), "checkState": checkState, "checkMsg": checkMsg, "process": $("#process").val(), "companyId": $("#companyId").val()})
  329. ajax.start();
  330. }
  331. /**
  332. * 初审提交
  333. */
  334. IntegralVerifyInfoDlg.firstCheck = function (i) {
  335. var checkState = $("#checkStateFirstModal").val();
  336. var checkMsg = $("#checkMsgFirst").val();
  337. if (checkState == null || checkState == '') {
  338. Feng.info("请选择审核状态");
  339. return;
  340. }
  341. if (checkMsg == null || checkMsg == '') {
  342. Feng.info("请填写审核意见");
  343. return;
  344. }
  345. var fields = '';
  346. var files = '';
  347. $("#field_info li input").each(function (index) {
  348. if ($(this).is(":checked")) {
  349. fields = fields + $(this).val() + ",";
  350. }
  351. });
  352. var fileChk = $("#field_file li").find("input").is(":checked");
  353. if (checkState == 2 && fields == '' && !fileChk) {
  354. Feng.info("请选择可修改的字段或项目!");
  355. return;
  356. }
  357. if (locked)
  358. return;
  359. locked = true;
  360. var ajax = new $ax("/admin/integralVerify/check", function (data) {
  361. if (data.code == 200) {
  362. // $("#firstModal").modal("hide");
  363. layer.close(i);
  364. Feng.success(data.msg);
  365. } else {
  366. Feng.error(data.msg);
  367. }
  368. locked = false;
  369. }, function (data) {
  370. Feng.error("提交审核失败!" + data.responseJSON.message + "!");
  371. locked = false;
  372. });
  373. ajax.setData({"id": $("#id").val(), "checkState": checkState, "checkMsg": checkMsg,
  374. "process": $("#process").val(), "fields": fields, "files": fileChk ? 1 : 0})
  375. ajax.start();
  376. }
  377. IntegralVerifyInfoDlg.submitCheck = function () {
  378. var operation = function () {
  379. var ajax = new $ax(Feng.ctxPath + "/admin/integralVerify/submitCheck", function (data) {
  380. if (data.code == 200) {
  381. Feng.success(data.msg);
  382. window.parent.IntegralVerify.table.refresh();
  383. IntegralVerifyInfoDlg.close();
  384. } else {
  385. Feng.error(data.msg);
  386. }
  387. }, function (data) {
  388. Feng.error("提交审核失败!" + data.responseJSON.message + "!");
  389. });
  390. ajax.setData({"id": $("#id").val(), "process": $("#process").val()});
  391. ajax.start();
  392. }
  393. Feng.confirm("一旦提交无法修改,是否审核完毕且无误?", operation);
  394. }
  395. IntegralVerifyInfoDlg.fieldCheckd = function (context) {
  396. if ($(context).get(0).checked) {
  397. $(context).parent().next().children()[0].checked = true;
  398. $(context).parent().next().children().eq(0).trigger("change");
  399. }
  400. }
  401. IntegralVerifyInfoDlg.sourceCheckd = function (context) {
  402. if ($(context).get(0).checked) {
  403. $("#talentArrangeCheckBox").attr("checked", true);
  404. $("#talentArrangeCheckBox").trigger("change");
  405. }
  406. }
  407. IntegralVerifyInfoDlg.download = function () {
  408. window.location.href = encodeURI(encodeURI("/common/api/downloadZip?type=1&id=" + $("#id").val()));
  409. }
  410. IntegralVerifyInfoDlg.creatFieldCheckModal = function () {
  411. var type = $("#type").val();
  412. if (type == 1) {
  413. return '<form id="firstCheckForm">\n' +
  414. ' <div class="form-group" style="margin: 10px;">\n' +
  415. ' <label for="checkState" class="control-label">审核状态</label>\n' +
  416. ' <select class="form-control" id="checkStateFirstModal" onchange="IntegralVerifyInfoDlg.toggleField()">\n' +
  417. ' <option value="">请选择</option>\n' +
  418. ' <option value="3">审核通过</option>\n' +
  419. ' <option value="2">审核驳回</option>\n' +
  420. ' <option value="-1">审核不通过</option>\n' +
  421. ' </select>\n' +
  422. ' </div>\n' +
  423. ' <div class="form-group" style="margin: 10px;">\n' +
  424. ' <label for="checkMsg" class="control-label" >审核意见</label>\n' +
  425. ' <textarea class="form-control" id="checkMsgFirst" placeholder="审核状态属“审核通过”的,仅代表此步骤已操作完成,不代表用户提交的信息符合认定条件。若不符合认定条件的,请写明不符合原因。" rows="6"></textarea>\n' +
  426. ' <div id="company_list" style="padding-top:5px;display:none;">\n' +
  427. ' <label for="checkMsg" class="control-label">选择需要再次审核的部门</label>\n' +
  428. ' <div id="companys">' +
  429. ' <ul style="overflow:hidden;list-style:none;"></ul>' +
  430. ' </div>' +
  431. ' </div>\n' +
  432. ' <div id="field" style="padding-top: 5px;display: none">\n' +
  433. ' <label for="checkMsg" class="control-label">可修改字段</label>\n' +
  434. ' <div id="field_info">\n' +
  435. ' <ul style="overflow:hidden;list-style:none;">\n' +
  436. ' </ul>\n' +
  437. ' </div>\n' +
  438. ' <label for="checkMsg" class="control-label">是否允许修改项目</label>\n' +
  439. ' <div id="field_file">\n' +
  440. ' </div>\n' +
  441. ' <div class="form-group" style="text-align: center">\n' +
  442. ' <button type="button" class="btn btn-primary" onclick="IntegralVerifyInfoDlg.checkAll()">全选</button>\n' +
  443. ' <button type="button" class="btn btn-success" onclick="IntegralVerifyInfoDlg.unCheckAll()">反选</button>\n' +
  444. ' </div>\n' +
  445. ' </div>\n' +
  446. ' </div>\n' +
  447. ' </form>';
  448. } else if (type == 2) {
  449. return '<form id="firstCheckForm">\n' +
  450. ' <div class="form-group" style="margin: 10px;">\n' +
  451. ' <label for="checkState" class="control-label">审核状态</label>\n' +
  452. ' <select class="form-control" id="checkStateFirstModal" onchange="IntegralVerifyInfoDlg.toggleField()">\n' +
  453. ' <option value="">请选择</option>\n' +
  454. ' <option value="3">审核通过</option>\n' +
  455. ' <option value="2">审核驳回</option>\n' +
  456. ' <option value="-1">审核不通过</option>\n' +
  457. ' </select>\n' +
  458. ' </div>\n' +
  459. ' <div class="form-group" style="margin: 10px;">\n' +
  460. ' <label for="checkMsg" class="control-label" >审核意见</label>\n' +
  461. ' <textarea class="form-control" id="checkMsgFirst" placeholder="审核状态属“审核通过”的,仅代表此步骤已操作完成,不代表用户提交的信息符合认定条件。若不符合认定条件的,请写明不符合原因。" rows="6"></textarea>\n' +
  462. ' <div id="company_list" style="padding-top:5px;display:none;">\n' +
  463. ' <label for="checkMsg" class="control-label">选择需要再次审核的部门</label>\n' +
  464. ' <div id="companys">' +
  465. ' <ul style="overflow:hidden;list-style:none;"></ul>' +
  466. ' </div>' +
  467. ' </div>\n' +
  468. ' <div id="field" style="padding-top: 5px;display: none">\n' +
  469. ' <label for="checkMsg" class="control-label">可修改字段</label>\n' +
  470. ' <div id="field_info">\n' +
  471. ' <ul style="overflow:hidden;list-style:none;">\n' +
  472. ' </ul>\n' +
  473. ' </div>\n' +
  474. ' <label for="checkMsg" class="control-label">是否允许修改项目</label>\n' +
  475. ' <div id="field_file">\n' +
  476. ' </div>\n' +
  477. ' <div class="form-group" style="text-align: center">\n' +
  478. ' <button type="button" class="btn btn-primary" onclick="IntegralVerifyInfoDlg.checkAll()">全选</button>\n' +
  479. ' <button type="button" class="btn btn-success" onclick="IntegralVerifyInfoDlg.unCheckAll()">反选</button>\n' +
  480. ' </div>\n' +
  481. ' </div>\n' +
  482. ' </div>\n' +
  483. ' </form>';
  484. }
  485. }
  486. IntegralVerifyInfoDlg.createNoFieldCheckModal = function () {
  487. return '<form id="commonCheckForm" >\n' +
  488. ' <div class="form-group" style="margin: 10px;">\n' +
  489. ' <label for="checkState" class="control-label">审核状态</label>\n' +
  490. ' <select class="form-control" id="checkStateModal" >\n' +
  491. ' <option value=""></option>\n' +
  492. ' <option value="3">审核通过</option>\n' +
  493. ' <option value="2">审核驳回</option>\n' +
  494. ' </select>\n' +
  495. ' </div>\n' +
  496. ' <div class="form-group" style="margin: 10px;">\n' +
  497. ' <label for="checkMsg" class="control-label">审核意见</label>\n' +
  498. ' <textarea class="form-control" id="checkMsg" placeholder="审核状态属“审核通过”的,仅代表此步骤已操作完成,不代表用户提交的信息符合认定条件。若不符合认定条件的,请写明不符合原因。" rows="6"></textarea>\n' +
  499. ' </div>\n' +
  500. ' </form>';
  501. }
  502. $(function () {
  503. $("select:not(#checkStateModal,#checkStateFirstModal)").each(function () {
  504. //$(this).attr("disabled", "disabled");
  505. });
  506. $("input,textarea").not("#checkMsg,#checkMsgFirst").each(function () {
  507. $(this).attr("readonly", "readonly");
  508. });
  509. $('[data-toggle="tooltip"]').tooltip();
  510. var type = $("#type").val();
  511. IntegralVerifyInfoDlg.changeAndLoadFile();
  512. Feng.getCheckLog("logTable", {"type": CONFIG.project_integral_apply, "mainId": $("#id").val(), "typeFileId": "", "active": 1})
  513. });