瀏覽代碼

陪检优化

seimin 2 月之前
父節點
當前提交
e808629f13

+ 31 - 11
src/app/components/configurationCenter/configuration-inspect/configuration-inspect-inspects/configuration-inspect-inspects.component.html

@@ -12,8 +12,8 @@
12 12
                 </nz-select>
13 13
               </div>
14 14
               <div class="list-template__searchItem">
15
-                <span class="label">检查科室</span>:
16
-                <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择检查科室" [(ngModel)]="queryData.extra4" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeDeptInp($event)" (nzOpenChange)="openChangeDept($event)" (ngModelChange)="setIsSelecting(true)">
15
+                <span class="label label--big">默认检查科室</span>:
16
+                <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择默认检查科室" [(ngModel)]="queryData.extra4" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeDeptInp($event)" (nzOpenChange)="openChangeDept($event)" (ngModelChange)="setIsSelecting(true)">
17 17
                   <ng-container *ngFor="let option of deptList">
18 18
                     <nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
19 19
                   </ng-container>
@@ -26,6 +26,13 @@
26 26
                 <span class="label">项目名称</span>:
27 27
                 <input nz-input class="formItem" placeholder="请输入项目名称" [(ngModel)]="queryData.name" />
28 28
               </div>
29
+              <div class="list-template__searchItem">
30
+                <span class="label">是否初始化</span>:
31
+                <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择是否初始化" [(ngModel)]="queryData.extra8" nzAllowClear>
32
+                  <nz-option nzLabel="已初始化" nzValue="1"></nz-option>
33
+                  <nz-option nzLabel="未初始化" nzValue="0"></nz-option>
34
+                </nz-select>
35
+              </div>
29 36
             </div>
30 37
             <div nz-col nzXl="7" class="list-template__btns">
31 38
               <button nz-button class="btn default" (click)="addWechatModal()">新增</button>
@@ -38,8 +45,8 @@
38 45
             <thead>
39 46
               <tr class="thead">
40 47
                 <th nzWidth="20%">排序号</th>
41
-                <th nzWidth="20%">项目名称</th>
42
-                <th nzWidth="20%">检查科室</th>
48
+                <th nzWidth="20%">检查项目标识</th>
49
+                <th nzWidth="20%">检查项目名称</th>
43 50
                 <th nzWidth="20%">检查类型</th>
44 51
                 <th nzWidth="20%">操作</th>
45 52
               </tr>
@@ -47,8 +54,8 @@
47 54
             <tbody>
48 55
               <tr *ngFor="let data of dataList;let i = index">
49 56
                 <td>{{data.orders}}</td>
57
+                <td>{{data.extra6}}</td>
50 58
                 <td>{{data.name}}</td>
51
-                <td>{{data.extra4DTO?.dept}}</td>
52 59
                 <td>{{data.extra5DTO?.name}}</td>
53 60
                 <td>
54 61
                   <div class="coop">
@@ -97,9 +104,9 @@
97 104
           </nz-form-control>
98 105
         </nz-form-item>
99 106
         <nz-form-item>
100
-          <nz-form-label [nzSpan]="6" nzRequired nzFor="extra4">检查科室</nz-form-label>
101
-          <nz-form-control [nzSpan]="18" nzErrorTip="请选择检查科室!">
102
-            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra4" nzPlaceHolder="请选择检查科室" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeDeptInp($event)" (nzOpenChange)="openChangeDept($event)" (ngModelChange)="setIsSelecting(true)">
107
+          <nz-form-label [nzSpan]="6" nzRequired nzFor="extra4">默认检查科室</nz-form-label>
108
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择默认检查科室!">
109
+            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra4" nzPlaceHolder="请选择默认检查科室" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeDeptInp($event)" (nzOpenChange)="openChangeDept($event)" (ngModelChange)="setIsSelecting(true)">
103 110
               <ng-container *ngFor="let option of deptList">
104 111
                 <nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
105 112
               </ng-container>
@@ -110,9 +117,9 @@
110 117
           </nz-form-control>
111 118
         </nz-form-item>
112 119
         <nz-form-item>
