Browse Source

增加文字说明

seimin 3 years ago
parent
commit
197beeeaa9

+ 34 - 124
src/app/share/hs-prompt-modal/hs-prompt-modal.component.html

@@ -1,115 +1,59 @@
1
-<div
2
-  class="modal display_flex justify-content_flex-center align-items_center"
3
-  *ngIf="show"
4
->
1
+<div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="show">
5
   <div class="modalBody" *ngIf="changeShow">
2
   <div class="modalBody" *ngIf="changeShow">
6
     <div class="title">
3
     <div class="title">
7
-      当前科室<i
8
-        *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)"
9
-        class="icon_transport transport-guanbi"
10
-        (click)="hideModal()"
11
-      ></i>
4
+      当前科室<i *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)"
5
+        class="icon_transport transport-guanbi" (click)="hideModal()"></i>
12
     </div>
6
     </div>
13
     <div class="content">
7
     <div class="content">
8
+      <div class="tips">请您确认<strong class="red">当前科室</strong>,是否为您所在科室,如不是可点击<strong class="red">切换科室</strong>更换科室。
9
+      </div>
14
       <div class="defeat">
10
       <div class="defeat">
15
         <span *ngIf="!deptDisplayLoading">{{
11
         <span *ngIf="!deptDisplayLoading">{{
16
           deptDisplay == 2 ? currentDept.deptalias : currentDept.dept
12
           deptDisplay == 2 ? currentDept.deptalias : currentDept.dept
17
-        }}</span>
18
-        <img
19
-          *ngIf="deptDisplayLoading"
20
-          src="../../../assets/images/loading.gif"
21
-          alt=""
22
-        />
13
+          }}</span>
14
+        <img *ngIf="deptDisplayLoading" src="../../../assets/images/loading.gif" alt="" />
23
       </div>
15
       </div>
24
-      <div
25
-        class="countDown"
26
-        *ngIf="closeTimeFlag < 0 || (closeTimeFlag > 0 && closeTime > 0)"
27
-      >
28
-        <span *ngIf="closeTimeFlag < 0">关闭</span>倒计时<em
29
-          >{{ closeTime }}s</em
30
-        >
16
+      <div class="countDown" *ngIf="closeTimeFlag < 0 || (closeTimeFlag > 0 && closeTime > 0)">
17
+        <span *ngIf="closeTimeFlag < 0">关闭</span>倒计时<em>{{ closeTime }}s</em>
31
       </div>
18
       </div>
32
     </div>
19
     </div>
33
     <div class="display_flex justify-content_flex-center">
20
     <div class="display_flex justify-content_flex-center">
34
-      <button
35
-        *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)"
36
-        class="btn know"
37
-        nz-button
38
-        nzType="primary"
39
-        (click)="hideModal()"
40
-      >
21
+      <button *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)" class="btn know" nz-button
22
+        nzType="primary" (click)="hideModal()">
41
         知道了
23
         知道了
42
       </button>
24
       </button>
43
-      <button
44
-        *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)"
45
-        class="btn know"
46
-        nz-button
47
-        nzType="primary"
48
-        nzGhost
49
-        (click)="changeModal()"
50
-      >
25
+      <button *ngIf="closeTimeFlag <= 0 || (closeTimeFlag > 0 && closeTime === 0)" class="btn know" nz-button
26
+        nzType="primary" nzGhost (click)="changeModal()">
51
         切换科室
27
         切换科室
52
       </button>
28
       </button>
53
     </div>
29
     </div>
54
   </div>
30
   </div>
55
   <div class="modalBody modalBody-search" *ngIf="!changeShow">
31
   <div class="modalBody modalBody-search" *ngIf="!changeShow">
56
     <div class="title">
32
     <div class="title">
57
-      搜索当前科室<i
58
-        class="icon_transport transport-guanbi"
59
-        (click)="hideModal()"
60
-      ></i>
33
+      搜索当前科室<i class="icon_transport transport-guanbi" (click)="hideModal()"></i>
61
     </div>
34
     </div>
62
     <div class="content content-search">
35
     <div class="content content-search">
63
-      <div
64
-        class="
36
+      <div class="
65
           defeat-search
37
           defeat-search
66
           display_flex
38
           display_flex
67
           justify-content_flex-center
39
           justify-content_flex-center
68
           flex-direction_column
40
           flex-direction_column
69
-        "
70
-      >
71
-        <span
72
-          >当前院区:<em>{{ currentHospital.hosName }}</em></span
73
-        >
74
-        <span
75
-          >当前科室:<em *ngIf="!deptDisplayLoading">{{
41
+        ">
42
+        <span>当前院区:<em>{{ currentHospital.hosName }}</em></span>
43
+        <span>当前科室:<em *ngIf="!deptDisplayLoading">{{
76
             deptDisplay == 2 ? currentDept.deptalias : currentDept.dept
44
             deptDisplay == 2 ? currentDept.deptalias : currentDept.dept
77
-          }}</em
78
-          ><img
79
-            *ngIf="deptDisplayLoading"
80
-            src="../../../assets/images/loading.gif"
81
-            alt=""
82
-        /></span>
45
+            }}</em><img *ngIf="deptDisplayLoading" src="../../../assets/images/loading.gif" alt="" /></span>
83
       </div>
