|
@@ -41,7 +41,7 @@
|
|
|
nz-dropdown
|
|
|
[nzDropdownMenu]="menutep"
|
|
|
[nzPlacement]="'bottomLeft'"
|
|
|
- style="margin-left: 0px; width: 180px;"
|
|
|
+ style="margin-left: 0px; width: 180px"
|
|
|
>
|
|
|
<span nz-icon nzType="plus" nzTheme="outline"></span>新建
|
|
|
</button>
|
|
@@ -76,8 +76,10 @@
|
|
|
<span nz-icon nzType="team" nzTheme="outline"></span>
|
|
|
{{ profiles.length }}人
|
|
|
</div>
|
|
|
- <label nz-checkbox [(ngModel)]="checkedShowFilter"
|
|
|
- (ngModelChange)="onChecked()"
|
|
|
+ <label
|
|
|
+ nz-checkbox
|
|
|
+ [(ngModel)]="checkedShowFilter"
|
|
|
+ (ngModelChange)="onChecked()"
|
|
|
>仅显示部门直属成员</label
|
|
|
>
|
|
|
</div>
|
|
@@ -142,50 +144,51 @@
|
|
|
>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <!-- <th
|
|
|
+ <th
|
|
|
nzWidth="50px"
|
|
|
nzLeft
|
|
|
[nzChecked]="checkedAll"
|
|
|
[nzIndeterminate]="indeterminate"
|
|
|
nzLabel="Select all"
|
|
|
(nzCheckedChange)="onAllChecked($event)"
|
|
|
- ></th> -->
|
|
|
+ ></th>
|
|
|
<th nzWidth="120px">用户</th>
|
|
|
<th nzWidth="120px">手机号</th>
|
|
|
<th nzWidth="120px">邮箱</th>
|
|
|
<th nzWidth="120px">人员类型</th>
|
|
|
<th nzWidth="120px">所属部门</th>
|
|
|
- <!-- <th nzWidth="50px" nzRight>操作</th> -->
|
|
|
+ <th nzWidth="50px" nzRight>操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@for (data of profiles; track data.objectId) {
|
|
|
<tr>
|
|
|
- <!-- <td
|
|
|
+ <td
|
|
|
nzLeft
|
|
|
- [nzChecked]="data.checked"
|
|
|
+ [nzChecked]="setOfCheckedId.has(data.id)"
|
|
|
(nzCheckedChange)="onItemChecked(data.objectId, $event)"
|
|
|
- ></td> -->
|
|
|
- <td nzEllipsis
|
|
|
+ ></td>
|
|
|
+ <td
|
|
|
+ nzEllipsis
|
|
|
(click)="goDateil(data.get('user')?.id)"
|
|
|
class="activeTd"
|
|
|
>
|
|
|
<nz-avatar nzIcon="user"></nz-avatar>
|
|
|
- {{ data?.get("user")?.get("name") || '-'}}
|
|
|
+ {{ data?.get("user")?.get("name") || "-" }}
|
|
|
</td>
|
|
|
<td nzEllipsis>
|
|
|
- {{ data?.get("user")?.get("phone") || '-' }}
|
|
|
+ {{ data?.get("user")?.get("phone") || "-" }}
|
|
|
</td>
|
|
|
<td nzEllipsis>
|
|
|
- {{ data?.get("user")?.get("email") || data?.get("email") || '-'}}
|
|
|
+ {{ data?.get("user")?.get("email") || data?.get("email") || "-" }}
|
|
|
</td>
|
|
|
<td nzEllipsis>
|
|
|
{{ data?.get("identity") }}
|
|
|
</td>
|
|
|
<td nzEllipsis>
|
|
|
- {{ data?.get("user").get("departmentName") || '-' }}
|
|
|
+ {{ data?.get("user").get("departmentName") || "-" }}
|
|
|
</td>
|
|
|
- <!-- <td nzEllipsis nzRight>
|
|
|
+ <td nzEllipsis nzRight>
|
|
|
@if(data?.user?.objectId == user?.id || data?.identity ==
|
|
|
'工作联系人' || data?.identity == '高校联系人'){ - } @else {
|
|
|
<button
|
|
@@ -201,13 +204,24 @@
|
|
|
<li nz-menu-item>
|
|
|
<button nz-button style="color: #231c1f" nzType="link">
|
|
|
<span nz-icon nzType="stop" nzTheme="outline"></span
|
|
|
- >移除部门
|
|
|
+ >更换部门
|
|
|
+ </button>
|
|
|
+ </li>
|
|
|
+ <li nz-menu-item>
|
|
|
+ <button nz-button style="color: #231c1f" nzType="link">
|
|
|
+ <span
|
|
|
+ nz-icon
|
|
|
+ nzType="delete"
|
|
|
+ (click)="deleteSelected()"
|
|
|
+ nzTheme="outline"
|
|
|
+ ></span
|
|
|
+ >删除用户
|
|
|
</button>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</nz-dropdown-menu>
|
|
|
}
|
|
|
- </td> -->
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
}
|
|
|
</tbody>
|
|
@@ -273,15 +287,26 @@
|
|
|
<nz-input-group nzSearch [nzAddOnAfter]="suffixIconclear">
|
|
|
<input
|
|
|
nz-input
|
|
|
- placeholder="可输入搜索{{editObject.parent?.title || nodes[0]?.title}}下级所属部门"
|
|
|
+ placeholder="可输入搜索{{
|
|
|
+ editObject.parent?.title || nodes[0]?.title
|
|
|
+ }}下级所属部门"
|
|
|
[(ngModel)]="modalValue"
|
|
|
- (ngModelChange)="onSearchNodes($event, true,editObject.parent?.id)"
|
|
|
+ (ngModelChange)="
|
|
|
+ onSearchNodes($event, true, editObject.parent?.id)
|
|
|
+ "
|
|
|
(blur)="onblur('editObject')"
|
|
|
type="text"
|
|
|
/>
|
|
|
</nz-input-group>
|
|
|
<ng-template #suffixIconclear>
|
|
|
- <button nz-button nzType="primary" nzSearch (click)="reset('editObject')">清空</button>
|
|
|
+ <button
|
|
|
+ nz-button
|
|
|
+ nzType="primary"
|
|
|
+ nzSearch
|
|
|
+ (click)="reset('editObject')"
|
|
|
+ >
|
|
|
+ 清空
|
|
|
+ </button>
|
|
|
</ng-template>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -291,7 +316,7 @@
|
|
|
@for (data of parentMap; track data.title) {
|
|
|
<span style="margin: 0 10px">/</span>
|
|
|
@if ($index !=0 && data?.verify) {
|
|
|
- <a (click)="onPre('editObject',data, $index)">{{ data.title }}</a>
|
|
|
+ <a (click)="onPre('editObject', data, $index)">{{ data.title }}</a>
|
|
|
}@else {
|
|
|
<a style="color: #86909c">{{ data.title }}</a>
|
|
|
} }
|
|
@@ -342,7 +367,7 @@
|
|
|
<ng-container *nzModalContent>
|
|
|
<div nz-row class="depart-modal">
|
|
|
<div nz-col nzSpan="12">
|
|
|
- <div class="row" style="margin-bottom: 6px;">
|
|
|
+ <div class="row" style="margin-bottom: 6px">
|
|
|
<div class="label">
|
|
|
选择所属部门 <span style="color: #e8353e">*</span>
|
|
|
</div>
|
|
@@ -350,15 +375,26 @@
|
|
|
<nz-input-group nzSearch [nzAddOnAfter]="suffixIconclear">
|
|
|
<input
|
|
|
nz-input
|
|
|
- placeholder="可输入搜索{{account.department?.title || nodes[0]?.title}}下级所属部门"
|
|
|
+ placeholder="可输入搜索{{
|
|
|
+ account.department?.title || nodes[0]?.title
|
|
|
+ }}下级所属部门"
|
|
|
[(ngModel)]="modalValue"
|
|
|
- (ngModelChange)="onSearchNodes($event, true, account.department?.id)"
|
|
|
+ (ngModelChange)="
|
|
|
+ onSearchNodes($event, true, account.department?.id)
|
|
|
+ "
|
|
|
type="text"
|
|
|
(blur)="onblur('account')"
|
|
|
/>
|
|
|
</nz-input-group>
|
|
|
<ng-template #suffixIconclear>
|
|
|
- <button nz-button nzType="primary" nzSearch (click)="reset('account')">清空</button>
|
|
|
+ <button
|
|
|
+ nz-button
|
|
|
+ nzType="primary"
|
|
|
+ nzSearch
|
|
|
+ (click)="reset('account')"
|
|
|
+ >
|
|
|
+ 清空
|
|
|
+ </button>
|
|
|
</ng-template>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -493,3 +529,26 @@
|
|
|
</button>
|
|
|
</div>
|
|
|
</nz-modal>
|
|
|
+
|
|
|
+<!-- 全选操作:批量操作 -->
|
|
|
+<div class="batch-toolbar-modal" *ngIf="setOfCheckedId?.size">
|
|
|
+ <div class="batch-toolbar">
|
|
|
+ <div class="styles_counter__18S08">
|
|
|
+ <span>已选</span>
|
|
|
+ <span class="styles_num__178Wa">{{ setOfCheckedId.size }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="batch-toolbar-actions">
|
|
|
+ <div class="ant-space ant-space-horizontal ant-space-align-center">
|
|
|
+ <div class="ant-space-item" style="margin-right: 16px">
|
|
|
+ <button nz-button nzType="text" (click)="deleteSelected()">
|
|
|
+ <span nz-icon nzType="delete"></span>
|
|
|
+ 删除
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="styles_cancel__AARoT">
|
|
|
+ <button nz-button nzType="text" (click)="resetChange()">取消选中</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|