113
-          <nz-form-label [nzSpan]="6" nzRequired nzFor="extra5">检查项目</nz-form-label>
114
-          <nz-form-control [nzSpan]="18" nzErrorTip="请选择检查项目!">
115
-            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra5" nzPlaceHolder="请选择检查项目" nzServerSearch>
120
+          <nz-form-label [nzSpan]="6" nzRequired nzFor="extra5">检查类型</nz-form-label>
121
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择检查类型!">
122
+            <nz-select [nzDropdownMatchSelectWidth]="false" formControlName="extra5" nzPlaceHolder="请选择检查类型" nzServerSearch>
116 123
               <ng-container *ngFor="let data of typeList">
117 124
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
118 125
               </ng-container>
@@ -122,6 +129,19 @@
122 129
             </nz-select>
123 130
           </nz-form-control>
124 131
         </nz-form-item>
132
+        <nz-form-item>
133
+          <nz-form-label [nzSpan]="6" nzFor="extra7">检查科室</nz-form-label>
134
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择检查科室!">
135
+            <nz-select nzMode="multiple" [nzDropdownMatchSelectWidth]="false" formControlName="extra7" nzPlaceHolder="请选择检查科室" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeDeptsInp($event)" (nzOpenChange)="openChangeDepts($event)" (ngModelChange)="setIsSelecting(true)">
136
+              <ng-container *ngFor="let option of deptsList">
137
+                <nz-option *ngIf="!isLoading" [nzLabel]="option.dept" [nzValue]="option.id"></nz-option>
138
+              </ng-container>
139
+              <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
140
+                <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
141
+              </nz-option>
142
+            </nz-select>
143
+          </nz-form-control>
144
+        </nz-form-item>
125 145
       </form>
126 146
     </div>
127 147
     <div class=" display_flex justify-content_flex-center">

+ 42 - 4
src/app/components/configurationCenter/configuration-inspect/configuration-inspect-inspects/configuration-inspect-inspects.component.ts

@@ -63,8 +63,10 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
63 63
     this.validateForm.controls.name.setValue(data.name);
64 64
     this.validateForm.controls.extra4.setValue(data.extra4DTO ? data.extra4DTO.id : null);
65 65
     this.validateForm.controls.extra5.setValue(data.extra5DTO ? data.extra5DTO.id : null);
66
+    this.validateForm.controls.extra7.setValue(data.deptList ? data.deptList.map(v => v.id) : []);
66 67
 
67 68
     data.extra4DTO && (this.deptList = [data.extra4DTO]);
69
+    data.deptList && (this.deptsList = data.deptList);
68 70
   }
69 71
 
70 72
   // 新增/编辑表单提交
@@ -114,6 +116,8 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
114 116
           name: this.validateForm.value.name,
115 117
           extra4: this.validateForm.value.extra4,
116 118
           extra5: this.validateForm.value.extra5,
119
+          extra7: this.validateForm.value.extra7.toString(),
120
+          extra8: '1',
117 121
         // }
118 122
       };
119 123
     } else {
@@ -126,6 +130,7 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
126 130
             name: this.validateForm.value.name,
127 131
             extra4: this.validateForm.value.extra4,
128 132
             extra5: this.validateForm.value.extra5,
133
+            extra7: this.validateForm.value.extra7.toString(),
129 134
           }
130 135
         // }
131 136
       };
@@ -157,6 +162,7 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
157 162
       name: [null, [Validators.required]],
158 163
       extra4: [null, [Validators.required]],
159 164
       extra5: [null, [Validators.required]],
165
+      extra7: [[]],
160 166
     });
161 167
   }
162 168
 
@@ -177,9 +183,10 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
177 183
       sum: 9999,
178 184
       dictionary: {
179 185
         key: "inspect_check_type",
180
-        name: this.queryData.name,
181
-        extra4: this.queryData.extra4,
182
-        extra5: this.queryData.extra5,
186
+        name: this.queryData.name || undefined,
187
+        extra4: this.queryData.extra4 || undefined,
188
+        extra5: this.queryData.extra5 || undefined,
189
+        extra8: this.queryData.extra8 || undefined,
183 190
       },
184 191
     };
185 192
     this.loading1 = true;
@@ -222,7 +229,7 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
222 229
     this.searchTimer(this.getDeptList, e);
223 230
   }
224 231
 
225
-  // 获取检查科室
232
+  // 获取默认检查科室
226 233
   deptList: any = [];
