From 05e014eb6d6ae55f4792a452ff87ac42fba1f43f Mon Sep 17 00:00:00 2001 From: tamguo Date: Thu, 26 Jul 2018 14:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/sys/web/SysOfficeController.java | 10 +---- .../modules/sys/common/treeselect.html | 2 +- .../templates/modules/sys/user/list.html | 45 ++++++++++--------- 3 files changed, 27 insertions(+), 30 deletions(-) diff --git a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/SysOfficeController.java b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/SysOfficeController.java index 11942f8..c4edced 100644 --- a/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/SysOfficeController.java +++ b/tamguo-oms/src/main/java/com/tamguo/modules/sys/web/SysOfficeController.java @@ -1,12 +1,11 @@ package com.tamguo.modules.sys.web; -import java.util.List; +import java.util.List; 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.alibaba.fastjson.JSONArray; import com.tamguo.modules.sys.model.SysOfficeEntity; @@ -22,17 +21,10 @@ import com.tamguo.modules.sys.service.ISysOfficeService; @Controller @RequestMapping(path="sys/office") public class SysOfficeController { - - private final String OFFICE_INDEX_PAGE = "modules/sys/office/index"; @Autowired private ISysOfficeService iSysOfficeService; - @RequestMapping(path="index") - public String index(ModelAndView model) { - return OFFICE_INDEX_PAGE; - } - @RequestMapping(path="listData") @ResponseBody public List listData(SysOfficeCondition condition) { diff --git a/tamguo-oms/src/main/resources/templates/modules/sys/common/treeselect.html b/tamguo-oms/src/main/resources/templates/modules/sys/common/treeselect.html index 7b73527..9f7934a 100644 --- a/tamguo-oms/src/main/resources/templates/modules/sys/common/treeselect.html +++ b/tamguo-oms/src/main/resources/templates/modules/sys/common/treeselect.html @@ -46,7 +46,7 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/> var setting = { view:{selectedMulti:false,dblClickExpand:false}, check:{enable:"false"=="true",nocheckInherit:true}, - data:{simpleData: {enable: true,idKey: "id",pIdKey: "parentId",rootPId: "",enable:true},key: {url:"nourl"}},callback:{ + data:{simpleData: {enable: true,idKey: "id",pIdKey: "pId",rootPId: "",enable:true},key: {url:"nourl"}},callback:{ onClick:function(event, treeId, treeNode){ tree.expandNode(treeNode); }, diff --git a/tamguo-oms/src/main/resources/templates/modules/sys/user/list.html b/tamguo-oms/src/main/resources/templates/modules/sys/user/list.html index 7e9620b..9da011e 100644 --- a/tamguo-oms/src/main/resources/templates/modules/sys/user/list.html +++ b/tamguo-oms/src/main/resources/templates/modules/sys/user/list.html @@ -38,55 +38,55 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
-
+
- +
- +
- +
- +
- +
- +
-
- - - -
+
+ + + +