46
       </div>
84
       <div class="form">
47
       <div class="form">
85
         <form nz-form [formGroup]="validateForm">
48
         <form nz-form [formGroup]="validateForm">
86
           <nz-form-item style="margin-bottom: 0">
49
           <nz-form-item style="margin-bottom: 0">
87
-            <nz-form-label
88
-              class="label"
89
-              [nzSm]="24"
90
-              [nzXs]="24"
91
-              nzRequired
92
-              nzFor="hospital"
93
-              >搜索院区
50
+            <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="hospital">搜索院区
94
             </nz-form-label>
51
             </nz-form-label>
95
-            <nz-form-control
96
-              class="control"
97
-              [nzSm]="24"
98
-              [nzXs]="24"
99
-              nzErrorTip="请选择院区!"
100
-            >
101
-              <nz-select
102
-                formControlName="hospital"
103
-                [nzDropdownMatchSelectWidth]="false"
104
-                (ngModelChange)="searchHospital($event)"
105
-                nzPlaceHolder="请选择院区"
106
-              >
52
+            <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择院区!">
53
+              <nz-select formControlName="hospital" [nzDropdownMatchSelectWidth]="false"
54
+                (ngModelChange)="searchHospital($event)" nzPlaceHolder="请选择院区">
107
                 <ng-container *ngFor="let option of hospitals">
55
                 <ng-container *ngFor="let option of hospitals">
108
-                  <nz-option
109
-                    *ngIf="!isLoading"
110
-                    [nzLabel]="option.hosName"
111
-                    [nzValue]="option.id"
112
-                  ></nz-option>
56
+                  <nz-option *ngIf="!isLoading" [nzLabel]="option.hosName" [nzValue]="option.id"></nz-option>
113
                 </ng-container>
57
                 </ng-container>
114
                 <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
58
                 <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
115
                   <i nz-icon nzType="loading" class="loading-icon"></i>
59
                   <i nz-icon nzType="loading" class="loading-icon"></i>
@@ -119,40 +63,18 @@
119
             </nz-form-control>
63
             </nz-form-control>
120
           </nz-form-item>
64
           </nz-form-item>
121
           <nz-form-item>
65
           <nz-form-item>
122
-            <nz-form-label
123
-              class="label"
124
-              [nzSm]="24"
125
-              [nzXs]="24"
126
-              nzRequired
127
-              nzFor="dutyDeptFc"
128
-              >搜索当值科室<span class="red ml8"
129
-                >(可通过拼音首字母检索科室)</span
130
-              >
66
+            <nz-form-label class="label" [nzSm]="24" [nzXs]="24" nzRequired nzFor="dutyDeptFc">搜索当值科室<span
67
+                class="red ml8">(可通过拼音首字母检索科室)</span>
131
             </nz-form-label>
68
             </nz-form-label>
132
-            <nz-form-control
133
-              class="control"
134
-              [nzSm]="24"
135
-              [nzXs]="24"
136
-              nzErrorTip="请选择当值科室!"
137
-            >
138
-              <nz-select
139
-                formControlName="dutyDeptFc"
140
-                [nzDropdownMatchSelectWidth]="false"
141
-                nzServerSearch
142
-                nzShowSearch
69
+            <nz-form-control class="control" [nzSm]="24" [nzXs]="24" nzErrorTip="请选择当值科室!">
70
+              <nz-select formControlName="dutyDeptFc" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch
143
                 (nzOnSearch)="
71
                 (nzOnSearch)="
144
                   searchDept(validateForm.controls.hospital.value, $event)
72
                   searchDept(validateForm.controls.hospital.value, $event)
145
-                "
146
-                nzPlaceHolder="请选择当值科室"
147
-              >
73
+                " nzPlaceHolder="请选择当值科室">
148
                 <ng-container *ngFor="let option of dutyDepts">
74
                 <ng-container *ngFor="let option of dutyDepts">
149
-                  <nz-option
150
-                    *ngIf="!isLoading"
151
-                    [nzLabel]="
75
+                  <nz-option *ngIf="!isLoading" [nzLabel]="
152
                       deptDisplay == 2 ? option.deptalias : option.dept
76
                       deptDisplay == 2 ? option.deptalias : option.dept
153
-                    "
154
-                    [nzValue]="option.id"
155
-                  ></nz-option>
77
+                    " [nzValue]="option.id"></nz-option>
156
                 </ng-container>
78
                 </ng-container>
157
                 <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
79
                 <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
158
                   <i nz-icon nzType="loading" class="loading-icon"></i>
80
                   <i nz-icon nzType="loading" class="loading-icon"></i>
@@ -168,26 +90,14 @@
168
       <button class="btn know" nz-button nzType="primary" (click)="ok()">
90
       <button class="btn know" nz-button nzType="primary" (click)="ok()">
169
         确定
91
         确定
170
       </button>
92
       </button>
