Browse Source

消息事件新增;客户分配功能修改,新增客户转移功能。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10630 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
dongbw 8 years ago
parent
commit
eed41434a9
1 changed files with 21 additions and 23 deletions
  1. 21 23
      src/main/webapp/resources/tpl/index/account/transfer_userInfo.html

+ 21 - 23
src/main/webapp/resources/tpl/index/account/transfer_userInfo.html

@@ -34,31 +34,29 @@
 			<th width="100px;">用户名称</th>
 			<th width="100px;">用户名称</th>
 			<th width="40px;"></th>
 			<th width="40px;"></th>
 		</thead>
 		</thead>
-		<tbody>
+		<tbody ng-if="thisUser.sys">
 			<!-- 当前用户是管理员时 -->
 			<!-- 当前用户是管理员时 -->
-			<div style="overflow-y:scroll; width:100%;max-height:500px" ng-if="thisUser.sys">
-				<tr ng-repeat="user in userinfos| filter: keyword" ng-if="!user.sys">
-					<td width="80px;">{{user.userUU}}</td>
-					<td width="100px;">{{user.userName}}</td>
-					<td width="40px;" style="text-align: center"><input ng-model="user.transfer" name="checkbox" ng-click="checkOne(user)" ng-checked="user.checked" type="checkbox"></td>
-				</tr>
-			</div>
+			<tr ng-repeat="user in userinfos| filter: keyword" style="overflow-y:scroll; width:100%;max-height:500px" ng-if="!user.sys">
+				<td width="80px;">{{user.userUU}}</td>
+				<td width="100px;">{{user.userName}}</td>
+				<td width="40px;" style="text-align: center"><input ng-model="user.transfer" name="checkbox" ng-click="checkOne(user)" ng-checked="user.checked" type="checkbox" title="选择"></td>
+			</tr>
+		</tbody>
+		<tbody ng-if="!thisUser.sys && thisUser.transfer">
 			<!-- 当前用户是被管理员转移权限时 -->
 			<!-- 当前用户是被管理员转移权限时 -->
-			<div style="overflow-y:scroll; width:100%;max-height:500px" ng-if="!thisUser.sys && thisUser.transfer">
-				<tr ng-repeat="user in userinfos| filter: keyword" ng-if="thisUser.userUU != user.userUU && !user.sys">
-					<td width="80px;">{{user.userUU}}</td>
-					<td width="100px;">{{user.userName}}</td>
-					<td width="40px;" style="text-align: center"><input ng-model="user.transfer" name="checkbox" ng-click="checkOne(user)" ng-checked="user.checked" type="radio"></td>
-				</tr>
-			</div>
-			<!-- 当前用户是非管理员,但有权限时 -->
-			<div style="overflow-y:scroll; width:100%;max-height:500px" ng-if="!thisUser.sys && !thisUser.transfer">
-				<tr ng-repeat="user in userinfos| filter: keyword" ng-if="!user.distribute && !user.sys">
-					<td width="80px;">{{user.userUU}}</td>
-					<td width="100px;">{{user.userName}}</td>
-					<td width="40px;" style="text-align: center"><input ng-model="user.distribute" name="distribute" ng-click="checkOne(user)" ng-checked="user.checked" type="radio"></td>
-				</tr>
-			</div>
+			<tr ng-repeat="user in userinfos| filter: keyword" ng-if="!user.sys">
+				<td width="80px;">{{user.userUU}}</td>
+				<td width="100px;">{{user.userName}}</td>
+				<td width="40px;" style="text-align: center"><input ng-model="user.transfer" name="checkbox" ng-click="checkOne(user)" ng-checked="user.checked" type="radio" title="选择"></td>
+			</tr>
+		</tbody>
+		<tbody ng-if="!thisUser.sys && !thisUser.transfer">
+			<!-- 当前用户是非管理员,但有查看权限时 -->
+			<tr ng-repeat="user in userinfos| filter: keyword" ng-if="!user.distribute && !user.sys">
+				<td width="80px;">{{user.userUU}}</td>
+				<td width="100px;">{{user.userName}}</td>
+				<td width="40px;" style="text-align: center"><input ng-model="user.distribute" name="distribute" ng-click="checkOne(user)" ng-checked="user.checked" type="radio" title="选择"></td>
+			</tr>
 		</tbody>
 		</tbody>
 	</table>
 	</table>
 	</div>
 	</div>