|
@@ -386,31 +386,7 @@ $(document).ready(function(){
|
|
|
$("#os").val(osId);
|
|
|
}
|
|
|
}
|
|
|
- //提示场景选择
|
|
|
- var placelist = $("#operatorAdgroup_placeDiv input[type='checkbox']:checked");
|
|
|
- var placeId = "";
|
|
|
- var placeName = "";
|
|
|
- if(placelist.length == 0){
|
|
|
- bootbox.alert("场景为必填项,请选择!");
|
|
|
- return false;
|
|
|
- }else{
|
|
|
- placelist.each(function(){
|
|
|
- placeId += $(this).val()+",";
|
|
|
- placeName += $(this).attr("title")+",";
|
|
|
- });
|
|
|
-
|
|
|
- if(placeId!=""){
|
|
|
- placeId = placeId.substring(0, placeId.length-1);
|
|
|
- placeName = placeName.substring(0, placeName.length-1);
|
|
|
- var checked_id =$(".input-group input[name=aa]:checked").val();
|
|
|
- if(checked_id==1){
|
|
|
- $("#placeId").val("a,"+placeId);
|
|
|
- }else if(checked_id==2){
|
|
|
- $("#placeId").val("b,"+placeId);
|
|
|
- }
|
|
|
- $("#placeName").val(placeName);
|
|
|
- }
|
|
|
- }
|
|
|
+ //保存整体页面
|
|
|
$("#validateForm").submit();
|
|
|
return false;
|
|
|
});
|