227 234
   getDeptList(e = undefined) {
228 235
     let postData = {
@@ -243,6 +250,37 @@ export class ConfigurationInspectInspectsComponent implements OnInit {
243 250
       });
244 251
   }
245 252
 
253
+  openChangeDepts(flag){
254
+    flag && this.setIsSelecting(false);
255
+    flag && this.getDeptsList();
256
+  }
257
+
258
+  // 科室搜索
259
+  changeDeptsInp(e) {
260
+    this.searchTimer(this.getDeptsList, e);
261
+  }
262
+
263
+  // 获取检查科室
264
+  deptsList: any = [];
265
+  getDeptsList(e = undefined) {
266
+    let postData = {
267
+      idx: 0,
268
+      sum: 20,
269
+      department: {
270
+        searchType: 1,// 简单查询
271
+        cascadeHosId: this.hosId,
272
+        dept: e,
273
+      }
274
+    };
275
+    this.isLoading = true;
276
+    this.mainService
277
+      .getFetchDataList("simple/data", "department", postData)
278
+      .subscribe((data) => {
279
+        this.isLoading = false;
280
+        this.deptsList = data.list || [];
281
+      });
282
+  }
283
+
246 284
   // 获取检查类型
247 285
   typeList: any = [];
248 286
   getTypes() {

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

@@ -58,12 +58,12 @@
58 58
         </span>
59 59
       </div>
60 60
       <div class="message_tab">
61
-        <div class="tab" *ngFor="let item of tabs;let i = index;" (click)="selectTab(i)" [ngClass]="{ active: i == currentIndex }">
61
+        <div class="tab" *ngFor="let item of tabs;let i = index;" (click)="selectTab(i)" [ngClass]="{ active: i == currentIndex }" [hidden]="item.hidden">
62 62
           <label nz-checkbox [(ngModel)]="item.checkboxFlag" (ngModelChange)="selectThis($event, i)"></label><span class="ml8">{{item.tabName}}</span>
63 63
         </div>
64 64
       </div>
65 65
       <div class="message_body">
66
-        <div class="message_body_list" *ngFor="let item of tabs;let i = index;" [hidden]="i != currentIndex">
66
+        <div class="message_body_list" *ngFor="let item of tabs;let i = index;" [hidden]="item.hidden && i != currentIndex">
67 67
           <div class="message_body_list_title" *ngIf="!(i == 1)">
68 68
             <span>通知标题:</span><input nz-input placeholder="请输入通知标题" [(ngModel)]="item.processTitle" [disabled]="item.disable" />
69 69
           </div>
@@ -74,7 +74,7 @@
74 74
             <span style="visibility: hidden">变量名称{{currentIndex}}:</span>
75 75
             <p>备注:[$变量名称$]可添加<em *ngFor="let v of varArr;let first = first;let last = last;"><span (click)="writeIn(item, v, $event, 'processContent')">{{v}}</span><i *ngIf="!last">、</i><i *ngIf="last">。</i></em></p>
76 76
           </div>
77
-          <div class="message_body_list_wechatConfig" *ngIf="currentIndex == 2">
77
+          <!-- <div class="message_body_list_wechatConfig" *ngIf="currentIndex == 2">
78 78
             <span><i class="icon_transport transport-required red"></i>配置类型:</span>
79 79
             <nz-select class="w100" [nzDropdownMatchSelectWidth]="false" nzAllowClear [(ngModel)]="editData.wechatConfigTypeId"
80 80
               nzPlaceHolder="请选择微信配置类型" nzServerSearch>
@@ -85,7 +85,7 @@
85 85
                 <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
86 86
               </nz-option>
87 87
             </nz-select>
88
-          </div>
88
+          </div> -->
89 89
           <div class="message_body_list_title">
90 90
             <span><i class="icon_transport transport-required red"></i>是否开启:</span>
91 91
             <nz-radio-group [(ngModel)]="editData.flag">

+ 103 - 56
src/app/components/configurationCenter/configuration-message/configuration-message.component.ts

@@ -1,4 +1,4 @@
1
-import { Component, OnInit } from "@angular/core";
1
+import { Component, OnInit, Input } from "@angular/core";
2 2
 import { ActivatedRoute } from "@angular/router";
3 3
 import { MainService } from "../../../services/main.service";
4 4
 import { ToolService } from 'src/app/services/tool.service';
@@ -10,6 +10,7 @@ import { NzMessageService } from 'ng-zorro-antd';
10 10
   styleUrls: ["./configuration-message.component.less"],
11 11
 })
