|
@@ -1,28 +1,25 @@
|
1
|
1
|
<nz-layout class="app-layout display_flex flex_auto ant-layout-has-sider">
|
2
|
2
|
<overlay-scrollbars #osComponentRef1 class="menu-sidebar">
|
3
|
3
|
<div class="sidebar-logo display_flex align-items_center justify-content_flex-center">
|
4
|
|
- <div style="line-height: normal;height:100%;" class="display_flex align-items_center justify-content_flex-center flex-direction_column">
|
5
|
|
- <img [src]="tool.logoUrl">
|
6
|
|
- <span>{{tool.logoTitle}}</span>
|
|
4
|
+ <div class="display_flex align-items_center justify-content_flex-center logoTitle">
|
|
5
|
+ <div class="title ellipsis-multiline" nz-tooltip nzTooltipTitle="{{tool.logoTitle}}">{{tool.logoTitle}}</div>
|
7
|
6
|
</div>
|
8
|
7
|
</div>
|
9
|
8
|
<!-- 导航重写,兼容chrome39 -->
|
10
|
9
|
<ul id="ds-menu">
|
11
|
10
|
<li class="mainMenuOne" (click)="totoMenu('首页')" [ngClass]="{mainMenuSelected:indexFlag}">
|
12
|
11
|
<i nz-icon nzType="home"></i>
|
13
|
|
- <span>首页</span>
|
|
12
|
+ <span nz-tooltip nzTooltipTitle="首页">首页</span>
|
14
|
13
|
</li>
|
15
|
14
|
<li *ngFor="let data of menus" class="mainMenuWrap">
|
16
|
15
|
<div class="mainMenuOne" (click)="clickMenuOne(data)" [ngClass]="{mainMenuSelected:data.flagBg}">
|
17
|
16
|
<i class="icon_transport" [ngClass]="data.icon" *ngIf="isTransportIcon(data.icon)"></i>
|
18
|
17
|
<i nz-icon [nzType]="data.icon" *ngIf="!isTransportIcon(data.icon)"></i>
|
19
|
|
- <span>{{data.title}}</span>
|
20
|
|
- <span class="icon_transport transport-xialajiantou"
|
21
|
|
- [ngStyle]="{transform:data.flag?'rotate(180deg)':'rotate(0deg)',color:data.flag?'#fff':'#999'}"></span>
|
|
18
|
+ <span nz-tooltip nzTooltipTitle="{{data.title}}">{{data.title}}</span>
|
|
19
|
+ <span class="icon_transport transport-xialajiantou" [ngStyle]="{transform:data.flag?'rotate(180deg)':'rotate(0deg)',color:data.flag?'#fff':'#999'}"></span>
|
22
|
20
|
</div>
|
23
|
21
|
<ul>
|
24
|
|
- <li *ngFor="let item of data.childrens" class="mainMenu" (click)="totoMenu(item.title,item,data)"
|
25
|
|
- [ngStyle]="{height:data.flag?'44px':0}" [ngClass]="{menuTwoSelected:item.flag}">
|
|
22
|
+ <li *ngFor="let item of data.childrens" class="mainMenu" (click)="totoMenu(item.title,item,data)" [ngStyle]="{height:data.flag?'44px':0}" [ngClass]="{menuTwoSelected:item.flag}" nz-tooltip nzTooltipTitle="{{item.title}}">
|
26
|
23
|
{{item.title}}
|
27
|
24
|
</li>
|
28
|
25
|
</ul>
|
|
@@ -33,42 +30,37 @@
|
33
|
30
|
<nz-header>
|
34
|
31
|
<div class="app-header display_flex justify-content_space-between align-items_center">
|
35
|
32
|
<div class="left">
|
36
|
|
- <button nz-button nzType="primary" *ngIf='deskRole' (click)="toFuwutai()">调度台</button>
|
37
|
|
- <button nz-button nzType="primary" *ngIf="nurseRole" (click)="toHuShi()">护士端</button>
|
38
|
|
- <button nz-button nzType="primary" *ngIf="pharmacyRole" (click)="toPharmacy()">药房端</button>
|
39
|
|
- <button nz-button nzType="primary" *ngIf="pharmacyRole" (click)="toPharmacy2()">药房端2</button>
|
40
|
|
- <button nz-button nzType="primary" *ngIf="largeScreenRole" (click)="toBigScreen('largeScreen')">大屏端</button>
|
41
|
|
- <button nz-button nzType="primary" *ngIf="largeScreenRole2" (click)="toBigScreen('largeScreen2')">大屏端2</button>
|
42
|
|
- <button nz-button nzType="primary" *ngIf="specimenViewRole" (click)="toBigScreen('specimenView')" [nzLoading]="deptTypeLoading">业务视图</button>
|
43
|
|
- <button nz-button nzType="primary" *ngIf="specimenViewRole2" (click)="toSpecimenView2()">标本视图</button>
|
44
|
|
- <button nz-button nzType="primary" *ngIf="specimenRoomView" (click)="toSpecimenRoomView()">标本间端</button>
|
45
|
|
- <button nz-button nzType="primary" *ngIf="pathology" (click)="toPathology()">病理科端</button>
|
46
|
|
- <button nz-button nzType="primary" *ngIf="disinfectionSupplyRole" (click)="toDisinfectionSupply()">全局业务查看</button>
|
47
|
|
- <button nz-button nzType="primary" *ngIf="configurationCenterRole" (click)="toConfigurationCenter()">配置中心</button>
|
|
33
|
+ <i class="icon_transport transport-peizhi1 green" *ngIf='deskRole' (click)="toFuwutai()" nz-tooltip nzTooltipTitle="调度台"></i>
|
|
34
|
+ <i class="icon_transport transport-hushi green" *ngIf="nurseRole" (click)="toHuShi()" nz-tooltip nzTooltipTitle="护士端"></i>
|
|
35
|
+ <i class="icon_transport transport-tiaodu-fill green" *ngIf="configurationCenterRole" (click)="toConfigurationCenter()" nz-tooltip nzTooltipTitle="配置中心"></i>
|
|
36
|
+ <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && !userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要上班"></i>
|
|
37
|
+ <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要下班"></i>
|
|
38
|
+ <div class="dropdown">
|
|
39
|
+ <i class="icon_transport transport-gengduoda-copy" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false"></i>
|
|
40
|
+ <div class="dropdown-content ct" [hidden]="!showDropdown1" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false">
|
|
41
|
+ <div class="dropdownItem" *ngIf="pharmacyRole" (click)="toPharmacy()">药房端</div>
|
|
42
|
+ <div class="dropdownItem" *ngIf="pharmacyRole" (click)="toPharmacy2()">药房端2</div>
|
|
43
|
+ <div class="dropdownItem" *ngIf="largeScreenRole" (click)="toBigScreen('largeScreen')">大屏端</div>
|
|
44
|
+ <div class="dropdownItem" *ngIf="largeScreenRole2" (click)="toBigScreen('largeScreen2')">大屏端2</div>
|
|
45
|
+ <div class="dropdownItem" *ngIf="specimenViewRole" (click)="toBigScreen('specimenView')">业务视图</div>
|
|
46
|
+ <div class="dropdownItem" *ngIf="specimenViewRole2" (click)="toSpecimenView2()">标本视图</div>
|
|
47
|
+ <div class="dropdownItem" *ngIf="specimenRoomView" (click)="toSpecimenRoomView()">标本间端</div>
|
|
48
|
+ <div class="dropdownItem" *ngIf="pathology" (click)="toPathology()">病理科端</div>
|
|
49
|
+ <div class="dropdownItem" *ngIf="disinfectionSupplyRole" (click)="toDisinfectionSupply()">全局业务查看</div>
|
|
50
|
+ </div>
|
|
51
|
+ </div>
|
48
|
52
|
</div>
|
49
|
53
|
<div class="right">
|
50
|
|
- <button class="mr8" nz-button nzType="primary" *ngIf='PCCommutesToWork && userInfo.user && !userInfo.user.online' (click)="GoWork()">我要上班</button>
|
51
|
|
- <button class="mr8" nz-button nzType="primary" *ngIf='PCCommutesToWork && userInfo.user && userInfo.user.online' (click)="GoWork()">我要下班</button>
|
52
|
|
- <!-- <div class="msg">
|
53
|
|
- <div class="msgBtn display_flex align-items_center justify-content_flex-center" nz-popover [nzPopoverContent]="contentTemplate" nzPopoverPlacement="bottomRight">
|
54
|
|
- <i nz-icon nzType="bell" nzTheme="outline"></i>
|
55
|
|
- </div>
|
56
|
|
- <ng-template #contentTemplate>
|
57
|
|
- <div>
|
58
|
|
- <p>消息通知</p>
|
59
|
|
- </div>
|
60
|
|
- </ng-template>
|
61
|
|
- </div> -->
|
62
|
|
- <div class="userInfo">
|
63
|
|
- <div class="wel" [title]="'欢迎您,' + currentHospital.hosName + ':'">欢迎您,{{currentHospital.hosName}}:</div>
|
64
|
|
- <div class="user">
|
|
54
|
+ <div class="userInfo dropdown">
|
|
55
|
+ <div class="user" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
|
65
|
56
|
<img src="../../assets/images/icon_keshi.png" alt="">
|
66
|
|
- <span [title]="(userInfo&&userInfo.user)?userInfo.user.name:''">{{(userInfo&&userInfo.user)?userInfo.user.name:''}}</span>
|
|
57
|
+ <span><ng-container *ngIf="currentHospital.hosName">{{currentHospital.hosName}}-</ng-container>{{(userInfo&&userInfo.user)?userInfo.user.name:''}}</span>
|
|
58
|
+ <i class="icon_transport transport-xiala1 ml8"></i>
|
67
|
59
|
</div>
|
68
|
|
- <div class="logOut">
|
69
|
|
- <span (click)="hosFlag1 = true">选择院区</span>
|
70
|
|
- <span (click)="showUpPwd()">修改密码</span>
|
71
|
|
- <span (click)="logOut()">退出</span>
|
|
60
|
+ <div class="dropdown-content r8" [hidden]="!showDropdown" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
|
|
61
|
+ <div class="dropdownItem" (click)="selectHospital()">选择院区</div>
|
|
62
|
+ <div class="dropdownItem" (click)="showUpPwd()">修改密码</div>
|
|
63
|
+ <div class="dropdownItem" (click)="logOut()">退出</div>
|
72
|
64
|
</div>
|
73
|
65
|
</div>
|
74
|
66
|
</div>
|