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