xuzhiheng 5 년 전
부모
커밋
b39cba8e44
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web/templates/private/cuser_rule_history_edit.html
  2. 1 0
      src/web/templates/private/second_push_create.html

+ 1 - 1
src/web/templates/private/cuser_rule_history_edit.html

@@ -1045,7 +1045,7 @@
         dataMap["s_globaladdkey"] = $('#g_addkey').val();
         dataMap["s_globalnotkey"] = $('#g_notkey').val();
         dataMap["s_globalclearkey"] = $('#s_globalclearkey').val();
-        if (dataMap["s_name"] == "") {
+        if (dataMap["s_name"] == "" || $("#departmentName").val() === "") {
             alert("请填写必须字段!")
             return
         }

+ 1 - 0
src/web/templates/private/second_push_create.html

@@ -236,6 +236,7 @@
             dt.setTime(parseInt(dataMap.endtime) * 1000);
             $('#endtime').find("input").val(dt.format("yyyy-MM-dd hh:mm:ss"));
         }
+        $('#extfiledselect').val(dataMap.i_extfieldstype);
         if (iscomplete == "1"){
             $('#starttime').css("pointer-events","none");
             $('#endtime').css("pointer-events","none");