Jianghan 1 jaar geleden
bovenliggende
commit
8c3b274bfb
2 gewijzigde bestanden met toevoegingen van 2 en 16 verwijderingen
  1. 2 2
      CMPlatform/history/task.go
  2. 0 14
      CMPlatform/web/templates/private/history_rule_edit.html

+ 2 - 2
CMPlatform/history/task.go

@@ -494,10 +494,10 @@ func EntInfo(name string, tmp map[string]interface{}) {
 				tmp["legal_person"] = s1[0]
 			}
 			if s1[1] != "-" {
-				tmp["legal_person"] = s1[1]
+				tmp["company_email"] = s1[1]
 			}
 			if s1[2] != "-" {
-				tmp["legal_person"] = s1[2]
+				tmp["company_phone"] = s1[2]
 			}
 		}
 	} else {

+ 0 - 14
CMPlatform/web/templates/private/history_rule_edit.html

@@ -1084,43 +1084,29 @@
                 s_matchkey_str = dataMap["s_globalclearkeymatch"]
 
             }
-
             if (s_matchkey_str) {
-
                 s_matchkey_list = s_matchkey_str.split(",")
-
                 for (index_ in s_matchkey_list) {
-
                     //定位button 添加属性
                     $("#btnGroupMatch").find("input").each(function () {
-
-
                         if ($(this).attr("code") == s_matchkey_list[index_]) {
                             if (matchCode.indexOf(s_matchkey_list[index_]) == -1) {
                                 $(this).addClass("active-btn-match");
-
                                 matchCode.push($(this).attr("code"));
                                 matchName.push($(this).val())
                             }
                         }
-
                     });
                     $("#btnGroupMatch2").find("input").each(function () {
-
-
                         if ($(this).attr("code") == s_matchkey_list[index_]) {
                             if (matchCode.indexOf(s_matchkey_list[index_]) == -1) {
                                 $(this).addClass("active-btn-match");
-
                                 matchCode.push($(this).attr("code"));
                                 matchName.push($(this).val())
                             }
                         }
-
                     });
-
                 }
-
             }
             $('#modal-select-match').modal("show");
         } else {