소스 검색

Merge branch 'lmm' into develop

seimin 4 년 전
부모
커밋
fb9eb5e747

+ 3 - 0
src/app/services/tool.service.ts

@@ -87,6 +87,9 @@ export class ToolService {
87
         case "generateQRcode":
87
         case "generateQRcode":
88
           coopBtns.generateQRcode = true; //生成二维码
88
           coopBtns.generateQRcode = true; //生成二维码
89
           break;
89
           break;
90
+        case "deleted":
91
+          coopBtns.deleted = true; //已删除
92
+          break;
90
       }
93
       }
91
     });
94
     });
92
     console.log(coopBtns);
95
     console.log(coopBtns);

+ 8 - 4
src/app/share/hs-prompt-modal/hs-prompt-modal.component.html

@@ -1,13 +1,17 @@
1
 <div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="show">
1
 <div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="show">
2
   <div class="modalBody" *ngIf="changeShow">
2
   <div class="modalBody" *ngIf="changeShow">
3
-    <div class="title">当前科室<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
3
+    <div class="title">当前科室<i *ngIf="closeTimeFlag<=0||closeTimeFlag>0&&closeTime===0"
4
+        class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
4
     <div class="content">
5
     <div class="content">
5
       <div class="defeat">{{currentDept.dept}}</div>
6
       <div class="defeat">{{currentDept.dept}}</div>
6
-      <div class="countDown">关闭倒计时<em>{{closeTime}}s</em></div>
7
+      <div class="countDown" *ngIf="closeTimeFlag<0||closeTimeFlag>0&&closeTime>0"><span
8
+          *ngIf="closeTimeFlag<0">关闭</span>倒计时<em>{{closeTime}}s</em></div>
7
     </div>
9
     </div>
8
     <div class="display_flex justify-content_flex-center">
10
     <div class="display_flex justify-content_flex-center">
9
-      <button class="btn know" nz-button nzType="primary" (click)="hideModal()">知道了</button>
10
-      <button class="btn know" nz-button nzType="primary" nzGhost (click)="changeModal()">切换科室</button>
11
+      <button *ngIf="closeTimeFlag<=0||closeTimeFlag>0&&closeTime===0" class="btn know" nz-button nzType="primary"
12
+        (click)="hideModal()">知道了</button>
13
+      <button *ngIf="closeTimeFlag<=0||closeTimeFlag>0&&closeTime===0" class="btn know" nz-button nzType="primary"
14
+        nzGhost (click)="changeModal()">切换科室</button>
11
     </div>
15
     </div>
12
   </div>
16
   </div>
13
   <div class="modalBody modalBody-search" *ngIf="!changeShow">
17
   <div class="modalBody modalBody-search" *ngIf="!changeShow">

+ 1 - 0
src/app/share/hs-prompt-modal/hs-prompt-modal.component.ts

