Commit ad5cb549 by Java-曹文达

页面优化 代码修改

parent 6acd0588
...@@ -22,9 +22,14 @@ import javax.servlet.http.HttpServletResponse; ...@@ -22,9 +22,14 @@ import javax.servlet.http.HttpServletResponse;
public class ModelCreateController { public class ModelCreateController {
@GetMapping("createNew") @GetMapping("createNew")
public void createNewModel(HttpServletRequest request, HttpServletResponse response) { public void createNewModel(HttpServletRequest request, HttpServletResponse response,Integer newID) {
try { try {
response.sendRedirect(request.getContextPath() + "/modeler.html?modelId=newID"); if(newID!=null){
response.sendRedirect(request.getContextPath() + "/modeler.html?modelId="+newID);
}else {
response.sendRedirect(request.getContextPath() + "/modeler.html?modelId=newID");
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -56,7 +56,7 @@ public class DeploymentController { ...@@ -56,7 +56,7 @@ public class DeploymentController {
@ApiOperation(value = "查询流程列表") @ApiOperation(value = "查询流程列表")
@RequestMapping(value = "/modelList") @PostMapping("/modelList")
public BpmResponse modelList(PageBean pageBean,String modelName) { public BpmResponse modelList(PageBean pageBean,String modelName) {
BpmResponse resp = new BpmResponse(); BpmResponse resp = new BpmResponse();
try{ try{
...@@ -83,7 +83,7 @@ public class DeploymentController { ...@@ -83,7 +83,7 @@ public class DeploymentController {
@ApiOperation(value = "删除流程") @ApiOperation(value = "删除流程")
@RequestMapping("/deleteModel") @PostMapping("/deleteModel")
public BpmResponse deleteModel(String modelId) { public BpmResponse deleteModel(String modelId) {
BpmResponse resp = new BpmResponse(); BpmResponse resp = new BpmResponse();
try{ try{
...@@ -133,7 +133,7 @@ public class DeploymentController { ...@@ -133,7 +133,7 @@ public class DeploymentController {
@ApiOperation(value = "部署流程") @ApiOperation(value = "部署流程")
@RequestMapping("/deploymentModel") @PostMapping("/deploymentModel")
public BpmResponse deploymentModel(final String modelId) { public BpmResponse deploymentModel(final String modelId) {
BpmResponse resp = new BpmResponse(); BpmResponse resp = new BpmResponse();
resp.setSuccess(true); resp.setSuccess(true);
...@@ -162,7 +162,7 @@ public class DeploymentController { ...@@ -162,7 +162,7 @@ public class DeploymentController {
} }
@ApiOperation(value = "删除部署") @ApiOperation(value = "删除部署")
@RequestMapping("/deleteDeployment") @PostMapping("/deleteDeployment")
public BpmResponse deleteDeployment(String deploymentId) { public BpmResponse deleteDeployment(String deploymentId) {
BpmResponse resp = new BpmResponse(); BpmResponse resp = new BpmResponse();
// processEngine.getRepositoryService().deleteDeployment(deploymentId, true); // processEngine.getRepositoryService().deleteDeployment(deploymentId, true);
......
...@@ -10,13 +10,18 @@ import io.swagger.models.auth.In; ...@@ -10,13 +10,18 @@ import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSession;
/**
* 用户功能模块接口
* @Author:cwd
* @Description:用户功能模块接口
* @Date: 2019/03/04 22:53
* @Param:
* @return
**/
@Controller @Controller
@RequestMapping(value = "bpm/user") @RequestMapping(value = "bpm/user")
public class UserApiController { public class UserApiController {
...@@ -35,8 +40,7 @@ public class UserApiController { ...@@ -35,8 +40,7 @@ public class UserApiController {
* @date: 2019/3/4 * @date: 2019/3/4
* @time: 11:03 * @time: 11:03
*/ */
@PostMapping("userList")
@RequestMapping(value = "/userList")
@ResponseBody @ResponseBody
public Result userList(Integer id,PageBean pageBean,String userName){ public Result userList(Integer id,PageBean pageBean,String userName){
if(pageBean.getPageNum()==0){ if(pageBean.getPageNum()==0){
...@@ -58,7 +62,7 @@ public class UserApiController { ...@@ -58,7 +62,7 @@ public class UserApiController {
* @param id * @param id
* @return Result * @return Result
**/ **/
@RequestMapping(value = "getOrganizationInfo") @PostMapping("getOrganizationInfo")
@ResponseBody @ResponseBody
public Result getOrganizationInfo(Integer id){ public Result getOrganizationInfo(Integer id){
Result result= userInfoService.getOrganizationInfo(id); Result result= userInfoService.getOrganizationInfo(id);
...@@ -75,7 +79,7 @@ public class UserApiController { ...@@ -75,7 +79,7 @@ public class UserApiController {
* @param name * @param name
* @return Result * @return Result
**/ **/
@RequestMapping(value = "getOrganization") @PostMapping("getOrganization")
@ResponseBody @ResponseBody
public Result getOrganization(PageBean pageBean,Integer id,Integer pId,String name){ public Result getOrganization(PageBean pageBean,Integer id,Integer pId,String name){
if(pageBean.getPageNum()==0){ if(pageBean.getPageNum()==0){
...@@ -96,7 +100,7 @@ public class UserApiController { ...@@ -96,7 +100,7 @@ public class UserApiController {
* @Date: 2019/03/04 22:53 * @Date: 2019/03/04 22:53
* @return Result * @return Result
**/ **/
@RequestMapping(value = "getOrganizationList") @PostMapping("getOrganizationList")
@ResponseBody @ResponseBody
public Result getOrganization(){ public Result getOrganization(){
Result result = userInfoService.getOrganizationList(); Result result = userInfoService.getOrganizationList();
...@@ -113,7 +117,7 @@ public class UserApiController { ...@@ -113,7 +117,7 @@ public class UserApiController {
* @param name * @param name
* @return * @return
**/ **/
@RequestMapping(value = "addOrganization") @PostMapping("addOrganization")
@ResponseBody @ResponseBody
public Result addOrganization(String name, String abbreviationName, Long pId, Integer id){ public Result addOrganization(String name, String abbreviationName, Long pId, Integer id){
//获取session中的值 //获取session中的值
...@@ -134,7 +138,7 @@ public class UserApiController { ...@@ -134,7 +138,7 @@ public class UserApiController {
* @param type * @param type
* @return Result * @return Result
**/ **/
@RequestMapping(value = "addOrganizationMember") @PostMapping("addOrganizationMember")
@ResponseBody @ResponseBody
public Result addOrganizationMember(String name, String position, Long pId, Integer id,Integer department,Integer type){ public Result addOrganizationMember(String name, String position, Long pId, Integer id,Integer department,Integer type){
//获取session中的值 //获取session中的值
...@@ -152,7 +156,7 @@ public class UserApiController { ...@@ -152,7 +156,7 @@ public class UserApiController {
* @param id * @param id
* @return Result * @return Result
**/ **/
@RequestMapping(value = "editOrganization") @PostMapping("editOrganization")
@ResponseBody @ResponseBody
public Result editOrganization(String name, String abbreviationName,Integer id){ public Result editOrganization(String name, String abbreviationName,Integer id){
Result result = userInfoService.editOrganization(name,abbreviationName,id); Result result = userInfoService.editOrganization(name,abbreviationName,id);
...@@ -169,7 +173,7 @@ public class UserApiController { ...@@ -169,7 +173,7 @@ public class UserApiController {
* @param pId * @param pId
* @return Result * @return Result
*/ */
@RequestMapping(value = "deleteOrganization") @PostMapping("deleteOrganization")
@ResponseBody @ResponseBody
public Result deleteOrganization(Long id,Integer pId){ public Result deleteOrganization(Long id,Integer pId){
Result result = userInfoService.deleteOrganization(id,pId); Result result = userInfoService.deleteOrganization(id,pId);
...@@ -182,7 +186,7 @@ public class UserApiController { ...@@ -182,7 +186,7 @@ public class UserApiController {
* @param id * @param id
* @return Result * @return Result
*/ */
@RequestMapping(value = "getAreaAll") @PostMapping("getAreaAll")
@ResponseBody @ResponseBody
public Result getAreaAll(Integer id){ public Result getAreaAll(Integer id){
Result areaList = userInfoService.getAreaAll(id); Result areaList = userInfoService.getAreaAll(id);
...@@ -196,7 +200,7 @@ public class UserApiController { ...@@ -196,7 +200,7 @@ public class UserApiController {
* @Date: 2019.3.7 * @Date: 2019.3.7
* @return Result * @return Result
*/ */
@RequestMapping(value = "/menuList",method = RequestMethod.GET) @GetMapping("/menuList")
@ResponseBody @ResponseBody
public Result menuList(){ public Result menuList(){
Result result= userInfoService.getMenuList(); Result result= userInfoService.getMenuList();
...@@ -211,7 +215,7 @@ public class UserApiController { ...@@ -211,7 +215,7 @@ public class UserApiController {
* @Date: 2019.4.4 * @Date: 2019.4.4
* @return Result * @return Result
*/ */
@RequestMapping(value = "/addUser",method = RequestMethod.POST) @PostMapping("/addUser")
@ResponseBody @ResponseBody
public Result addUser(User user){ public Result addUser(User user){
Result result= userInfoService.addUser(user); Result result= userInfoService.addUser(user);
...@@ -225,7 +229,7 @@ public class UserApiController { ...@@ -225,7 +229,7 @@ public class UserApiController {
* @param user * @param user
* @return * @return
*/ */
@RequestMapping(value = "/deleteUser",method = RequestMethod.POST) @PostMapping("/deleteUser")
@ResponseBody @ResponseBody
public Result deleteUser(User user){ public Result deleteUser(User user){
Result result= userInfoService.deleteUser(user); Result result= userInfoService.deleteUser(user);
......
...@@ -5,10 +5,15 @@ import com.bbd.bpm.result.Result; ...@@ -5,10 +5,15 @@ import com.bbd.bpm.result.Result;
import com.bbd.bpm.service.UserInfoService; import com.bbd.bpm.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMethod; /**
import org.springframework.web.bind.annotation.ResponseBody; * 用户功能模块管理
* @Author:cwd
* @Description:用户功能模块管理
* @Date: 2019/03/04 22:53
* @Param:
* @return
**/
@Controller @Controller
@RequestMapping(value = "/web/bpm/user") @RequestMapping(value = "/web/bpm/user")
public class UserWebController { public class UserWebController {
...@@ -19,7 +24,7 @@ public class UserWebController { ...@@ -19,7 +24,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "toIndex") @GetMapping(value = "toIndex")
public String toIndex(){ public String toIndex(){
return "bpm/index"; return "bpm/index";
} }
...@@ -31,7 +36,7 @@ public class UserWebController { ...@@ -31,7 +36,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "welcome") @GetMapping(value = "welcome")
public String welcome(){ public String welcome(){
return "bpm/welcome"; return "bpm/welcome";
} }
...@@ -44,7 +49,7 @@ public class UserWebController { ...@@ -44,7 +49,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "toOrganization") @GetMapping(value = "toOrganization")
public String toOrganization(){ public String toOrganization(){
return "user/organizationList"; return "user/organizationList";
} }
...@@ -56,7 +61,7 @@ public class UserWebController { ...@@ -56,7 +61,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "toDeployment") @GetMapping(value = "toDeployment")
public String toDeployment(){ public String toDeployment(){
return "deployment/deplymentList"; return "deployment/deplymentList";
} }
...@@ -68,7 +73,7 @@ public class UserWebController { ...@@ -68,7 +73,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "toUserList") @GetMapping(value = "toUserList")
public String toUserList(){ public String toUserList(){
return "user/userList"; return "user/userList";
} }
...@@ -80,7 +85,7 @@ public class UserWebController { ...@@ -80,7 +85,7 @@ public class UserWebController {
* @Param: * @Param:
* @return * @return
**/ **/
@RequestMapping(value = "addUser") @PostMapping(value = "addUser")
public String toRegister(){ public String toRegister(){
return "user/addUser"; return "user/addUser";
} }
......
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-default:active,
.btn-primary:active,
.btn-success:active,
.btn-info:active,
.btn-warning:active,
.btn-danger:active,
.btn-default.active,
.btn-primary.active,
.btn-success.active,
.btn-info.active,
.btn-warning.active,
.btn-danger.active {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-default.disabled,
.btn-primary.disabled,
.btn-success.disabled,
.btn-info.disabled,
.btn-warning.disabled,
.btn-danger.disabled,
.btn-default[disabled],
.btn-primary[disabled],
.btn-success[disabled],
.btn-info[disabled],
.btn-warning[disabled],
.btn-danger[disabled],
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-success,
fieldset[disabled] .btn-info,
fieldset[disabled] .btn-warning,
fieldset[disabled] .btn-danger {
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-default .badge,
.btn-primary .badge,
.btn-success .badge,
.btn-info .badge,
.btn-warning .badge,
.btn-danger .badge {
text-shadow: none;
}
.btn:active,
.btn.active {
background-image: none;
}
.btn-default {
text-shadow: 0 1px 0 #fff;
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #dbdbdb;
border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus {
background-color: #e0e0e0;
background-position: 0 -15px;
}
.btn-default:active,
.btn-default.active {
background-color: #e0e0e0;
border-color: #dbdbdb;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #e0e0e0;
background-image: none;
}
.btn-primary {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #245580;
}
.btn-primary:hover,
.btn-primary:focus {
background-color: #265a88;
background-position: 0 -15px;
}
.btn-primary:active,
.btn-primary.active {
background-color: #265a88;
border-color: #245580;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
background-color: #265a88;
background-image: none;
}
.btn-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #3e8f3e;
}
.btn-success:hover,
.btn-success:focus {
background-color: #419641;
background-position: 0 -15px;
}
.btn-success:active,
.btn-success.active {
background-color: #419641;
border-color: #3e8f3e;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
background-color: #419641;
background-image: none;
}
.btn-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #28a4c9;
}
.btn-info:hover,
.btn-info:focus {
background-color: #2aabd2;
background-position: 0 -15px;
}
.btn-info:active,
.btn-info.active {
background-color: #2aabd2;
border-color: #28a4c9;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
background-color: #2aabd2;
background-image: none;
}
.btn-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #e38d13;
}
.btn-warning:hover,
.btn-warning:focus {
background-color: #eb9316;
background-position: 0 -15px;
}
.btn-warning:active,
.btn-warning.active {
background-color: #eb9316;
border-color: #e38d13;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
background-color: #eb9316;
background-image: none;
}
.btn-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #b92c28;
}
.btn-danger:hover,
.btn-danger:focus {
background-color: #c12e2a;
background-position: 0 -15px;
}
.btn-danger:active,
.btn-danger.active {
background-color: #c12e2a;
border-color: #b92c28;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
background-color: #c12e2a;
background-image: none;
}
.thumbnail,
.img-thumbnail {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
background-color: #2e6da4;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
.navbar-default {
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
}
.navbar-brand,
.navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.navbar-inverse {
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
@media (max-width: 767px) {
.navbar .navbar-nav .open .dropdown-menu > .active > a,
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #fff;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
}
.alert {
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}
.alert-success {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
background-repeat: repeat-x;
border-color: #b2dba1;
}
.alert-info {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
background-repeat: repeat-x;
border-color: #9acfea;
}
.alert-warning {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
background-repeat: repeat-x;
border-color: #f5e79e;
}
.alert-danger {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
background-repeat: repeat-x;
border-color: #dca7a7;
}
.progress {
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.list-group {
border-radius: 4px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
text-shadow: 0 -1px 0 #286090;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
background-repeat: repeat-x;
border-color: #2b669a;
}
.list-group-item.active .badge,
.list-group-item.active:hover .badge,
.list-group-item.active:focus .badge {
text-shadow: none;
}
.panel {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.panel-default > .panel-heading {
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.panel-primary > .panel-heading {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
.panel-success > .panel-heading {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
background-repeat: repeat-x;
}
.panel-info > .panel-heading {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
background-repeat: repeat-x;
}
.panel-warning > .panel-heading {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
background-repeat: repeat-x;
}
.panel-danger > .panel-heading {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
background-repeat: repeat-x;
}
.well {
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
border-color: #dcdcdc;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
/*# sourceMappingURL=bootstrap-theme.css.map */
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
} }
.nav-icon span{ .nav-icon span{
display: inline-block; display: inline-block;
line-height: ;
} }
.nav-icon i{ .nav-icon i{
width: 1.875rem; width: 1.875rem;
......
...@@ -162,9 +162,9 @@ ...@@ -162,9 +162,9 @@
},'json') },'json')
} }
/*跳转活动详情页 */ /*查看流程 */
function toActivityDetail(id) { function toActivityDetail(id) {
location.href="/activityManage/toActivityInfo?activityId="+id+"&type=1"; location.href="/model/createNew?newID="+id
} }
...@@ -175,11 +175,13 @@ ...@@ -175,11 +175,13 @@
modelId:id modelId:id
},function (data) { },function (data) {
if(data.code==200){ if(data.code==200){
layer.msg('部署成功'); layer.msg('部署成功',{time:1000},function () {
location.reload(); location.reload();
});
}else { }else {
layer.msg('部署失败'); layer.msg('部署失败',{time:1000},function () {
location.reload(); location.reload();
});
} }
},'json') },'json')
} }
...@@ -187,17 +189,18 @@ ...@@ -187,17 +189,18 @@
/*跳转活动人员列表 */ /*跳转活动人员列表 */
function deleteDeployMent(id) { function deleteDeployMent(id) {
alert(id)
$.post("/api/bpm/model/deleteModel", $.post("/api/bpm/model/deleteModel",
{ {
modelId:id modelId:id
},function (data) { },function (data) {
if(data.code==200){ if(data.code==200){
layer.msg('删除成功'); layer.msg('删除成功',{time:1000},function () {
location.reload(); location.reload();
});
}else { }else {
layer.msg('删除失败'); layer.msg('删除失败',{time:1000},function () {
location.reload(); location.reload();
});
} }
},'json') },'json')
} }
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
margin-top: -7px; margin-top: -7px;
width: 50px; width: 50px;
height:50px; height:50px;
background: url("../../js/plugins/ztree/img/left_menuForOutLook.png")no-repeat; background: url("../../../js/plugins/ztree/img/left_menuForOutLook.png")no-repeat;
} }
.ztree li span.button.switch.level0 {width: 20px; height:20px} .ztree li span.button.switch.level0 {width: 20px; height:20px}
.ztree li span.button.switch.level1 {width: 20px; height:20px} .ztree li span.button.switch.level1 {width: 20px; height:20px}
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<p class="title">筛选查询</p> <p class="title">筛选查询</p>
<p class="search_pro" style="height: auto;overflow: hidden;display: block; padding: 0;"> <p class="search_pro" style="height: auto;overflow: hidden;display: block; padding: 0;">
<span ><b id="spanB">组织名称:</b><input type="text" value="" placeholder="请输入" name="name" style="color: black"/></span> <span ><b id="spanB">组织名称:</b><input type="text" value="" placeholder="请输入" name="name" style="color: black"/></span>
<span style="width: 200px;"><button style=" border: 1px solid #000000;background-color: #2b2b2b;width: 64px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;" onclick="queryDeviceRecords()">查询</button></span><span style="width: 67px;float: right" id="add"> <span style="width: 200px;"><button style=" border: 1px solid #000000;background-color: #2b2b2b;width: 64px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;" onclick="queryDeviceRecords()">查询</button></span><span style="width: 67px;float: right">
<button id="addOr" style=" border: 1px solid #000000;background-color: #2b2b2b;width: 70px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;margin-left: -1px;" onclick="add(1)">添加组织</button></span> <button id="addOr" style=" border: 1px solid #000000;background-color: #2b2b2b;width: 70px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;margin-left: -1px;" onclick="add(1)">添加组织</button></span>
<button id="addMe" style="float: right;margin-top: 7px; border: 1px solid #000000;background-color: #2b2b2b;width: 70px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;" onclick="add(2)">添加人员</button></span> <button id="addMe" style="float: right;margin-top: 7px; border: 1px solid #000000;background-color: #2b2b2b;width: 70px;height: 35px;color: white;border-radius: 0px;text-align: center;line-height: 30px;" onclick="add(2)">添加人员</button></span>
...@@ -219,13 +219,13 @@ ...@@ -219,13 +219,13 @@
function beforeClick(treeId, treeNode) { function beforeClick(treeId, treeNode) {
$("#pid").val(treeNode.pId); $("#pid").val(treeNode.pId);
$("#id").val(treeNode.id); $("#id").val(treeNode.id);
if (treeNode.pId==null){ // if (treeNode.pId==null){
$("#add").show(); // $("#add").show();
}else if (treeNode.pId==1){ // }else if (treeNode.pId==1){
$("#add").show(); // $("#add").show();
}else { // }else {
$("#add").hide(); // $("#add").hide();
} // }
$.post( $.post(
"/bpm/user/getOrganization", "/bpm/user/getOrganization",
{ {
...@@ -289,13 +289,11 @@ ...@@ -289,13 +289,11 @@
$("#addMe").show(); $("#addMe").show();
$("#addOr").show(); $("#addOr").show();
$("#spanB").html("人员信息:") $("#spanB").html("人员信息:")
$("#type").val(1);
content += "<tr><th>人员编号</th><th>人员名称</th><th>职位</th><th>部门</th><th>所属组织编码</th><th>加入时间</th><th >操作</th></tr>"; content += "<tr><th>人员编号</th><th>人员名称</th><th>职位</th><th>部门</th><th>所属组织编码</th><th>加入时间</th><th >操作</th></tr>";
}else { }else {
$("#addOr").show(); $("#addOr").show();
$("#addMe").hide(); $("#addMe").hide();
$("#spanB").html("组织名称:") $("#spanB").html("组织名称:")
$("#type").val(2);
content += "<tr><th>序号</th><th>组织名称</th><th>上级组织</th><th >操作</th></tr>"; content += "<tr><th>序号</th><th>组织名称</th><th>上级组织</th><th >操作</th></tr>";
} }
if(data!=null){ if(data!=null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment