报表tab默认选择标签
This commit is contained in:
@@ -16,7 +16,7 @@ import com.nis.web.controller.BaseController;
|
||||
public class ReportController extends BaseController {
|
||||
@RequestMapping("/list")
|
||||
public String list(@ModelAttribute("bean") SearchReport bean,Model model, HttpServletRequest request, HttpServletResponse response) {
|
||||
initReportCondition(model, bean);
|
||||
// initReportCondition(model, bean);
|
||||
return "/report/list";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
$(".Wdate").attr("value",'');
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
if(!"${bean.reportBusinessType}"){
|
||||
if(!"${bean.reportBusinessType}"){//default
|
||||
$("#reportBusinessType").val("label_report");
|
||||
ajaxReport("/report/ajaxNtcTagReport","#label");
|
||||
}else if("${bean.reportBusinessType}"=="label_report"){
|
||||
ajaxReport("/report/ajaxNtcTagReport","#label");
|
||||
|
||||
Reference in New Issue
Block a user