فهرست منبع

更新高教复审判定

zmw 7 ماه پیش
والد
کامیت
8ae9ee2cb0
1فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 14 0
      public/static/modular/talentAllowance/talentAllowanceInfo_info.js

+ 14 - 0
public/static/modular/talentAllowance/talentAllowanceInfo_info.js

@@ -624,6 +624,20 @@ TalentAllowanceInfoDlg.showCheckModal = function () {
                         $("#otherEnjoyedDescription").val(info.otherEnjoyedDescription);
                         TalentAllowanceInfoDlg.cal();
                     }
+
+                    var list = data.obj.detailList;
+                    var html = "";
+                    for (var key in list) {
+                        var title = info.type == 1 ? list[key].enterpriseName + "(" + list[key].entryTime + "至" + list[key].quitTime + ")-" + list[key].talentTypeName : list[key].enterpriseName + "(" + list[key].entryTime + "至" + list[key].quitTime + ")";
+                        html = html +
+                            '<div class="input-group   detailMonths">\n' +
+                            '<input type="hidden" class="detailId" value="' + list[key].id + '">' +
+                            '<span class="input-group-addon" title="' + title + '">' + title + '</span>' +
+                            '<input type="text" class="form-control months" >\n' +
+                            '<span class="input-group-addon btn-danger" onclick="TalentAllowanceInfoDlg.showEditMonths(this)">编辑</span>\n' +
+                            '</div>\n';
+                    }
+                    $("#setMonths").append(html);
                 },
                 yes: function (index, layero) {
                     TalentAllowanceInfoDlg.checkSubmit(index);