Browse Source

白求恩优化

seimin 2 months ago
parent
commit
45adf7a172
20 changed files with 789 additions and 26 deletions
  1. 8 3
      src/app/components/configurationCenter/configuration-drug/configuration-drug.component.html
  2. 12 5
      src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts
  3. 126 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.html
  4. 303 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.less
  5. 256 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.ts
  6. 20 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.module.ts
  7. 4 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.html
  8. 3 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.ts
  9. 23 0
      src/app/components/configurationCenter/configuration-specimen/configuration-specimen.module.ts
  10. 1 1
      src/app/share/dialog-delete/dialog-delete.component.html
  11. 3 2
      src/app/share/dialog-delete/dialog-delete.component.ts
  12. 4 4
      src/app/views/hushijiandan/hushijiandan.component.html
  13. 4 2
      src/app/views/hushijiandan/hushijiandan.component.ts
  14. 3 1
      src/app/views/inspect-info-config/inspect-info-config.component.html
  15. 1 1
      src/app/views/inspect-search/inspect-search.component.html
  16. 2 2
      src/app/views/page-config/page-config.module.ts
  17. 4 4
      src/app/views/patient-search/patient-search.component.html
  18. 1 1
      src/app/views/patient-search/patient-search.component.ts
  19. 7 0
      src/app/views/task-type-management/task-type-management.component.html
  20. 4 0
      src/app/views/task-type-management/task-type-management.component.ts

+ 8 - 3
src/app/components/configurationCenter/configuration-drug/configuration-drug.component.html

@@ -38,13 +38,13 @@
38 38
                     <nz-form-label class="label">支持接单并签到</nz-form-label>
39 39
                     <nz-checkbox-group [(ngModel)]="item.postData.drugsReceiveSign"></nz-checkbox-group>
40 40
                   </div>
41
-									
41
+
42 42
 									<!-- 收药是否验证发药科室 -->
43 43
 									<div class="display_flex align-items_center mb8">
44 44
 									  <nz-form-label class="label">收药是否验证发药科室</nz-form-label>
45 45
 									  <nz-checkbox-group [(ngModel)]="item.postData.drugsVerifyPharmacy"></nz-checkbox-group>
46 46
 									</div>
47
-									
47
+
48 48
 									<!-- 终点清点方式 -->
49 49
 									<div class="display_flex align-items_center mb8" *ngIf="item.postData.drugsModel==2">
50 50
 									  <nz-form-label class="label" nzRequired>终点清点方式</nz-form-label>
@@ -52,7 +52,7 @@
52 52
 									    <label nz-radio [nzValue]="item.value" *ngFor="let item of endClearingList">{{ item.label }}</label>
53 53
 									  </nz-radio-group>
54 54
 									</div>
55
-									
55
+
56 56
                   <!-- 起点科室支持核对 -->
57 57
                   <div class="display_flex align-items_center mb8">
58 58
                     <nz-form-label class="label">起点科室支持核对</nz-form-label>
@@ -122,6 +122,11 @@
122 122
 									  <nz-form-label class="label">待送达合并工单</nz-form-label>
123 123
 									  <nz-checkbox-group [(ngModel)]="item.postData.sendingMergeOrder"></nz-checkbox-group>
124 124
 									</div>
125
+                  <!-- 交接后,剩余药包是否建单 -->
126
+									<div class="display_flex align-items_center mb8">
127
+									  <nz-form-label class="label">交接后,剩余药包是否建单</nz-form-label>
128
+									  <nz-checkbox-group [(ngModel)]="item.postData.drugsResidueCreateOrder"></nz-checkbox-group>
129
+									</div>
125 130
                 </div>
126 131
                 <!-- 自动建单配置 -->
127 132
                 <div *ngIf="tabModalName=='automaticOrderCreation'">

+ 12 - 5
src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts

@@ -40,13 +40,13 @@ export class ConfigurationDrugComponent implements OnInit {
40 40
     { label: '一单一码', value: 1 },
41 41
     { label: '一单多码', value: 2 },
42 42
   ];
43
-	
43
+
44 44
 	// 终点清点方式
45 45
 	endClearingList:any[] = [
46 46
 	  { label: '扫一扫清点', value: 1 },
47 47
 	  { label: '数量核对清点', value: 2 },
48 48
 	];
49
-	
49
+
50 50
   // 手动填写
51 51
   drugsManualList:any[] = [];
52 52
 
@@ -73,6 +73,7 @@ export class ConfigurationDrugComponent implements OnInit {
73 73
 				showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
74 74
 				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
75 75
 				sendingMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
76
+				drugsResidueCreateOrder: [{ label:'是否开启', value: 0 }],//交接后,剩余药包是否建单
76 77
 				autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
77 78
 				autoCreateState: undefined // 药品自动建单状态
78 79
 			}
@@ -98,6 +99,7 @@ export class ConfigurationDrugComponent implements OnInit {
98 99
         showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
99 100
 				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
100 101
 				sendingMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
102
+        drugsResidueCreateOrder: [{ label:'是否开启', value: 0 }],//交接后,剩余药包是否建单
101 103
 				autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
102 104
 				autoCreateState: undefined // 药品自动建单状态
103 105
 			}
@@ -123,6 +125,7 @@ export class ConfigurationDrugComponent implements OnInit {
123 125
         showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
124 126
 				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
125 127
         sendingMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
128
+        drugsResidueCreateOrder: [{ label:'是否开启', value: 0 }],//交接后,剩余药包是否建单
126 129
 				autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
127 130
 				autoCreateState: undefined // 药品自动建单状态
128 131
 			}
@@ -148,6 +151,7 @@ export class ConfigurationDrugComponent implements OnInit {
148 151
         showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
149 152
 				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
150 153
         sendingMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
154
+        drugsResidueCreateOrder: [{ label:'是否开启', value: 0 }],//交接后,剩余药包是否建单
151 155
 				autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
152 156
 				autoCreateState: undefined // 药品自动建单状态
153 157
 			}