12 12
 export class ConfigurationMessageComponent implements OnInit {
13
+  @Input() wechatConfigTypeValue: string;
13 14
   constructor(
14 15
     private route: ActivatedRoute,
15 16
     private mainService: MainService,
@@ -43,36 +44,7 @@ export class ConfigurationMessageComponent implements OnInit {
43 44
   tabs = []
44 45
 
45 46
   //变量参数
46
-  varArr = [
47
-    "[$报修单号$]",
48
-    "[$报修科室$]",
49
-    "[$报修时间$]",
50
-    "[$报修人$]",
51
-    "[$详细地址$]",
52
-    "[$不受理时间$]",
53
-    "[$不受理原因$]",
54
-    "[$故障描述$]",
55
-    "[$服务台人员$]",
56
-    "[$受理时间$]",
57
-    "[$事件单号$]",
58
-    "[$地点$]",
59
-    "[$区域$]",
60
-    "[$学工号$]",
61
-    "[$联系人电话$]",
62
-    "[$受理人$]",
63
-    "[$受理人电话$]",
64
-    "[$处理人$]",
65
-    "[$处理人电话$]",
66
-    "[$指派人$]",
67
-    "[$转派人$]",
68
-    "[$延期原因$]",
69
-    "[$进入系统$]",
70
-    "[$回访满意度$]",
71
-    "[$回访备注$]",
72
-    "[$回访处理结果$]",
73
-    "[$评价满意度$]",
74
-    "[$评价内容$]",
75
-  ];
47
+  varArr = [];
76 48
 
77 49
   // 写入
78 50
   writeIn(tab, content, event, type){
@@ -124,31 +96,103 @@ export class ConfigurationMessageComponent implements OnInit {
124 96
         wechatConfigTypeId: data.wechatConfigType ? data.wechatConfigType.id : null,//微信配置类型
125 97
     };
126 98
 
127
-    this.tabs = [
128
-      {
129
-        tabName: "站内消息",
130
-        processTitle: this.editData.messageStationTitle,
131
-        processContent: this.editData.messageStationContent,
132
-        checkboxFlag: this.editData.messageStationFlag,
133
-        disable: !this.editData.messageStationFlag,
134
-      },
135
-      {
136
-        tabName: "短信",
137
-        processTitle: '',
138
-        processContent: this.editData.shortMessageContent,
139
-        checkboxFlag: this.editData.shortMessageFlag,
140
-        disable: !this.editData.shortMessageFlag,
141
-      },
142
-      {
143
-        tabName: "微信",
144
-        processTitle: this.editData.wechatMessageTitle,
145
-        processContent: this.editData.wechatMessageContent,
146
-        checkboxFlag: this.editData.wechatMessageFlag,
147
-        disable: !this.editData.wechatMessageFlag,
148
-      }
149
-    ];
99
+    if(this.wechatConfigTypeValue === 'hsms'){
100
+      // 转运
101
+      this.tabs = [
102
+        {
103
+          tabName: "站内消息",
104
+          processTitle: this.editData.messageStationTitle,
105
+          processContent: this.editData.messageStationContent,
106
+          checkboxFlag: this.editData.messageStationFlag,
107
+          disable: !this.editData.messageStationFlag,
108
+          hidden: true,
109
+        },
110
+        {
111
+          tabName: "短信",
112
+          processTitle: '',
113
+          processContent: this.editData.shortMessageContent,
114
+          checkboxFlag: this.editData.shortMessageFlag,
115
+          disable: !this.editData.shortMessageFlag,
116
+          hidden: true,
117
+        },
118
+        {
119
+          tabName: "微信",
120
+          processTitle: this.editData.wechatMessageTitle,
121
+          processContent: this.editData.wechatMessageContent,
122
+          checkboxFlag: this.editData.wechatMessageFlag,
123
+          disable: !this.editData.wechatMessageFlag,
124
+          hidden: false,
125
+        }
126
+      ];
127
+
128
+      this.varArr = [
129
+        "[$患者信息$]",
130
+        "[$建单人$]",
131
+      ];
150 132
 
151
-    this.currentIndex = 0;
133
+      this.currentIndex = 2;
134
+    }else if(this.wechatConfigTypeValue === 'mdv2_handle'){
135
+      // 运维
136
+      this.tabs = [
137
+        {
138
+          tabName: "站内消息",
139
+          processTitle: this.editData.messageStationTitle,
140
+          processContent: this.editData.messageStationContent,
141
+          checkboxFlag: this.editData.messageStationFlag,
142
+          disable: !this.editData.messageStationFlag,
143
+          hidden: false,
144
+        },
145
+        {
146
+          tabName: "短信",
147
+          processTitle: '',
148
+          processContent: this.editData.shortMessageContent,
149
+          checkboxFlag: this.editData.shortMessageFlag,
150
+          disable: !this.editData.shortMessageFlag,
151
+          hidden: false,
152
+        },
153
+        {
154
+          tabName: "微信",
155
+          processTitle: this.editData.wechatMessageTitle,
156
+          processContent: this.editData.wechatMessageContent,
157
+          checkboxFlag: this.editData.wechatMessageFlag,
158
+          disable: !this.editData.wechatMessageFlag,
159
+          hidden: false,
160
+        }
161
+      ];
162
+
163
+      this.varArr = [
164
+        "[$报修单号$]",
165
+        "[$报修科室$]",
166
+        "[$报修时间$]",
167
+        "[$报修人$]",
168
+        "[$详细地址$]",
169
+        "[$不受理时间$]",
170
+        "[$不受理原因$]",
171
+        "[$故障描述$]",
172
+        "[$服务台人员$]",
173
+        "[$受理时间$]",
174
+        "[$事件单号$]",
175
+        "[$地点$]",
176
+        "[$区域$]",
177
+        "[$学工号$]",
178
+        "[$联系人电话$]",
179
+        "[$受理人$]",
180
+        "[$受理人电话$]",
181
+        "[$处理人$]",
182
+        "[$处理人电话$]",
183
+        "[$指派人$]",
184
+        "[$转派人$]",
185
+        "[$延期原因$]",
186
+        "[$进入系统$]",
187
+        "[$回访满意度$]",
188
+        "[$回访备注$]",
189
+        "[$回访处理结果$]",
190
+        "[$评价满意度$]",
191
+        "[$评价内容$]",
192
+      ];
193
+
194
+      this.currentIndex = 0;
195
+    }
152 196
   }
153 197
 
154 198
   //tab页面切换
@@ -267,7 +311,10 @@ export class ConfigurationMessageComponent implements OnInit {
267 311
       idx: 0,
268 312
       sum: 9999,
269 313
       messageManager: {
270
-        "noticeProcess": 1
314
+        "noticeProcess": 1,
315
+        "wechatConfigType": {
316
+          value: this.wechatConfigTypeValue,
317
+        },
271 318
       },
272 319
     };
273 320
     this.loading1 = true;

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

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

+ 1 - 1
src/app/views/incident-config/incident-config.component.html

@@ -22,7 +22,7 @@
22 22
   </ng-container>
23 23
   <!-- 消息通知 -->
24 24
   <ng-container *ngIf="activeTagLink === 'incidentConfigMessage'">
25
-    <app-configuration-message></app-configuration-message>
25
+    <app-configuration-message wechatConfigTypeValue="mdv2_handle"></app-configuration-message>
26 26
   </ng-container>
27 27
 	<!-- 工时管理 -->
28 28
 	<ng-container *ngIf="activeTagLink === 'incidentConfigManHour'">

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

@@ -8,9 +8,9 @@ import { ConfigurationCategoryComponent } from 'src/app/components/configuration
8 8
 import { ConfigurationPriorityComponent } from 'src/app/components/configurationCenter/configuration-priority/configuration-priority.component';
9 9
 import { ConfigurationManHourComponent } from 'src/app/components/configurationCenter/configuration-manHour/configuration-manHour.component';
10 10
 import { ConfigurationDeptUserComponent } from 'src/app/components/configurationCenter/configuration-deptUser/configuration-deptUser.component';
11
-import { ConfigurationMessageComponent } from 'src/app/components/configurationCenter/configuration-message/configuration-message.component';
12 11
 import { ConfigurationHospitalComponent } from 'src/app/components/configurationCenter/configuration-hospital/configuration-hospital.component';
13 12
 import { ConfigurationDictionaryModule } from 'src/app/components/configurationCenter/configuration-dictionary/configuration-dictionary.module';
13
+import { ConfigurationMessageModule } from 'src/app/components/configurationCenter/configuration-message/configuration-message.module';
14 14
 import { ConfigurationCommonFaultsComponent } from 'src/app/components/configurationCenter/configuration-commonFaults/configuration-commonFaults.component';
15 15
 import { ConfigurationSysComponent } from 'src/app/components/configurationCenter/configuration-sys/configuration-sys.component';
16 16
 
@@ -22,7 +22,6 @@ import { ConfigurationSysComponent } from 'src/app/components/configurationCente
22 22
     ConfigurationPriorityComponent,
23 23
 		ConfigurationManHourComponent,
24 24
 		ConfigurationDeptUserComponent,
25
-    ConfigurationMessageComponent,
26 25
     ConfigurationHospitalComponent,
27 26
     ConfigurationCommonFaultsComponent,
28 27
 		ConfigurationSysComponent
@@ -32,6 +31,7 @@ import { ConfigurationSysComponent } from 'src/app/components/configurationCente
32 31
     IncidentConfigRoutingModule,
33 32
     ShareModule,
34 33
     ConfigurationDictionaryModule,
34
+    ConfigurationMessageModule,
35 35
   ]
36 36
 })
