Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 2 months ago
parent
commit
98ca041fac

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

2342
                         kg
2342
                         kg
2343
                       </div>
2343
                       </div>
2344
 
2344
 
2345
-                      <div class="inline_block" style="flex: 1">
2345
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10677">
2346
                         体重减少:
2346
                         体重减少:
2347
                         <div
2347
                         <div
2348
                           class="under_line"
2348
                           class="under_line"
2367
                       <div
2367
                       <div
2368
                         class="inline_block"
2368
                         class="inline_block"
2369
                         style="flex: 1"
2369
                         style="flex: 1"
2370
-                        v-if="org_id != 10223 || org_id!=10375"
2370
+                        v-if="org_id != 10223 || org_id!=10375 || org_id !=10677"
2371
                       >
2371
                       >
2372
 
2372
 
2373
                         <span v-if="org_id!=10460 && org_id!=10551">
2373
                         <span v-if="org_id!=10460 && org_id!=10551">

+ 3 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

2148
                       kg
2148
                       kg
2149
                     </div>
2149
                     </div>
2150
 
2150
 
2151
-                    <div class="inline_block" style="flex: 0.9">
2151
+                    <div class="inline_block" style="flex: 0.9" v-if="org_id != 10677">
2152
                       体重减少:
2152
                       体重减少:
2153
                       <div
2153
                       <div
2154
                         class="under_line"
2154
                         class="under_line"
2164
                       kg
2164
                       kg
2165
                     </div>
2165
                     </div>
2166
 
2166
 
2167
-                    <div
2168
-                      class="inline_block"
2169
-                      style="flex: 1"
2170
-                      v-if="org_id != 10223 || org_id!=10375"
2167
+                    <div class="inline_block" style="flex: 1"
2168
+                      v-if="org_id != 10223 || org_id!=10375 || org_id != 10677"
2171
                     >
2169
                     >
2172
                         <span v-if="org_id!=10460 && org_id!=10551">
2170
                         <span v-if="org_id!=10460 && org_id!=10551">
2173
                           透析中入量:
2171
                           透析中入量:

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

4199
             }
4199
             }
4200
             return "schedule-table-cell-disable";
4200
             return "schedule-table-cell-disable";
4201
           } else {
4201
           } else {
4202
-            if(row.cut.indexOf('滤')>-1 && columnIndex!=1 &&columnIndex!=23&&columnIndex!=0){
4203
-              return 'thefilter'
4204
-            }
4202
+            
4205
             if (
4203
             if (
4206
                 row[column.property].patient_id > 0 &&
4204
                 row[column.property].patient_id > 0 &&
4207
                 row[column.property].patient_id == this.patient_id_hover
4205
                 row[column.property].patient_id == this.patient_id_hover
4208
             ) {
4206
             ) {
4209
               return "hover-td";
4207
               return "hover-td";
4210
-            } else {
4211
-              return "";
4208
+            } 
4209
+            if(row.cut.indexOf('滤')>-1 && columnIndex!=1 &&columnIndex!=23&&columnIndex!=0){
4210
+              return 'thefilter'
4212
             }
4211
             }
4212
+            return 
4213
           }
4213
           }
4214
         }else{
4214
         }else{
4215
           // if(column.label == '晚' ){
4215
           // if(column.label == '晚' ){

+ 10 - 9
src/xt_pages/workforce/components/tableData.vue View File

1395
      },
1395
      },
1396
     //  单元格样式的回调
1396
     //  单元格样式的回调
1397
     cellClass({ row, column, rowIndex, columnIndex }) {
1397
     cellClass({ row, column, rowIndex, columnIndex }) {
1398
-      
1399
-      
1398
+      // if(row[column.property].patient_id>0){
1399
+      //   console.log('qqqqq',row[column.property])
1400
+      // }
1401
+
1400
       // console.log('wwwww',column)
1402
       // console.log('wwwww',column)
1401
       // console.log('eeeee',rowIndex)
1403
       // console.log('eeeee',rowIndex)
1402
       // console.log('rrrrr',columnIndex)
1404
       // console.log('rrrrr',columnIndex)
1433
             // console.log('这是row',row);
1435
             // console.log('这是row',row);
1434
             if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover ){
1436
             if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover ){
1435
               return 'hover-td schedule-table-cell-disable'
1437
               return 'hover-td schedule-table-cell-disable'
1436
-            }
1438
+            } else
1437
             if(columnIndex!=1&&row.zone_type!=1&&columnIndex!=23&&columnIndex!=0){
1439
             if(columnIndex!=1&&row.zone_type!=1&&columnIndex!=23&&columnIndex!=0){
1438
               return 'backPurple schedule-table-cell-disable'
1440
               return 'backPurple schedule-table-cell-disable'
1439
             }
1441
             }
1442
             }
1444
             }
1443
             return "schedule-table-cell-disable";
1445
             return "schedule-table-cell-disable";
1444
           }else{
1446
           }else{
1447
+            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1448
+              return 'hover-td '
1449
+            }
1445
             if(columnIndex!=1&&row.zone_type!=1&&columnIndex!=23&&columnIndex!=0){
1450
             if(columnIndex!=1&&row.zone_type!=1&&columnIndex!=23&&columnIndex!=0){
1446
-              return 'backPurple'
1451
+              return 'backPurple '
1447
             }
1452
             }
1448
             if(row.cut.indexOf('滤')>-1 && columnIndex!=1 &&columnIndex!=23&&columnIndex!=0){
1453
             if(row.cut.indexOf('滤')>-1 && columnIndex!=1 &&columnIndex!=23&&columnIndex!=0){
1449
               return 'thefilter'
1454
               return 'thefilter'
1450
             }
1455
             }
1451
-            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1452
-              return 'hover-td schedule-table-cell-disable'
1453
-            }else {
1454
-              return ''
1455
-            }
1456
+            return 
1456
           }
1457
           }
1457
         } else {
1458
         } else {
1458
           // if(column.label == '晚' ){
1459
           // if(column.label == '晚' ){