|
|
@ -15,7 +15,7 @@ |
|
|
|
function get(cid, i) { |
|
|
|
function get(cid, i) { |
|
|
|
$("td[cid=" + cid + "]").find("span").text("获取中"); |
|
|
|
$("td[cid=" + cid + "]").find("span").text("获取中"); |
|
|
|
$.get("/data/count/" + cid, function (result) { |
|
|
|
$.get("/data/count/" + cid, function (result) { |
|
|
|
if (result!='') { |
|
|
|
if (result!=''||result==0) { |
|
|
|
if(result > 0){ |
|
|
|
if(result > 0){ |
|
|
|
$("#cid_" + cid).removeAttr("disabled"); |
|
|
|
$("#cid_" + cid).removeAttr("disabled"); |
|
|
|
} |
|
|
|
} |
|
|
|