@@ -173,6 +177,7 @@ export class ConfigurationDrugComponent implements OnInit {
173 177
         showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
174 178
 				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
175 179
         sendingMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
180
+        drugsResidueCreateOrder: [{ label:'是否开启', value: 0 }],//交接后,剩余药包是否建单
176 181
 				autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
177 182
 				autoCreateState: undefined // 药品自动建单状态
178 183
 			}
@@ -230,7 +235,7 @@ export class ConfigurationDrugComponent implements OnInit {
230 235
       this.msg.create("warning", "请选择工单模式!");
231 236
       return;
232 237
     }
233
-		
238
+
234 239
     if(this.activeDictionary.postData.drugsStartCheck[0].checked && !this.activeDictionary.postData.drugsStartCheckScanIds.filter(v => v.checked).length){
235 240
       this.msg.create("warning", "请选择起点科室的核对方式!");
236 241
       return;
@@ -240,12 +245,12 @@ export class ConfigurationDrugComponent implements OnInit {
240 245
       this.msg.create("warning", "请选择终点科室的核对方式!");
241 246
       return;
242 247
     }
243
-		
248
+
244 249
 		if(this.activeDictionary.postData.drugsModel==2 && !this.activeDictionary.postData.drugsEndCountMethod){
245 250
 		  this.msg.create("warning", "请选择终点清点方式!");
246 251
 		  return;
247 252
 		}
248
-		
253
+
249 254
     let postData:any = {
250 255
       id: this.configs.id,
251 256
       taskType: this.tasktype.id,
@@ -267,6 +272,7 @@ export class ConfigurationDrugComponent implements OnInit {
267 272
 			showDrugsBagTypeCount: this.activeDictionary.postData.showDrugsBagTypeCount[0].checked ? 1 : 0,
268 273
 			showDrugsBagDetails: this.activeDictionary.postData.showDrugsBagDetails[0].checked ? 1 : 0,
269 274
 			sendingMergeOrder: this.activeDictionary.postData.sendingMergeOrder[0].checked ? 1 : 0,
275
+			drugsResidueCreateOrder: this.activeDictionary.postData.drugsResidueCreateOrder[0].checked ? 1 : 0,
270 276
 			autoCreate: this.activeDictionary.postData.autoCreate[0].checked ? 1 : 0,
271 277
 			autoCreateState:{
272 278
 				id:this.activeDictionary.postData.autoCreateState || undefined
@@ -370,6 +376,7 @@ export class ConfigurationDrugComponent implements OnInit {
370 376
 					this.activeDictionary.postData.showDrugsBagTypeCount[0].checked = this.configs.showDrugsBagTypeCount == 1;
371 377
 					this.activeDictionary.postData.showDrugsBagDetails[0].checked = this.configs.showDrugsBagDetails == 1;
372 378
 					this.activeDictionary.postData.sendingMergeOrder[0].checked = this.configs.sendingMergeOrder == 1;
379
+					this.activeDictionary.postData.drugsResidueCreateOrder[0].checked = this.configs.drugsResidueCreateOrder == 1;
373 380
 					this.activeDictionary.postData.autoCreate[0].checked = this.configs.autoCreate == 1;
374 381
 					this.activeDictionary.postData.autoCreateState = this.configs.autoCreateState && this.configs.autoCreateState.id || undefined;
375 382
 				}

+ 126 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.html

@@ -0,0 +1,126 @@
1
+<div class="content priority">
2
+  <div class="contentInner">
3
+    <div class="list-template" id="wechatTable">
4
+      <div class="list-template__content">
5
+        <div class="list-template__bottom">
6
+          <div class="list-template__top" nz-row>
7
+            <div nz-col nzXl='17' class="list-template__searchBox">
8
+            </div>
9
+            <div nz-col nzXl="7" class="list-template__btns">
10
+              <button nz-button class="btn default" (click)="addWechatModal()">新增</button>
11
+            </div>
12
+          </div>
13
+          <nz-table class="list-template__nzTable" [nzData]="dataList" nzSize="middle" [nzShowPagination]="false"
14
+            [nzLoading]="loading1" [nzScroll]="{ y: tableWechatHeight + 'px' }">
15
+            <thead>
16
+              <tr class="thead">
17
+                <th nzWidth="7%">排序号</th>
18
+                <th nzWidth="30%">退回原因</th>
19
+                <th nzWidth="12%">退回标本状态</th>
20
+                <th nzWidth="12%">是否开启</th>
21
+                <th nzWidth="12%">是否消除单号</th>
22
+                <th nzWidth="12%">验证方式</th>
23
+                <th nzWidth="15%">操作</th>
24
+              </tr>
25
+            </thead>
26
+            <tbody>
27
+              <tr *ngFor="let data of dataList;let i = index">
28
+                <td>{{data.orders}}</td>
29
+                <td>{{data.name}}</td>
30
+                <td>{{data.dictionaryDTO?.name}}</td>
31
+                <td>{{data.extra5 == 1 ? '是' : '否'}}</td>
32
+                <td>{{data.extra6 == 1 ? '是' : '否'}}</td>
33
+                <td>{{data.extra7 == 1 ? '科室码' : (data.extra7 == 2 ? '动态码' : (data.extra7 == 3 ? '填写工号' : '无'))}}</td>
34
+                <td>
35
+                  <div class="coop">
36
+                    <span (click)="showDelModal(data,'您确认要删除吗?','删除','del')">删除</span>
37
+                    <span (click)="editWechat(data)">编辑</span>
38
+                  </div>
39
+                </td>
40
+              </tr>
41
+            </tbody>
42
+          </nz-table>
43
+        </div>
44
+      </div>
45
+    </div>
46
+  </div>
47
+</div>
48
+
49
+<!-- 操作成功/失败提示框 -->
50
+<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
51
+  [info]="promptInfo">
52
+</app-prompt-modal>
53
+
54
+<!-- 删除模态框 -->
55
+<app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
56
+(confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
57
+
58
+<!-- 新增/编辑模态框 -->
59
+<div class="save display_flex justify-content_flex-center align-items_center add" *ngIf="modalWechat">
60
+  <div class="modalBody">
61
+    <div class="title">{{modelName}}<i class="icon_transport transport-guanbi" (click)="hideWechatModal()"></i></div>
62
+    <div class="content">
63
+      <form nz-form [formGroup]="validateForm" class="addForm">
64
+        <nz-form-item>
65
+          <nz-form-label [nzSpan]="7" nzRequired nzFor="orders">排序号</nz-form-label>
66
+          <nz-form-control [nzSpan]="17" nzErrorTip="请输入排序号!">
67
+            <nz-input-group>
68
+              <nz-input-number class="w100" formControlName="orders" nzPlaceHolder="请输入排序号" [nzMin]="0" [nzStep]="1" [nzPrecision]="0"></nz-input-number>
69
+            </nz-input-group>
70
+          </nz-form-control>
71
+        </nz-form-item>
72
+        <nz-form-item>
73
+          <nz-form-label [nzSpan]="7" nzRequired nzFor="name">退回原因</nz-form-label>
74
+          <nz-form-control [nzSpan]="17" nzErrorTip="请输入退回原因!">
75
+            <nz-input-group>
76
+              <input formControlName="name" nz-input placeholder="请输入退回原因">
77
+            </nz-input-group>
78
+          </nz-form-control>
79
+        </nz-form-item>
80
+        <nz-form-item>
81
+          <nz-form-label [nzSpan]="7" nzRequired nzFor="extra4">退回标本状态</nz-form-label>
82
+          <nz-form-control [nzSpan]="17" nzErrorTip="请选择退回标本状态!">
83
+            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra4" nzPlaceHolder="请选择退回标本状态" nzServerSearch>
84
+              <ng-container *ngFor="let data of typeList">
85
+                <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
86
+              </ng-container>
87
+              <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
88
+                <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
89
+              </nz-option>
90
+            </nz-select>
91
+          </nz-form-control>
92
+        </nz-form-item>
93
+        <nz-form-item>
94
+          <nz-form-label style="line-height:40px;" [nzSpan]="7" nzRequired nzFor="extra5">是否开启</nz-form-label>
95
+          <nz-form-control [nzSpan]="17" nzErrorTip="请选择是否开启!">
96
+            <nz-radio-group formControlName="extra5">
97
+              <label nz-radio nzValue="1">是</label>
98
+              <label nz-radio nzValue="0">否</label>
99
+            </nz-radio-group>
100
+          </nz-form-control>
101
+        </nz-form-item>
102
+        <nz-form-item>
103
+          <nz-form-label style="line-height:40px;" [nzSpan]="7" nzRequired nzFor="extra6">是否消除单号</nz-form-label>
104
+          <nz-form-control [nzSpan]="17" nzErrorTip="请选择是否消除单号!">
105
+            <nz-radio-group formControlName="extra6">
106
+              <label nz-radio nzValue="1">是</label>
107
+              <label nz-radio nzValue="0">否</label>
108
+            </nz-radio-group>
109
+          </nz-form-control>
110
+        </nz-form-item>
111
+        <nz-form-item>
112
+          <nz-form-label [nzSpan]="7" nzRequired nzFor="extra7">验证方式</nz-form-label>
113
+          <nz-form-control [nzSpan]="17" nzErrorTip="请选择验证方式!">
114
+            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra7" nzPlaceHolder="请选择验证方式" nzServerSearch>
115
+              <nz-option *ngFor="let data of extra7List" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
116
+            </nz-select>
117
+          </nz-form-control>
118
+        </nz-form-item>
119
+      </form>
120
+    </div>
121
+    <div class=" display_flex justify-content_flex-center">
122
+      <button nzType="primary" nz-button (click)="submitWechatForm()" [nzLoading]="btnLoading">确认</button>
123
+      <button class="btn cancel" nz-button nzType="default" (click)="hideWechatModal()">取消</button>
124
+    </div>
125
+  </div>
126
+</div>

+ 303 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.less

@@ -0,0 +1,303 @@
1
+@import "../../../../../../src/theme.less";
2
+:host {
3
+  height: 100%;
4
+  display: flex;
5
+  flex-direction: column;
6
+  justify-content: space-between;
7
+  background-color: #F0F2F5;
8
+  .list-template__nzTable,
9
+  .list-template__bottom{
10
+    padding: 0!important;
11
+    border: none!important;
12
+    background: #fff!important;
13
+  }
14
+  .list-template{
15
+    width: 100%!important;
16
+    height: 100%!important;
17
+    padding: 0!important;
18
+  }
19
+  .circleWrap{
20
+    position: relative;
21
+    .circle{
22
+      width: 8px;
23
+      height: 8px;
24
+      border-radius: 50%;
25
+      position: absolute;
26
+      top: 50%;
27
+      left: -8px;
28
+      transform: translate(-50%,-50%);
29
+      &.red{
30
+        background-color: red;
31
+      }
32
+    }
33
+  }
34
+  .content{
35
+    flex: 1;
36
+    min-height: 0;
37
+    display: flex;
38
+    flex-direction: column;
39
+    justify-content: space-between;
40
+    border: 1px solid #EEF3F9;
41
+    &.priority{
42
+      background-color: #fff;
43
+      .contentInner{
44
+        padding: 0 16px 16px;
45
+        border: 1px solid #E8EBEF;
46
+      }
47
+    }
48
+    .contentItem{
49
+      padding: 4px 16px;
50
+      cursor: pointer;
51
+      overflow: hidden;
52
+      text-overflow: ellipsis;
53
+      white-space: nowrap;
54
+      &.active{
55
+        color: @primary-color;
56
+        background-color: #F0F6ED;
57
+        border-radius: 4px;
58
+      }
59
+    }
60
+    .contentInner{
61
+      flex: 1;
62
+      display: flex;
63
+      justify-content: space-between;
64
+      align-items: center;
65
+      padding: 0 16px;
66
+      gap: 16px;
67
+      .contentHead{
68
+        height: 45px;
69
+        display: flex;
70
+        justify-content: space-between;
71
+        align-items: center;
72
+        gap: 16px;
73
+        padding: 0 16px;
74
+        font-size: 16px;
75
+        font-weight: bold;
76
+        border-bottom: 1px solid #D9D9D9;
77
+        .title{
78
+          overflow: hidden;
79
+          text-overflow: ellipsis;
80
+          white-space: nowrap;
81
+        }
82
+        .btns{
83
+          flex-shrink: 0;
84
+        }
85
+      }
86
+      .contentBody{
87
+        padding: 0 8px;
88
+        margin: 4px 0;
89
+        flex: 1;
90
+      }
91
+      .address{
92
+        flex: 1;
93
+        height: 100%;
94
+        background: #FFFFFF;
95
+        border: 1px solid #E8EBEF;
96
+        display: flex;
97
+        flex-direction: column;
98
+        width: 0;
99
+      }
100
+      .addressAssign{
101
+        flex: 3;
102
+        height: 100%;
103
+        background: #FFFFFF;
104
+        border: 1px solid #E8EBEF;
105
+        display: flex;
106
+        flex-direction: column;
107
+        width: 0;
108
+      }
109
+      .list-template__searchItem {
110
+        .label {
111
+          color: #333;
112
+          display: inline-block;
113
+          width: 70px;
114
+          text-align-last: justify;
115
+          text-align: justify;
116
+          &.label--big {
117
+            width: 100px;
118
+          }
119
+        }
120
+        .formItem {
121
+          width: 135px;
122
+        }
123
+      }
124
+    }
125
+    .contentBtns{
126
+      margin-bottom: 16px;
127
+      display: flex;
128
+      justify-content: center;
129
+      align-items: center;
130
+    }
131
+  }
132
+
133
+  .save {
134
+    position: fixed;
135
+    left: 0;
136
+    top: 0;
137
+    width: 100%;
138
+    height: 100%;
139
+    background: rgba(0, 0, 0, 0.4);
140
+    z-index: 99;
141
+
142
+    .tips{
143
+      margin-bottom: 16px!important;
144
+    }
145
+
146
+    .modalBody {
147
+      width: 350px;
148
+      background: #fff;
149
+      border-radius: 5px;
150
+      padding: 10px 20px;
151
+      color: #333;
152
+
153
+      .title {
154
+        width: 100%;
155
+        text-align: center;
156
+        font-size: 18px;
157
+        position: relative;
158
+
159
+        i {
160
+          position: absolute;
161
+          right: 0;
162
+          top: 0;
163
+          font-size: 20px;
164
+          color: #666;
165
+          cursor: pointer;
166
+          padding: 0 5px;
167
+        }
168
+      }
169
+
170
+      .content {
171
+        width: 310px;
172
+        background: #f9fafb;
173
+        border: 1px solid #e5e9ed;
174
+        border-radius: 5px;
175
+        overflow: hidden;
176
+        margin-top: 12px;
177
+        padding: 16px 0;
178
+
179
+        .busyList{
180
+          display: flex;
181
+          margin-bottom: 8px;
182
+          .busyContent{
183
+            margin-right: 8px;
184
+            flex: 1;
185
+          }
186
+        }
187
+
188
+        & > div {
189
+          text-align: center;
190
+          margin: 0;
191
+
192
+          &.icon {
193
+            // margin-top: 17px;
194
+
195
+            i {
196
+              color: #34b349;
197
+              font-size: 30px !important;
198
+
199
+              &.transport-wenhao {
200
+                color: #f5a523;
201
+              }
202
+
203
+              &.transport-shibai {
204
+                color: #ff3a52;
205
+              }
206
+            }
207
+          }
208
+
209
+          &.defeat {
210
+            color: #333;
211
+            font-size: 14px;
212
+          }
213
+
214
+          &:nth-child(3) {
215
+            font-size: 14px;
216
+            color: #666;
217
+          }
218
+        }
219
+        .workAssignmentTips {
220
+          font-size: 12px;
221
+        }
222
+      }
223
+
224
+      button {
225
+        margin-top: 10px;
226
+
227
+        &.btn {
228
+          margin-left: 8px;
229
+        }
230
+      }
231
+    }
232
+
233
+    // 新增
234
+    &.add {
235
+      .modalBody {
236
+        width: 480px;
237
+        height: auto;
238
+
239
+        .content {
240
+          width: 100%;
241
+          height: auto;
242
+          padding: 16px;
243
+          max-height: 497px;
244
+          overflow-y: auto;
245
+
246
+          .addForm {
247
+            .ant-form-item {
248
+              margin-bottom: 0;
249
+
250
+              .ant-form-item-label {
251
+                text-align: left;
252
+              }
253
+
254
+              .desc {
255
+                margin-top: 5px;
256
+              }
257
+            }
258
+
259
+            .datesControl {
260
+              margin-top: -16px;
261
+
262
+              .ant-form-item-label {
263
+                line-height: 40px;
264
+              }
265
+            }
266
+
267
+            .timer {
268
+              .ant-form-item-label {
269
+                width: 100%;
270
+                text-align: left;
271
+              }
272
+
273
+              .numInp {
274
+                margin-right: 5px;
275
+              }
276
+
277
+              .line {
278
+                margin-right: 5px;
279
+              }
280
+            }
281
+
282
+            .timer2 {
283
+              .ant-form-item-label {
284
+                line-height: 20px;
285
+              }
286
+            }
287
+          }
288
+
289
+          .editForm {
290
+            .ant-form-item {
291
+              margin-bottom: 15px;
292
+
293
+              .ant-form-item-label {
294
+                line-height: 14px;
295
+                text-align: left;
296
+              }
297
+            }
298
+          }
299
+        }
300
+      }
301
+    }
302
+  }
303
+}

+ 256 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.component.ts

@@ -0,0 +1,256 @@
1
+import { Component, OnInit, Input } from "@angular/core";
2
+import { Validators, FormGroup, FormBuilder } from '@angular/forms';
3
+import { ToolService } from 'src/app/services/tool.service';
4
+import { NzMessageService } from 'ng-zorro-antd';
5
+import { MainService } from 'src/app/services/main.service';
6
+
7
+@Component({
8
+  selector: "app-configuration-specimen-return",
9
+  templateUrl: "./configuration-specimen-return.component.html",
10
+  styleUrls: ["./configuration-specimen-return.component.less"],
11
+})
12
+export class ConfigurationSpecimenReturnComponent implements OnInit {
13
+  constructor(
14
+    private mainService: MainService,
15
+    private fb: FormBuilder,
16
+    private tool: ToolService,
17
+    private message: NzMessageService,
18
+  ) {}
19
+
20
+  coopData: any = {}; //当前操作列
21
+  hosId: any = this.tool.getCurrentHospital().id;
22
+
23
+
24
+  ngOnInit() {
25
+    setTimeout(() => {
26
+      this.tableWechatHeight = document.querySelector('#wechatTable').clientHeight - document.querySelector('#wechatTable .list-template__top').clientHeight - 8 - document.querySelector('#wechatTable .thead').clientHeight;
27
+    }, 0)
28
+    this.getTypes();
29
+    this.getList();
30
+  }
31
+
32
+  // 新增弹框
33
+  modelName = ""; //模态框名称
34
+  modalWechat: boolean = false; //新增/编辑模态框
35
+  add: boolean; //true:新增;false:编辑
36
+  addWechatModal() {
37
+    this.modelName = "新增";
38
+    this.add = true; //新增
39
+    this.modalWechat = true;
40
+    this.initWechatForm();
41
+  }
42
+  //关闭新增/编辑弹框
43
+  hideWechatModal() {
44
+    this.modalWechat = false;
45
+  }
46
+
47
+  // 编辑
48
+  editWechat(data) {
49
+    console.log(data);
50
+    this.modelName = "编辑";
51
+    this.add = false;
52
+    this.modalWechat = true;
53
+    this.initWechatForm();
54
+    this.coopData = data;
55
+    this.validateForm.controls.orders.setValue(data.orders);
56
+    this.validateForm.controls.name.setValue(data.name);
57
+    this.validateForm.controls.extra4.setValue(data.extra4 ? +data.extra4 : undefined);
58
+    this.validateForm.controls.extra5.setValue(data.extra5 || '0');
59
+    this.validateForm.controls.extra6.setValue(data.extra6 || '0');
60
+    this.validateForm.controls.extra7.setValue(data.extra7);
61
+  }
62
+
63
+  // 新增/编辑表单提交
64
+  btnLoading: boolean = false; //提交按钮loading状态
65
+  submitWechatForm(): void {
66
+    for (const i in this.validateForm.controls) {
67
+      this.validateForm.controls[i].markAsDirty();
68
+      this.validateForm.controls[i].updateValueAndValidity();
69
+    }
70
+    if (this.validateForm.invalid) {
71
+      return;
72
+    }
73
+    console.log(this.validateForm.value);
74
+    this.btnLoading = true;
75
+    let postData:any = {};
76
+
77
+    let arr = this.dataList.filter(
78
+      (item) => item.name == this.validateForm.value.name && item.id != this.coopData.id
79
+    );
80
+
81
+    //有重复名称
82
+    if (arr.length > 0) {
83
+      this.btnLoading = false;
84
+      this.showPromptModal(
85
+        this.add ? "新增" : "编辑",
86
+        false,
87
+        `存在重复的退回原因【${this.validateForm.value.name}】请修改后再保存!`
88
+      );
89
+      return;
90
+    }
91
+
92
+    if (this.add) {
93
+      //增加
94
+      let n = 0;
95
+      if (this.dataList.length > 0) {
96
+        let sortArr = this.dataList.map((item) => Number(item.value));
97
+        n = Math.max.apply(null, sortArr);
98
+      } else {
99
+        n = 0;
100
+      }
101
+      postData = {
102
+        // dictionary: {
103
+          key: "reason_for_return",
104
+          value: n + 1,
105
+          desc: "标本退回",
106
+          orders: this.validateForm.value.orders,
107
+          name: this.validateForm.value.name,
108
+          extra6: this.validateForm.value.extra6,
109
+          extra4: this.validateForm.value.extra4,
110
+          extra5: this.validateForm.value.extra5,
111
+          extra7: this.validateForm.value.extra7,
112
+        // }
113
+      };
114
+    } else {
115
+      //编辑
116
+      postData = {
117
+        // dictionary: {
118
+          ...this.coopData,
119
+          orders: this.validateForm.value.orders,
120
+          name: this.validateForm.value.name,
121
+          extra6: this.validateForm.value.extra6,
122
+          extra4: this.validateForm.value.extra4,
123
+          extra5: this.validateForm.value.extra5,
124
+          extra7: this.validateForm.value.extra7,
125
+        // }
126
+      };
127
+    }
128
+    this.mainService
129
+      .simplePost("addData", "dictionary", postData)
130
+      .subscribe((result) => {
131
+        this.btnLoading = false;
132
+        this.hideWechatModal();
133
+        let msg = "";
134
+        if (this.add) {
135
+          msg = "新增";
136
+        } else {
137
+          msg = "修改";
138
+        }
139
+        if (result.status == 200) {
140
+          this.showPromptModal(msg, true, '');
141
+        } else {
142
+          this.showPromptModal(msg, false, result.msg);
143
+        }
144
+      });
145
+  }
146
+
147
+  // 初始化新增form表单
148
+  validateForm: FormGroup; //新增/编辑表单
149
+  initWechatForm() {
150
+    this.validateForm = this.fb.group({
151
+      orders: [null, [Validators.required]],
152
+      name: [null, [Validators.required]],
153
+      extra4: [null, [Validators.required]],
154
+      extra5: [null, [Validators.required]],
155
+      extra6: [null, [Validators.required]],
156
+      extra7: [null, [Validators.required]],
157
+    });
158
+  }
159
+
160
+  // 获取列表
161
+  loading1:boolean = false;
162
+  dataList: any[] = []; //表格数据
163
+  tableWechatHeight:number = 0;
164
+  getList() {
165
+    let data = {
166
+      idx: 0,
167
+      sum: 9999,
168
+      dictionary: {
169
+        key: "reason_for_return",
170
+      },
171
+    };
172
+    this.loading1 = true;
173
+    this.mainService
174
+      .getFetchDataList("simple/data", "dictionary", data)
175
+      .subscribe((data) => {
176
+        this.loading1 = false;
177
+        if (data.status == 200) {
178
+          this.dataList = data.list || [];
179
+        }else{
180
+          this.message.error(data.msg || "请求数据失败");
181
+        }
182
+      });
183
+  }
184
+
185
+  isLoading = false;
186
+  extra7List: any = [
187
+    { name: '无', id: '0' },
188
+    { name: '科室码', id: '1' },
189
+    { name: '动态码', id: '2' },
190
+    { name: '填写工号', id: '3' },
191
+  ];
192
+
193
+  // 获取退回标本状态
194
+  typeList: any = [];
195
+  getTypes() {
196
+    this.mainService.getDictionary('list', 'speState').subscribe((data) => {
197
+      this.isLoading = false;
198
+      this.typeList = data || [];
199
+    });
200
+  }
201
+
202
+  delModal: boolean = false; //删除模态框
203
+  tipsMsg1: string; //提示框信息
204
+  tipsMsg2: string; //操作后信息
205
+  confirmDelType: string; //确认的类型(启用/停用,删除)
206
+  showDelModal(
207
+    data,
208
+    tipsMsg1: string,
209
+    tipsMsg2: string,
210
+    type: string,
211
+  ) {
212
+    this.confirmDelType = type;
213
+    this.delModal = true;
214
+    this.coopData = data;
215
+    this.tipsMsg1 = tipsMsg1;
216
+    this.tipsMsg2 = tipsMsg2;
217
+  }
218
+  // 隐藏删除框
219
+  hideDelModal() {
220
+    this.delModal = false;
221
+  }
222
+  // 确认删除
223
+  confirmDel() {
224
+    this.btnLoading = true;
225
+    if (this.confirmDelType === "del") {
226
+      //删除
227
+      this.mainService
228
+        .simplePost("rmvData", "dictionary", [this.coopData.id])
229
+        .subscribe((data) => {
230
+          this.btnLoading = false;
231
+          this.delModal = false;
232
+          if (data.status == 200) {
233
+            this.showPromptModal(this.tipsMsg2, true, "");
234
+          } else {
235
+            this.showPromptModal(this.tipsMsg2, false, data.msg);
236
+          }
237
+        });
238
+    }
239
+  }
240
+
241
+  // 展示信息提示框(con:提示信息,success:操作是否成功,promptInfo:操作结果提示信息)
242
+  promptContent: string; //操作提示框提示信息
243
+  ifSuccess: boolean; //操作成功/失败
244
+  promptInfo: string; //操作结果提示信息
245
+  promptModalShow: boolean; //操作提示框是否展示
246
+  showPromptModal(con, success, promptInfo?) {
247
+    this.promptModalShow = false;
248
+    this.promptContent = con;
249
+    this.ifSuccess = success;
250
+    this.promptInfo = promptInfo;
251
+    setTimeout(() => {
252
+      this.promptModalShow = true;
253
+    }, 100);
254
+    this.getList();
255
+  }
256
+}

+ 20 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen-return/configuration-specimen-return.module.ts

@@ -0,0 +1,20 @@
1
+import { NgModule } from '@angular/core';
2
+import { CommonModule } from '@angular/common';
3
+
4
+import { ConfigurationSpecimenReturnComponent } from './configuration-specimen-return.component';
5
+import { ShareModule } from 'src/app/share/share.module';
6
+
7
+
8
+@NgModule({
9
+  declarations: [
10
+    ConfigurationSpecimenReturnComponent,
11
+  ],
12
+  imports: [
13
+    CommonModule,
14
+    ShareModule,
15
+  ],
16
+  exports: [
17
+    ConfigurationSpecimenReturnComponent,
18
+  ]
19
+})
20
+export class ConfigurationSpecimenReturnModule { }

+ 4 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.html

@@ -462,6 +462,10 @@
462 462
             </div>
463 463
           </div>
464 464
 				</div>
465
+        <!-- 标本退回 -->
466
+        <div class="TaskTypeManagement" *ngIf="activeDictionaryKey=='specimenReturn'">
467
+          <app-configuration-specimen-return></app-configuration-specimen-return>
468
+        </div>
465 469
       </div>
466 470
     </div>
467 471
   </div>

+ 3 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.ts

@@ -26,6 +26,9 @@ export class ConfigurationSpecimenComponent implements OnInit {
26 26
 		},
27 27
     {
28 28
       name:'标本打包',key:'specimenPackage'
29
+    },
30
+    {
31
+      name:'标本退回',key:'specimenReturn'
29 32
     }
30 33
 	];
31 34
 

+ 23 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-specimen.module.ts

@@ -0,0 +1,23 @@
1
+import { NgModule } from '@angular/core';
2
+import { CommonModule } from '@angular/common';
3
+
4
+import { ShareModule } from 'src/app/share/share.module';
5
+
6
+import { ConfigurationSpecimenComponent } from './configuration-specimen.component';
7
+import { ConfigurationSpecimenReturnModule } from './configuration-specimen-return/configuration-specimen-return.module';
8
+
9
+
10
+@NgModule({
11
+  declarations: [
12
+    ConfigurationSpecimenComponent,
13
+  ],
14
+  imports: [
15
+    CommonModule,
16
+    ShareModule,
17
+    ConfigurationSpecimenReturnModule,
18
+  ],
19
+  exports: [
20
+    ConfigurationSpecimenComponent,
21
+  ]
22
+})
23
+export class ConfigurationSpecimenModule { }

+ 1 - 1
src/app/share/dialog-delete/dialog-delete.component.html

@@ -21,7 +21,7 @@
21 21
           </nz-option>
22 22
         </nz-select>
23 23
       </div>
24
-      <div *ngIf="isShowEndDeptId" class="mt8 mb8 w100">
24
+      <div *ngIf="isShowEndDeptId" class="mt8 mb8 w100" style="text-align: left;">
25 25
         <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择终点科室" [(ngModel)]="endDeptId">
26 26
           <ng-container *ngFor="let option of isShowEndDeptIdArr">
27 27
             <nz-option *ngIf="!isLoading" [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>

+ 3 - 2
src/app/share/dialog-delete/dialog-delete.component.ts

@@ -39,8 +39,9 @@ export class DialogDeleteComponent implements OnInit, OnChanges {
39 39
       this.isLoading = false;
40 40
       // this.recoveryRoom = null;
41 41
     }
42
-    if(changes.isShowEndDeptId){
43
-      this.endDeptId = null;
42
+    if(changes.isShowEndDeptIdArr){
43
+      this.endDeptId = this.isShowEndDeptIdArr.length === 1 ? this.isShowEndDeptIdArr[0].id : null;
44
+      console.log('this.isShowEndDeptIdArr:', this.isShowEndDeptIdArr)
44 45
     }
45 46
     if(changes.isSelected && changes.isSelectedArr){
46 47
       if(changes.isSelectedArr.currentValue.length === 1){

+ 4 - 4
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1344,9 +1344,9 @@
1344 1344
                                 ({{ item.drugs.packid }})
1345 1345
                               </ng-container>
1346 1346
                               <ng-container *ngIf="item.goodsRemark">-{{ item.goodsRemark }}</ng-container>
1347
-                              
1347
+
1348 1348
                             </div>
1349
-		
1349
+
1350 1350
                             <div nz-col nzSpan="12" class="col txtR">
1351 1351
                               {{ item.gdState.name }}
1352 1352
                             </div>
@@ -1653,8 +1653,8 @@
1653 1653
             <!-- 携带设备 -->
1654 1654
             <div class="display_flex justify-content_space-between align-items_center">
1655 1655
               <nz-form-item class="display_flex align-items_center flex_1" *ngIf="inspectAndPatientTransportConfig.enableTripType == 1">
1656
-                <nz-form-label nzFor="inspectScore" class="goods mt8">陪检方式</nz-form-label>
1657
-                <nz-form-control>
1656
+                <nz-form-label nzFor="inspectScore" nzRequired class="goods mt8">陪检方式</nz-form-label>
1657
+                <nz-form-control nzErrorTip="请选择陪检方式!">
1658 1658
                   <nz-radio-group formControlName="inspectScore" [(ngModel)]="workOrderInspectScore">
1659 1659
                     <label nz-radio [nzValue]="item.id" *ngFor="let item of workOrderInspectScoreList">{{item.inspectMode}}</label>
1660 1660
                   </nz-radio-group>

+ 4 - 2
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -213,7 +213,7 @@ export class HushijiandanComponent implements OnInit {
213 213
     this.getTodayNum();
214 214
     this.initLogin();
215 215
     this.getDeptTaskType();
216
-    this.initForm();
216
+
217 217
     this.getAdvice();
218 218
     this.getOrderSelectList();
219 219
     this.getCheckStatusLis();
@@ -931,6 +931,8 @@ export class HushijiandanComponent implements OnInit {
931 931
           if(this.inspectAndPatientTransportConfig.queuingInformation == 1){
932 932
             this.getQueuingInformation();
933 933
           }
934
+
935
+          this.initForm();
934 936
         }
935 937
       });
936 938
   }
@@ -2349,7 +2351,7 @@ export class HushijiandanComponent implements OnInit {
2349 2351
     this.patientForm = this.fb.group({
2350 2352
       checkedType: [null, [Validators.required]],
2351 2353
       goods: [null],
2352
-      inspectScore: [null],
2354
+      inspectScore: this.inspectAndPatientTransportConfig.enableTripType == 1 ? [null, [Validators.required]] : [null],
2353 2355
       workOrderRemark2: [null],
2354 2356
       linkCheck: [null, []],
2355 2357
       targetOffice: [null, [this.targetOfficeValidator]],

+ 3 - 1
src/app/views/inspect-info-config/inspect-info-config.component.html

@@ -60,10 +60,12 @@
60 60
             <ng-container *ngIf="!data.tripType">
61 61
               <span class="circle red" title="未标记患者"></span>
62 62
             </ng-container>
63
-            <span>{{data.patientName}}<ng-container *ngIf="data.age !== undefined">({{data.age}}岁)</ng-container></span>
63
+            <span>{{data.patientName}}</span>
64 64
           </span>
65 65
           <br>
66 66
           <ng-container *ngIf="data.patientType && data.patientType.value == 'I'">住:{{data.patientCode}}({{data.bedNum}})</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'O'">门诊:{{data.patientCode}}</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'E'">急:{{data.patientCode}}</ng-container>
67
+          <br>
68
+          <ng-container *ngIf="data.age !== undefined">{{data.age}}岁</ng-container>-{{data.gender?.name}}
67 69
         </td>
68 70
         <td>
69 71
           <ng-container *ngIf="configs.updatePatientIllness == 1;else elseIllnessStateTpl">

+ 1 - 1
src/app/views/inspect-search/inspect-search.component.html

@@ -61,7 +61,7 @@
61 61
             <th nzWidth="14%">预约时间|入库时间</th>
62 62
             <th nzWidth="8%">检查状态</th>
63 63
             <th nzWidth="8%">陪检人员</th>
64
-            <th nzWidth="14%">出行方式|注意事项</th>
64
+            <th nzWidth="14%">陪检方式|注意事项</th>
65 65
             <th nzWidth="10%">操作</th>
66 66
           </tr>
67 67
         </thead>

+ 2 - 2
src/app/views/page-config/page-config.module.ts

@@ -4,17 +4,16 @@ import { CommonModule } from '@angular/common';
4 4
 import { PageConfigRoutingModule } from './page-config-routing.module';
5 5
 import { PageConfigComponent } from './page-config.component';
6 6
 import { ShareModule } from 'src/app/share/share.module';
7
-import { ConfigurationSpecimenComponent } from 'src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component';
8 7
 import { ConfigurationDrugComponent } from 'src/app/components/configurationCenter/configuration-drug/configuration-drug.component';
9 8
 import { ConfigurationInspectModule } from 'src/app/components/configurationCenter/configuration-inspect/configuration-inspect.module';
10 9
 import { ConfigurationDictionaryModule } from 'src/app/components/configurationCenter/configuration-dictionary/configuration-dictionary.module';
11 10
 import { ConfigurationMessageModule } from 'src/app/components/configurationCenter/configuration-message/configuration-message.module';
11
+import { ConfigurationSpecimenModule } from 'src/app/components/configurationCenter/configuration-specimen/configuration-specimen.module';
12 12
 
13 13
 
14 14
 @NgModule({
15 15
   declarations: [
16 16
     PageConfigComponent,
17
-    ConfigurationSpecimenComponent,
18 17
     ConfigurationDrugComponent,
19 18
   ],
20 19
   imports: [
@@ -24,6 +23,7 @@ import { ConfigurationMessageModule } from 'src/app/components/configurationCent
24 23
     ConfigurationInspectModule,
25 24
     ConfigurationDictionaryModule,
26 25
     ConfigurationMessageModule,
26
+    ConfigurationSpecimenModule,
27 27
   ]
28 28
 })
29 29
 export class PageConfigModule { }

+ 4 - 4
src/app/views/patient-search/patient-search.component.html

@@ -81,7 +81,7 @@
81 81
             <th nzWidth="10%">护理等级</th>
82 82
             <th nzWidth="10%">病情级别</th>
83 83
             <th nzWidth="10%">性别、年龄</th>
84
-            <th nzWidth="12%">出行方式|注意事项</th>
84
+            <th nzWidth="12%">陪检方式|注意事项</th>
85 85
             <th nzWidth="10%">操作</th>
86 86
           </tr>
87 87
         </thead>
@@ -247,9 +247,9 @@
247 247
           </nz-form-control>
248 248
         </nz-form-item>
249 249
         <nz-form-item>
250
-          <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tripType">出行方式</nz-form-label>
251
-          <nz-form-control nzErrorTip="请选择出行方式!">
252
-            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="tripType" nzAllowClear nzPlaceHolder="请选择出行方式" (nzOpenChange)="openTripType($event)">
250
+          <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="tripType">陪检方式</nz-form-label>
251
+          <nz-form-control nzErrorTip="请选择陪检方式!">
252
+            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="tripType" nzAllowClear nzPlaceHolder="请选择陪检方式" (nzOpenChange)="openTripType($event)">
253 253
               <ng-container *ngFor="let data of tripTypeList">
254 254
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.inspectMode" [nzValue]="data.id">
255 255
                 </nz-option>

+ 1 - 1
src/app/views/patient-search/patient-search.component.ts

@@ -410,7 +410,7 @@ export class PatientSearchComponent implements OnInit {
410 410
     });
411 411
 	}
412 412
 
413
-  // 获取出行方式
413
+  // 获取陪检方式
414 414
 	tripTypeList: any = [];
415 415
 	getTripTypeList() {
416 416
     let postData = {

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

@@ -200,6 +200,13 @@
200 200
             <label nz-radio [nzValue]='0'>否</label>
201 201
           </nz-radio-group>
202 202
         </div>
203
+        <div class="mb8 w100">
204
+          <nz-form-label class="label" nzRequired>是否需要验证科室码</nz-form-label>
205
+          <nz-radio-group class="handlerType" [(ngModel)]="closeOrderCheckDept">
206
+            <label nz-radio [nzValue]='1'>是</label>
207
+            <label nz-radio [nzValue]='0'>否</label>
208
+          </nz-radio-group>
209
+        </div>
203 210
         <div class="mb8 w100" *ngIf="association.value == 'other'">
204 211
           <nz-form-label class="label" nzRequired>是否关联数据</nz-form-label>
205 212
           <nz-radio-group class="handlerType" [(ngModel)]="bindTrans">

+ 4 - 0
src/app/views/task-type-management/task-type-management.component.ts

@@ -110,6 +110,7 @@ export class TaskTypeManagementComponent implements OnInit {
110 110
   defaultNullDeptId = null; //空单默认科室-标本配送
111 111
   specialCloseButton = "0"; //是否开通自动送回
112 112
   executeSwitch = 0;
113
+  closeOrderCheckDept = 0; //是否需要验证科室码
113 114
   bindTrans = "0"; //是否关联数据
114 115
   appointmentBuildFlag = "0"; //护士端是否允许预约建单,患者陪检业务
115 116
   appointmentBuildFlagZy = "0"; //护士端是否允许预约建单,患者其他服务
@@ -991,6 +992,7 @@ export class TaskTypeManagementComponent implements OnInit {
991 992
       ? data.specialCloseButton + ""
992 993
       : "0";
993 994
     this.executeSwitch = data.executeSwitch ? data.executeSwitch : 0;
995
+    this.closeOrderCheckDept = data.closeOrderCheckDept ? data.closeOrderCheckDept : 0;
994 996
     this.bindTrans = data.bindTrans
995 997
       ? data.bindTrans + ""
996 998
       : "0";
@@ -1285,6 +1287,7 @@ export class TaskTypeManagementComponent implements OnInit {
1285 1287
     }
1286 1288
     this.taskData.taskType["specialCloseButton"] = this.specialCloseButton;
1287 1289
     this.taskData.taskType["executeSwitch"] = this.executeSwitch;
1290
+    this.taskData.taskType["closeOrderCheckDept"] = this.closeOrderCheckDept;
1288 1291
     this.taskData.taskType["bindTrans"] = this.bindTrans;
1289 1292
     if (this.departmentStrategy.idv) {
1290 1293
       this.taskData.taskType.carryingCourses[this.indexs].departmentStrategy = {
@@ -1513,6 +1516,7 @@ export class TaskTypeManagementComponent implements OnInit {
1513 1516
     this.defaultNullDeptId = null; //标本配送空单默认值
1514 1517
     this.specialCloseButton = "0"; //是否特殊情况关闭
1515 1518
     this.executeSwitch = 0;
1519
+    this.closeOrderCheckDept = 0;
1516 1520
     this.bindTrans = "0"; //是否关联数据
1517 1521
     this.appointmentBuildFlag = "0"; //护士端是否允许预约建单,患者陪检
1518 1522
     this.appointmentBuildFlagZy = "0"; //护士端是否允许预约建单,患者其他