seimin 4 miesięcy temu
rodzic
commit
de901fc77c

+ 1 - 1
proxy.conf.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "/service": {
3
-		"target": "http://192.168.3.108",
3
+		"target": "http://192.168.4.105",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

+ 72 - 14
src/app/components/configurationCenter/configuration-quick/configuration-quick.component.html

@@ -12,21 +12,25 @@
12 12
             [nzLoading]="loading1" [nzScroll]="{ y: tablePriorityHeight + 'px' }">
13 13
             <thead>
14 14
               <tr class="thead">
15
-                <th nzWidth="25%">排序号</th>
16
-                <th nzWidth="25%">故障现象</th>
17
-                <th nzWidth="25%">别名</th>
15
+                <th nzWidth="15%">图标名称</th>
16
+                <th nzWidth="15%">按钮名称</th>
17
+                <th nzWidth="15%">关联业务</th>
18
+                <th nzWidth="15%">排序号</th>
19
+                <th nzWidth="15%">是否启用</th>
18 20
                 <th nzWidth="25%">操作</th>
19 21
               </tr>
20 22
             </thead>
21 23
             <tbody>
22 24
               <tr *ngFor="let data of commonFaultsList;let i = index">
25
+                <td>{{data.icon?.name}}</td>
26
+                <td>{{data.name}}</td>
27
+                <td>{{data.bussType?.name}}</td>
23 28
                 <td>{{data.orders}}</td>
24
-                <td>{{data.categoryDTO?.mutiCategory}}</td>
25
-                <td>{{data.content}}</td>
29
+                <td>{{data.active === 1 ? '是' : '否'}}</td>
26 30
                 <td>
27 31
                   <div class="coop">
28
-                    <span (click)="showDelModal(data,'您确认要删除吗?','删除','delPriority')">删除</span>
29 32
                     <span (click)="editPriority(data)">编辑</span>
33
+                    <span (click)="showDelModal(data,'您确认要删除吗?','删除','delPriority')">删除</span>
30 34
                   </div>
31 35
                 </td>
32 36
               </tr>
@@ -62,19 +66,58 @@
62 66
           </nz-form-control>
63 67
         </nz-form-item>
64 68
         <nz-form-item>
65
-          <nz-form-label [nzSpan]="6" nzRequired nzFor="content">别名</nz-form-label>
66
-          <nz-form-control [nzSpan]="18" nzErrorTip="请输入别名!">
69
+          <nz-form-label nzFor="icon" nzRequired [nzSpan]="6">图标名称</nz-form-label>
70
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择图标名称!">
71
+						<nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择图标名称" formControlName="icon">
72
+						  <ng-container *ngFor="let option of pagePermissionIconList">
73
+						    <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
74
+						  </ng-container>
75
+						  <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
76
+						    <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
77
+						  </nz-option>
78
+						</nz-select>
79
+          </nz-form-control>
80
+        </nz-form-item>
81
+        <nz-form-item>
82
+          <nz-form-label [nzSpan]="6" nzRequired nzFor="name">按钮名称</nz-form-label>
83
+          <nz-form-control [nzSpan]="18" nzErrorTip="请输入按钮名称!">
67 84
             <nz-input-group>
68
-              <input formControlName="content" nz-input placeholder="请输入别名">
85
+              <input formControlName="name" nz-input placeholder="请输入按钮名称" maxlength="6">
69 86
             </nz-input-group>
70 87
           </nz-form-control>
71 88
         </nz-form-item>
72 89
         <nz-form-item>
73
-          <nz-form-label nzFor="category" nzRequired [nzSpan]="6">故障现象</nz-form-label>
74
-          <nz-form-control [nzSpan]="18">
75
-						<nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择故障现象" formControlName="category" (nzOnSearch)="changeCommonInp('category', $event)">
90
+          <nz-form-label nzFor="bussType" nzRequired [nzSpan]="6">关联业务</nz-form-label>
91
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择关联业务!">
92
+						<nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择关联业务" formControlName="bussType" (ngModelChange)="changeBussType($event)">
93
+						  <ng-container *ngFor="let option of pagePermissionBussTypeList">
94
+						    <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.value"></nz-option>
95
+						  </ng-container>
96
+						  <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
97
+						    <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
98
+						  </nz-option>
99
+						</nz-select>
100
+          </nz-form-control>
101
+        </nz-form-item>
102
+        <nz-form-item *ngIf="validatePriorityForm.value.bussType === 'service'">
103
+          <nz-form-label nzFor="quickOperation" nzRequired [nzSpan]="6">快捷操作</nz-form-label>
104
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择快捷操作!">
105
+						<nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择快捷操作" formControlName="quickOperation">
106
+						  <ng-container *ngFor="let option of pagePermissionQuickOperationList">
107
+						    <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
108
+						  </ng-container>
109
+						  <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
110
+						    <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
111
+						  </nz-option>
112
+						</nz-select>
113
+          </nz-form-control>
114
+        </nz-form-item>
115
+        <nz-form-item *ngIf="validatePriorityForm.value.bussType === 'goods'">
116
+          <nz-form-label nzFor="taskTypeIds" nzRequired [nzSpan]="6">任务类型</nz-form-label>
117
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择任务类型!">
118
+						<nz-select class="formItem" nzMode="multiple" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzPlaceHolder="请选择任务类型" formControlName="taskTypeIds" (nzOnSearch)="changeCommonInp('taskType', $event)" (ngModelChange)="changeTaskTypeIds($event)">
76 119
 						  <ng-container *ngFor="let option of malfunctionData">
77
-						    <nz-option *ngIf="!isLoading" [nzLabel]="option.mutiCategory" [nzValue]="option.id"></nz-option>
120
+						    <nz-option *ngIf="!isLoading" [nzLabel]="option.taskName" [nzValue]="option.id"></nz-option>
78 121
 						  </ng-container>
79 122
 						  <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
80 123
 						    <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
@@ -82,6 +125,21 @@
82 125
 						</nz-select>
83 126
           </nz-form-control>
84 127
         </nz-form-item>
128
+        <nz-form-item *ngIf="validatePriorityForm.value.bussType === 'goods' && hasSpecimen">
129
+          <nz-form-label nzFor="urgentIds" [nzSpan]="8">是否显示标本数量</nz-form-label>
130
+          <nz-form-control [nzSpan]="16" nzErrorTip="请选择是否显示标本数量!">
131
+            <nz-checkbox-group class="formItem" formControlName="urgentIds"></nz-checkbox-group>
132
+          </nz-form-control>
133
+        </nz-form-item>
134
+        <nz-form-item>
135
+          <nz-form-label nzFor="active" nzRequired [nzSpan]="6">是否启用</nz-form-label>
136
+          <nz-form-control [nzSpan]="18" nzErrorTip="请选择是否启用!">
137
+            <nz-radio-group class="formItem" type="active" formControlName="active">
138
+              <label nz-radio [nzValue]="1">是</label>
139
+              <label nz-radio [nzValue]="0">否</label>
140
+            </nz-radio-group>
141
+          </nz-form-control>
142
+        </nz-form-item>
85 143
       </form>
86 144
     </div>
87 145
     <div class=" display_flex justify-content_flex-center">
@@ -89,4 +147,4 @@
89 147
       <button class="btn cancel" nz-button nzType="default" (click)="hidePriorityModal()">取消</button>
90 148
     </div>
91 149
   </div>
92
-</div>
150
+</div>

+ 139 - 22
src/app/components/configurationCenter/configuration-quick/configuration-quick.component.ts

@@ -35,8 +35,8 @@ export class ConfigurationQuickComponent implements OnInit {
35 35
 
36 36
   ngOnInit() {
37 37
 		this.changeCommonInpSubject.pipe(debounceTime(500)).subscribe((v) => {
38
-      if(v[0] === 'category'){
39
-        this.searchApplicationCategory(v[1]);
38
+      if(v[0] === 'taskType'){
39
+        this.getTaskTypeList(v[1]);
40 40
       }
41 41
     });
42 42
 
@@ -47,7 +47,10 @@ export class ConfigurationQuickComponent implements OnInit {
47 47
 		this.hosId = this.tool.getCurrentHospital().id;
48 48
 		this.currentHospital = this.tool.getCurrentHospital();
49 49
     this.getCommonFaultsList();
50
-		this.searchApplicationCategory()
50
+		this.getTaskTypeList();
51
+    this.getPagePermissionIcon();
52
+    this.getPagePermissionBussType();
53
+    this.getPagePermissionQuickOperation();
51 54
   }
52 55
 
53 56
   // 新增优先级弹框
@@ -71,23 +74,102 @@ export class ConfigurationQuickComponent implements OnInit {
71 74
 
72 75
 	// 获取故障现象数据
73 76
   isLoading:boolean = false;
74
-	searchApplicationCategory(keyWord?){
77
+	getTaskTypeList(keyWord?){
75 78
 		let postData = {
76
-		  category: {
77
-        category: keyWord,
78
-        selectType: "mutlQuery",
79
-		    hierarchy: 3,
79
+      idx: 0,
80
+      sum: 9999,
81
+		  taskType: {
82
+        taskName: keyWord,
83
+        hosIds: this.hosId,
84
+        assTypeValues: 'specimen,other,ordinary',
85
+        simpleQuery: true,
80 86
 		  },
81 87
 		};
82 88
     this.isLoading = true;
83
-		this.mainService.incidentPost("listIncidentCategory", postData).subscribe(data => {
89
+		this.mainService.getFetchDataList('configuration', "taskType", postData).subscribe(data => {
84 90
 		  this.isLoading = false;
85 91
       if (data.status == 200) {
86
-        this.malfunctionData = data.data || [];
92
+        this.malfunctionData = data.list || [];
87 93
       }
88 94
 		})
89 95
 	}
90 96
 
97
+  // 获取字典数据-图标名称
98
+  pagePermissionIconList: any[] = [];
99
+  getPagePermissionIcon() {
100
+    this.mainService
101
+      .getDictionary("list", "page_permission_icon")
102
+      .subscribe((data) => {
103
+        this.pagePermissionIconList = data;
104
+      });
105
+  }
106
+
107
+  // 获取字典数据-关联业务
108
+  pagePermissionBussTypeList: any[] = [];
109
+  getPagePermissionBussType() {
110
+    this.mainService
111
+      .getDictionary("list", "page_permission_buss_type")
112
+      .subscribe((data) => {
113
+        this.pagePermissionBussTypeList = data;
114
+      });
115
+  }
116
+
117
+  // 获取字典数据-快捷操作
118
+  pagePermissionQuickOperationList: any[] = [];
119
+  getPagePermissionQuickOperation() {
120
+    this.mainService
121
+      .getDictionary("list", "page_permission_quick_operation")
122
+      .subscribe((data) => {
123
+        this.pagePermissionQuickOperationList = data;
124
+      });
125
+  }
126
+
127
+  // 获取字典数据-是否显示标本数量
128
+  gdEmergencyList: any[] = [
129
+    { value: 1, label: '急标数量', checked: false },
130
+    { value: 2, label: '普标数量', checked: false },
131
+  ];
132
+
133
+  // 修改关联业务
134
+  changeBussType(e){
135
+    console.log(e);
136
+    this.validatePriorityForm.controls.quickOperation.setValue(null);
137
+    this.validatePriorityForm.controls.taskTypeIds.setValue([]);
138
+    this.validatePriorityForm.controls.urgentIds.setValue(this.gdEmergencyList.map(v => {v.checked = false;return v;}));
139
+
140
+    if(e === 'service'){
141
+      this.requiredChange('quickOperation', true);
142
+      this.requiredChange('taskTypeIds', false);
143
+      this.requiredChange('urgentIds', false);
144
+    }else if(e === 'goods'){
145
+      this.requiredChange('quickOperation', false);
146
+      this.requiredChange('taskTypeIds', true);
147
+      this.requiredChange('urgentIds', false);
148
+    }
149
+  }
150
+
151
+  // 修改任务类型
152
+  hasSpecimen:boolean = false;
153
+  changeTaskTypeIds(e){
154
+    console.log(e);
155
+    let o = this.malfunctionData.find(v => v.associationType.value === 'specimen');
156
+    this.hasSpecimen = e.some(v => v === o.id);
157
+    this.validatePriorityForm.controls.urgentIds.setValue(this.gdEmergencyList.map(v => {v.checked = false;return v;}));
158
+
159
+    this.requiredChange('urgentIds', this.hasSpecimen);
160
+  }
161
+
162
+  requiredChange(field, required: boolean): void {
163
+    if (!required) {
164
+      this.validatePriorityForm.get(field)!.clearValidators();
165
+      this.validatePriorityForm.get(field)!.markAsPristine();
166
+    } else {
167
+      this.validatePriorityForm.get(field)!.setValidators(Validators.required);
168
+      this.validatePriorityForm.get(field)!.markAsDirty();
169
+    }
170
+    this.validatePriorityForm.get(field)!.updateValueAndValidity();
171
+  }
172
+
91 173
   // 编辑
92 174
   editPriority(data) {
93 175
     console.log(data);
@@ -96,9 +178,25 @@ export class ConfigurationQuickComponent implements OnInit {
96 178
     this.modalPriority = true;
97 179
     this.initForm();
98 180
     this.coopData = data;
181
+
182
+    this.changeBussType(data.bussType.value);
183
+    data.taskTypeIds && this.changeTaskTypeIds(data.taskTypeIds.split(',').map(v => +v));
184
+
99 185
     this.validatePriorityForm.controls.orders.setValue(data.orders);
100
-    this.validatePriorityForm.controls.content.setValue(data.content);
101
-    this.validatePriorityForm.controls.category.setValue(data.category);
186
+    this.validatePriorityForm.controls.icon.setValue(data.icon.id);
187
+    this.validatePriorityForm.controls.name.setValue(data.name);
188
+    this.validatePriorityForm.controls.bussType.setValue(data.bussType.value);
189
+    data.quickOperation && this.validatePriorityForm.controls.quickOperation.setValue(data.quickOperation.id);
190
+    data.taskTypeIds && this.validatePriorityForm.controls.taskTypeIds.setValue(data.taskTypeIds.split(',').map(v => +v));
191
+    if(data.urgentIds){
192
+      let ids = data.urgentIds.split(',').map(v => +v);
193
+      let urgentIds = this.gdEmergencyList.map(v => {
194
+        v.checked = ids.includes(v.value);
195
+        return v;
196
+      })
197
+      this.validatePriorityForm.controls.urgentIds.setValue(urgentIds);
198
+    }
199
+    this.validatePriorityForm.controls.active.setValue(data.active);
102 200
   }
103 201
 
104 202
   // 新增/编辑表单提交
@@ -117,21 +215,33 @@ export class ConfigurationQuickComponent implements OnInit {
117 215
     if (this.add) {
118 216
       //增加
119 217
       postData = {
218
+        hosId: this.hosId,
120 219
         orders: this.validatePriorityForm.value.orders,
121
-        content: this.validatePriorityForm.value.content,
122
-        category: this.validatePriorityForm.value.category,
220
+        icon: this.validatePriorityForm.value.icon ? { id: this.validatePriorityForm.value.icon } : undefined,
221
+        name: this.validatePriorityForm.value.name,
222
+        bussType: this.validatePriorityForm.value.bussType ? this.pagePermissionBussTypeList.find(v => v.value === this.validatePriorityForm.value.bussType) : undefined,
223
+        quickOperation: this.validatePriorityForm.value.quickOperation ? { id: this.validatePriorityForm.value.quickOperation } : undefined,
224
+        taskTypeIds: this.validatePriorityForm.value.taskTypeIds.length ? this.validatePriorityForm.value.taskTypeIds.toString() : undefined,
225
+        urgentIds: this.validatePriorityForm.value.urgentIds.length ? this.validatePriorityForm.value.urgentIds.filter(v => v.checked).map(v => v.value).toString() : undefined,
226
+        active: this.validatePriorityForm.value.active,
123 227
       };
124 228
     } else {
125 229
       //编辑
126 230
       postData = {
127 231
 				...this.coopData,
128 232
 				orders: this.validatePriorityForm.value.orders,
129
-        content: this.validatePriorityForm.value.content,
130
-        category: this.validatePriorityForm.value.category,
233
+        icon: this.validatePriorityForm.value.icon ? { id: this.validatePriorityForm.value.icon } : undefined,
234
+        name: this.validatePriorityForm.value.name,
235
+        bussType: this.validatePriorityForm.value.bussType ? this.pagePermissionBussTypeList.find(v => v.value === this.validatePriorityForm.value.bussType) : undefined,
236
+        quickOperation: this.validatePriorityForm.value.quickOperation ? { id: this.validatePriorityForm.value.quickOperation } : undefined,
237
+        taskTypeIds: this.validatePriorityForm.value.taskTypeIds.length ? this.validatePriorityForm.value.taskTypeIds.toString() : undefined,
238
+        urgentIds: this.validatePriorityForm.value.urgentIds.length ? this.validatePriorityForm.value.urgentIds.filter(v => v.checked).map(v => v.value).toString() : undefined,
239
+        active: this.validatePriorityForm.value.active,
131 240
       };
132 241
     }
242
+    console.log(postData);
133 243
     this.mainService
134
-      .simplePost("addData", "incidentCategoryContent", postData)
244
+      .simplePost("addData", "pagePermissionConfig", postData)
135 245
       .subscribe((result) => {
136 246
         this.btnLoading = false;
137 247
         this.hidePriorityModal();
@@ -154,8 +264,13 @@ export class ConfigurationQuickComponent implements OnInit {
154 264
   initForm() {
155 265
     this.validatePriorityForm = this.fb.group({
156 266
       orders: [0, [Validators.required]],//排序号
157
-      content: [null, [Validators.required]],//别名
158
-      category: [null, [Validators.required]],//故障现象
267
+      icon: [null, [Validators.required]],//图标名称
268
+      name: [null, [Validators.required]],//按钮名称
269
+      bussType: [null, [Validators.required]],//关联业务
270
+      quickOperation: [null, [Validators.required]],//快捷操作
271
+      taskTypeIds: [[], [Validators.required]],//关联任务类型
272
+      urgentIds: [this.gdEmergencyList.map(v => {v.checked = false;return v;}), [Validators.required]],//是否显示标本数量
273
+      active: [0, [Validators.required]],//是否启用
159 274
     });
160 275
     console.log(this.validatePriorityForm.controls)
161 276
   }
@@ -168,11 +283,13 @@ export class ConfigurationQuickComponent implements OnInit {
168 283
     let data = {
169 284
 			idx: 0,
170 285
 			sum: 99999,
171
-			incidentCategoryContent: {},
286
+			pagePermissionConfig: {
287
+        hosId: this.hosId,
288
+      },
172 289
 		};
173 290
 		this.loading1 = true;
174 291
 		this.mainService
175
-			.getFetchDataList("simple/data", "incidentCategoryContent", data)
292
+			.getFetchDataList("simple/data", "pagePermissionConfig", data)
176 293
 			.subscribe((data) => {
177 294
 				this.loading1 = false;
178 295
 				this.commonFaultsList = data.list || [];
@@ -205,7 +322,7 @@ export class ConfigurationQuickComponent implements OnInit {
205 322
     this.btnLoading = true;
206 323
 		//删除-优先级
207 324
 		this.mainService
208
-			.simplePost("rmvData", "incidentCategoryContent", [this.coopData.id])
325
+			.simplePost("rmvData", "pagePermissionConfig", [this.coopData.id])
209 326
 			.subscribe((data) => {
210 327
 				this.btnLoading = false;
211 328
 				this.delModal = false;

+ 62 - 205
src/app/views/hushijiandan/hushijiandan.component.html

@@ -181,9 +181,6 @@
181 181
             <div class="todayNumWrap">护士端<span class="todayNum">当日建单数:{{ todayNum }}</span></div>
182 182
             <div class="updateTipsForNurses red">{{ updateTipsForNurses }}</div>
183 183
             <div class="queuingInformation" *ngIf="!updateTipsForNurses && inspectAndPatientTransportConfig.queuingInformation == 1">等待陪检:<span class="red">{{queuingInformationList[0]}}</span>&emsp;陪检中:<span class="red">{{queuingInformationList[1]}}</span></div>
184
-            <div class="nurseCode" (click)="showNurseCode()">
185
-              <i class="nurseCodeIcon icon_transport transport-erweima"></i>二维码
186
-            </div>
187 184
           </div>
188 185
           <div class="right">
189 186
             <div class="userInfo dropdown">
@@ -195,6 +192,8 @@
195 192
               <div class="dropdown-content r8" [hidden]="!showDropdown" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
196 193
                 <div class="dropdownItem" (click)="changeKsNow()">切换科室</div>
197 194
                 <div class="dropdownItem" (click)="showUpPwd()">修改密码</div>
195
+                <div class="dropdownItem" *ngIf="mainRole && loginUser.usertype.value != 1" (click)="toMain()">回到系统管理</div>
196
+                <div class="dropdownItem" *ngIf="mainRole && loginUser.usertype.value == 1" (click)="toOrder()">查看工单</div>
198 197
                 <div class="dropdownItem" (click)="logOut()">退出</div>
199 198
               </div>
200 199
             </div>
@@ -203,10 +202,9 @@
203 202
       </nz-header>
204 203
       <nz-content class="nzContent">
205 204
         <div class="inner-content">
206
-          <div class="mainInfo" nz-row>
207
-            <div nz-col nzSpan="17" class="cont">
205
+          <div class="mainInfo">
206
+            <div class="cont">
208 207
               <div class="top" [ngSwitch]="currentDept.typeValue">
209
-                <ng-container *ngIf="false">
210 208
                 <div class="nums borderB" nz-row *ngSwitchCase="'outpatientService'" hidden></div>
211 209
                 <div class="nums borderB" nz-row *ngSwitchCase="'surgery'">
212 210
                   <!-- 手术未开通 -->
@@ -349,36 +347,33 @@
349 347
                     </div>
350 348
                   </div>
351 349
                 </div>
352
-                <div class="nums borderB" nz-row *ngSwitchDefault>
350
+                <div class="nums borderB nurseNav" nz-row *ngSwitchDefault>
351
+                  <div class="nav">
352
+                    <div class="navItem" *ngFor="let item of pagePermissionConfigList">
353
+                      <div class="navIcon" [ngClass]="backColorComputed(item.icon.extra1)"><i class="icon_transport" [ngClass]="[item.icon.extra1]"></i></div>
354
+                      <div class="navContent">
355
+                        <h2>{{item.name}}</h2>
356
+                        <div class="navSpecimen" *ngIf="item.urgentFlag || item.ordinaryFlag">
357
+                          <span *ngIf="item.urgentFlag">急:<span class="red">{{ specimenWorkOrderMsg.specimenCount ? specimenWorkOrderMsg.specimenCount.urgent : 0 }}</span></span>
358
+                          <span *ngIf="item.ordinaryFlag">普:{{ specimenWorkOrderMsg.specimenCount ? specimenWorkOrderMsg.specimenCount.noUrgent : 0 }}</span>
359
+                        </div>
360
+                      </div>
361
+                    </div>
362
+                  </div>
363
+                  <div class="nurseCode" (click)="showNurseCode()">
364
+                    <i class="nurseCodeIcon icon_transport transport-erweima"></i>
365
+                  </div>
353 366
                   <!-- 标本信息未开通 -->
354
-                  <div
355
-                    *ngIf="!deptTaskTypeRules.openSpecimen"
356
-                    nz-col
357
-                    nzSpan="13"
358
-                    nz-row
359
-                    class="h100p"
360
-                  >
361
-                    <div
362
-                      class="notAvailable display_flex align-items_center justify-content_flex-center"
363
-                    >
367
+                  <!-- <div *ngIf="!deptTaskTypeRules.openSpecimen" nz-col nzSpan="13" nz-row class="h100p">
368
+                    <div class="notAvailable display_flex align-items_center justify-content_flex-center">
364 369
                       <div>
365
-                        <img
366
-                          src="../../assets/images/icon_jianchakong.png"
367
-                          alt=""
368
-                        />
370
+                        <img src="../../assets/images/icon_jianchakong.png" alt="" />
369 371
                         <div>暂未开通</div>
370 372
                       </div>
371 373
                     </div>
372 374
                     <div nz-col nzSpan="18" nz-row class="borderR h100p">
373
-                      <div
374
-                        nz-col
375
-                        nzSpan="4"
376
-                        class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
377
-                      >
378
-                        <img
379
-                          src="../../assets/images/icon_hubiaoben.png"
380
-                          alt=""
381
-                        />
375
+                      <div nz-col nzSpan="4" class="borderR alignC display_flex justify-content_flex-center align-items_center h100p">
376
+                        <img src="../../assets/images/icon_hubiaoben.png" alt="" />
382 377
                       </div>
383 378
                       <div nz-col nzSpan="20">
384 379
                         <div class="txtC h33 borderB overAuto">*****</div>
@@ -399,59 +394,24 @@
399 394
                         <button class="btn txtC">{{ specimenButton }}</button>
400 395
                       </div>
401 396
                     </div>
402
-                  </div>
397
+                  </div> -->
403 398
                   <!-- 标本信息已开通 -->
404
-                  <div
405
-                    *ngIf="deptTaskTypeRules.openSpecimen"
406
-                    nz-col
407
-                    nzSpan="13"
408
-                    nz-row
409
-                    class="h100p"
410
-                  >
399
+                  <!-- <div *ngIf="deptTaskTypeRules.openSpecimen" nz-col nzSpan="13" nz-row class="h100p">
411 400
                     <div nz-col nzSpan="18" nz-row class="borderR h100p">
412
-                      <div
413
-                        nz-col
414
-                        nzSpan="4"
415
-                        class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
416
-                      >
417
-                        <img
418
-                          src="../../assets/images/icon_hubiaoben.png"
419
-                          alt=""
420
-                        />
401
+                      <div nz-col nzSpan="4" class="borderR alignC display_flex justify-content_flex-center align-items_center h100p">
402
+                        <img src="../../assets/images/icon_hubiaoben.png" alt="" />
421 403
                       </div>
422 404
                       <div nz-col nzSpan="20">
423 405
                         <div class="txtC h33 borderB overAuto">
424 406
                           {{ specimenWorkOrderMsg.specimenInfo || "" }}
425 407
                         </div>
426 408
                         <div nz-row class="h53">
427
-                          <div
428
-                            nz-col
429
-                            nzSpan="12"
430
-                            class="txtC borderR h100p cur"
431
-                            (click)="changeSpeDetail(1)"
432
-                          >
433
-                            <p>
434
-                              {{
435
-                                specimenWorkOrderMsg.specimenCount
436
-                                  ? specimenWorkOrderMsg.specimenCount.urgent
437
-                                  : 0
438
-                              }}
439
-                            </p>
409
+                          <div nz-col nzSpan="12" class="txtC borderR h100p cur" (click)="changeSpeDetail(1)">
410
+                            <p>{{ specimenWorkOrderMsg.specimenCount ? specimenWorkOrderMsg.specimenCount.urgent : 0 }}</p>
440 411
                             <div>急标数量</div>
441 412
                           </div>
442
-                          <div
443
-                            nz-col
444
-                            nzSpan="12"
445
-                            class="txtC h100p cur"
446
-                            (click)="changeSpeDetail(0)"
447
-                          >
448
-                            <p>
449
-                              {{
450
-                                specimenWorkOrderMsg.specimenCount
451
-                                  ? specimenWorkOrderMsg.specimenCount.noUrgent
452
-                                  : 0
453
-                              }}
454
-                            </p>
413
+                          <div nz-col nzSpan="12" class="txtC h100p cur" (click)="changeSpeDetail(0)">
414
+                            <p>{{ specimenWorkOrderMsg.specimenCount ? specimenWorkOrderMsg.specimenCount.noUrgent : 0 }}</p>
455 415
                             <div>普标数量</div>
456 416
                           </div>
457 417
                         </div>
@@ -459,118 +419,48 @@
459 419
                     </div>
460 420
                     <div nz-col nzSpan="6" class="borderR h100p">
461 421
                       <div class="quick">
462
-                        <button
463
-                          [nzLoading]="bLoading"
464
-                          nz-button
465
-                          nzType="primary"
466
-                          class="btn txtC"
467
-                          (click)="newShortcutOrder1(bbMsg, 'bb')"
468
-                        >
422
+                        <button [nzLoading]="bLoading" nz-button nzType="primary" class="btn txtC" (click)="newShortcutOrder1(bbMsg, 'bb')">
469 423
                           {{ specimenButton }}
470 424
                         </button>
471
-                        <!-- <button class="btn txtC" (click)="newShortcutOrder1(bbMsg,'bb',true)">
472
-                          收取急查标本
473
-                        </button> -->
474 425
                       </div>
475 426
                     </div>
476
-                  </div>
427
+                  </div> -->
477 428
 
478 429
                   <!-- 药品/静配信息未开通 -->
479
-                  <div
480
-                    *ngIf="
481
-                      !deptTaskTypeRules.openStaticDistribution &&
482
-                      !deptTaskTypeRules.openDrugsBag &&
483
-                      !drugJpLoading
484
-                    "
485
-                    nz-col
486
-                    nzSpan="11"
487
-                    nz-row
488
-                    class="h100p"
489
-                  >
490
-                    <div
491
-                      class="notAvailable display_flex align-items_center justify-content_flex-center"
492
-                    >
430
+                  <!-- <div *ngIf="!deptTaskTypeRules.openStaticDistribution && !deptTaskTypeRules.openDrugsBag && !drugJpLoading" nz-col nzSpan="11" nz-row class="h100p">
431
+                    <div class="notAvailable display_flex align-items_center justify-content_flex-center">
493 432
                       <div>
494
-                        <img
495
-                          src="../../assets/images/icon_jianchakong.png"
496
-                          alt=""
497
-                        />
433
+                        <img src="../../assets/images/icon_jianchakong.png" alt="" />
498 434
                         <div>暂未开通</div>
499 435
                       </div>
500 436
                     </div>
501
-                    <div
502
-                      nz-col
503
-                      nzSpan="6"
504
-                      class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
505
-                    >
506
-                      <img
507
-                        src="../../assets/images/icon_hujingpei.png"
508
-                        alt=""
509
-                      />
437
+                    <div nz-col nzSpan="6" class="borderR alignC display_flex justify-content_flex-center align-items_center h100p">
438
+                      <img src="../../assets/images/icon_hujingpei.png" alt="" />
510 439
                     </div>
511 440
                     <div nz-col nzSpan="18" class="h100p">
512
-                      <div
513
-                        class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB"
514
-                      >
441
+                      <div class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto borderB">
515 442
                         <span>*****</span>
516 443
                       </div>
517
-                      <div
518
-                        class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto"
519
-                      >
444
+                      <div class="txtC h50p alignC display_flex justify-content_flex-center align-items_center overAuto">
520 445
                         <span>*****</span>
521 446
                       </div>
522 447
                     </div>
523
-                  </div>
448
+                  </div> -->
524 449
                   <!-- 药品/静配信息已开通 -->
525
-                  <div
526
-                    *ngIf="
527
-                      (deptTaskTypeRules.openStaticDistribution ||
528
-                        deptTaskTypeRules.openDrugsBag) &&
529
-                      !drugJpLoading
530
-                    "
531
-                    nz-col
532
-                    nzSpan="11"
533
-                    nz-row
534
-                    class="h100p"
535
-                  >
536
-                    <div
537
-                      nz-col
538
-                      nzSpan="6"
539
-                      class="borderR alignC display_flex justify-content_flex-center align-items_center h100p"
540
-                    >
541
-                      <img
542
-                        src="../../assets/images/icon_hujingpei.png"
543
-                        alt=""
544
-                      />
450
+                  <!-- <div *ngIf="(deptTaskTypeRules.openStaticDistribution || deptTaskTypeRules.openDrugsBag) && !drugJpLoading" nz-col nzSpan="11" nz-row class="h100p">
451
+                    <div nz-col nzSpan="6" class="borderR alignC display_flex justify-content_flex-center align-items_center h100p">
452
+                      <img src="../../assets/images/icon_hujingpei.png" alt="" />
545 453
                     </div>
546 454
                     <div nz-col nzSpan="18" class="h100p">
547 455
                       <div class="txtC h50p borderB">
548 456
                         <div class="swiperBox">
549
-                          <div
550
-                            class="swiper"
551
-                            [ngStyle]="{ top: swiperTop + 'px' }"
552
-                            *ngIf="
553
-                              jpDrugsWKOMsg.drugsInfoList &&
554
-                              jpDrugsWKOMsg.drugsInfoList.length > 0
555
-                            "
556
-                          >
557
-                            <div
558
-                              class="item txtC alignC display_flex justify-content_flex-center align-items_center"
559
-                              *ngFor="let item of jpDrugsWKOMsg.drugsInfoList"
560
-                            >
457
+                          <div class="swiper" [ngStyle]="{ top: swiperTop + 'px' }" *ngIf="jpDrugsWKOMsg.drugsInfoList && jpDrugsWKOMsg.drugsInfoList.length > 0">
458
+                            <div class="item txtC alignC display_flex justify-content_flex-center align-items_center" *ngFor="let item of jpDrugsWKOMsg.drugsInfoList">
561 459
                               <span>{{ item }}</span>
562 460
                             </div>
563 461
                           </div>
564
-                          <div
565
-                            class="swiper none display_flex justify-content_flex-center align-items_center"
566
-                            *ngIf="
567
-                              !jpDrugsWKOMsg.drugsInfoList ||
568
-                              !jpDrugsWKOMsg.drugsInfoList.length
569
-                            "
570
-                          >
571
-                            <div
572
-                              class="item alignC display_flex justify-content_flex-center align-items_center"
573
-                            >
462
+                          <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!jpDrugsWKOMsg.drugsInfoList || !jpDrugsWKOMsg.drugsInfoList.length">
463
+                            <div class="item alignC display_flex justify-content_flex-center align-items_center">
574 464
                               <span>暂无药品配送信息</span>
575 465
                             </div>
576 466
                           </div>
@@ -578,55 +468,30 @@
578 468
                       </div>
579 469
                       <div class="txtC h50p">
580 470
                         <div class="swiperBox">
581
-                          <div
582
-                            class="swiper"
583
-                            [ngStyle]="{ top: swiperTop1 + 'px' }"
584
-                            *ngIf="
585
-                              jpDrugsWKOMsg.jpInfoList &&
586
-                              jpDrugsWKOMsg.jpInfoList.length > 0
587
-                            "
588
-                          >
589
-                            <div
590
-                              class="item txtC alignC display_flex justify-content_flex-center align-items_center"
591
-                              *ngFor="let item of jpDrugsWKOMsg.jpInfoList"
592
-                            >
471
+                          <div class="swiper" [ngStyle]="{ top: swiperTop1 + 'px' }" *ngIf="jpDrugsWKOMsg.jpInfoList && jpDrugsWKOMsg.jpInfoList.length > 0 ">
472
+                            <div class="item txtC alignC display_flex justify-content_flex-center align-items_center" *ngFor="let item of jpDrugsWKOMsg.jpInfoList">
593 473
                               <span>{{ item }}</span>
594 474
                             </div>
595 475
                           </div>
596
-                          <div
597
-                            class="swiper none display_flex justify-content_flex-center align-items_center"
598
-                            *ngIf="
599
-                              !jpDrugsWKOMsg.jpInfoList ||
600
-                              !jpDrugsWKOMsg.jpInfoList.length
601
-                            "
602
-                          >
603
-                            <div
604
-                              class="item alignC display_flex justify-content_flex-center align-items_center"
605
-                            >
606
-                              <!-- <span>暂无静配配送信息</span> -->
476
+                          <div class="swiper none display_flex justify-content_flex-center align-items_center" *ngIf="!jpDrugsWKOMsg.jpInfoList || !jpDrugsWKOMsg.jpInfoList.length">
477
+                            <div class="item alignC display_flex justify-content_flex-center align-items_center">
478
+                              <span>暂无静配配送信息</span>
607 479
                               <span></span>
608 480
                             </div>
609 481
                           </div>
610 482
                         </div>
611 483
                       </div>
612 484
                     </div>
613
-                  </div>
614
-                  <div
615
-                    *ngIf="drugJpLoading"
616
-                    nz-col
617
-                    nzSpan="11"
618
-                    nz-row
619
-                    class="h100p display_flex justify-content_flex-center align-items_center"
620
-                  >
485
+                  </div> -->
486
+                  <!-- <div *ngIf="drugJpLoading" nz-col nzSpan="11" nz-row class="h100p display_flex justify-content_flex-center align-items_center">
621 487
                     <div class="txtC" style="text-align: center">
622 488
                       <img src="../../../assets/images/loading.gif" alt="" />
623 489
                       <div>加载中...</div>
624 490
                     </div>
625
-                  </div>
491
+                  </div> -->
626 492
                 </div>
627
-                </ng-container>
628
-                <div class="tab borderB" nz-row style="padding: 4px 0">
629
-                  <div nz-col nzSpan="21" class="h100p">
493
+                <div class="tab borderB" nz-row>
494
+                  <div nz-col nzSpan="24" class="h100p">
630 495
                     <overlay-scrollbars #osComponentRef11 nz-row class="h100p w100">
631 496
                       <div style="height: 100%; display: flex;">
632 497
                         <ng-container *ngFor="let item of tabPermission">
@@ -657,14 +522,6 @@
657 522
                       </div>
658 523
                     </overlay-scrollbars>
659 524
                   </div>
660
-                  <div nz-col nzSpan="3" class="txtC h100p alignR display_flex justify-content_flex-end align-items_center">
661
-                    <div class="btn txtC" *ngIf="mainRole && loginUser.usertype.value != 1" (click)="toMain()">
662
-                      回到系统管理
663
-                    </div>
664
-                    <div class="btn txtC" *ngIf="mainRole && loginUser.usertype.value == 1" (click)="toOrder()">
665
-                      查看工单
666
-                    </div>
667
-                  </div>
668 525
                 </div>
669 526
               </div>
670 527
               <!-- 其他任务建单 -->
@@ -1768,7 +1625,7 @@
1768 1625
                 </div>
1769 1626
               </div>
1770 1627
             </div>
1771
-            <div nz-col nzSpan="7" class="orders">
1628
+            <div class="orders">
1772 1629
               <div
1773 1630
                 class="orderTit display_flex justify-content_space-between align-items_center"
1774 1631
               >
@@ -3548,4 +3405,4 @@
3548 3405
       </ng-template>
3549 3406
     </label>
3550 3407
   </div>
3551
-</nz-modal>
3408
+</nz-modal>

+ 98 - 56
src/app/views/hushijiandan/hushijiandan.component.less

@@ -1164,24 +1164,6 @@
1164 1164
             line-height: normal;
1165 1165
             font-size: 14px;
1166 1166
           }
1167
-
1168
-          .nurseCode {
1169
-            width: 80px;
1170
-            height: 100%;
1171
-            font-size: 14px;
1172
-            color: #333;
1173
-            display: flex;
1174
-            justify-content: space-between;
1175
-            align-items: center;
1176
-            margin-right: 40px;
1177
-            cursor: pointer;
1178
-
1179
-            .nurseCodeIcon {
1180
-              margin-right: 8px;
1181
-              font-size: 24px;
1182
-              color: #929292;
1183
-            }
1184
-          }
1185 1167
         }
1186 1168
 
1187 1169
         .right {
@@ -1212,7 +1194,7 @@
1212 1194
             padding: 0 24px;
1213 1195
             box-sizing: border-box;
1214 1196
             font-size: 14px;
1215
-            border-left: 1px solid #e5e9ed;
1197
+            // border-left: 1px solid #e5e9ed;
1216 1198
 
1217 1199
             .wel {
1218 1200
               line-height: 15px;
@@ -1333,6 +1315,16 @@
1333 1315
       .mainInfo {
1334 1316
         width: 100%;
1335 1317
         height: 100%;
1318
+        display: flex;
1319
+
1320
+        .cont{
1321
+          flex: 1;
1322
+        }
1323
+
1324
+        .orders{
1325
+          width: 354px;
1326
+          flex-shrink: 1;
1327
+        }
1336 1328
 
1337 1329
         & > div {
1338 1330
           height: 100%;
@@ -1351,9 +1343,77 @@
1351 1343
             z-index: 9;
1352 1344
 
1353 1345
             .nums {
1354
-              height: 48px;
1346
+              height: 57px;
1355 1347
               position: relative;
1356
-
1348
+              &.nurseNav{
1349
+                display: flex;
1350
+                align-items: center;
1351
+                .nav{
1352
+                  height: 100%;
1353
+                  flex: 1;
1354
+                  display: flex;
1355
+                  align-items: center;
1356
+                  gap: 24px;
1357
+                  padding: 0 16px;
1358
+                  .navItem{
1359
+                    display: flex;
1360
+                    align-items: center;
1361
+                    cursor: pointer;
1362
+                    .navIcon{
1363
+                      color: #fff;
1364
+                      border-radius: 4px;
1365
+                      display: flex;
1366
+                      justify-content: center;
1367
+                      align-items: center;
1368
+                      width: 40px;
1369
+                      height: 40px;
1370
+                      margin-right: 5px;
1371
+                      .icon_transport{
1372
+                        font-size: 32px;
1373
+                      }
1374
+                      &.specimen{
1375
+                        background: linear-gradient( 41deg, #11BB87 0%, #2AC89D 47%, #45D8B5 100%);
1376
+                      }
1377
+                      &.blood{
1378
+                        background: linear-gradient( 41deg, #FC985C 0%, #FAA471 50%, #FD9A5D 100%);
1379
+                      }
1380
+                      &.drugbag{
1381
+                        background: linear-gradient( 41deg, #6D62FF 0%, #A089FF 100%);
1382
+                      }
1383
+                      &.incident{
1384
+                        background: linear-gradient( 41deg, #2886ED 0%, #6DA5FC 100%);
1385
+                        .icon_transport{
1386
+                          font-size: 24px;
1387
+                        }
1388
+                      }
1389
+                    }
1390
+                    h2{
1391
+                      font-size: 12px;
1392
+                      font-weight: bold;
1393
+                    }
1394
+                    .navSpecimen{
1395
+                      font-size: 12px;
1396
+                      display: flex;
1397
+                      gap: 8px;
1398
+                    }
1399
+                  }
1400
+                }
1401
+                .nurseCode {
1402
+                  height: 100%;
1403
+                  flex-shrink: 1;
1404
+                  padding: 0 16px;
1405
+                  display: flex;
1406
+                  justify-content: space-between;
1407
+                  align-items: center;
1408
+                  cursor: pointer;
1409
+                  border-left: 1px solid #ccc;
1410
+
1411
+                  .nurseCodeIcon {
1412
+                    font-size: 32px;
1413
+                    color: #929292;
1414
+                  }
1415
+                }
1416
+              }
1357 1417
               div {
1358 1418
                 .h33 {
1359 1419
                   height: 33px;
@@ -1456,10 +1516,11 @@
1456 1516
             }
1457 1517
 
1458 1518
             .tab {
1459
-              height: 60px;
1460
-              line-height: 60px;
1519
+              height: 40px;
1520
+              line-height: 40px;
1461 1521
               cursor: default;
1462 1522
               overflow: hidden;
1523
+              font-size: 18px;
1463 1524
 
1464 1525
               & /deep/ .os-scrollbar-vertical{
1465 1526
                 display: none!important;
@@ -1467,12 +1528,8 @@
1467 1528
 
1468 1529
               .cur {
1469 1530
                 height: 100%;
1470
-                border-radius: 4px;
1471 1531
                 position: relative;
1472
-                background-size: 400% 100%;
1473 1532
                 color: #333;
1474
-                border: 1px solid @hs_border_color;
1475
-                line-height: normal;
1476 1533
 
1477 1534
                 .text {
1478 1535
                   width: 100%;
@@ -1482,32 +1539,20 @@
1482 1539
                   top: 50%;
1483 1540
                   transform: translate(-50%, -50%);
1484 1541
                 }
1485
-
1486
-                .arrow {
1487
-                  width: 20px;
1488
-                  text-align: center;
1489
-                  position: absolute;
1490
-                  font-size: 30px;
1491
-                  top: 45%;
1492
-                  transform: translateY(-50%);
1493
-                  left: 140px;
1494
-                  /* 移动130~150px */
1495
-                  /* 调用动画 */
1496
-                  animation-name: arrow_move;
1497
-                  /* 持续时间 */
1498
-                  animation-duration: 1s;
1499
-                  /* 无限播放 */
1500
-                  animation-iteration-count: infinite;
1501
-                }
1502
-              }
1503
-
1504
-              & > div {
1505
-                padding: 0 8px;
1506 1542
               }
1507 1543
 
1508 1544
               .checked {
1509
-                background: @primary-color;
1510
-                color: #fff;
1545
+                color: @primary-color;
1546
+                position: relative;
1547
+                &::after{
1548
+                  content: '';
1549
+                  position: absolute;
1550
+                  left: 8px;
1551
+                  right: 8px;
1552
+                  bottom: 0;
1553
+                  height: 2px;
1554
+                  background-color: @primary-color;
1555
+                }
1511 1556
               }
1512 1557
 
1513 1558
               .btn {
@@ -1559,10 +1604,7 @@
1559 1604
           .table {
1560 1605
             width: 100%;
1561 1606
             height: 100%;
1562
-            // position: absolute;
1563
-            // top: 0;
1564
-            padding: 8px;
1565
-            // padding-top: 208px;
1607
+            padding: 0 8px 8px;
1566 1608
 
1567 1609
             &.turn {
1568 1610
               padding-top: 162px;
@@ -1679,7 +1721,7 @@
1679 1721
             border-bottom: 1px solid @hs_border_color;
1680 1722
             padding: 8px;
1681 1723
             position: relative;
1682
-            // z-index: 9;
1724
+            height: 57px;
1683 1725
             background: #fff;
1684 1726
 
1685 1727
             & > span {
@@ -1695,7 +1737,7 @@
1695 1737
             height: 100%;
1696 1738
             position: absolute;
1697 1739
             top: 0;
1698
-            padding-top: 50px;
1740
+            padding-top: 57px;
1699 1741
 
1700 1742
             img {
1701 1743
               width: 20px;

+ 40 - 0
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -181,6 +181,7 @@ export class HushijiandanComponent implements OnInit {
181 181
       }
182 182
     });
183 183
     this.getItsmIncident();
184
+    this.getPagePermissionConfigList();
184 185
     this.getInspectAndPatientTransportConfigTasktype();
185 186
     this.getUpdateTipsForNurses();
186 187
     this.getRefreshNurseWorkOrderTime();
@@ -561,6 +562,45 @@ export class HushijiandanComponent implements OnInit {
561 562
   closeExecModal() {
562 563
     this.execModal = false;
563 564
   }
565
+  // 快捷配置背景色
566
+  backColorComputed(icon){
567
+    if(icon === 'transport-biaobenxinxi'){
568
+      return 'specimen';
569
+    }else if(icon === 'transport-shuyeguanli'){
570
+      return 'blood';
571
+    }else if(icon === 'transport-yaopinshuju'){
572
+      return 'drugbag';
573
+    }else if(icon === 'transport-baoxiu'){
574
+      return 'incident';
575
+    }else{
576
+      return '';
577
+    }
578
+  }
579
+  // 获取快捷配置列表
580
+  pagePermissionConfigList: any[] = []; //表格数据
581
+  getPagePermissionConfigList() {
582
+    let data = {
583
+			idx: 0,
584
+			sum: 99999,
585
+			pagePermissionConfig: {
586
+        hosId: this.currentHospital.id,
587
+        active: 1,
588
+        taskTypeDeptId: this.loginUser.dept.id,
589
+      },
590
+		};
591
+		this.mainService
592
+			.getFetchDataList("simple/data", "pagePermissionConfig", data)
593
+			.subscribe((data) => {
594
+				let pagePermissionConfigList = data.list || [];
595
+        pagePermissionConfigList.forEach(v => {
596
+          if(v.urgentIds){
597
+            let urgentIds = v.urgentIds.split(',');
598
+            v.urgentFlag = urgentIds.some(v => v == 1);
599
+            v.ordinaryFlag = urgentIds.some(v => v == 2);
600
+          }
601
+        })
602
+			});
603
+  }
564 604
   // 获取系统配置
565 605
   isShowBx = false;// 护士端是否显示报修
566 606
   isAssign = false;// 是否护士指定人员