37 37
 export class IncidentConfigModule { }

+ 10 - 0
src/app/views/page-config/page-config.component.html

@@ -22,6 +22,16 @@
22 22
   <ng-container *ngIf="activeTagLink === 'pageConfigInspect'">
23 23
     <app-configuration-inspect></app-configuration-inspect>
24 24
   </ng-container>
25
+
26
+  <!-- 数据字典 -->
27
+  <ng-container *ngIf="activeTagLink === 'pageConfigDictionary'">
28
+    <app-configuration-dictionary [dictionaryKeyList]="dictionaryKeyList"></app-configuration-dictionary>
29
+  </ng-container>
30
+
31
+  <!-- 消息通知 -->
32
+  <ng-container *ngIf="activeTagLink === 'pageConfigMessage'">
33
+    <app-configuration-message wechatConfigTypeValue="hsms"></app-configuration-message>
34
+  </ng-container>
25 35
 </div>
26 36
 
27 37
 

+ 5 - 0
src/app/views/page-config/page-config.component.ts

@@ -16,6 +16,11 @@ export class PageConfigComponent implements OnInit, AfterViewInit {
16 16
     // { id: 1, name: '标本',},
17 17
   ];
18 18
 
19
+  // 数据字典
20
+  dictionaryKeyList:any[] = [
21
+    { id: 1, name: '检查类型', key: "inspect_check_item"},
22
+  ]
23
+
19 24
   ngOnInit(): void {}