171
-      <button
172
-        class="btn know"
173
-        nz-button
174
-        nzType="primary"
175
-        nzGhost
176
-        (click)="hideModal()"
177
-      >
93
+      <button class="btn know" nz-button nzType="primary" nzGhost (click)="hideModal()">
178
         取消
94
         取消
179
       </button>
95
       </button>
180
     </div>
96
     </div>
181
   </div>
97
   </div>
182
 </div>
98
 </div>
183
 <!-- 操作成功/失败提示框 -->
99
 <!-- 操作成功/失败提示框 -->
184
-<app-prompt-modal
185
-  *ngIf="promptModalShow"
186
-  [content]="promptContent"
187
-  [success]="ifSuccess"
188
-  [show]="promptModalShow"
189
-  [info]="promptInfo"
190
-  [isReLoad]="true"
191
-></app-prompt-modal>
100
+<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
101
+  [info]="promptInfo" [isReLoad]="true"></app-prompt-modal>
192
 <!-- 遮罩 -->
102
 <!-- 遮罩 -->
193
 <app-mask *ngIf="maskFlag"></app-mask>
103
 <app-mask *ngIf="maskFlag"></app-mask>

+ 14 - 2
src/app/share/hs-prompt-modal/hs-prompt-modal.component.less

@@ -1,4 +1,5 @@
1
 @import "../../../../src/theme.less";
1
 @import "../../../../src/theme.less";
2
+
2
 .modal {
3
 .modal {
3
   position: fixed;
4
   position: fixed;
4
   left: 0;
5
   left: 0;
@@ -15,6 +16,7 @@
15
     border-radius: 5px;
16
     border-radius: 5px;
16
     padding: 10px 20px;
17
     padding: 10px 20px;
17
     color: #333;
18
     color: #333;
19
+
18
     &.modalBody-search {
20
     &.modalBody-search {
19
       width: 480px;
21
       width: 480px;
20
       min-height: 250px;
22
       min-height: 250px;
@@ -38,7 +40,8 @@
38
     }
40
     }
39
 
41
 
40
     .content {
42
     .content {
41
-      min-height: 117px;
43
+      padding: 16px;
44
+      min-height: 150px;
42
       background: #f9fafb;
45
       background: #f9fafb;
43
       border: 1px solid #e5e9ed;
46
       border: 1px solid #e5e9ed;
44
       border-radius: 5px;
47
       border-radius: 5px;
@@ -46,11 +49,14 @@
46
       margin-top: 12px;
49
       margin-top: 12px;
47
       display: flex;
50
       display: flex;
48
       flex-direction: column;
51
       flex-direction: column;
49
-      justify-content: center;
52
+      justify-content: space-around;
50
       align-items: center;
53
       align-items: center;
54
+
51
       &.content-search {
55
       &.content-search {
56
+        padding: 0;
52
         min-height: 147px;
57
         min-height: 147px;
53
         justify-content: start;
58
         justify-content: start;
59
+
54
         .defeat-search {
60
         .defeat-search {
55
           width: 100%;
61
           width: 100%;
56
           height: 52px;
62
           height: 52px;
@@ -58,14 +64,17 @@
58
           justify-content: center;
64
           justify-content: center;
59
           align-items: center;
65
           align-items: center;
60
           border-bottom: solid 1px #e5e9ed;
66
           border-bottom: solid 1px #e5e9ed;
67
+
61
           em {
68
           em {
62
             color: #666;
69
             color: #666;
63
             font-style: normal;
70
             font-style: normal;
64
           }
71
           }
65
         }
72
         }
73
+
66
         .form {
74
         .form {
67
           width: 100%;
75
           width: 100%;
68
           padding: 0 16px;
76
           padding: 0 16px;
77
+
69
           .ant-form-item-label,
78
           .ant-form-item-label,
70
           .ant-form-explain {
79
           .ant-form-explain {
71
             text-align: left !important;
80
             text-align: left !important;
@@ -79,10 +88,13 @@
79
         &.defeat {
88
         &.defeat {
80
           color: #333;
89
           color: #333;
81
           font-size: 28px;
90
           font-size: 28px;
91
+          text-align: justify;
82
         }
92
         }
93
+
83
         &.countDown {
94
         &.countDown {
84
           font-size: 14px;
95
           font-size: 14px;
85
           color: 666;
96
           color: 666;
97
+
86
           em {
98
           em {
87
             font-style: normal;
99
             font-style: normal;
88
             color: @primary-color;
100
             color: @primary-color;

+ 1 - 0
src/app/views/task-type-management/task-type-management.component.html

@@ -695,6 +695,7 @@
695
           </div>
695
           </div>
696
           <div *ngIf="depaShow3">
696
           <div *ngIf="depaShow3">
697
             <!-- 标本配送才有自动建单,重要! -->
697
             <!-- 标本配送才有自动建单,重要! -->
698
+            <div class="red">自动建单需配置检验科室的工作时间;任务类型的开通科室;关联班次的时间区间;配置是否急标;配置标本类型;</div>
698
             <nz-form-label class="label">自动建单</nz-form-label>
699
             <nz-form-label class="label">自动建单</nz-form-label>
699
             <div class="item_type_cont">
700
             <div class="item_type_cont">
700
               <div>
701
               <div>