浏览代码

Merge branch 'master' of http://git.dashitech.com/seimin/zy-pc

maotao 4 月之前
父节点
当前提交
c1197cdb28

+ 17 - 7
src/app/views/clinical-users-management/clinical-users-management.component.html

@@ -65,23 +65,25 @@
65 65
           <tr class="thead">
66 66
             <th nzWidth="5%">序号</th>
67 67
             <th nzWidth="10%">姓名</th>
68
-            <th nzWidth="10%">用户名</th>
68
+            <th nzWidth="5%">用户名</th>
69
+            <th nzWidth="10%">绩效ID</th>
69 70
             <th nzWidth="5%">性别</th>
70 71
             <th nzWidth="10%">手机号码</th>
71 72
             <th nzWidth="15%">所属科室</th>
72 73
             <th nzWidth="15%">所属组</th>
73 74
             <th nzWidth="10%">用户类型</th>
74
-            <th nzWidth="20%">操作</th>
75
+            <th nzWidth="15%">操作</th>
75 76
           </tr>
76 77
         </thead>
77 78
         <tbody>
78 79
           <tr *ngFor="let data of listOfData;let index=index;">
79 80
             <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
80
-            <td>{{ data.name||'-' }}</td>
81
-            <td>{{ data.account||'-' }}</td>
82
-            <td>{{data.gender?data.gender.name:'-'}}</td>
83
-            <td>{{ data.phone||'-' }}</td>
84
-            <td>{{ data.dept?data.dept.dept:'-' }}</td>
81
+            <td>{{ data.name }}</td>
82
+            <td>{{ data.account }}</td>
83
+            <td>{{ data.gradeId }}</td>
84
+            <td>{{data.gender?data.gender.name:''}}</td>
85
+            <td>{{ data.phone }}</td>
86
+            <td>{{ data.dept?data.dept.dept:'' }}</td>
85 87
             <td>
86 88
               <div *ngIf="data.group&&data.group.length">
87 89
                 <div *ngFor="let gro of data.group;let i=index;">
@@ -138,6 +140,14 @@
138 140
           </nz-form-control>
139 141
         </nz-form-item>
140 142
         <nz-form-item>
143
+          <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="gradeId">绩效ID</nz-form-label>
144
+          <nz-form-control nzErrorTip="请填写绩效ID!">
145
+            <nz-input-group>
146
+              <input type="gradeId" nz-input formControlName="gradeId" placeholder="请填写绩效ID" />
147
+            </nz-input-group>
148
+          </nz-form-control>
149
+        </nz-form-item>
150
+        <nz-form-item>
141 151
           <nz-form-label [nzSm]="6" [nzXs]="24" [nzRequired]="wxRequired" nzFor="weixin">微信</nz-form-label>
142 152
           <nz-form-control nzErrorTip="请填写微信!">
143 153
             <nz-input-group>

+ 3 - 0
src/app/views/clinical-users-management/clinical-users-management.component.ts

