ソースを参照

增加高教复审功能(前台脚本)

zmw 9 ヶ月 前
コミット
eb143962d3

+ 2 - 2
public/static/modular/talentAllowance/talentAllowanceInfo_info.js

@@ -933,10 +933,10 @@ TalentAllowanceInfoDlg.allowanceTypeChange = function (content) {
     console.log(allowanceType)
     if (allowanceType == 1) {
         $(".personDiv").css("display", "none");
-        $(".otherEnjoyed").css("otherEnjoyed", "block");
+        $("#otherEnjoyed").css("otherEnjoyed", "block");
     } else {
         $(".personDiv").css("display", "block");
-        $(".otherEnjoyed").css("otherEnjoyed", "none");
+        $("#otherEnjoyed").css("otherEnjoyed", "none");
     }
 }
 

+ 10 - 9
public/static/modular/talentAllowance/talentAllowanceInfo_info_supple.js

@@ -623,14 +623,15 @@ TalentAllowanceInfoDlg.createCheckHtml = function () {
                     '</div>\n';
 
             if (type == 6) {
-                html += '<div id="otherSence" ><div class="form-group notPassDiv sourceDiv">\n' +
+                html += '<div id="otherSence">\n' +
+                        '<div class="form-group notPassDiv sourceDiv">\n' +
                         '<label for="checkState" class="control-label">判定类型</label>\n' +
                         '<select class="form-control" id="source" onchange="TalentAllowanceInfoDlg.allowanceTypeChange(this)">\n' +
                             '<option value="">请选择</option>\n' +
                             '<option value="1">与系统判定一致</option>\n' +
                             '<option value="2">个人判定</option>\n' +
                         '</select>\n' +
-                        '</div>\n';
+                        '</div>\n'; +
                         '<div class="form-group notPassDiv personDiv">\n' +
                         '<label for="checkState" class="control-label">津补贴类型</label>\n' +
                         '<select type="text" class="form-control" id="resAllowanceType">\n' +
@@ -640,13 +641,13 @@ TalentAllowanceInfoDlg.createCheckHtml = function () {
                             '<option value="3">不予兑现</option>\n' +
                         '</select>\n' +
                         '</div>\n' +
-                        '                        <div class="form-group notPassDiv personDiv" id="setMonths">\n' +
-                        '                            <label for="checkState" class="control-label">享受月份(仅工作津贴填写)</label>\n' +
-                        '                        </div>\n' +
-                        '                        <div class="form-group notPassDiv personDiv" style="display: none">\n' +
-                        '                            <label for="checkState" class="control-label">判定说明</label>\n' +
-                        '                            <textarea type="text" class="form-control" id="resAllowanceMsg" name="resAllowanceMsg"></textarea>\n' +
-                        '                        </div>\n' +
+                        '<div class="form-group notPassDiv personDiv" id="setMonths">\n' +
+                        '<label for="checkState" class="control-label">享受月份(仅工作津贴填写)</label>\n' +
+                        '</div>\n' +
+                        '<div class="form-group notPassDiv personDiv" style="display: none">\n' +
+                        '<label for="checkState" class="control-label">判定说明</label>\n' +
+                        '<textarea type="text" class="form-control" id="resAllowanceMsg" name="resAllowanceMsg"></textarea>\n' +
+                        '</div>\n' +
                         '</div>';
                 html += '<div id="otherEnjoyed" style="display:none;"><div class="form-group" style="margin: 10px;">\n' +
                         '<label for="checkState" class="control-label">试算结果</label>\n' +