...
|
...
|
@@ -82,15 +82,15 @@ |
|
|
if(arr.length == 0){
|
|
|
alert('不能为空,请选择');
|
|
|
}else{
|
|
|
alert('111');
|
|
|
$.post("{:url('Vote/vshuang')}", {ids:ids,tid:tid}, function(data) {
|
|
|
if(data){
|
|
|
window.location.href="{:url('Vote/index')}";
|
|
|
}else{
|
|
|
alert('投票失败');
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
/* $.post("{:url('Vote/vshuang')}", {ids:ids,tid:tid}, function(data) {
|
|
|
if(data){
|
|
|
window.location.href="{:url('Vote/index')}";
|
|
|
}else{
|
|
|
alert('投票失败');
|
|
|
}
|
|
|
});*/
|
|
|
|
|
|
|
|
|
}
|
|
|
</script>
|
...
|
...
|
|