Jianghan 1 年之前
父節點
當前提交
8c3b274bfb
共有 2 個文件被更改,包括 2 次插入16 次删除
  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]
 				tmp["legal_person"] = s1[0]
 			}
 			}
 			if s1[1] != "-" {
 			if s1[1] != "-" {
-				tmp["legal_person"] = s1[1]
+				tmp["company_email"] = s1[1]
 			}
 			}
 			if s1[2] != "-" {
 			if s1[2] != "-" {
-				tmp["legal_person"] = s1[2]
+				tmp["company_phone"] = s1[2]
 			}
 			}
 		}
 		}
 	} else {
 	} else {

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

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