Browse Source

更新高教复审判定

zmw 7 months ago
parent
commit
8ac2a0d6d6

+ 40 - 0
public/static/modular/talentAllowance/talentAllowanceInfo_info_supple.js

@@ -677,4 +677,44 @@ TalentAllowanceInfoDlg.processChange = function (content) {
     } else {
     } else {
         $("#toDepDiv").css("display", "none");
         $("#toDepDiv").css("display", "none");
     }
     }
+}
+
+TalentAllowanceInfoDlg.showEditMonths = function (content) {
+    layer.open({
+        id: "setMoths",
+        type: 1,
+        title: "津补贴计算",
+        fixed: false,
+        resize: true,
+        scrollbar: false,
+        content: '<ul style="padding-top: 5px" id="resMonths">\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="01"><span style="margin-left: 3px">01月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="02"><span style="margin-left: 3px">02月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="03"><span style="margin-left: 3px">03月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="04"><span style="margin-left: 3px">04月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="05"><span style="margin-left: 3px">05月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="06"><span style="margin-left: 3px">06月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="07"><span style="margin-left: 3px">07月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="08"><span style="margin-left: 3px">08月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="09"><span style="margin-left: 3px">09月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="10"><span style="margin-left: 3px">10月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="11"><span style="margin-left: 3px">11月</span></li>\n' +
+            '                        <li style="width: 7%"><input type="checkbox" name="lastMonth" value="12"><span style="margin-left: 3px">12月</span></li>\n' +
+            '                    </ul>\n',
+        area: ['60%', '40%'],
+        maxmin: true,
+        btn: ['<i class="fa fa-save layui-bg-green"></i>&nbsp;&nbsp;确定', '<i class="fa fa-eraser"></i>&nbsp;&nbsp;关闭'],
+        btnAlign: 'c',
+        yes: function (index, layero) {
+            var months = "";
+            $("#resMonths input").each(function () {
+                if (this.checked) {
+                    months = months + $(this).val() + ",";
+                }
+            });
+            months = months.substring(0, months.length - 1);
+            $(content).prev().val(months);
+            layer.close(index);
+        },
+    });
 }
 }