浏览代码

护士段非手术科室的手术排程信息修改

seimin 1 年之前
父节点
当前提交
25aeab5f9e

+ 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.240",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

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

@@ -1643,7 +1643,7 @@
1643 1643
                           <th nzWidth="6%">序号</th>
1644 1644
                           <th nzWidth="12%">患者姓名<br>住院号</th>
1645 1645
                           <th nzWidth="12%">手术时间</th>
1646
-                          <th nzWidth="20%">所属科室</th>
1646
+                          <th nzWidth="20%">申请科室</th>
1647 1647
                           <th>手术名称</th>
1648 1648
                           <th nzWidth="15%">状态</th>
1649 1649
                           <th nzWidth="20%" *ngIf="currentDept.typeValue == 'surgery'">操作</th>

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

@@ -3499,16 +3499,20 @@ export class HushijiandanComponent implements OnInit {
3499 3499
     if (idx) {
3500 3500
       this.surgeryPageIndex = 1;
3501 3501
     }
3502
-    let postData = {
3502
+    let postData:any = {
3503 3503
       surgery: {
3504 3504
         applyDateStart: format(startOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
3505 3505
         applyDateEnd: format(endOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
3506 3506
         hosId: this.currentHospital.id,
3507
-        surgeryDept: this.loginUserDeptId,
3508 3507
       },
3509 3508
       idx: this.surgeryPageIndex - 1,
3510 3509
       sum: this.surgeryPageSize,
3511 3510
     };
3511
+    if(this.currentDept.typeValue == 'surgery'){
3512
+      postData.surgery.surgeryDept = this.loginUserDeptId;
3513
+    }else{
3514
+      postData.surgery.areaDept = this.loginUserDeptId;
3515
+    }
3512 3516
     this.surgeryInfoLoading = true;
3513 3517
     this.mainService
3514 3518
       .getFetchDataList("simple/data", "surgery", postData)