Browse Source

卫健申报驳回全选返选修复

sugangqiang 1 year ago
parent
commit
ddcba555b9
1 changed files with 21 additions and 0 deletions
  1. 21 0
      public/static/modular/gate/talentInfo/talentInfo_wj_select_new.js

+ 21 - 0
public/static/modular/gate/talentInfo/talentInfo_wj_select_new.js

@@ -382,6 +382,27 @@ TalentInfoInfoDlg.downloadFile = function (id, type) {
 }
 
 
+/**
+ * 全选
+ */
+TalentInfoInfoDlg.checkAll = function () {
+    $("#field input").each(function () {
+        this.checked = true;
+    })
+}
+/**
+ * 反选
+ */
+TalentInfoInfoDlg.unCheckAll = function () {
+    $("#field input").each(function () {
+        if (this.checked) {
+            this.checked = false;
+        } else {
+            this.checked = true;
+        }
+    })
+}
+
 $(function () {
     $(":input").prop("disabled", true);
     $("#talent_type option").eq(0).prop("selected", true);