@@ -23,6 +23,7 @@ export class HsPromptModalComponent implements OnInit {
23
   @Input() show: Boolean;
23
   @Input() show: Boolean;
24
   @Input() changeShow: Boolean;
24
   @Input() changeShow: Boolean;
25
   @Input() closeTime: Number;
25
   @Input() closeTime: Number;
26
+  @Input() closeTimeFlag;
26
 
27
 
27
   @Output() closeModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
28
   @Output() closeModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
28
   @Output() clearModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
29
   @Output() clearModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件

+ 5 - 3
src/app/views/hushijiandan/hushijiandan.component.html

@@ -95,7 +95,8 @@
95
       <nz-header>
95
       <nz-header>
96
         <div class="app-header borderB display_flex justify-content_space-between align-items_center">
96
         <div class="app-header borderB display_flex justify-content_space-between align-items_center">
97
           <div class="nurseTitle display_flex justify-content_space-between align-items_center">
97
           <div class="nurseTitle display_flex justify-content_space-between align-items_center">
98
-            护士端
98
+            <span>护士端</span>
99
+            <p class="updateTipsForNurses red">{{updateTipsForNurses}}</p>
99
             <div class="nurseCode" (click)="showNurseCode()">
100
             <div class="nurseCode" (click)="showNurseCode()">
100
               <i class="nurseCodeIcon icon_transport transport-erweima"></i>二维码
101
               <i class="nurseCodeIcon icon_transport transport-erweima"></i>二维码
101
             </div>
102
             </div>
@@ -1268,8 +1269,9 @@
1268
 <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
1269
 <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
1269
   [info]="promptInfo" [back]="back" (closeModel)="closeModel($event)"></app-prompt-modal>
1270
   [info]="promptInfo" [back]="back" (closeModel)="closeModel($event)"></app-prompt-modal>
1270
 <!-- 护士端科室切换提示框 -->
1271
 <!-- 护士端科室切换提示框 -->
1271
-<app-hs-prompt-modal [changeShow]="changeShow" [closeTime]="closeTime" [show]="hsPromptModalShow"
1272
-  (closeModelHs)="closeModelHs($event)" (clearModelHs)="clearModelHs($event)"></app-hs-prompt-modal>
1272
+<app-hs-prompt-modal [changeShow]="changeShow" [closeTime]="closeTime" [closeTimeFlag]="closeTimeFlag"
1273
+  [show]="hsPromptModalShow" (closeModelHs)="closeModelHs($event)" (clearModelHs)="clearModelHs($event)">
1274
+</app-hs-prompt-modal>
1273
 <!-- 标本历史记录查看 -->
1275
 <!-- 标本历史记录查看 -->
1274
 <app-history-prompt-modal *ngIf="historyPromptModalShow" [show]="historyPromptModalShow" [scode]="scode"
1276
 <app-history-prompt-modal *ngIf="historyPromptModalShow" [show]="historyPromptModalShow" [scode]="scode"
1275
   (closeModelHs)="closeModelHistory($event)"></app-history-prompt-modal>
1277
   (closeModelHs)="closeModelHistory($event)"></app-history-prompt-modal>

+ 8 - 2
src/app/views/hushijiandan/hushijiandan.component.less

@@ -14,9 +14,9 @@
14
       border: 1px solid red !important;
14
       border: 1px solid red !important;
15
     }
15
     }
16
   }
16
   }
