Browse Source

9月19日杨青

杨青 1 year ago
parent
commit
252743d771

+ 3 - 3
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -10,11 +10,11 @@
10 10
         type="primary"
11 11
       >打印</el-button>
12 12
     </template>
13
-    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375"><!---->
13
+    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 "><!---->
14 14
         <div class='dialysisPage'>
15 15
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387" >
16 16
             <printOne v-if="org_id != 10088 &&  org_id != 0 " :paramsObj="invoiceParams"></printOne>
17
-            <printThree v-if="org_id == 10088 || org_id == 0" :paramsObj="invoiceParams"></printThree>
17
+            <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams"></printThree>
18 18
           </div>
19 19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20 20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
@@ -33,7 +33,7 @@
33 33
       </div>
34 34
     </div>
35 35
 
36
-    <div class="app-container" style="" v-if="org_id == 10217 ">
36
+    <div class="app-container" style="" v-if="org_id == 10217 || org_id == 0">
37 37
       <div class='dialysisPage'>
38 38
         <printSix :paramsObj="invoiceParams"></printSix>
39 39
       </div>

+ 37 - 33
src/xt_pages/workforce/components/editTableData.vue View File

@@ -160,7 +160,7 @@
160 160
               min-width="60"
161 161
               align="center"
162 162
               fixed
163
-              
163
+
164 164
           ></el-table-column>
165 165
           <el-table-column
166 166
               prop="cut"
@@ -168,7 +168,7 @@
168 168
               min-width="50"
169 169
               align="center"
170 170
               fixed
171
-              
171
+
172 172
           ></el-table-column>
173 173
           <el-table-column
174 174
               :label="'周一 (' + weekTitle[0] + ')'"
@@ -1345,7 +1345,7 @@
1345 1345
           </el-option>
1346 1346
         </el-select>
1347 1347
 
1348
-       
1348
+
1349 1349
       </div>
1350 1350
       <span slot="footer" class="dialog-footer" style="text-align: center">
1351 1351
         <el-button
@@ -1385,7 +1385,7 @@
1385 1385
           <el-form-item label="" prop="mode_id">
1386 1386
             <span>透析模式:</span>
1387 1387
             <el-select
1388
-               filterable 
1388
+               filterable
1389 1389
                 v-model="changeSchedule.mode_id"
1390 1390
                 placeholder="请选择"
1391 1391
                 style="width: 100%"
@@ -1400,11 +1400,11 @@
1400 1400
               </el-option>
1401 1401
             </el-select>
1402 1402
           </el-form-item>
1403
-          
1403
+
1404 1404
           <!-- <el-form-item>
1405 1405
             <span>透析班次:</span>
1406 1406
             <el-select
1407
-                filterable 
1407
+                filterable
1408 1408
                 v-model="changeSchedule.schedule_type"
1409 1409
                 placeholder="请选择"
1410 1410
                 style="width: 100%"
@@ -1419,11 +1419,11 @@
1419 1419
               </el-option>
1420 1420
             </el-select>
1421 1421
           </el-form-item>
1422
-        
1422
+
1423 1423
           <el-form-item>
1424 1424
             <span>透析分区:</span>
1425 1425
             <el-select
1426
-            filterable 
1426
+            filterable
1427 1427
               v-model="changeSchedule.partition_id"
1428 1428
               placeholder="请选择"
1429 1429
               style="width: 100%"
@@ -1442,7 +1442,7 @@
1442 1442
           <el-form-item>
1443 1443
             <span>透析床位:</span>
1444 1444
             <el-select
1445
-               filterable 
1445
+               filterable
1446 1446
                 v-model="changeSchedule.bed_id"
1447 1447
                 placeholder="请选择"
1448 1448
                 style="width: 100%"
@@ -1753,7 +1753,7 @@
1753 1753
         <el-button @click="tipDialogVisibleThree = false">取 消</el-button>
1754 1754
       </span>
1755 1755
     </el-dialog>
1756
-    
1756
+
1757 1757
   </div>
1758 1758
 </template>
1759 1759
 
@@ -3141,7 +3141,7 @@ export default {
3141 3141
       }else{
3142 3142
         this.cur_info.contagions = []
3143 3143
       }
3144
-     
3144
+
3145 3145
       this.patient_id_hover = row.id
3146 3146
     },
3147 3147
     // 选择透析模式
