Authored by qinchao

增加功能:crontab集中管理

... ... @@ -6,6 +6,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletResponse;
/**
* Created by craig.qin on 2017/8/10.
*/
... ... @@ -15,9 +17,13 @@ public class CronTabManageCtrl {
@RequestMapping("/toCronTabManage")
@ResponseBody
public ModelAndView toCronTabManage(Model model) {
return new ModelAndView("crontab/cronTabManage");
}
@RequestMapping("/loadPage")
public void testRed(HttpServletResponse response) throws Exception{
response.sendRedirect("http://10.67.2.2:7079/ui/#/");
}
}
... ...
... ... @@ -67,7 +67,10 @@
</div>
<!-- 右侧具体内容 -->
<div id="content">
<iframe src="http://mysqlcrontab.yohops.com/ui/#/" id="iframepage" frameborder="0" scrolling="auto" width="100%" height="800px">
<%-- <iframe src="http://mysqlcrontab.yohops.com/ui/#/" id="iframepage" frameborder="0" scrolling="auto" width="100%" height="800px">
</iframe>--%>
<iframe src="<%=basePath %>cronTabManage/loadPage" id="iframepage" frameborder="0" scrolling="auto" width="100%" height="800px">
</iframe>
</div>
... ...