17
-  .pos{
17
+  .pos {
18
     position: relative;
18
     position: relative;
19
-    .pos-item{
19
+    .pos-item {
20
       position: absolute;
20
       position: absolute;
21
       left: 100px;
21
       left: 100px;
22
       top: -10px;
22
       top: -10px;
@@ -665,6 +665,12 @@
665
           font-size: 22px;
665
           font-size: 22px;
666
           color: #333;
666
           color: #333;
667
           flex: 1;
667
           flex: 1;
668
+          .updateTipsForNurses {
669
+            margin: 0;
670
+            width: 50%;
671
+            line-height: normal;
672
+            font-size: 14px;
673
+          }
668
           .nurseCode {
674
           .nurseCode {
669
             width: 80px;
675
             width: 80px;
670
             font-size: 14px;
676
             font-size: 14px;

+ 51 - 5
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -122,6 +122,7 @@ export class HushijiandanComponent implements OnInit {
122
   }
122
   }
123
   // 关闭倒计时
123
   // 关闭倒计时
124
   closeTime = 3;
124
   closeTime = 3;
125
+  closeTimeFlag;
125
   timerCloseTime = null;
126
   timerCloseTime = null;
126
   changeShow = true;
127
   changeShow = true;
127
   currentHospital; //当前院区
128
   currentHospital; //当前院区
@@ -130,6 +131,8 @@ export class HushijiandanComponent implements OnInit {
130
   logTime = 0; //综合日志自动刷新秒数
131
   logTime = 0; //综合日志自动刷新秒数
131
   logTimeConst = 30; //综合日志自动刷新秒数
132
   logTimeConst = 30; //综合日志自动刷新秒数
132
   ngOnInit() {
133
   ngOnInit() {
134
+    this.getUpdateTipsForNurses();
135
+    this.getCloseTimeFlag();
133
     this.currentUser = this.tool.getCurrentUserDept();
136
     this.currentUser = this.tool.getCurrentUserDept();
134
     console.log(this.currentUser, this.tabSearchCont);
137
     console.log(this.currentUser, this.tabSearchCont);
135
     //防抖
138
     //防抖
@@ -140,7 +143,7 @@ export class HushijiandanComponent implements OnInit {
140
       this.getDeptTaskType(v);
143
       this.getDeptTaskType(v);
141
     });
144
     });
142
     this.currentHospital = this.tool.getCurrentHospital();
145
     this.currentHospital = this.tool.getCurrentHospital();
143
-    this.changeKs();
146
+
144
     this.initLogin();
147
     this.initLogin();
145
     this.getDeptTaskType();
148
     this.getDeptTaskType();
146
     this.initForm();
149
     this.initForm();
@@ -210,6 +213,41 @@ export class HushijiandanComponent implements OnInit {
210
     this.remarksEle.nativeElement.focus();
213
     this.remarksEle.nativeElement.focus();
211
     this.workOrderRemark += item;
214
     this.workOrderRemark += item;
212
   }
215
   }
216
+  // 获取护士端更新提示
217
+  updateTipsForNurses = '';
218
+  getUpdateTipsForNurses(){
219
+    let postData = {
220
+      idx: 0,
221
+      sum: 1,
222
+      systemConfiguration: { keyconfig: "updateTipsForNurses" },
223
+    };
224
+    this.mainService
225
+      .getFetchDataList("simple/data", "systemConfiguration", postData)
226
+      .subscribe((result) => {
227
+        if (result.status == 200) {
228
+          this.updateTipsForNurses = result.list[0].valueconfig;
229
+        }
230
+      });
231
+  }
232
+  // 获取护士端弹窗的配置
233
+  // (1)	当用户设置为正数时,用户必须查看此窗体指定秒数。
234
+  // (2)	当用户设置为负数时,用户可点击知道了也可倒计时自动关闭。
235
+  // (3)	如果用户填写0则为无自动关闭和强制查看时间。
236
+  getCloseTimeFlag() {
237
+    let postData = {
238
+      idx: 0,
239
+      sum: 1,
240
+      systemConfiguration: { keyconfig: "nurseDeptSwitchTip" },
241
+    };
242
+    this.mainService
243
+      .getFetchDataList("simple/data", "systemConfiguration", postData)
244
+      .subscribe((result) => {
245
+        if (result.status == 200) {
246
+          this.closeTimeFlag = result.list[0].valueconfig - 0;
247
+          this.changeKs();
248
+        }
249
+      });
250
+  }
213
   //获取综合日志
251
   //获取综合日志
214
   rLoading = false;
252
   rLoading = false;
215
   listDeptOrderRecords: any = [];
253
   listDeptOrderRecords: any = [];
@@ -349,12 +387,20 @@ export class HushijiandanComponent implements OnInit {
349
   // 切换科室
387
   // 切换科室
350
   changeKs() {
388
   changeKs() {
351
     this.hsPromptModalShow = true;
389
     this.hsPromptModalShow = true;
352
-    this.closeTime = 3;
390
+    // (1)	当用户设置为正数时,用户必须查看此窗体指定秒数。
391
+    // (2)	当用户设置为负数时,用户可点击知道了也可倒计时自动关闭。
392
+    // (3)	如果用户填写0则为无自动关闭和强制查看时间。
393
+    if (this.closeTimeFlag === 0) {
394
+      return;
395
+    }
396
+    this.closeTime = Math.abs(this.closeTimeFlag);
353
     clearInterval(this.timerCloseTime);
397
     clearInterval(this.timerCloseTime);
354
     this.timerCloseTime = setInterval(() => {
398
     this.timerCloseTime = setInterval(() => {
355
-      this.closeTime = Math.max(--this.closeTime, -1);
356
-      if (this.closeTime === -1) {
357
-        this.hsPromptModalShow = false;
399
+      this.closeTime = Math.max(--this.closeTime, 0);
400
+      if (this.closeTime === 0) {
401
+        if (this.closeTimeFlag <= 0) {
402
+          this.hsPromptModalShow = false;
403
+        }
358
         clearInterval(this.timerCloseTime);
404
         clearInterval(this.timerCloseTime);
359
       }
405
       }
360
     }, 1000);
406
     }, 1000);

+ 2 - 2
src/app/views/login/login.component.html

@@ -41,8 +41,8 @@
41
     <div class="bottom">
41
     <div class="bottom">
42
       <span>@大势科技.[京ICO:143]</span>
42
       <span>@大势科技.[京ICO:143]</span>
43
       <strong>点击下载谷歌浏览器👉</strong>
43
       <strong>点击下载谷歌浏览器👉</strong>
44
-      <a href="http://192.168.220.84/chrome64/ChromeSetup32.exe">win32</a>
45
-      <a href="http://192.168.220.84/chrome64/ChromeSetup64.exe">win64</a>
44
+      <a [href]="http.domain+'/chrome64/ChromeSetup32.exe'">win32</a>
45
+      <a [href]="http.domain+'/chrome64/ChromeSetup64.exe'">win64</a>
46
     </div>
46
     </div>
47
   </div>
47
   </div>
48
 </div>
48
 </div>

+ 3 - 0
src/app/views/login/login.component.ts

@@ -4,6 +4,7 @@ import { FormBuilder, Validators, FormGroup } from "@angular/forms";
4
 import { NzMessageService } from "ng-zorro-antd/message";
4
 import { NzMessageService } from "ng-zorro-antd/message";
5
 
5
 
6
 import { MainService } from "../../services/main.service";
6
 import { MainService } from "../../services/main.service";
7
+import http from "../../../assets/js/http";
7
 import { AES, mode, pad, enc } from "crypto-js";
8
 import { AES, mode, pad, enc } from "crypto-js";
8
 
9
 
9
 @Component({
10
 @Component({
@@ -12,6 +13,7 @@ import { AES, mode, pad, enc } from "crypto-js";
12
   styleUrls: ["./login.component.less"],
13
   styleUrls: ["./login.component.less"],
13
 })
14
 })
14
 export class LoginComponent implements OnInit {
15
 export class LoginComponent implements OnInit {
16
+  http;
15
   validateForm: FormGroup;
17
   validateForm: FormGroup;
16
   loading: boolean = false;
18
   loading: boolean = false;
17
   // 是否单点登录
19
   // 是否单点登录
@@ -23,6 +25,7 @@ export class LoginComponent implements OnInit {
23
     private msg: NzMessageService
25
     private msg: NzMessageService
24
   ) {}
26
   ) {}
25
   ngOnInit() {
27
   ngOnInit() {
28
+    this.http = http;
26
     let url = location.href;
29
     let url = location.href;
27
     this.isSingleSignOn = url.includes("?");
30
     this.isSingleSignOn = url.includes("?");
28
     if (this.isSingleSignOn) {
31
     if (this.isSingleSignOn) {

+ 3 - 3
src/app/views/order-management/order-management.component.html

@@ -71,8 +71,8 @@
71
         </div>
71
         </div>
72
       </div>
72
       </div>
73
       <div nz-col nzXl='7' class="list-template__btns">
73
       <div nz-col nzXl='7' class="list-template__btns">
74
-        <button nz-button class="btn default" *ngIf="coopBtns.del" [disabled]="!checkedDepIds.length"
75
-          (click)='showDelModals($event)'>批量删除</button>
74
+        <button nz-button class="btn default" *ngIf="coopBtns.del"
75
+          [disabled]="!checkedDepIds.length||(checkOptionsOne[3]?.checked)" (click)='showDelModals($event)'>批量删除</button>
76
         <button nz-button class="btn default ml8" (click)='search()'>搜索</button>
76
         <button nz-button class="btn default ml8" (click)='search()'>搜索</button>
77
         <button nz-button *ngIf="coopBtns.export" class="btn default ml8" (click)='export()'
77
         <button nz-button *ngIf="coopBtns.export" class="btn default ml8" (click)='export()'
78
           [nzLoading]="loading2">导出</button>
78
           [nzLoading]="loading2">导出</button>
@@ -121,7 +121,7 @@
121
             <td>
121
             <td>
122
               <div class="coop">
122
               <div class="coop">
123
                 <span *ngIf="coopBtns.look" (click)="detail($event,data.id)">查看</span>
123
                 <span *ngIf="coopBtns.look" (click)="detail($event,data.id)">查看</span>
124
-                <span *ngIf="coopBtns.del&&data.gdState.value!=6&&data.gdState.value!=7"
124
+                <span *ngIf="coopBtns.del&&data.gdState.value!=6&&data.gdState.value!=7&&!(checkOptionsOne[3]?.checked)"
125
                   (click)="showDelModal($event,data.id)">删除</span>
125
                   (click)="showDelModal($event,data.id)">删除</span>
126
               </div>
126
               </div>
127
             </td>
127
             </td>

+ 15 - 0
src/app/views/order-management/order-management.component.ts

@@ -25,6 +25,14 @@ export class OrderManagementComponent implements OnInit {
25
     });
25
     });
26
     this.initOrderType();
26
     this.initOrderType();
27
     this.coopBtns = this.tool.initCoopBtns(this.route);
27
     this.coopBtns = this.tool.initCoopBtns(this.route);
28
+    if (this.coopBtns.deleted) {
29
+      //是否显示已删除
30
+      this.checkOptionsOne.push({
31
+        label: "已删除",
32
+        value: "3",
33
+        checked: false,
34
+      });
35
+    }
28
     this.getAllHos();
36
     this.getAllHos();
29
     this.getGdStates();
37
     this.getGdStates();
30
   }
38
   }
@@ -190,6 +198,13 @@ export class OrderManagementComponent implements OnInit {
190
         timeOut: that.checkOptionsOne[0].checked ? 1 : 0,
198
         timeOut: that.checkOptionsOne[0].checked ? 1 : 0,
191
       },
199
       },
192
     };
200
     };
201
+    if (that.checkOptionsOne[3]) {
202
+      if (that.checkOptionsOne[3].checked) {
203
+        data.workOrder.deleteFlag = 1;
204
+      } else {
205
+        delete data.workOrder.deleteFlag;
206
+      }
207
+    }
193
     if (that.association) {
208
     if (that.association) {
194
       data.workOrder.taskType = {
209
       data.workOrder.taskType = {
195
         associationType: { id: that.association },
210
         associationType: { id: that.association },

+ 17 - 2
src/app/views/sys-config/sys-config.component.html

@@ -62,9 +62,9 @@
62
           </nz-form-control>
62
           </nz-form-control>
63
         </nz-form-item>
63
         </nz-form-item>
64
         <nz-form-item class="formItem">
64
         <nz-form-item class="formItem">
65
-          <nz-form-label [nzSpan]="11" nzFor="deptQRCode" nzRequired class="label">是否开通科室二维码设置
65
+          <nz-form-label [nzSpan]="10" nzFor="deptQRCode" nzRequired class="label">是否开通科室二维码设置
66
           </nz-form-label>
66
           </nz-form-label>
67
-          <nz-form-control [nzSpan]="13" nzErrorTip="是否开通科室二维码设置是必填项!">
67
+          <nz-form-control [nzSpan]="14" nzErrorTip="是否开通科室二维码设置是必填项!">
68
             <nz-radio-group formControlName="deptQRCode">
68
             <nz-radio-group formControlName="deptQRCode">
69
               <label nz-radio nzValue="1">是</label>
69
               <label nz-radio nzValue="1">是</label>
70
               <label nz-radio nzValue="0">否</label>
70
               <label nz-radio nzValue="0">否</label>
@@ -92,6 +92,21 @@
92
             </nz-select>
92
             </nz-select>
93
           </nz-form-control>
93
           </nz-form-control>
94
         </nz-form-item>
94
         </nz-form-item>
95
+        <nz-form-item class="formItem">
96
+          <nz-form-label [nzSpan]="13" nzFor="nurseDeptSwitchTip" nzRequired class="label">护士科室切换提示自动关闭设置
97
+          </nz-form-label>
98
+          <nz-form-control [nzSpan]="11" nzErrorTip="护士科室切换提示自动关闭设置是必填项!">
99
+            <nz-input-number class="w100" formControlName="nurseDeptSwitchTip" [nzStep]="1"></nz-input-number>
100
+          </nz-form-control>
101
+        </nz-form-item>
102
+        <nz-form-item class="formItem">
103
+          <nz-form-label [nzSpan]="7" nzFor="updateTipsForNurses" class="label">护士端更新提示
104
+          </nz-form-label>
105
+          <nz-form-control [nzSpan]="17" nzErrorTip="护士端更新提示是必填项!">
106
+            <textarea nz-input placeholder="最多50个字" formControlName="updateTipsForNurses"
107
+              [nzAutosize]="{ minRows: 3, maxRows: 3 }" maxlength="50"></textarea>
108
+          </nz-form-control>
109
+        </nz-form-item>
95
       </div>
110
       </div>
96
     </form>
111
     </form>
97
   </div>
112
   </div>

+ 14 - 0
src/app/views/sys-config/sys-config.component.ts

@@ -37,6 +37,8 @@ export class SysConfigComponent implements OnInit {
37
       orderClearUserSwitch: [null, [Validators.required]],
37
       orderClearUserSwitch: [null, [Validators.required]],
38
       deptQRCode: [null, [Validators.required]],
38
       deptQRCode: [null, [Validators.required]],
39
       workOrderSettings: [5, [Validators.required]],
39
       workOrderSettings: [5, [Validators.required]],
40
+      nurseDeptSwitchTip: [0, [Validators.required]],
41
+      updateTipsForNurses: [""],
40
       defaultRoleOfNurse: [null, [Validators.required]],
42
       defaultRoleOfNurse: [null, [Validators.required]],
41
       formUrl: [{ value: null, disabled: true }, [Validators.required]],
43
       formUrl: [{ value: null, disabled: true }, [Validators.required]],
42
       serviceUrl: [{ value: null, disabled: true }, [Validators.required]],
44
       serviceUrl: [{ value: null, disabled: true }, [Validators.required]],
@@ -94,6 +96,8 @@ export class SysConfigComponent implements OnInit {
94
         item.keyconfig === "orderClearUserSwitch" ||
96
         item.keyconfig === "orderClearUserSwitch" ||
95
         item.keyconfig === "deptQRCode" ||
97
         item.keyconfig === "deptQRCode" ||
96
         item.keyconfig === "workOrderSettings" ||
98
         item.keyconfig === "workOrderSettings" ||
99
+        item.keyconfig === "nurseDeptSwitchTip" ||
100
+        item.keyconfig === "updateTipsForNurses" ||
97
         item.keyconfig === "defaultRoleOfNurse" ||
101
         item.keyconfig === "defaultRoleOfNurse" ||
98
         item.keyconfig === "busiViewDeptId"
102
         item.keyconfig === "busiViewDeptId"
99
     );
103
     );
@@ -109,6 +113,10 @@ export class SysConfigComponent implements OnInit {
109
         item.valueconfig = this.validateForm.controls.deptQRCode.value;
113
         item.valueconfig = this.validateForm.controls.deptQRCode.value;
110
       } else if (item.keyconfig === "workOrderSettings") {
114
       } else if (item.keyconfig === "workOrderSettings") {
111
         item.valueconfig = this.validateForm.controls.workOrderSettings.value;
115
         item.valueconfig = this.validateForm.controls.workOrderSettings.value;
116
+      } else if (item.keyconfig === "nurseDeptSwitchTip") {
117
+        item.valueconfig = this.validateForm.controls.nurseDeptSwitchTip.value;
118
+      } else if (item.keyconfig === "updateTipsForNurses") {
119
+        item.valueconfig = this.validateForm.controls.updateTipsForNurses.value;
112
       } else if (item.keyconfig === "defaultRoleOfNurse") {
120
       } else if (item.keyconfig === "defaultRoleOfNurse") {
113
         item.valueconfig = this.validateForm.controls.defaultRoleOfNurse.value;
121
         item.valueconfig = this.validateForm.controls.defaultRoleOfNurse.value;
114
       } else if (item.keyconfig === "busiViewDeptId") {
122
       } else if (item.keyconfig === "busiViewDeptId") {
@@ -176,6 +184,12 @@ export class SysConfigComponent implements OnInit {
176
                 case "workOrderSettings":
184
                 case "workOrderSettings":
177
                   this.validateForm.controls.workOrderSettings.setValue(c[1]);
185
                   this.validateForm.controls.workOrderSettings.setValue(c[1]);
178
                   break;
186
                   break;
187
+                case "nurseDeptSwitchTip":
188
+                  this.validateForm.controls.nurseDeptSwitchTip.setValue(c[1]);
189
+                  break;
190
+                case "updateTipsForNurses":
191
+                  this.validateForm.controls.updateTipsForNurses.setValue(c[1]);
192
+                  break;
179
                 case "defaultRoleOfNurse":
193
                 case "defaultRoleOfNurse":
180
                   this.validateForm.controls.defaultRoleOfNurse.setValue(
194
                   this.validateForm.controls.defaultRoleOfNurse.setValue(
181
                     c[1] - 0
195
                     c[1] - 0

+ 1 - 0
src/assets/js/http.js

@@ -3,6 +3,7 @@ var port = location.port;//端口
3
 var protocolName = document.location.protocol;//http协议
3
 var protocolName = document.location.protocol;//http协议
4
 var wsName = protocolName === 'http:' ? 'ws' : 'wss';//ws协议
4
 var wsName = protocolName === 'http:' ? 'ws' : 'wss';//ws协议
5
 module.exports = {
5
 module.exports = {
6
+  domain: protocolName + '//' + domainName + ':' + port,//chrome下载
6
   host: protocolName + '//' + domainName + ':' + port + '/service',//测试接口
7
   host: protocolName + '//' + domainName + ':' + port + '/service',//测试接口
7
   specimenViewHost: protocolName + '//' + domainName + ':' + port + '/specimenView',//业务视图
8
   specimenViewHost: protocolName + '//' + domainName + ':' + port + '/specimenView',//业务视图
8
   bigScreenHost: protocolName + '//' + domainName + ':' + port + '/largeScreen',//大屏地址
9
   bigScreenHost: protocolName + '//' + domainName + ':' + port + '/largeScreen',//大屏地址