@@ -277,6 +277,7 @@ export class ClinicalUsersManagementComponent implements OnInit {
277 277
     this.validateForm = this.fb.group({
278 278
       name: [null, [Validators.required]],
279 279
       account: [null, [Validators.required]],
280
+      gradeId: [null],
280 281
       usertype: [this.userType + '', [Validators.required]],
281 282
       dept: [null, [Validators.required]],
282 283
       deptPhone: [null, [Validators.required]],
@@ -327,6 +328,7 @@ export class ClinicalUsersManagementComponent implements OnInit {
327 328
       user: {
328 329
         name: that.validateForm.value.name,
329 330
         account: that.validateForm.value.account,
331
+        gradeId: that.validateForm.value.gradeId,
330 332
         gender: { id: that.validateForm.value.gender, key: "user_gender" },
331 333
         usertype: { id: that.validateForm.value.usertype },
332 334
         dept: { id: that.validateForm.value.dept },
@@ -418,6 +420,7 @@ export class ClinicalUsersManagementComponent implements OnInit {
418 420
             }
419 421
             this.validateForm.controls.name.setValue(data.name);
420 422
             this.validateForm.controls.account.setValue(data.account);
423
+            this.validateForm.controls.gradeId.setValue(data.gradeId);
421 424
             this.validateForm.controls.usertype.setValue(data.usertype.id + "");
422 425
             if (data.dept) {
423 426
               this.validateForm.controls.dept.setValue(data.dept.id);

+ 18 - 26
src/app/views/fuwutai/fuwutai.component.ts

@@ -4655,40 +4655,32 @@ export class FuwutaiComponent implements OnInit {
4655 4655
   }
4656 4656
 
4657 4657
   // 初始化展示形式
4658
-  controlView = {}; //展示形式
4658
+  controlView:any = {}; //展示形式
4659 4659
   initControlView() {
4660
-    let that = this;
4661 4660
     let postData = {
4662 4661
       controlView: {},
4663 4662
       idx: 0,
4664 4663
       sum: 1,
4665 4664
     };
4666
-    that.mainService
4665
+    this.mainService
4667 4666
       .coopTypeConfig("fetchDataList", "controlView", postData)
4668 4667
       .subscribe((data) => {
4669
-        that.controlView = data.list[0] ? data.list[0] : [];
4670
-        if (!data.list.length) return;
4671
-        // switch (data.list[0].workerNum) {
4672
-        //   case 1:
4673
-        //     that.patientCareCol = 6;
4674
-        //     break;
4675
-        //   case 2:
4676
-        //     that.patientCareCol = 7;
4677
-        //     break;
4678
-        //   case 3:
4679
-        //     that.patientCareCol = 4;
4680
-        //     break;
4681
-        // }
4682
-        that.patientCareCol = 7;
4683
-        this.hurseInfoHiding = data.list[0].hurseInfoHiding ? 1 : 0;
4684
-        // that.txtLabelCol = data.list[0].labelNum;
4685
-        that.txtLabelCol = 1;
4686
-        that.orderRefreshTime = that.orderInfoTime = data.list[0].orderInfoTime;
4687
-        that.workerRefreshTime = that.workerInfoTime =
4688
-          data.list[0].workerInfoTime;
4689
-        that.audioNotDispatched = data.list[0].unsendOrderVoice !== false;
4690
-        this.orderType = data.list[0].orderType || 'priority';
4691
-        that.checkTab(this.typeId);
4668
+        this.controlView = data.list[0] ? data.list[0] : {
4669
+          hurseInfoHiding: 1,
4670
+          orderInfoTime: 60,
4671
+          workerInfoTime: 60,
4672
+          unsendOrderVoice: true,
4673
+          orderType: 'priority',
4674
+        };
4675
+
4676
+        this.patientCareCol = 7;
4677
+        this.hurseInfoHiding = this.controlView.hurseInfoHiding ? 1 : 0;
4678
+        this.txtLabelCol = 1;
4679
+        this.orderRefreshTime = this.orderInfoTime = this.controlView.orderInfoTime;
4680
+        this.workerRefreshTime = this.workerInfoTime = this.controlView.workerInfoTime;
4681
+        this.audioNotDispatched = this.controlView.unsendOrderVoice !== false;
4682
+        this.orderType = this.controlView.orderType || 'priority';
4683
+        this.checkTab(this.typeId);
4692 4684
 
4693 4685
         this.getOrderList(1);
4694 4686
         this.getOrderList(2);

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

@@ -1627,7 +1627,7 @@
1627 1627
         </form>
1628 1628
       </div>
1629 1629
     </overlay-scrollbars>
1630
-    <div class="btns display_flex justify-content_flex-center">
1630
+    <div class="btns patientBtns display_flex justify-content_flex-center">
1631 1631
       <button nz-button nzType="primary" [nzLoading]="btnLoading1" (click)="confirmPatient1('patient-yuyue')" *ngIf="currentTasktype.associationType.value === 'inspect' && isYyInspect && !(currentTasktype.isMoreDept === 0 && isInspects) && checkedShowMsg.status != 100009">
1632 1632
         预约建单
1633 1633
       </button>

+ 6 - 1
src/app/views/hushijiandan/hushijiandan.component.less

@@ -2191,9 +2191,14 @@
2191 2191
     }
2192 2192
 
2193 2193
     .btns {
2194
+      &.patientBtns{
2195
+        button {
2196
+          margin-top: 16px;
2197
+          font-size: 18px;
2198
+        }
2199
+      }
2194 2200
       button {
2195 2201
         margin-top: 10px;
2196
-        font-size: 18px;
2197 2202
 
2198 2203
         &.btn {
2199 2204
           margin-left: 8px;

+ 17 - 7
src/app/views/users-management/users-management.component.html

@@ -54,23 +54,25 @@
54 54
           <tr class="thead">
55 55
             <th nzWidth="5%">序号</th>
56 56
             <th nzWidth="10%">姓名</th>
57
-            <th nzWidth="10%">用户名</th>
57
+            <th nzWidth="5%">用户名</th>
58
+            <th nzWidth="10%">绩效ID</th>
58 59
             <th nzWidth="5%">性别</th>
59 60
             <th nzWidth="10%">手机号码</th>
60 61
             <th nzWidth="15%">所属科室</th>
61 62
             <th nzWidth="15%">所属组</th>
62 63
             <th nzWidth="10%">用户类型</th>
63
-            <th nzWidth="20%">操作</th>
64
+            <th nzWidth="15%">操作</th>
64 65
           </tr>
65 66
         </thead>
66 67
         <tbody>
67 68
           <tr *ngFor="let data of listOfData;let index=index;">
68 69
             <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
69
-            <td>{{ data.name||'-' }}</td>
70
-            <td>{{ data.account||'-' }}</td>
71
-            <td>{{data.gender?data.gender.name:'-'}}</td>
72
-            <td>{{ data.phone||'-' }}</td>
73
-            <td>{{ data.dept?data.dept.dept:'-' }}</td>
70
+            <td>{{ data.name }}</td>
71
+            <td>{{ data.account }}</td>
72
+            <td>{{ data.gradeId }}</td>
73
+            <td>{{data.gender?data.gender.name:''}}</td>
74
+            <td>{{ data.phone }}</td>
75
+            <td>{{ data.dept?data.dept.dept:'' }}</td>
74 76
             <td>
75 77
               <div *ngIf="data.group&&data.group.length">
76 78
                 <div *ngFor="let gro of data.group;let i=index;">
@@ -127,6 +129,14 @@
127 129
           </nz-form-control>
128 130
         </nz-form-item>
129 131
         <nz-form-item>
132
+          <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="gradeId">绩效ID</nz-form-label>
133
+          <nz-form-control nzErrorTip="请填写绩效ID!">
134
+            <nz-input-group>
135
+              <input type="gradeId" nz-input formControlName="gradeId" placeholder="请填写绩效ID" />
136
+            </nz-input-group>
137
+          </nz-form-control>
138
+        </nz-form-item>
139
+        <nz-form-item>
130 140
           <nz-form-label [nzSm]="6" [nzXs]="24" [nzRequired]="wxRequired" nzFor="weixin">微信</nz-form-label>
131 141
           <nz-form-control nzErrorTip="请填写微信!">
132 142
             <nz-input-group>

+ 3 - 0
src/app/views/users-management/users-management.component.ts

@@ -352,6 +352,7 @@ export class UsersManagementComponent implements OnInit {
352 352
     this.validateForm = this.fb.group({
353 353
       name: [null, [Validators.required]],
354 354
       account: [null, [Validators.required]],
355
+      gradeId: [null],
355 356
       usertype: [null, [Validators.required]],
356 357
       companyId: [null],
357 358
       dept: [null, [Validators.required]],
@@ -411,6 +412,7 @@ export class UsersManagementComponent implements OnInit {
411 412
       user: {
412 413
         name: that.validateForm.value.name,
413 414
         account: that.validateForm.value.account,
415
+        gradeId: that.validateForm.value.gradeId,
414 416
         gender: { id: that.validateForm.value.gender, key: "user_gender" },
415 417
         usertype: this.userTypes.find(v => v.value == that.validateForm.value.usertype),
416 418
         dept: { id: that.validateForm.value.dept },
@@ -534,6 +536,7 @@ export class UsersManagementComponent implements OnInit {
534 536
               }
535 537
               this.validateForm.controls.name.setValue(data.name);
536 538
               this.validateForm.controls.account.setValue(data.account);
539
+              this.validateForm.controls.gradeId.setValue(data.gradeId);
537 540
               this.validateForm.controls.usertype.setValue(data.usertype.value);
538 541
               if (data.dept) {
539 542
                 this.validateForm.controls.dept.setValue(data.dept.id);