20 25
 
21 26
   ngAfterViewInit(){

+ 4 - 0
src/app/views/page-config/page-config.module.ts

@@ -7,6 +7,8 @@ import { ShareModule } from 'src/app/share/share.module';
7 7
 import { ConfigurationSpecimenComponent } from 'src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component';
8 8
 import { ConfigurationDrugComponent } from 'src/app/components/configurationCenter/configuration-drug/configuration-drug.component';
9 9
 import { ConfigurationInspectModule } from 'src/app/components/configurationCenter/configuration-inspect/configuration-inspect.module';
10
+import { ConfigurationDictionaryModule } from 'src/app/components/configurationCenter/configuration-dictionary/configuration-dictionary.module';
11
+import { ConfigurationMessageModule } from 'src/app/components/configurationCenter/configuration-message/configuration-message.module';
10 12
 
11 13
 
12 14
 @NgModule({
@@ -20,6 +22,8 @@ import { ConfigurationInspectModule } from 'src/app/components/configurationCent
20 22
     PageConfigRoutingModule,
21 23
     ShareModule,
22 24
     ConfigurationInspectModule,
25
+    ConfigurationDictionaryModule,
26
+    ConfigurationMessageModule,
23 27
   ]
24 28
 })
25 29
 export class PageConfigModule { }