Quellcode durchsuchen

11月15 打印单

yq1 vor 1 Woche
Ursprung
Commit
be4fd6e83a
1 geänderte Dateien mit 9 neuen und 6 gelöschten Zeilen
  1. 9 6
      src/xt_pages/user/inspection.vue

+ 9 - 6
src/xt_pages/user/inspection.vue Datei anzeigen

@@ -1357,17 +1357,19 @@ export default {
1357 1357
                     item.item_name = inspectionsMap[items[index].id].item_name
1358 1358
                   }else{
1359 1359
                     console.log('执行3',inspectionsMap,item);
1360
-                    if(this.org_id == 10702 ){
1360
+                    if(this.org_id == 10702 || this.org_id == 0){
1361 1361
                       if(item.project_name == '血常规'|| item.project_name == '透后肾功能' || 
1362
-                          item.project_name == '肝功能' || item.project_name == '电解质'
1362
+                          item.project_name == '肝功能' || item.project_name == '电解质' || item.project_name == '透前肾功能'
1363 1363
                         ){
1364
-                        console.log('11111',11111);
1364
+                        console.log('11111',inspectionsMap[items[index].id].inspect_value);
1365 1365
                         item.value = inspectionsMap[items[index].id].inspect_value.replace(/&lt;/g, "<").replace(/&gt;/g, ">")
1366 1366
                         item.item_name = inspectionsMap[items[index].id].item_name
1367
+                      }else{
1368
+                        
1369
+                        item.value = ''
1370
+                        item.item_name = ''
1367 1371
                       }
1368
-                    }
1369
-                    else{
1370
-                      console.log('222222',inspectionsMap[items[index].id]);
1372
+                    } else{
1371 1373
                       item.value = ''
1372 1374
                       item.item_name = ''
1373 1375
                     }
@@ -1377,6 +1379,7 @@ export default {
1377 1379
                   item.value = inspectionsMap[items[index].item_id].inspect_value.replace(/&lt;/g, "<").replace(/&gt;/g, ">")
1378 1380
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1379 1381
                 }
1382
+               
1380 1383
 
1381 1384
                 if(this.org_id ==10191){
1382 1385
                   if(item.project_name == "乙肝定性(五项)"){