@@ -3238,6 +3238,7 @@ export default {
3238 3238
               id : row[key].schedule_id,
3239 3239
               contagions: row[key].patient_contagions,
3240 3240
             }
3241
+            console.log('4444444',row[key].schedule_id);
3241 3242
           }else{
3242 3243
             this.cur_drag_obj = 3
3243 3244
             this.cur_drag_info={
@@ -3331,12 +3332,14 @@ export default {
3331 3332
           this.$message.error(response.data.msg);
3332 3333
           this.tipDialogVisibleTwo = false
3333 3334
         } else {
3335
+          console.log('11111111111',response.data);
3334 3336
           this.$message.success("替换成功");
3335 3337
           this.tipDialogVisible = false
3336 3338
           this.tipDialogVisibleTwo = false
3337 3339
           this.getSchedules();
3338 3340
         }
3339 3341
       });
3342
+
3340 3343
     },
3341 3344
     // 交换位置
3342 3345
     changeSchTwo(){
@@ -3352,6 +3355,7 @@ export default {
3352 3355
             this.$message.error(response.data.msg);
3353 3356
             this.tipDialogVisibleThree = false
3354 3357
           } else {
3358
+            console.log('22222222',response.data);
3355 3359
             this.$message.success("交换成功");
3356 3360
             this.tipDialogVisible = false
3357 3361
             this.tipDialogVisibleThree = false
@@ -3382,6 +3386,7 @@ export default {
3382 3386
             id : row[key].schedule_id,
3383 3387
             partition_type : row.zone_type,
3384 3388
           }
3389
+          console.log('ffffffffffff',this.currentData);
3385 3390
           // let nowDate = new Date();
3386 3391
           // let date = {
3387 3392
           //       year: nowDate.getFullYear(),
@@ -3391,8 +3396,8 @@ export default {
3391 3396
           //   let Month=date.month<10 ? '0'+ date.month :  date.month
3392 3397
           //   let Dateday= date.date<10 ? '0'+date.date : date.date
3393 3398
           //   this.systemDate = date.year + '-'+ Month + '-'+ Dateday;
3394
-          // console.log('this.currentData的数据',this.currentData);
3395
-          // console.log('this.cur_drag_info的数据',this.cur_drag_info);
3399
+          console.log('this.currentData的数据',row[key].patient_id);
3400
+          console.log('this.cur_drag_info的数据',key);
3396 3401
           // console.log('123453545',this.systemDate);
3397 3402
           // 当表格有数据
3398 3403
           if ( row[key].mode_id > 0 || row[key].patient_id > 0) {
@@ -3421,9 +3426,9 @@ export default {
3421 3426
                       that.currentData.patient_id = that.cur_drag_info.patient_id
3422 3427
                       that.currentData.patient = that.cur_drag_info.patient_name
3423 3428
                        that.currentData.contagions = that.cur_drag_info.contagions
3424
-                        console.log("中国hshshshshhs",that.cur_drag_info.contagions)
3429
+                        console.log("中国hshshshshhs",that.cur_drag_info.id)
3430
+
3425 3431
 
3426
-                      
3427 3432
                         that.setScheduleTwo(this.cur_drag_info.id);
3428 3433
                 }
3429 3434
               }else{ // 非同一天
@@ -3450,7 +3455,7 @@ export default {
3450 3455
         }
3451 3456
       }
3452 3457
     },
3453
-    
3458
+
3454 3459
     // 左边栏选中名字和模式拖动结束后
3455 3460
     taskDraggerEnd(e) {},
3456 3461
     //move回调方法
@@ -3765,8 +3770,8 @@ export default {
3765 3770
         //
3766 3771
         return "table-row-new-class schedule-table-row Infectious_disease";
3767 3772
       }
3768
-      // if(columnIndex==1 ){  
3769
-      //   return 'border_bott ' 
3773
+      // if(columnIndex==1 ){
3774
+      //   return 'border_bott '
3770 3775
       // }
3771 3776
       // if(columnIndex==0){
3772 3777
       //   return 'border_left'
@@ -3795,7 +3800,7 @@ export default {
3795 3800
                 row[column.property].patient_id == this.patient_id_hover
3796 3801
             ) {
3797 3802
               return "hover-td schedule-table-cell-disable";
3798
-            } 
3803
+            }
3799 3804
             // if(column.label == '晚'){
3800 3805
             //   return 'evening_border schedule-table-cell-disable'
3801 3806
             // }
@@ -3839,7 +3844,7 @@ export default {
3839 3844
     //       // console.log('33333333333');
3840 3845
     //       return 'border-top: 1px solid aqua;'
3841 3846
     //     }
3842
-    //   } 
3847
+    //   }
3843 3848
     // },
3844 3849
     // 单元格的患者名称的回调方法
3845 3850
     patientClass({row,column, rowIndex,columnIndex}){
@@ -4573,14 +4578,12 @@ export default {
4573 4578
         this.currentData.contagions = row.contagions;
4574 4579
       }
4575 4580
     },
4576
-    // 取消关闭弹窗
4577
-    // closePatientPanel() {
4578
-    //   this.dialogTableVisible = false;
4579
-    //   this.currentData.patient_id = 0;
4580
-    // },
4581
+
4581 4582
     getSchedules() {
4582 4583
       var partionStr = this.partition_id;
4584
+      console.log('66665555',partionStr);
4583 4585
       var arr = this.zoneIdList.join(",");
4586
+      console.log('ccccccc',this.zoneIdList);
4584 4587
       var str = "";
4585 4588
       if (partionStr == 0) {
4586 4589
         str = arr;
@@ -4588,6 +4591,7 @@ export default {
4588 4591
       if (partionStr != 0) {
4589 4592
         str = partionStr.join(",");
4590 4593
       }
4594
+      console.log('qqqqqqq',str);
4591 4595
       const params = {
4592 4596
         weekTime: this.theType,
4593 4597
         patitionid: str,
@@ -4597,7 +4601,7 @@ export default {
4597 4601
       getSchedulesOne(params).then((response) => {
4598 4602
         if (response.data.state == 1) {
4599 4603
           this.weekTitle = response.data.data.weekTitle;
4600
-
4604
+          console.log('999990000',response.data.data);
4601 4605
           this.weekDays = response.data.data.days;
4602 4606
           this.toDay = response.data.data.today;
4603 4607
           var theSchedules = response.data.data.schdules;
@@ -5138,7 +5142,7 @@ export default {
5138 5142
               });
5139 5143
               // this.msDialogVisible = false;
5140 5144
               // this.getAllZones()
5141
-             
5145
+
5142 5146
             }
5143 5147
             this.changing_mode = false;
5144 5148
           }).catch((err) => {
@@ -5402,7 +5406,7 @@ export default {
5402 5406
         default:
5403 5407
           break;
5404 5408
       }
5405
-    },    
5409
+    },
5406 5410
     setScheduleTwo(id_two) {
5407 5411
       console.log("1112222222",this.currentData.contagions.length)
5408 5412
       var that = this;
@@ -5509,7 +5513,7 @@ export default {
5509 5513
             cflag = true;
5510 5514
           }
5511 5515
         });
5512
-      
5516
+
5513 5517
         if (!cflag) {
5514 5518
           this.$confirm(
5515 5519
               "此患者有传染病,与此透析机不匹配,确定在此排班吗?",
@@ -5533,7 +5537,7 @@ export default {
5533 5537
         } else {
5534 5538
           this.CreateSchedule(this.currentData.patient_id, this.currentData);
5535 5539
         }
5536
-        
5540
+
5537 5541
       } else if (that.currentData.partition_type > 1) {
5538 5542
         this.$confirm(
5539 5543
             "此患者没有传染病,与此透析机不匹配,确定在此排班吗?",
@@ -5546,7 +5550,7 @@ export default {
5546 5550
         )
5547 5551
             .then(() => {
5548 5552
               this.CreateSchedule(this.currentData.patient_id, this.currentData);
5549
-              
5553
+
5550 5554
             })
5551 5555
             .catch(() => {
5552 5556
               this.dialogTableVisible=false
@@ -5897,7 +5901,7 @@ export default {
5897 5901
     this.partitions = this.partitionsProp;
5898 5902
 
5899 5903
     var contagions = this.$store.getters.contagions;
5900
- 
5904
+
5901 5905
     if (contagions.length > 0) {
5902 5906
       var that = this;
5903 5907
       contagions.forEach(function (citem) {
@@ -6070,7 +6074,7 @@ textarea{
6070 6074
 .border_left{
6071 6075
   border-left: 1px solid aqua !important;
6072 6076
 }
6073
- 
6077
+
6074 6078
 .evening_border{
6075 6079
   border-right: 1px solid aqua !important;
6076 6080
 }