|
@@ -952,7 +952,7 @@
|
|
|
function clickMatchBtn(obj) {
|
|
|
|
|
|
var temp_list = ["6","7","8","9"]
|
|
|
- debugger
|
|
|
+
|
|
|
for (i in temp_list){
|
|
|
if (matchCode.indexOf( temp_list[i])>-1){
|
|
|
matchCode.length=0
|
|
@@ -1068,7 +1068,7 @@
|
|
|
if (keyTableChecked) {
|
|
|
|
|
|
|
|
|
- debugger
|
|
|
+
|
|
|
buyerArr.length=0
|
|
|
// 和button的值匹配,对应添加选中属性
|
|
|
|
|
@@ -1080,7 +1080,7 @@
|
|
|
for (index_ in select_value_array){
|
|
|
|
|
|
//定位button 添加属性
|
|
|
- debugger
|
|
|
+
|
|
|
|
|
|
$("#btnGroupBuyer").find("input").each(function () {
|
|
|
|
|
@@ -1331,8 +1331,10 @@
|
|
|
o_rules = rdata["o_rules"];
|
|
|
$('#g_addkey').attr("value", rdata["s_globaladdkey"]);
|
|
|
$('#g_notkey').attr("value", rdata["s_globalnotkey"]);
|
|
|
+ $('#s_globalclearkey').attr("value", rdata["s_globalclearkey"]);
|
|
|
dataMap["s_globaladdkey"] = rdata["s_globaladdkey"];
|
|
|
dataMap["s_globalnotkey"] = rdata["s_globalnotkey"];
|
|
|
+ dataMap["s_globalclearkey"] = rdata["s_globalclearkey"];
|
|
|
|
|
|
$('#keywords').dataTable().fnClearTable();
|
|
|
$('#keywords').dataTable().fnAddData(rdata["o_rules"]);
|
|
@@ -1819,11 +1821,13 @@
|
|
|
|
|
|
//导入标签
|
|
|
function importRule() {
|
|
|
+
|
|
|
$("#file").click();
|
|
|
}
|
|
|
|
|
|
$(function () {
|
|
|
$("#uploadform").find("input").change(function () {
|
|
|
+
|
|
|
var val = $(this).val() ? $(this).val() : "";
|
|
|
if (val.indexOf(".xlsx") < 0) {
|
|
|
showMsg("文件格式非法", function () {
|
|
@@ -1841,11 +1845,13 @@
|
|
|
success: function (r) {
|
|
|
if (r.rep) {
|
|
|
// dataMap["id"] = r.id;
|
|
|
+
|
|
|
addkeyWord(r.rdata);
|
|
|
alert("导入成功")
|
|
|
} else {
|
|
|
alert("导入失败")
|
|
|
}
|
|
|
+ $("#uploadform").find("input").val('')
|
|
|
}
|
|
|
})
|
|
|
}
|