|
@@ -9,6 +9,12 @@
|
|
//$("#name").focus();
|
|
//$("#name").focus();
|
|
$("#inputForm").validate({
|
|
$("#inputForm").validate({
|
|
submitHandler: function (form) {
|
|
submitHandler: function (form) {
|
|
|
|
+ var cc=$("#findgroup").val();
|
|
|
|
+ // console.log(cc);
|
|
|
|
+ if (null == cc || cc < 1) {
|
|
|
|
+ alertx("请选择组长!");
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
loading('正在提交,请稍等...');
|
|
loading('正在提交,请稍等...');
|
|
form.submit();
|
|
form.submit();
|
|
},
|
|
},
|
|
@@ -62,7 +68,9 @@
|
|
<body>
|
|
<body>
|
|
<ul class="nav nav-tabs">
|
|
<ul class="nav nav-tabs">
|
|
<li><a href="${ctx}/new/user/cmSp/cmSpList/">协销人员列表</a></li>
|
|
<li><a href="${ctx}/new/user/cmSp/cmSpList/">协销人员列表</a></li>
|
|
- <shiro:hasPermission name="user:newCmClub:edit"><li><a href="${ctx}/new/user/cmSp/cmSpForm">添加协销人员</a></li></shiro:hasPermission>
|
|
|
|
|
|
+ <shiro:hasPermission name="user:newCmClub:edit">
|
|
|
|
+ <li><a href="${ctx}/new/user/cmSp/cmSpForm">添加协销人员</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
<li><a href="${ctx}/serviceteam/cmServiceteamRole/">协销小组</a></li>
|
|
<li><a href="${ctx}/serviceteam/cmServiceteamRole/">协销小组</a></li>
|
|
<li><a href="${ctx}/new/user/cmSp/leader/">协销总管理员</a></li>
|
|
<li><a href="${ctx}/new/user/cmSp/leader/">协销总管理员</a></li>
|
|
<li class="active"><a
|
|
<li class="active"><a
|
|
@@ -78,7 +86,7 @@
|
|
<div class="control-group">
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<div class="controls">
|
|
<c:if test="${not empty cmServiceteamRole.teamId}">
|
|
<c:if test="${not empty cmServiceteamRole.teamId}">
|
|
- <span style="color:red;">本页面包含本组组员和所有未分组协销账号,上限选择十个,如已选十个则不可选更多组员,取消已选项可复选至十个</span>
|
|
|
|
|
|
+ <span style="color:red;">本页面包含本组组员和所有未分组协销账号,上限选择十个,如已选十个则不可选更多组员,取消已选项可复选至十个</span>
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
</c:if>
|
|
</c:if>
|
|
@@ -93,8 +101,8 @@
|
|
<c:forEach items="${cmServiceteamRole.group}" var="group" varStatus="status">
|
|
<c:forEach items="${cmServiceteamRole.group}" var="group" varStatus="status">
|
|
<c:if test="${not empty group.teamFlag}">
|
|
<c:if test="${not empty group.teamFlag}">
|
|
<input class="N${group.serviceProviderID}" type="checkbox" name="ids" id="${group.name}"
|
|
<input class="N${group.serviceProviderID}" type="checkbox" name="ids" id="${group.name}"
|
|
- value="${group.serviceProviderID}" style="zoom: 150%" checked
|
|
|
|
- onclick="getMember()">
|
|
|
|
|
|
+ value="${group.serviceProviderID}" style="zoom: 150%" checked
|
|
|
|
+ onclick="getMember()">
|
|
<span style="font-size: 15px;" id="${group.serviceProviderID}">${group.name} </span>
|
|
<span style="font-size: 15px;" id="${group.serviceProviderID}">${group.name} </span>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${empty group.teamFlag}">
|
|
<c:if test="${empty group.teamFlag}">
|
|
@@ -122,13 +130,13 @@
|
|
<div class="controls">
|
|
<div class="controls">
|
|
<c:if test="${not empty cmServiceteamRole.teamId}">
|
|
<c:if test="${not empty cmServiceteamRole.teamId}">
|
|
<form:select path="leaderId" class="input-medium" id="findgroup">
|
|
<form:select path="leaderId" class="input-medium" id="findgroup">
|
|
- <form:option value="" label="请在组员中选择"/>
|
|
|
|
|
|
+ <form:option value="" label="请在组员中选择"/>
|
|
<form:option value="${cmServiceteamRole.leaderId}" label="${cmServiceteamRole.leaderName}"/>
|
|
<form:option value="${cmServiceteamRole.leaderId}" label="${cmServiceteamRole.leaderName}"/>
|
|
- <c:forEach items="${cmServiceteamRole.group}" var="group">
|
|
|
|
- <c:if test="${group.serviceProviderID ne cmServiceteamRole.leaderId && not empty group.teamFlag}">
|
|
|
|
- <form:option value="${group.serviceProviderID}" label="${group.name}"/>
|
|
|
|
- </c:if>
|
|
|
|
- </c:forEach>
|
|
|
|
|
|
+ <c:forEach items="${cmServiceteamRole.group}" var="group">
|
|
|
|
+ <c:if test="${group.serviceProviderID ne cmServiceteamRole.leaderId && not empty group.teamFlag}">
|
|
|
|
+ <form:option value="${group.serviceProviderID}" label="${group.name}"/>
|
|
|
|
+ </c:if>
|
|
|
|
+ </c:forEach>
|
|
</form:select>
|
|
</form:select>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${empty cmServiceteamRole.teamId}">
|
|
<c:if test="${empty cmServiceteamRole.teamId}">
|