nofile_talentInfo_select.js 959 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * 初始化人才认定申报详情对话框
  3. */
  4. var TalentInfoInfoDlg = {
  5. talentInfoInfoData: {},
  6. };
  7. TalentInfoInfoDlg.downloadFile = function (id, type) {
  8. window.location.href = Feng.ctxPath + "/api/common/downloadFile?id=" + id + "&type=" + type;
  9. }
  10. $(function () {
  11. $(":input").prop("disabled", true);
  12. $("#talent_type option").eq(0).prop("selected", true);
  13. var id = $("#id").val();
  14. var checkState = $("#checkState").val();
  15. if (id != null && id != '') {
  16. //select初始化
  17. $("select").each(function () {
  18. $(this).val($(this).attr("value")).trigger("change");
  19. });
  20. Feng.getCheckLog("logTable", {"type": CONFIG.project_rcrd, "mainId": id, "typeFileId": "", "active": 1})
  21. }
  22. $(".uitd_showTip").bind("mouseover", function () {
  23. var htm = $(this).html();
  24. $(this).webuiPopover({title: '详情', content: htm, trigger: 'hover'}).webuiPopover('show');
  25. });
  26. });