diff --git a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CommonController.java b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CommonController.java index 8fde745..80faa97 100644 --- a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CommonController.java +++ b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CommonController.java @@ -8,6 +8,7 @@ import org.springframework.web.servlet.ModelAndView; public class CommonController { private final String TREE_SELECT_PAGE = "modules/sys/common/treeselect"; + private final String SYS_DESKTOP_PAGE = "modules/sys/common/desktop"; @RequestMapping(path="sys/treeselect") public ModelAndView index(ModelAndView model , String url) { @@ -15,4 +16,10 @@ public class CommonController { model.setViewName(TREE_SELECT_PAGE); return model; } + + @RequestMapping(path="sys/desktop") + public ModelAndView index(ModelAndView model) { + model.setViewName(SYS_DESKTOP_PAGE); + return model; + } } diff --git a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CompanyController.java b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CompanyController.java index 0ebf00e..79972f2 100644 --- a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CompanyController.java +++ b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/CompanyController.java @@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.servlet.ModelAndView; import com.tamguo.modules.sys.model.SysCompanyEntity; import com.tamguo.modules.sys.service.ISysCompanyService; @@ -14,8 +15,15 @@ import com.tamguo.modules.sys.service.ISysCompanyService; @RequestMapping(path="sys/company") public class CompanyController { + private final String COMPANY_INDEX_PAGE = "modules/sys/company/index"; + @Autowired ISysCompanyService iSysCompanyService; + + @RequestMapping(path="index") + public String index(ModelAndView model) { + return COMPANY_INDEX_PAGE; + } @RequestMapping(path="treeData") @ResponseBody diff --git a/tamguo-oms/src/main/resources/templates/include/leftMenu.html b/tamguo-oms/src/main/resources/templates/include/leftMenu.html index 69cf6fc..586f482 100644 --- a/tamguo-oms/src/main/resources/templates/include/leftMenu.html +++ b/tamguo-oms/src/main/resources/templates/include/leftMenu.html @@ -20,7 +20,7 @@ 组织管理
diff --git a/tamguo-oms/src/main/resources/templates/include/topMenu.html b/tamguo-oms/src/main/resources/templates/include/topMenu.html index d1a0baf..019763f 100644 --- a/tamguo-oms/src/main/resources/templates/include/topMenu.html +++ b/tamguo-oms/src/main/resources/templates/include/topMenu.html @@ -73,14 +73,14 @@ onclick="readMsg(this, '消息详情', '{{d.id}}')">查看 -