Browse Source

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

陈少旭 1 month ago
parent
commit
8c5ae64e67
43 changed files with 6832 additions and 478 deletions
  1. 1 1
      build/cdn.json
  2. 20 0
      src/api/drug/drug.js
  3. 9 0
      src/api/pharmacy.js
  4. 21 0
      src/router/modules/dialysis.js
  5. 40 40
      src/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_table.vue
  6. 217 22
      src/xt_pages/Pharmacy/PatientDispensing.vue
  7. 7 4
      src/xt_pages/data/druguseTemplate.vue
  8. 24 2
      src/xt_pages/dialysis/PatientBox.vue
  9. 2357 0
      src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue
  10. 11 10
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue
  11. 0 1
      src/xt_pages/dialysis/batch_print/batch_print_order_seventythree.vue
  12. 50 22
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  13. 19 21
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue
  14. 13 18
      src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue
  15. 14 2
      src/xt_pages/dialysis/bloodPresssWatch.vue
  16. 8 0
      src/xt_pages/dialysis/details/consumable/dialysisGood.vue
  17. 5 0
      src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue
  18. 1 0
      src/xt_pages/dialysis/details/consumable/dialysisParameter.vue
  19. 1 1
      src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue
  20. 23 0
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  21. 28 1
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  22. 18 2
      src/xt_pages/dialysis/newDoctorAdvice.vue
  23. 436 0
      src/xt_pages/dialysis/patientAdviceList.vue
  24. 1 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue
  25. 48 30
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  26. 39 40
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue
  27. 32 43
      src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue
  28. 17 20
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue
  29. 2949 0
      src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue
  30. 9 5
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  31. 70 2
      src/xt_pages/stock/detail/cancelStockDetail.vue
  32. 77 3
      src/xt_pages/stock/detail/stockInDetail.vue
  33. 90 3
      src/xt_pages/stock/detail/stockOutDetail.vue
  34. 19 9
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  35. 9 6
      src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue
  36. 1 1
      src/xt_pages/stock/stockInOrderAdd.vue
  37. 87 138
      src/xt_pages/user/courseOfDisease_new.vue
  38. 1 1
      src/xt_pages/user/deathSummary.vue
  39. 1 0
      src/xt_pages/user/patient.vue
  40. 31 0
      src/xt_pages/user/patients.vue
  41. 4 3
      src/xt_pages/user/physiqueprinting.vue
  42. 1 2
      src/xt_pages/user/sickHistory_new.vue
  43. 23 23
      src/xt_pages/workforce/scheduleTablePrintTwo.vue

+ 1 - 1
build/cdn.json View File

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "2999.999.1315"
2
+  "version": "2999.999.1316"
3 3
 }

+ 20 - 0
src/api/drug/drug.js View File

@@ -934,4 +934,24 @@ export function getInventoryRecordPrintList(params){
934 934
     method:"Get",
935 935
     params:params,
936 936
   })
937
+}
938
+
939
+export function getPatientAdviceList(params){
940
+ 
941
+  return request({
942
+    url:"/api/drug/getpatientadvicelist",
943
+    method:"Get",
944
+    params:params,
945
+  })
946
+}
947
+
948
+
949
+
950
+export function getPatientAdviceListDetail(params){
951
+
952
+  return request({
953
+    url:"/api/drug/getpatientadvicelistdetail",
954
+    method:"Get",
955
+    params:params
956
+  })
937 957
 }

+ 9 - 0
src/api/pharmacy.js View File

@@ -191,3 +191,12 @@ export function changeDrugCode(params){
191 191
     params:params,
192 192
   })
193 193
 }
194
+
195
+export function getDrugTocalCount(params){
196
+
197
+  return request({
198
+    url:"/api/pharmacy/getdrugtocalcount",
199
+    method:"get",
200
+    params:params
201
+  })
202
+}

+ 21 - 0
src/router/modules/dialysis.js View File

@@ -74,6 +74,15 @@ export default {
74 74
         noCache: true
75 75
       }
76 76
     },
77
+    {
78
+      path: '/dialysis/patient/patientAdvice',
79
+      component: () => import('@/xt_pages/dialysis/patientAdviceList'),
80
+      name: '患者医嘱',
81
+      meta: {
82
+        title: '患者医嘱',
83
+        noCache: true
84
+      }
85
+    },
77 86
     {
78 87
       path: '/dialysis/doctorlongAdvicePrint',
79 88
       component: () => import('@/xt_pages/dialysis/longDoctorAdvicePrint'),
@@ -1178,6 +1187,18 @@ export default {
1178 1187
         noCache: true
1179 1188
       }
1180 1189
     },
1190
+    {//83
1191
+      path: '/dialysis/print/batch/eightythree',
1192
+      component: () =>
1193
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eightythree'),
1194
+      hidden: true,
1195
+      is_menu: false,
1196
+      name: 'batch_print_order_eightythree',
1197
+      meta: {
1198
+        title: '批量打印',
1199
+        noCache: true
1200
+      }
1201
+    },
1181 1202
     {
1182 1203
       path: '/dialysis/flow',
1183 1204
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

+ 40 - 40
src/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_table.vue View File

@@ -252,54 +252,54 @@ export default {
252 252
         time_way:this.date_mode,
253 253
       }
254 254
       Getdialysisdetail(params).then(response =>{
255
-        console.log('00000',response);
255
+        console.log('00000透析总量分析',response.data.data.list);
256 256
         if(response.data.state == 1){
257 257
           const list = response.data.data.list
258 258
           this.patientTableData = list
259
-          // this.tableData = list
260 259
           var column = []
261
-          column = Object.keys(response.data.data.list[0]).map(key => ({
262
-              prop: key,
263
-              label: key // 可以自定义表头名称
264
-            }));
265
-            // this.tableData = response.data.data.list
266
-            for(let i in column){
267
-              if(column[i].label == '日期'){
268
-                column.splice(i,1)
269
-              }
270
-
271
-            }
272
-            const arr={
273
-              label:'日期',
274
-              prop:'日期'
275
-            }
276
-            for(let i in column){
277
-              if(column[i].label == '合计'){
278
-                column.splice(i,1)
279
-              }
260
+          var column2 = []
261
+          list.forEach((v,i)=>{                  
262
+              Object.keys(v).forEach(v=>{
263
+                  column2.push(v)
264
+              })
265
+          })
266
+          column2= [...new Set(column2)]
267
+          for(let i in column2){
268
+            let obj ={
269
+              prop:column2[i],
270
+              label:column2[i]
280 271
             }
281
-            const arr1={
282
-              label:'合计',
283
-              prop:'合计'
272
+            column.push(obj)
273
+          }
274
+          for(let i in column){
275
+            if(column[i].label == '日期'){
276
+              column.splice(i,1)
284 277
             }
285
-            column.unshift(arr)
286
-            column.push(arr1)
287
-            this.columns = column
288 278
 
289
-            const detil = []
290
-            for(let i in this.columns){
291
-              detil.push(this.columns[i].label)
279
+          }
280
+          const arr={
281
+            label:'日期',
282
+            prop:'日期'
283
+          }
284
+          for(let i in column){
285
+            if(column[i].label == '合计'){
286
+              column.splice(i,1)
292 287
             }
293
-            this.detilarr = detil
294
-            // this.tableData = response.data.data.list.map(row => {
295
-            //   let newRow = {};
296
-            //   for (let key in row) {
297
-            //     newRow[key] = row[key] === 0 ? '' : row[key];
298
-            //   }
299
-            //   return newRow;
300
-            // });
301
-            // console.log('tttt',this.tableData);
302
-            console.log('hhhhh',this.columns);
288
+          }
289
+          const arr1={
290
+            label:'合计',
291
+            prop:'合计'
292
+          }
293
+          column.unshift(arr)
294
+          column.push(arr1)
295
+          this.columns = column
296
+
297
+          const detil = []
298
+          for(let i in this.columns){
299
+            detil.push(this.columns[i].label)
300
+          }
301
+          this.detilarr = detil
302
+          console.log('hhhhh',this.columns);
303 303
         }
304 304
 
305 305
       })

+ 217 - 22
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -228,7 +228,7 @@
228 228
             </el-table-column>
229 229
             <el-table-column label="药品追溯码" width="162" align="center">
230 230
               <template slot-scope="scope">
231
-                <div @click="getDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode,scope.$index)"><el-input style="width: 100;" v-model="scope.row.DrugCode"></el-input></div>
231
+                <div @click="getDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode,scope.$index,scope.row.DrugId)"><el-input style="width: 100;" v-model="scope.row.DrugCode"></el-input></div>
232 232
               </template>
233 233
             </el-table-column>
234 234
             <el-table-column label="开立医生" width="150" align="center">
@@ -354,7 +354,8 @@ import {
354 354
   drugwithdrawal,
355 355
   getpartitionlist,
356 356
   changeDrugCode,
357
-  changeZeroFlag
357
+  changeZeroFlag,
358
+  getDrugTocalCount
358 359
 
359 360
 } from "@/api/pharmacy";
360 361
 import dataDruguse from "../../router/modules/dataDruguse";
@@ -415,8 +416,10 @@ export default {
415 416
       currentIndex:0,
416 417
       is_drug_open:"2",
417 418
       textarea:"",
418
-      patientList:[]
419
-
419
+      patientList:[],
420
+      drug_id:0,
421
+      total_count:0,
422
+      newArrList:[]
420 423
     };
421 424
   },
422 425
   watch: {},
@@ -1238,20 +1241,98 @@ export default {
1238 1241
        }
1239 1242
        return spc
1240 1243
     },
1241
-    getDrugCode(id,DataSources,DrugCode,index){
1242
-      this.id = id
1243
-      var is_source =0
1244
-       if (DataSources == "his处方"){
1245
-        is_source = 1
1246
-       }
1247
-       if (DataSources == "临时医嘱"){
1248
-         is_source = 2
1249
-       }
1250
-       this.is_source = is_source
1251
-       this.textarea = DrugCode
1252
-       this.currentIndex = index
1244
+    getDrugCode(id,DataSources,DrugCode,index,DrugId){
1253 1245
       
1254
-       this.dialogVisibleOne = true
1246
+     // 针对百霖
1247
+       if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 0){
1248
+          var params = {
1249
+            drug_id:DrugId,
1250
+            start_time:moment().subtract(15, 'days').format("YYYY-MM-DD")
1251
+          }
1252
+          console.log("params-------------",params)
1253
+         getDrugTocalCount(params).then(response=>{
1254
+           if(response.data.state == 1){
1255
+             
1256
+            var adviceList = response.data.data.adviceList
1257
+
1258
+            var str = ""
1259
+            if(adviceList!=null && adviceList.length>0){
1260
+              for(let i=0;i<adviceList.length;i++){
1261
+                if(adviceList[i].drug_code!=""){
1262
+                  str+=adviceList[i].drug_code 
1263
+                }
1264
+               
1265
+              }
1266
+            }
1267
+            var new_arr = str.split(",");
1268
+
1269
+            console.log("adviceList==========",new_arr)
1270
+
1271
+            if(new_arr!=null && new_arr.length>0){
1272
+               
1273
+               let dataInfo = {}
1274
+               new_arr.forEach((item, index) => {
1275
+                if (!dataInfo[item]) {
1276
+                    dataInfo[item] = {
1277
+                    drug_code:item,
1278
+                    child: [], 
1279
+                  }
1280
+                 }
1281
+               })
1282
+               let arr = Object.values(dataInfo)
1283
+
1284
+               if(arr!=null && arr.length>0){
1285
+                
1286
+                 for(let i=0;i<arr.length;i++){
1287
+                   for(let j=0;j<new_arr.length;j++){
1288
+                      if(arr[i].drug_code == new_arr[j]){
1289
+                         arr[i].child.push(new_arr[j])
1290
+                      }
1291
+                   }
1292
+                 }
1293
+               }
1294
+               
1295
+               this.newArrList = []
1296
+               this.newArrList = arr
1297
+
1298
+
1299
+            }
1300
+              
1301
+            this.drug_id = DrugId
1302
+            this.id = id
1303
+            var is_source =0
1304
+            if (DataSources == "his处方"){
1305
+              is_source = 1
1306
+            }
1307
+            if (DataSources == "临时医嘱"){
1308
+              is_source = 2
1309
+            }
1310
+            this.is_source = is_source
1311
+            this.textarea = DrugCode
1312
+            this.currentIndex = index
1313
+            
1314
+            this.dialogVisibleOne = true
1315
+           }
1316
+         })
1317
+       }else{
1318
+        
1319
+        this.drug_id = DrugId
1320
+        this.id = id
1321
+        var is_source =0
1322
+        if (DataSources == "his处方"){
1323
+          is_source = 1
1324
+        }
1325
+        if (DataSources == "临时医嘱"){
1326
+          is_source = 2
1327
+        }
1328
+        this.is_source = is_source
1329
+        this.textarea = DrugCode
1330
+        this.currentIndex = index
1331
+        
1332
+        this.dialogVisibleOne = true
1333
+       }
1334
+
1335
+     
1255 1336
 
1256 1337
     },
1257 1338
     saveTextArea(){
@@ -1274,6 +1355,7 @@ export default {
1274 1355
       })
1275 1356
     },
1276 1357
     changeText(event){
1358
+
1277 1359
      
1278 1360
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1279 1361
       if (event.key === 'Enter') {
@@ -1281,30 +1363,118 @@ export default {
1281 1363
         var textarea = ""
1282 1364
         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1283 1365
          
1284
-      
1285
-
1286 1366
         if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id==0){
1367
+
1368
+          var drugindentificaitoncode = this.getDrugIdentificationCode(this.drug_id)
1369
+          console.log("drugindentification===================",drugindentificaitoncode)
1370
+
1371
+          var scan_code = this.getDrugScanCode(this.drug_id)
1372
+          
1373
+          console.log("scan_code============",scan_code)
1374
+
1375
+          var total_one = 0
1376
+          var total_two = 0
1377
+
1378
+          console.log("newArr-------------",this.newArrList)
1379
+
1380
+         
1381
+
1287 1382
           var arr= []
1288 1383
           arr = textarea.split(",")
1384
+          var arrList = []
1385
+          if(arr!=null && arr.length>0){
1386
+            let dataInfo = {}
1387
+               arr.forEach((item, index) => {
1388
+                if (!dataInfo[item]) {
1389
+                    dataInfo[item] = {
1390
+                    drug_code:item,
1391
+                    child: [], 
1392
+                  }
1393
+                 }
1394
+               })
1395
+               let new_arr = Object.values(dataInfo)
1396
+
1397
+               if(new_arr!=null && new_arr.length>0){
1398
+                
1399
+                 for(let i=0;i<new_arr.length;i++){
1400
+                   for(let j=0;j<arr.length;j++){
1401
+                      if(new_arr[i].drug_code == arr[j]){
1402
+                         new_arr[i].child.push(arr[j])
1403
+                      }
1404
+                   }
1405
+                 }
1406
+               }
1407
+            arrList = new_arr
1408
+            
1409
+          }
1410
+
1289 1411
           var is_err_check = false
1290 1412
           var i_index = ""
1413
+          var drug_code = ""
1414
+       
1291 1415
           if(arr!=null && arr.length>0){
1292 1416
             for(let i=0;i<arr.length;i++){
1417
+
1293 1418
                if(arr[i]!=""){
1419
+                 drug_code = arr[i]
1420
+                 i_index = i
1294 1421
                  if(arr[i].length!=20){
1295 1422
                    this.$message.error("药品追溯码长度没有满足20位!")
1296 1423
                    is_err_check = true
1297
-                   i_index = i
1298 1424
                  }
1425
+                 if(drugindentificaitoncode>0){
1426
+                  if(arr[i].substring(0,7)!= drugindentificaitoncode){
1427
+                    this.$message.error("药品标识码格式不正确,请重新扫码")
1428
+                    is_err_check = true
1429
+                  }
1430
+                 }
1431
+                
1432
+
1299 1433
                }
1300 1434
 
1301 1435
             }
1302 1436
           }
1303
-          console.log("is_err_check+++++++++++++",is_err_check)
1304 1437
           if(is_err_check == true){
1305 1438
               arr.splice(i_index,1)
1306 1439
           }
1307
-          console.log("arr-------------------------",arr)
1440
+         
1441
+          for(let i=0;i<this.newArrList.length;i++){
1442
+             if(drug_code == this.newArrList[i].drug_code){
1443
+                 total_one = this.newArrList[i].child.length
1444
+             }
1445
+          }
1446
+
1447
+          for(let i=0;i<arrList.length;i++){
1448
+             if(drug_code == arrList[i].drug_code){
1449
+                 total_two = arrList[i].child.length
1450
+             }
1451
+          }
1452
+
1453
+
1454
+          console.log("数量1--------------",total_one)
1455
+          console.log("数量2---------------",total_two)
1456
+        
1457
+          console.log("scan_code=====",scan_code)
1458
+          
1459
+          if(scan_code>0){
1460
+            if((total_one + total_two)>scan_code){
1461
+              this.$message.error("扫码次数已经超过限制!")
1462
+              arr.splice(i_index,1)
1463
+            }
1464
+          }
1465
+         
1466
+
1467
+
1468
+
1469
+         var is_arr = this.hasDuplicates(arr)
1470
+
1471
+         if(is_arr == true){
1472
+           this.$message.error("药品追溯码已经存在,不能重复扫码!")
1473
+           arr.splice(i_index,1)
1474
+         }
1475
+
1476
+         console.log("is_arr-=--------------",is_arr)
1477
+
1308 1478
           this.textarea = arr.join(",")
1309 1479
         }else{
1310 1480
 
@@ -1317,6 +1487,31 @@ export default {
1317 1487
 
1318 1488
 
1319 1489
     },
1490
+    
1491
+    hasDuplicates(arr) {
1492
+      const uniqueNumbers = [...new Set(arr)];
1493
+      return uniqueNumbers.length !== arr.length;
1494
+    },
1495
+    getDrugIdentificationCode(id){
1496
+       
1497
+      var drug_identification_code = ""
1498
+      for(let i=0;i<this.baseList.length;i++){
1499
+          if(id == this.baseList[i].id){
1500
+            drug_identification_code = this.baseList[i].drug_identification_code
1501
+          }
1502
+      }
1503
+      return drug_identification_code
1504
+    },
1505
+    getDrugScanCode(drug_id){
1506
+      var scan_code = ""
1507
+      for(let i=0;i<this.baseList.length;i++){
1508
+       if(drug_id == this.baseList[i].id){
1509
+          scan_code = this.baseList[i].scan_code
1510
+       }
1511
+      }
1512
+      return scan_code
1513
+    }
1514
+
1320 1515
 
1321 1516
 
1322 1517
   },

+ 7 - 4
src/xt_pages/data/druguseTemplate.vue View File

@@ -2863,6 +2863,7 @@
2863 2863
                 obj.delivery_way = medicalList[i].delivery_way
2864 2864
                 obj.execution_frequency = medicalList[i].execution_frequency
2865 2865
                 obj.single_dose = medicalList[i].single_dose
2866
+                obj.single_dose_unit  = medicalList[i].dose_unit
2866 2867
                 obj.prescribing_number = medicalList[i].prescribing_number
2867 2868
                 obj.type_id = medicalList[i].id
2868 2869
                 obj.type = 2
@@ -2900,6 +2901,7 @@
2900 2901
                 obj.delivery_way = base_drug_list[i].delivery_way
2901 2902
                 obj.execution_frequency = base_drug_list[i].execution_frequency
2902 2903
                 obj.single_dose = base_drug_list[i].single_dose
2904
+                obj.single_dose_unit = base_drug_list[i].dose_unit
2903 2905
                 obj.prescribing_number = base_drug_list[i].prescribing_number
2904 2906
                 obj.type_id = base_drug_list[i].id
2905 2907
                 obj.type = 1
@@ -2917,6 +2919,7 @@
2917 2919
     changeDrugName(name){
2918 2920
        this.current_drug_name = name
2919 2921
        this.templateForm.advice_desc = ''
2922
+       console.log("all_drug=============",this.all_drug)
2920 2923
       this.drugSpec = []
2921 2924
       for (let i = 0; i < this.all_drug.length; i++) {
2922 2925
         if (this.all_drug[i].drug_name == name) {
@@ -3031,15 +3034,15 @@
3031 3034
        return a.sort - b.sort
3032 3035
      },
3033 3036
      hangleSelectChange(val){
3034
-        console.log("==val==",val)
3037
+      console.log("==val==",val)
3035 3038
        var tmp = val.drug_specs[0]
3036 3039
        console.log("tmp",tmp)
3037 3040
        this.templateForm.advice_desc=this.drugSpec[0].drug_spec
3038
-       this.templateForm.drug_spec_unit=this.drugSpec[0].min_unit
3041
+       this.templateForm.drug_spec_unit= this.drugSpec[0].min_unit
3039 3042
        this.templateForm.prescribing_number=this.drugSpec[0].prescribing_number
3040 3043
        this.templateForm.prescribing_number_unit=this.drugSpec[0].prescribing_number_unit
3041
-       this.templateForm.single_dose=this.drugSpec[0].single_dose
3042
-       this.templateForm.single_dose_unit=this.drugSpec[0].min_unit
3044
+       this.templateForm.single_dose= this.drugSpec[0].single_dose
3045
+       this.templateForm.single_dose_unit= val.single_dose_unit
3043 3046
        this.templateForm.delivery_way=this.drugSpec[0].delivery_way
3044 3047
        this.templateForm.execution_frequency=this.drugSpec[0].execution_frequency
3045 3048
        this.templateForm.advice_desc=tmp.dose+tmp.dose_unit+"*"+tmp.min_number+tmp.min_unit+"/"//药品规格

+ 24 - 2
src/xt_pages/dialysis/PatientBox.vue View File

@@ -161,19 +161,41 @@
161 161
         </p>
162 162
 
163 163
 
164
-        <p v-if="$store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340">
164
+        <p v-if="$store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340 && $store.getters.xt_user.org.id!=0&& $store.getters.xt_user.org.id!=10742">
165 165
           透析器/灌流器:{{schedule.prescription? schedule.prescription.dialyzer_perfusion_apparatus: ""}}
166 166
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}</span>
167 167
           <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
168 168
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
169 169
         </p>
170
+
171
+        <p v-if="$store.getters.xt_user.org.id ==0 ||  $store.getters.xt_user.org.id ==10742">
172
+          透析器/灌流器/滤过器:
173
+        
174
+          <span v-if="schedule.prescription != null">
175
+            <span v-if="schedule.prescription.id > 0">
176
+              {{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}
177
+            </span>
178
+            <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
179
+            <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
180
+          </span>
181
+
182
+          <span v-if="schedule.prescription== null && schedule.dialysis_solution!=null">
183
+             <span v-if="schedule.dialysis_solution.id>0">
184
+                {{ schedule.dialysis_solution.dialysis_dialyszers }} 
185
+               <span v-if="schedule.dialysis_solution.dialysis_dialyszers!=''"> {{ schedule.dialysis_solution.dialysis_irrigation }}</span>
186
+               <span v-if="schedule.dialysis_solution.dialysis_strainer!=''"> {{ schedule.dialysis_solution.dialysis_strainer }}</span>
187
+             </span>
188
+          </span>
189
+        
190
+        </p>
191
+
170 192
         <p v-if="$store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
171 193
              透析器/灌流器:
172 194
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_dialyszers}}</span>
173 195
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_irrigation}}</span>
174 196
              
175 197
         </p>
176
-        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==10445">
198
+        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==10445 ||  $store.getters.xt_user.org.id==10579 ">
177 199
            滤过器:
178 200
            <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_strainer: ""}}</span>
179 201
         </p>

File diff suppressed because it is too large
+ 2357 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue


+ 11 - 10
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue View File

@@ -123,8 +123,9 @@
123 123
                   <tr>
124 124
                     <td colspan="2">
125 125
                       <div style="line-height:30px;">
126
-                      <span>处方脱水量: {{ record.prescription.prescription_water ? record.prescription.prescription_water : "" }} </span>ml &nbsp;&nbsp;
127
-                      <span>透析液流量: {{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }} </span>ml/h
126
+                        <span v-if="org_id != 9779">处方脱水量: {{ record.prescription.prescription_water ? record.prescription.prescription_water : "" }} ml &nbsp;&nbsp;</span>
127
+                        <span v-if="org_id == 9779">目标脱水量:{{ record.prescription.target_ultrafiltration ? record.prescription.target_ultrafiltration : "" }} L&nbsp;&nbsp;</span>
128
+                        <span>透析液流量: {{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }} </span>ml/h
128 129
                       </div>
129 130
                     </td>
130 131
                     <td >
@@ -144,7 +145,7 @@
144 145
               <table border="1" class="table-box" style="border-collapse: collapse;width: 100%;">
145 146
                 <tr>
146 147
                   <td style="width: 20%; line-height: 30px;">透析机:
147
-                    {{record.assessment_before_dislysis.machine_type ? record.assessment_before_dislysis.machine_type : " "}}
148
+                    {{record.assessment_before_dislysis.machine_type ? record.assessment_before_dislysis.machine_type : "/"}}
148 149
                   </td>
149 150
                   <td style="width: 30%;line-height: 30px;">
150 151
                     透析(滤)器:
@@ -177,14 +178,14 @@
177 178
                   <td colspan="3">
178 179
                     <div style="display: inline-block;line-height: 30px;">
179 180
                       血管通路:
180
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
181
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
182
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
183
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='内瘘' &&
184
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='长期静脉导管' &&
185
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!='临时静脉导管' &&
186
-                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id)!=''?true :false" showValue="其它">
181
+                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘')!=-1?true :false" showValue="内瘘"></label-box>&nbsp;
182
+                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('长期静脉导管')!=-1?true :false" showValue="长期静脉导管"></label-box>&nbsp;
183
+                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('临时静脉导管')!=-1?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
184
+                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘')==-1 &&
185
+                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('长期静脉导管') &&
186
+                                  QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('临时静脉导管') ?true :false" showValue="其它">
187 187
                       </label-box>
188
+                      {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
188 189
                     </div>&nbsp;&nbsp;
189 190
                     <div style="display: inline-block;line-height: 30px;">
190 191
                       穿刺者:

+ 0 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seventythree.vue View File

@@ -339,7 +339,6 @@
339 339
                         体重增加:
340 340
                         <div class="under_line" style=" width: 50%;text-align: center; white-space: normal;">
341 341
                           {{ record.assessment_before_dislysis.weight_before > 0 && 
342
-                          record.assessment_before_dislysis.additional_weight > 0 && 
343 342
                           record.assessment_before_dislysis.dry_weight >0 ? 
344 343
                           parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight - record.assessment_before_dislysis.dry_weight).toFixed(2): "/" 
345 344
                           }}

+ 50 - 22
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1017,6 +1017,13 @@
1017 1017
                               ? record.prescription.dialysis_dialyszers
1018 1018
                               : "/"
1019 1019
                           }}
1020
+                          <span v-if="org_id ==10740">
1021
+                            {{
1022
+                              record.prescription.dialysis_strainer
1023
+                                ? record.prescription.dialysis_strainer
1024
+                                : ""
1025
+                            }}
1026
+                          </span>
1020 1027
                         </div>
1021 1028
                       </div>
1022 1029
                       <div class="inline_block" style="flex: 1">
@@ -1098,9 +1105,7 @@
1098 1105
                       </div>
1099 1106
                     </div>
1100 1107
 
1101
-                    <div
1102
-
1103
-                      class="row"
1108
+                    <div class="row"
1104 1109
                       style="padding: 2px 0; line-height: 23px; display: flex"
1105 1110
                     >
1106 1111
                       <!-- <div class="inline_block" style="flex: 1"
@@ -1601,14 +1606,14 @@
1601 1606
                       >
1602 1607
                         <div
1603 1608
                           class="inline_block"
1604
-                          style="flex: 1; display: inline-block"
1609
+                          style="flex: 2; display: inline-block"
1605 1610
                           v-if="org_id!=9675 && org_id!=10447"
1606 1611
                         >
1607 1612
                           备注:
1608 1613
                           <div
1609 1614
                             class="under_line"
1610 1615
                             style="
1611
-                              width: 860px;
1616
+                              width: 80%;
1612 1617
                               line-height: 25px;
1613 1618
                               text-align: left;
1614 1619
                               margin-left: 2px;
@@ -1619,6 +1624,34 @@
1619 1624
                             {{ record.assessment_before_dislysis.remark ?record.assessment_before_dislysis.remark : "/" }}
1620 1625
                           </div>
1621 1626
                         </div>
1627
+
1628
+                        <div style="flex: 1;">
1629
+                          医生签名:
1630
+                          <div class="under_line">
1631
+                            <span
1632
+                              v-if=" setAdminUserES(
1633
+                                  record.prescription, 'creater') == ''">
1634
+                              {{
1635
+                                getAdminUser(
1636
+                                  record.prescription,
1637
+                                  "creater"
1638
+                                )
1639
+                              }}</span
1640
+                            >
1641
+                            <img class="es-img"
1642
+                              :src="
1643
+                                setAdminUserES(
1644
+                                  record.prescription,
1645
+                                  'creater'
1646
+                                )
1647
+                              "
1648
+                              alt=""
1649
+                              srcset=""
1650
+                              v-else
1651
+                              style="height: 40px"
1652
+                            />
1653
+                          </div>
1654
+                        </div>
1622 1655
                       </div>
1623 1656
                     </div>
1624 1657
 
@@ -1749,12 +1782,12 @@
1749 1782
                           置换液的速度<br />(ml/h)
1750 1783
                           </td>
1751 1784
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1752
-                          <td width="50" v-if=" org_id ==0 || org_id ==10489 || org_id == 10735">超滤率<br />(ml/h)</td>
1753
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />
1785
+                          <td width="50" v-if=" org_id ==10600 || org_id ==10489 || org_id == 10735">超滤率<br />(ml/h)</td>
1786
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10683">超滤量<br />
1754 1787
                             <span v-if="org_id!=10471"> (ml)</span>
1755 1788
                             <span v-if="org_id==10471">L</span>
1756 1789
                           </td>
1757
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567 || org_id ==10724">超滤率<br />(ml/h)</td>
1790
+                          <td width="50" v-if="org_id ==10683  || org_id == 10567 || org_id ==10724">超滤率<br />(ml/h)</td>
1758 1791
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1759 1792
                           <td
1760 1793
                             v-if="
@@ -1784,10 +1817,8 @@
1784 1817
                               org_id ==10600 ||
1785 1818
                               org_id ==10629 ||
1786 1819
                               org_id == 10510 ||
1787
-                              org_id == 0 ||
1788 1820
                               org_id == 10598 ||
1789
-                              org_id == 10567 ||
1790
-                              org_id == 10724
1821
+                              org_id == 10567 
1791 1822
 
1792 1823
                             "
1793 1824
                           >
@@ -1991,8 +2022,7 @@
1991 2022
                           <td width="50" v-if="org_id == 10375"><br />
1992 2023
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1993 2024
                           </td>
1994
-                          <td width="50" v-if="org_id == 10489 || org_id ==0 || org_id == 10735"><br />
1995
-
2025
+                          <td width="50" v-if="org_id == 10489 || org_id ==10600 || org_id == 10735"><br />
1996 2026
                                    {{
1997 2027
                                      monitor_record.ultrafiltration_rate
1998 2028
                                        ? monitor_record.ultrafiltration_rate
@@ -2017,7 +2047,7 @@
2017 2047
 
2018 2048
                           </td>
2019 2049
 
2020
-                          <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0 || org_id == 10567 || org_id == 10724"><br />
2050
+                          <td width="50" v-if="org_id ==10683 || org_id == 10567 || org_id == 10724"><br />
2021 2051
 
2022 2052
                                     {{
2023 2053
                                       monitor_record.ultrafiltration_rate
@@ -2065,10 +2095,8 @@
2065 2095
                               org_id == 10600 ||
2066 2096
                               org_id ==10629 ||
2067 2097
                               org_id ==10510 ||
2068
-                              org_id== 0 ||
2069 2098
                               org_id ==10598 ||
2070
-                              org_id == 10567 ||
2071
-                              org_id == 10724
2099
+                              org_id == 10567 
2072 2100
                             "
2073 2101
                           >
2074 2102
                             {{ monitor_record.ktv }}
@@ -3105,7 +3133,7 @@
3105 3133
                          </span>
3106 3134
 
3107 3135
                          <span v-if="org_id == 10551">{{
3108
-                            record.assessment_after_dislysis && 
3136
+                            record.assessment_after_dislysis &&
3109 3137
                             record.assessment_before_dislysis&&
3110 3138
                             record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
3111 3139
                               ?record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
@@ -3134,14 +3162,14 @@
3134 3162
                       >
3135 3163
 
3136 3164
                         <span v-if="org_id!=10460">
3137
-                          透析中入量  (L):
3165
+                          透析中入量(L):
3138 3166
                         </span>
3139 3167
                         <span v-if="org_id==10460">
3140
-                          透析中入量  (ml):
3168
+                          透析中入量(ml):
3141 3169
                         </span>
3142 3170
                         <div
3143 3171
                           class="under_line"
3144
-                          style="width: 100px; text-align: center"
3172
+                          style="width: 60px; text-align: center"
3145 3173
                         >
3146 3174
                           {{
3147 3175
                             record.assessment_after_dislysis &&
@@ -3170,7 +3198,7 @@
3170 3198
                           }}
3171 3199
                         </div>
3172 3200
                         <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624 && org_id!=10471"> ml</span>
3173
-                        <span v-if="org_id ==9675||org_id==10447 || org_id==10624 || org_id == 10471">L</span>
3201
+                        <span v-if="org_id ==9675||org_id==10447 || org_id==10624 || org_id == 10471 ">L</span>
3174 3202
                       </div>
3175 3203
 
3176 3204
                       <div class="inline_block" style="flex: 1" v-if="org_id ==10598 || org_id == 0">

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

@@ -394,8 +394,7 @@
394 394
                         </div>
395 395
                       </div>
396 396
                     </div>
397
-                    <div
398
-                      class="row"
397
+                    <div class="row"
399 398
                       style="padding: 2px 0; line-height: 23px; display: flex"
400 399
                     >
401 400
                       <div class="inline_block">
@@ -1172,18 +1171,17 @@
1172 1171
                         <span v-if="record.prescription.anticoagulant == 4"
1173 1172
                           >mg</span
1174 1173
                         >
1175
-                        <span v-if="record.prescription.anticoagulant == 3"
1174
+                        <span v-else-if="record.prescription.anticoagulant == 3"
1176 1175
                           >iu</span
1177 1176
                         >
1178
-                        <span v-if="record.prescription.anticoagulant == 2"
1177
+                        <span v-else-if="record.prescription.anticoagulant == 2"
1179 1178
                           >mg</span
1180 1179
                         >
1181
-                        <span v-if="record.prescription.anticoagulant == 1"
1182
-                          >mg</span
1183
-                        >
1184
-                        <span v-if="record.prescription.anticoagulant == 15"
1180
+                        <span v-else-if="record.prescription.anticoagulant == 1"
1185 1181
                           >mg</span
1186 1182
                         >
1183
+                        <span v-else-if="record.prescription.anticoagulant == 15">mg</span>
1184
+                        <span v-else>iu</span>
1187 1185
                       </div>
1188 1186
                       <div class="inline_block" style="margin-left: 20px" v-if=" record.prescription.anticoagulant !=1">
1189 1187
                         维持:
@@ -1220,21 +1218,21 @@
1220 1218
                         <span v-if="record.prescription.anticoagulant == 5"
1221 1219
                           >ml/h</span
1222 1220
                         >
1223
-                        <span v-if="record.prescription.anticoagulant == 4"
1221
+                        <span v-else-if="record.prescription.anticoagulant == 4"
1224 1222
                           >mg/h</span
1225 1223
                         >
1226
-                        <span v-if="record.prescription.anticoagulant == 3"
1224
+                        <span v-else-if="record.prescription.anticoagulant == 3"
1227 1225
                           >iu/h</span
1228 1226
                         >
1229
-                        <span v-if="record.prescription.anticoagulant == 2"
1227
+                        <span v-else-if="record.prescription.anticoagulant == 2"
1230 1228
                           >mg/h</span
1231 1229
                         >
1232
-                        <span v-if="record.prescription.anticoagulant == 1"
1233
-                          >mg/h</span
1234
-                        >
1235
-                        <span v-if="record.prescription.anticoagulant == 15"
1230
+                        <span v-else-if="record.prescription.anticoagulant == 1"
1236 1231
                           >mg/h</span
1237 1232
                         >
1233
+                        <span v-else-if="record.prescription.anticoagulant == 15"
1234
+                          >mg/h</span>
1235
+                        <span v-else>iu/h</span>
1238 1236
                       </div>
1239 1237
                       <div class="inline_block" style="margin-left: 20px" v-if=" record.prescription.anticoagulant !=1">
1240 1238
                         总量:
@@ -1252,18 +1250,18 @@
1252 1250
                         <span v-if="record.prescription.anticoagulant == 4"
1253 1251
                           >mg</span
1254 1252
                         >
1255
-                        <span v-if="record.prescription.anticoagulant == 3"
1253
+                        <span v-else-if="record.prescription.anticoagulant == 3"
1256 1254
                           >iu</span
1257 1255
                         >
1258
-                        <span v-if="record.prescription.anticoagulant == 2"
1259
-                          >mg</span
1260
-                        >
1261
-                        <span v-if="record.prescription.anticoagulant == 1"
1256
+                        <span v-else-if="record.prescription.anticoagulant == 2"
1262 1257
                           >mg</span
1263 1258
                         >
1264
-                        <span v-if="record.prescription.anticoagulant == 15"
1259
+                        <span v-else-if="record.prescription.anticoagulant == 1"
1265 1260
                           >mg</span
1266 1261
                         >
1262
+                        <span v-else-if="record.prescription.anticoagulant == 15"
1263
+                          >mg</span>
1264
+                        <span v-else>iu</span>
1267 1265
                       </div>
1268 1266
 
1269 1267
                       <div class="inline_block" style="margin-left: 20px">

+ 13 - 18
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue View File

@@ -176,16 +176,10 @@
176 176
                         <table class="table-box">
177 177
                         <tbody>
178 178
                         <tr>
179
-                            <td width="70">导管:</td>
179
+                            <td width="70">导管:</td>
180 180
                             <td width="240">
181
-                            <div style="display:flex;justify-content:space-between;">
182
-                                <label-box :isChecked="record.assessment_before_dislysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
183
-                                &nbsp;
184
-                                <label-box :isChecked="record.assessment_before_dislysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
185
-                                &nbsp;
186
-                                <label-box :isChecked="record.assessment_before_dislysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
187
-                                &nbsp;
188
-                                <label-box :isChecked="record.assessment_before_dislysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
181
+                            <div class="under-line" style="text-align: center;">
182
+                              {{ record.assessment_before_dislysis.catheter ? record.assessment_before_dislysis.catheter :'/' }}
189 183
                             </div>
190 184
                             </td>
191 185
                             <td width="40"></td>
@@ -220,7 +214,7 @@
220 214
                                 &nbsp;
221 215
                                 <label-box :isChecked="record.assessment_before_dislysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
222 216
                                 &nbsp;
223
-                                <label-box :isChecked="(record.assessment_before_dislysis.internal_fistula.indexOf('震颤-无') > -1 || record.assessment_before_dislysis.internal_fistula.indexOf('不存在') > -1) ? true : false" showValue="不存在"></label-box>
217
+                                <label-box :isChecked="(record.assessment_before_dislysis.internal_fistula.indexOf('不存在') > -1 || record.assessment_before_dislysis.internal_fistula.indexOf('不存在') > -1) ? true : false" showValue="不存在"></label-box>
224 218
                             </div>
225 219
                             </td>
226 220
                             <td width="30"></td>
@@ -711,15 +705,15 @@
711 705
                                 <div style="display:flex;justify-content:space-between;">
712 706
                                 <label-box :isChecked="record.assessment_after_dislysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
713 707
                                 <label-box :isChecked="record.assessment_after_dislysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
714
-                                <label-box :isChecked="record.assessment_after_dislysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
708
+                                <label-box :isChecked="record.assessment_after_dislysis.internal_fistula.indexOf('不存在') > -1 ? true : false" showValue="不存在"></label-box>
715 709
                                 </div>
716 710
                             </td>
717 711
                             <td width='30'></td>
718 712
                             <td width="40">导管:</td>
719 713
                             <td width='200'>
720
-                                <label-box showValue="通畅" :isChecked="record.assessment_after_dislysis.catheter.indexOf('通畅') > -1 ? true : false"></label-box>&nbsp;
721
-                                <label-box showValue="A堵塞" :isChecked="record.assessment_after_dislysis.catheter.indexOf('A堵塞') > -1 ? true : false"></label-box>&nbsp;
722
-                                <label-box showValue="V堵塞" :isChecked="record.assessment_after_dislysis.catheter.indexOf('V堵塞') > -1 ? true : false"></label-box>&nbsp;
714
+                              <div class="under-line" style="text-align: center;white-space: normal;">
715
+                                {{ record.assessment_after_dislysis.catheter ? record.assessment_after_dislysis.catheter :'/' }}
716
+                              </div>
723 717
                             </td>
724 718
                             <td></td>
725 719
                             </tr>
@@ -731,10 +725,11 @@
731 725
                             <tr>
732 726
                             <td width="130">拔针后穿刺点渗血:</td>
733 727
                             <td width="80">
734
-                                <div style="display:flex;justify-content:space-between;">
735
-                                <label-box :isChecked="record.assessment_after_dislysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
736
-                                <label-box :isChecked="record.assessment_after_dislysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
737
-                                </div>
728
+                              <div class="under-line" style="text-align: center;">
729
+                                <span v-if="record.assessment_after_dislysis.puncture_point_oozing_blood ==1">有</span>
730
+                                <span v-else-if="record.assessment_after_dislysis.puncture_point_oozing_blood ==2">无</span>
731
+                                <span v-else>/</span>
732
+                              </div>
738 733
                             </td>
739 734
                             <td width="10"></td>
740 735
                             <td width="85">穿刺处血肿:</td>

+ 14 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -559,6 +559,16 @@
559 559
             >批量打印</el-button
560 560
           >
561 561
         </template>
562
+        <template v-if="this.template_id == 83">
563
+          <el-button
564
+            size="small"
565
+            icon="el-icon-printer"
566
+            :disabled="selecting_schs.length == 0"
567
+            @click="batchPrintAction"
568
+            type="primary"
569
+            >批量打印</el-button
570
+          >
571
+        </template>
562 572
       </div>
563 573
     </div>
564 574
     <div class="app-container">
@@ -1943,8 +1953,8 @@ export default {
1943 1953
           this.$message.error(response.data.msg);
1944 1954
           return false;
1945 1955
         } else {
1946
-          // if(this.org_id ==10206){
1947
-          //   this.template_id = 80
1956
+          // if(this.org_id ==10742 || this.org_id==0){
1957
+          //   this.template_id = 83
1948 1958
           //   // this.template_id = 81
1949 1959
           //   console.log("templage-i233232323232322323233232323223",this.template_id)
1950 1960
           // }else{
@@ -2789,6 +2799,8 @@ export default {
2789 2799
         this.$router.push({ path: "/dialysis/print/batch/eightyone" });
2790 2800
       } else if (this.template_id == 82) {
2791 2801
         this.$router.push({ path: "/dialysis/print/batch/eightyTwo" });
2802
+      } else if (this.template_id == 83) {
2803
+        this.$router.push({ path: "/dialysis/print/batch/eightythree" });
2792 2804
       }
2793 2805
     },
2794 2806
     batchPrintActionOne: function() {

+ 8 - 0
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

@@ -97,6 +97,8 @@
97 97
            </template>
98 98
         </el-table-column>
99 99
 
100
+       
101
+
100 102
         <el-table-column
101 103
           align="center"
102 104
           prop="name"
@@ -184,6 +186,12 @@
184 186
            </template>
185 187
         </el-table-column>
186 188
 
189
+        <el-table-column  align="center"  width="60" label="钙"  v-if="org_id ==10610 || org_id == 10610">
190
+           <template slot-scope="scope">
191
+            {{scope.row.dialysis_solution.calcium}}
192
+           </template>
193
+        </el-table-column>
194
+
187 195
         <el-table-column
188 196
           align="center"
189 197
           prop="name"

+ 5 - 0
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue View File

@@ -30,6 +30,7 @@
30 30
                 <td width="100">姓名</td>
31 31
                 <td width="100">透析号</td>
32 32
                 <td width="100">透析模式</td>
33
+               
33 34
                 <td width="200" v-for="(item,index) in rowList" :key="index">
34 35
                   {{item.filed_name_cn}} 
35 36
                 </td>
@@ -45,6 +46,7 @@
45 46
                  <td>{{item.patient.name}}</td>
46 47
                 <td>{{item.patient.dialysis_no}}</td>
47 48
                 <td>{{ getModeId(item.mode_id) }}</td>
49
+               
48 50
                 <td v-for="(it,index) in rowList" :key="index">
49 51
                   <!-- {{getName(item.rowList[index].filed_name_cn,item.dialysis_solution)}} -->
50 52
                   <span v-if="org_id !=10599">
@@ -68,6 +70,7 @@
68 70
                 <td width="100">姓名</td>
69 71
                 <td width="100">透析机号</td>
70 72
                 <td width="100">透析模式</td>
73
+                <td width="100" v-if="org_id == 10610 || org_id == 0">钙</td>
71 74
                 <td width="200" v-for="(item,index) in typeList" :key="index">
72 75
                   {{item.type_name}} 
73 76
                 </td>
@@ -82,6 +85,7 @@
82 85
                  <td>{{item.patient.name}}</td>
83 86
                 <td>{{item.patient.dialysis_no}}</td>
84 87
                 <td>{{ getModeId(item.mode_id) }}</td>
88
+                <td v-if="org_id == 0 || org_id == 10610">{{ item.dialysis_solution.calcium }}</td>
85 89
                 <td v-for="(it,index) in typeList" :key="index">
86 90
                   <span v-if="item.his_prescription_project.length>0"> {{getStr(item.typeList[index].id,item.his_prescription_project,item.patient_id)}}</span>
87 91
                   <span v-if="item.his_prescription_project.length==0">{{getStr(item.typeList[index].id,item.projectList,item.patient_id)}}</span>
@@ -105,6 +109,7 @@
105 109
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
106 110
   import print from 'print-js'
107 111
   import { getDataConfig } from '@/utils/data'
112
+import org from '../../../../router/modules/org'
108 113
   export default {
109 114
     name: 'SchedulePrint',
110 115
     data() {

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

@@ -138,6 +138,7 @@
138 138
             {{scope.row.patient.dialysis_no}}
139 139
            </template>
140 140
         </el-table-column>
141
+      
141 142
         <el-table-column align="center" label="住院(门诊)号"  v-if="dialysisSett.admission_number==1">
142 143
            <template slot-scope="scope">
143 144
              {{scope.row.xt_receive_treatment_asses.admission_number}}

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -1749,7 +1749,7 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495){
1752
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495 || this.$store.getters.xt_user.org.id == 10742){
1753 1753
         var date = new Date()
1754 1754
           var year = date.getFullYear()
1755 1755
           var month = date.getMonth() + 1

+ 23 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -3064,6 +3064,29 @@ mu
3064 3064
               minites = '0' + minites
3065 3065
             }
3066 3066
             this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3067
+           }else if(this.$store.getters.xt_user.org.id == 10742){
3068
+            var date = new Date()
3069
+            var year = date.getFullYear()
3070
+            var month = date.getMonth() + 1
3071
+            var day = date.getDate()
3072
+
3073
+            var hours = date.getHours()
3074
+            var minites = date.getMinutes()
3075
+
3076
+            if (month < 10) {
3077
+              month = '0' + month
3078
+            }
3079
+            if (day < 10) {
3080
+              day = '0' + day
3081
+            }
3082
+            if (hours < 10) {
3083
+              hours = '0' + hours
3084
+            }
3085
+            if (minites < 10) {
3086
+              minites = '0' + minites
3087
+            }
3088
+            this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3089
+
3067 3090
            }else if(this.$store.getters.xt_user.org.id == 10495){
3068 3091
 
3069 3092
             var date = new Date()

+ 28 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -1032,6 +1032,18 @@
1032 1032
         >
1033 1033
         </div>
1034 1034
       </template>
1035
+      <template v-if="org_template_info.template_id == 83">
1036
+        <div>
1037
+          <el-button
1038
+          :loading="loading"
1039
+          size="small"
1040
+          icon="el-icon-printer"
1041
+          @click="printThisPage"
1042
+          type="primary"
1043
+          >打印</el-button
1044
+        >
1045
+        </div>
1046
+      </template>
1035 1047
     </div>
1036 1048
     <div class="app-container" style="min-height: 0">
1037 1049
       <!--<div class="order-print-btn"-->
@@ -1561,6 +1573,9 @@
1561 1573
           <DialysisPrintOrdereightytwo  v-bind:childResponse="childResponse"
1562 1574
           v-if="org_template_info.template_id == 82">
1563 1575
           </DialysisPrintOrdereightytwo>
1576
+          <DialysisPrintOrdereightythree v-bind:childResponse="childResponse"
1577
+          v-if="org_template_info.template_id == 83">
1578
+          </DialysisPrintOrdereightythree>
1564 1579
         </div>
1565 1580
       </el-container>
1566 1581
     </div>
@@ -1661,6 +1676,7 @@ import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventyn
1661 1676
 import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1662 1677
 import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1663 1678
 import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
1679
+import DialysisPrintOrdereightythree from './template/DialysisPrintOrdereightythree'
1664 1680
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1665 1681
 export default {
1666 1682
   name: "dialysisPrintOrder",
@@ -1747,6 +1763,7 @@ export default {
1747 1763
     DialysisPrintOrdereighty,
1748 1764
     DialysisPrintOrdereightyone,
1749 1765
     DialysisPrintOrdereightytwo,
1766
+    DialysisPrintOrdereightythree,
1750 1767
     DialysisPrintOrderZero,
1751 1768
     LabelBox,
1752 1769
     BreadCrumb,
@@ -1964,6 +1981,9 @@ export default {
1964 1981
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:35px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1965 1982
       const style16 =
1966 1983
         '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1984
+      const style17 =
1985
+        // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
1986
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1967 1987
 
1968 1988
 
1969 1989
         if (this.org_template_info.template_id == 1) {
@@ -2481,6 +2501,13 @@ export default {
2481 2501
           style: style3,
2482 2502
           scanStyles: false,
2483 2503
         });
2504
+      } else if (this.org_template_info.template_id == 83 ) {
2505
+        printJS({
2506
+          printable: "dialysis-print-box-1",
2507
+          type: "html",
2508
+          style: style17,
2509
+          scanStyles: false,
2510
+        });
2484 2511
       }
2485 2512
        else if (this.org_template_info.template_id == 199 ) {
2486 2513
         printJS({
@@ -2705,7 +2732,7 @@ export default {
2705 2732
             this.org_template_info = response.data.data.org_template_info;
2706 2733
           // }else{
2707 2734
           //   this.org_template_info = response.data.data.org_template_info;
2708
-          //   this.org_template_info.template_id= 68
2735
+          //   this.org_template_info.template_id= 83
2709 2736
           // }
2710 2737
 
2711 2738
 

+ 18 - 2
src/xt_pages/dialysis/newDoctorAdvice.vue View File

@@ -64,8 +64,9 @@
64 64
             <el-button type="primary" @click="toSeachOne">搜索</el-button>
65 65
           </div>
66 66
           <div style="flex: 1;text-align: right;">
67
-            <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=10340">药品统计</el-button>
68 67
 
68
+            <el-button type="primary" size="small" @click="toPatientStatic">患者统计</el-button>
69
+            <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=10340">药品统计</el-button>
69 70
             <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id==10340">药品统计</el-button>
70 71
             <el-button type="primary" size="small" @click="toStaticThree">药品月统计</el-button>
71 72
 
@@ -1003,6 +1004,17 @@
1003 1004
       </span>
1004 1005
     </el-dialog>
1005 1006
 
1007
+    <!-- <el-dialog
1008
+      title="患者药品统计"
1009
+      :visible.sync="patientDialogVisible"
1010
+      width="50%">
1011
+      <span>这是一段信息</span>
1012
+      <span slot="footer" class="dialog-footer">
1013
+        <el-button @click="patientDialogVisible = false">取 消</el-button>
1014
+        <el-button type="primary" @click="patientDialogVisible = false">确 定</el-button>
1015
+      </span>
1016
+    </el-dialog> -->
1017
+
1006 1018
     </div>
1007 1019
   </div>
1008 1020
 </template>
@@ -1113,7 +1125,8 @@ export default {
1113 1125
       startMothdialogVisible:false,
1114 1126
       adviceMonthList:[],
1115 1127
       hisAdviceMonthList:[],
1116
-      tableMonthList:[]
1128
+      tableMonthList:[],
1129
+      patientDialogVisible:false,
1117 1130
     };
1118 1131
   },
1119 1132
   created() {
@@ -1137,6 +1150,9 @@ export default {
1137 1150
     this.org_id = this.$store.getters.xt_user.template_info.org_id;
1138 1151
   },
1139 1152
   methods: {
1153
+    toPatientStatic(){
1154
+      this.$router.push({ path: "/dialysis/patient/patientAdvice"});
1155
+    },
1140 1156
     getTemplateInfo() {
1141 1157
       getPrintTemplate().then(response => {
1142 1158
         if (response.data.state == 0) {

+ 436 - 0
src/xt_pages/dialysis/patientAdviceList.vue View File

@@ -0,0 +1,436 @@
1
+<template>
2
+    <div class="main-contain">
3
+        <div class="position">
4
+            <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+        </div>
6
+
7
+        <div class="app-container">
8
+            <div class="cell clearfix" style="margin-bottom:0px;">
9
+                <el-date-picker
10
+                v-model="start_time"
11
+                prefix-icon="el-icon-date"
12
+                :editable="false"
13
+                style="width: 160px;margin-right:10px;"
14
+                type="date"
15
+                placeholder="选择日期时间"
16
+                align="right"
17
+                format="yyyy-MM-dd"
18
+                value-format="yyyy-MM-dd"
19
+                @change="changeStartime"
20
+                ></el-date-picker>
21
+                -
22
+                <el-date-picker
23
+                v-model="end_time"
24
+                prefix-icon="el-icon-date"
25
+                :editable="false"
26
+                style="width: 160px;margin-right:10px;"
27
+                type="date"
28
+                placeholder="选择日期时间"
29
+                align="right"
30
+                format="yyyy-MM-dd"
31
+                value-format="yyyy-MM-dd"
32
+                @change="changeEndtime"
33
+                ></el-date-picker>
34
+                 <el-autocomplete
35
+                  style="margin:16px 5px"
36
+                  popper-class="my-autocomplete"
37
+                  v-model.trim="search_input"
38
+                  :fetch-suggestions="querySearchAsync"
39
+                  :trigger-on-focus="false"
40
+                  placeholder="病人名字或者透析号"
41
+                  @select="handleSelect"
42
+                >
43
+                  <i class="el-icon-search el-input__icon" slot="suffix"> </i>
44
+                  <template slot-scope="{ item }">
45
+                    <div class="name">{{ item.name }}</div>
46
+                  </template>
47
+                </el-autocomplete>
48
+                <el-button type="primary" @click="toSeachPatient">搜索</el-button>
49
+            </div>
50
+            <el-container>
51
+                <div style="width:160px;">
52
+                    <div class="tablesTitle">患者列表</div>
53
+                    <el-table :data="tablePatient" border style="width: 100%;" height="500" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row
54
+                    @current-change="handleCurrentChange"  ref="monthlyPlanTable"
55
+                    >
56
+                        <el-table-column align="center" prop="dialysis_no" label="透析号" width="70">
57
+                            <template slot-scope="scope">{{scope.row.dialysis_no}}</template>
58
+                        </el-table-column>
59
+                        <el-table-column align="center" prop="name" label="姓名" width="90">
60
+                            <template slot-scope="scope">{{ scope.row.name }}</template>
61
+                        </el-table-column>
62
+                    </el-table>
63
+                </div>
64
+                <div style="flex:1;margin-left:20px;">
65
+                    <!-- <div style="display:flex;justify-content: space-between;align-items: center;">
66
+                        <div class="tablesTitle">自备药列表</div>
67
+                        <div>
68
+                            
69
+                            <el-button type="primary" size="mini" @click="openForm(2)">打印</el-button>
70
+                            <el-button type="primary" size="mini" @click="openForm(3)">出库</el-button>
71
+                        </div>
72
+                    </div> -->
73
+                    <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
74
+                        <el-table-column align="center" prop="dialysis_no" label="药品名称">
75
+                            <template slot-scope="scope">
76
+                                {{ scope.row.advice_name }}
77
+                            </template>
78
+                        </el-table-column>
79
+                        <el-table-column align="center" prop="name" label="规格名称">
80
+                            <template slot-scope="scope">{{ scope.row.specification_name }}</template>
81
+                        </el-table-column>
82
+                       
83
+                        <el-table-column align="center" prop="name" label="开药数量">
84
+                            <template slot-scope="scope">
85
+                              {{getTotal(scope.row.child)}}
86
+                            </template>
87
+                        </el-table-column>
88
+                        <el-table-column align="center" prop="dialysis_no" label="单位">
89
+                            <template slot-scope="scope">{{scope.row.prescribing_number_unit}}</template>
90
+                        </el-table-column>
91
+                       
92
+                       
93
+                        <el-table-column align="center" prop="name" label="操作">
94
+                            <template slot-scope="scope">
95
+                                <el-button size="mini" type="primary" @click="toDetail(scope.row.advice_name,scope.row.patient_id)">明细</el-button>
96
+                            </template>
97
+                        </el-table-column>
98
+                    </el-table>
99
+                </div>
100
+            </el-container>
101
+        </div>
102
+
103
+        <el-dialog
104
+         title="使用详情"
105
+        :visible.sync="adviceDialogVisible"
106
+        width="50%">
107
+        <span>
108
+         <el-table :data="tableList" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
109
+                <el-table-column align="center" prop="dialysis_no" label="患者姓名">
110
+                    <template slot-scope="scope">
111
+                        {{getPatientName(scope.row.patient_id)}}
112
+                    </template>
113
+                </el-table-column>
114
+                <el-table-column align="center" prop="name" label="使用时间">
115
+                    <template slot-scope="scope">{{getTime(scope.row.advice_date)}}</template>
116
+                </el-table-column>
117
+                
118
+                <el-table-column align="center" prop="name" label="开药数量">
119
+                    <template slot-scope="scope">
120
+                        {{scope.row.prescribing_number}}
121
+                    </template>
122
+                </el-table-column>
123
+                <el-table-column align="center" prop="dialysis_no" label="单位">
124
+                    <template slot-scope="scope">{{scope.row.prescribing_number_unit}}</template>
125
+                </el-table-column>
126
+                
127
+                
128
+            </el-table> 
129
+        </span>
130
+        <span slot="footer" class="dialog-footer">
131
+            <el-button @click="adviceDialogVisible = false">取 消</el-button>
132
+            <el-button type="primary" @click="adviceDialogVisible = false">确 定</el-button>
133
+        </span>
134
+     </el-dialog>
135
+    </div>
136
+</template>
137
+
138
+
139
+<script>
140
+
141
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
142
+const moment = require('moment')
143
+import { PostSearch } from '@/api/patient'
144
+import { getCurrentPatient,saveRadio,getPatientAdviceList,DeleteDrugNameById,getDrugSet,getPatientDetail,getPatientAdviceListDetail} from "@/api/drug/drug"
145
+import { TimeSelect } from "element-ui";
146
+import { uParseTime } from '@/utils/tools'
147
+export default {
148
+    components:{
149
+        BreadCrumb,
150
+    },
151
+    data(){
152
+        return{
153
+            crumbs: [
154
+                { path: false, name: "库存管理" },
155
+                { path: false, name: "自备药管理" },
156
+                { path: false, name: "自备药管理" },
157
+            ],
158
+            value: '',
159
+            tableData:[],
160
+            dialogVisible:false,
161
+            radio:'2',
162
+            tablePatient:[],
163
+            disableBtton:false,
164
+            currentRow: null,
165
+            patient_name:"",
166
+            patient_id:"",
167
+            start_time:moment().startOf('month').format('YYYY-MM-DD'),
168
+            end_time:moment().endOf('month').format('YYYY-MM-DD'),
169
+            search_input:"",
170
+            patient_id:0,
171
+            stockList:[],
172
+            outStocklist:[],
173
+            outList:[],
174
+            tableList:[],
175
+            adviceDialogVisible:false
176
+        }
177
+    },
178
+    methods:{
179
+        setting(){
180
+            this.dialogVisible = true
181
+        },
182
+        handleCurrentChange(val){
183
+          this.currentRow = val
184
+          this.patient_name = val.name
185
+          this.patient_id = val.id
186
+          if(val.name !=""){
187
+            this.disableBtton = true
188
+          }
189
+           
190
+          this.getlist()
191
+        },
192
+        changeStartime(){
193
+           this.getlist()
194
+        },
195
+        changeEndtime(){
196
+          this.getlist()
197
+        },
198
+        handleClose(){
199
+          this.dialogVisible = false
200
+        },
201
+        openForm(index){
202
+            if(index == 1){
203
+              if(this.disableBtton == true){
204
+                 this.$refs.addMedicine.show(this.patient_name,this.patient_id);
205
+              }
206
+              if(this.disableBtton == false){
207
+                 this.$message.error("请选择患者!")
208
+              }          
209
+            }else if(index == 2){
210
+                this.$refs.warehousing.show(this.patient_name,this.patient_id);
211
+            }else if(index == 3){
212
+                this.$refs.warehouseOut.show(this.patient_name,this.patient_id);
213
+            }
214
+            
215
+        },
216
+        toDetail(advice_name,patientid){
217
+            var params = {
218
+                advice_name:advice_name,
219
+                patient_id:patientid,
220
+                start_time:this.start_time,
221
+                end_time:this.end_time
222
+            }
223
+          getPatientAdviceListDetail(params).then(response=>{
224
+             if(response.data.state == 1){
225
+               var advicelist = response.data.data.adviceList
226
+               this.tableList = []
227
+               this.tableList = advicelist
228
+               console.log("hhhhhhhhhhhhhhhhhhhhhhh",this.tableList)
229
+               this.adviceDialogVisible = true
230
+             }
231
+          })
232
+        },
233
+
234
+        getCurrentPatient(){
235
+         getCurrentPatient().then(response=>{
236
+            if(response.data.state == 1){
237
+              this.tablePatient = response.data.data.patient
238
+            } 
239
+          })
240
+        },
241
+        searchAction(){
242
+          this.patient_id = 0
243
+          this.getlist()
244
+        },
245
+        saveRadio(){
246
+          const params = {
247
+            radio:this.radio
248
+          }
249
+         saveRadio(params).then(response=>{
250
+            if(response.data.state == 1){
251
+              var drugset = response.data.data.drugSet
252
+              this.$message.success("保存成功")
253
+              this.dialogVisible = false
254
+            } 
255
+          }) 
256
+        },
257
+        getlist(){
258
+            const params = {
259
+               patient_id:this.patient_id,
260
+               start_time:this.start_time,
261
+               end_time:this.end_time,
262
+               keyword:this.search_input,
263
+            }
264
+         
265
+          getPatientAdviceList(params).then(response=>{
266
+             if(response.data.state == 1){
267
+                
268
+               var advicelist = response.data.data.adviceList
269
+               
270
+               if(advicelist!=null && advicelist.length>0){
271
+                    let dataInfo = {}
272
+                    advicelist.forEach((item, index) => {
273
+                    let { advice_name } = item
274
+                    if (!dataInfo[advice_name]) {
275
+                        dataInfo[advice_name] = {
276
+                        advice_name:item.advice_name.replace(/\s+/g, ''),
277
+                        child: [],
278
+                        count:0,
279
+                        drug_id:item.drug_id,
280
+                        specification_name:item.advice_desc +item.drug_spec_unit,
281
+                        patient_id:item.patient_id,
282
+                        prescribing_number_unit:item.prescribing_number_unit,
283
+                      }
284
+                    }
285
+                    })
286
+                   let arr = Object.values(dataInfo)
287
+                   console.log("new_ar=====================",arr)
288
+                   for(let i=0;i<arr.length;i++){
289
+                     for(let j=0;j<advicelist.length;j++){
290
+                        if(arr[i].advice_name == advicelist[j].advice_name){
291
+                           arr[i].child.push(advicelist[j])
292
+                        }
293
+                     }
294
+                   }
295
+                   this.tableData = []
296
+                   this.tableData = arr
297
+                }
298
+              
299
+              }
300
+          })  
301
+        },
302
+    
303
+        getCount(patientid,drugname,drugspec){
304
+            var total = 0
305
+           for(let i=0;i<this.outStocklist.length;i++){
306
+              if(patientid == this.outStocklist[i].patient_id && drugname == this.outStocklist[i].drug_name && drugspec == this.outStocklist[i].drug_spec){
307
+                  total = this.outStocklist[i].Count
308
+              }
309
+           }
310
+           return total
311
+        },
312
+
313
+        getCountTwo(patientid,drugname,drugspec){
314
+           var total = 0
315
+           for(let i=0;i<this.outList.length;i++){
316
+             if(patientid == this.outList[i].patient_id && drugname == this.outList[i].drug_name && drugspec == this.outList[i].drug_spec){
317
+                  total += this.outList[i].outstore_number
318
+              }
319
+           }
320
+           return total
321
+        },
322
+
323
+        getDrugSet(){
324
+         getDrugSet().then(response=>{
325
+            if(response.data.state == 1){
326
+              var drugset =  response.data.data.drugSet
327
+              this.radio  = drugset.drug_start.toString()
328
+            }
329
+         })
330
+        },
331
+
332
+        getTotal(val){
333
+          var total = 0
334
+          for(let i=0;i<val.length;i++){
335
+             total +=  val[i].prescribing_number
336
+          }
337
+          return total
338
+        },
339
+        getRemarks(patientid,id){
340
+          var remarks = ""  
341
+           for(let i=0;i<this.stockList.length;i++){
342
+             if(patientid == this.stockList[i].patient_id && id == this.stockList[i].medic_id){
343
+                remarks = this.stockList[i].remarks
344
+             }
345
+          }
346
+          return remarks
347
+        },
348
+
349
+        querySearchAsync(keyword, cb) {
350
+          let key = ''
351
+          if (keyword != undefined) {
352
+            key = keyword
353
+          }
354
+          let searchArray = []
355
+          console.log("key",key)
356
+          PostSearch(key).then(response => {
357
+            if (response.data.state == 1) {
358
+              searchArray = response.data.data.patient
359
+              console.log("searchArray",searchArray)
360
+           
361
+              cb(searchArray)
362
+            }
363
+          })
364
+          return searchArray
365
+        },
366
+        handleSelect(val){   
367
+          this.search_input = val.name
368
+          for(let i=0;i<this.tablePatient.length;i++){
369
+             if(this.tablePatient[i].id == val.id){
370
+               this.$refs.monthlyPlanTable.setCurrentRow(this.tablePatient[i])
371
+             }
372
+          }
373
+          this.getlist()
374
+          this.getPatientDetail(val.id)
375
+        },
376
+
377
+        getPatientDetail(id){
378
+          getPatientDetail(id).then(response=>{
379
+             if(response.data.state == 1){
380
+               var patientDetail =  response.data.data.patientDetail
381
+               console.log("patientDetail",patientDetail)
382
+               var arr = []
383
+               arr.push(patientDetail)
384
+               this.tablePatient = arr
385
+             }
386
+          })
387
+        },
388
+        toSeachPatient(){
389
+          this.getCurrentPatient()
390
+        },
391
+        getPatientName(id){
392
+          var name = ""
393
+          for(let i=0;i<this.tablePatient.length;i++){
394
+            if(id == this.tablePatient[i].id){  
395
+               name = this.tablePatient[i].name
396
+            }
397
+          }
398
+          return name
399
+        },
400
+        getTime(val) {
401
+          if(val < 0){
402
+            return ""
403
+          }
404
+        if(val == ""){
405
+            return ""
406
+        }else {
407
+            return uParseTime(val, '{y}-{m}-{d}')
408
+        }
409
+     },
410
+
411
+    },
412
+    created(){
413
+      //获取当前机构下的所有患者
414
+      this.getCurrentPatient()
415
+      this.getDrugSet()
416
+    },
417
+    watch: {
418
+     tablePatient: function() {
419
+      this.$nextTick(function() {
420
+        this.$refs.monthlyPlanTable.setCurrentRow(this.tablePatient[0])
421
+      })
422
+    }
423
+  },
424
+}
425
+</script>
426
+
427
+
428
+<style lang="scss" scoped>
429
+.tablesTitle{
430
+    font-size: 16px;
431
+    color: #000;
432
+    font-weight: bold;
433
+    height: 40px;
434
+    line-height: 40px;
435
+}
436
+</style>

+ 1 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue View File

@@ -1815,7 +1815,6 @@ export default {
1815 1815
 
1816 1816
     checkData() {
1817 1817
       console.log('new_date',this.new_date);
1818
-
1819 1818
       var checkDate =[]
1820 1819
       var monearr = []
1821 1820
       // if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
@@ -1896,7 +1895,7 @@ export default {
1896 1895
           const obj21 = "体重减少"
1897 1896
           checkDate.push(obj21)
1898 1897
         }
1899
-        if (this.prescription.target_ultrafiltration == 0) {
1898
+        if (this.prescription.prescription_water == 0) {
1900 1899
           const obj22 = "处方脱水量"
1901 1900
           checkDate.push(obj22)
1902 1901
         } if (this.afterdialysis.actual_ultrafiltration == 0) {

+ 48 - 30
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1096,15 +1096,22 @@
1096 1096
                         class="under_line"
1097 1097
                         style="width: 100px; text-align: center"
1098 1098
                       >
1099
+                      <span v-if="org_id == 10740">
1100
+                        {{prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : ''}}
1101
+                      </span>
1102
+                      <span v-if="org_id !=10740">
1103
+
1099 1104
                         {{
1100 1105
                           prescription.dialyzer_perfusion_apparatus
1101 1106
                             ? prescription.dialyzer_perfusion_apparatus
1102
-                            : ""
1107
+                            : prescription.dialysis_dialyszers
1103 1108
                         }}
1109
+                      </span>
1110
+
1104 1111
                         <span v-if="prescription.dialyzer_perfusion_apparatus&&prescription.dialyzer_perfusion_apparatus!=''">/</span>
1105 1112
                         {{
1106
-                          prescription.dialysis_dialyszers
1107
-                            ? prescription.dialysis_dialyszers
1113
+                          prescription.dialysis_strainer
1114
+                            ? prescription.dialysis_strainer
1108 1115
                             : ""
1109 1116
                         }}
1110 1117
                       </div>
@@ -1271,7 +1278,7 @@
1271 1278
                       </div>
1272 1279
                       kg
1273 1280
                     </div>
1274
-                    <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
1281
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10469 ">
1275 1282
                       <span v-if="org_id!=10683">计划超滤量:</span>
1276 1283
                       <span v-if="org_id==10683">预脱:</span>
1277 1284
                       <div
@@ -1746,21 +1753,19 @@
1746 1753
                       </div>
1747 1754
                     </div>
1748 1755
                   </div>
1749
-                  <div
1750
-                    class="row"
1756
+                  <div class="row"
1751 1757
                     style="padding: 2px 0; line-height: 23px; display: flex"
1752 1758
                     v-if="org_id != 10223"
1753 1759
                   >
1754 1760
                     <div
1755 1761
                       class="inline_block"
1756
-                      style="flex: 1; display: inline-block"
1762
+                      style="flex: 2; display: inline-block"
1757 1763
                       v-if="org_id!=9675 && org_id!=10447"
1758 1764
                     >
1759 1765
                       备注:
1760
-                      <div
1761
-                        class="under_line"
1766
+                      <div class="under_line"
1762 1767
                         style="
1763
-                          width: 860px;
1768
+                          width: 80%;
1764 1769
                           line-height: 25px;
1765 1770
                           text-align: left;
1766 1771
                           margin-left: 2px;
@@ -1771,6 +1776,23 @@
1771 1776
                         {{ predialysis.remark ? predialysis.remark : "/" }}
1772 1777
                       </div>
1773 1778
                     </div>
1779
+                    <div v-if="org_id ==10600 || org_id ==0" style="flex: 1;">
1780
+                      医生签名: 
1781
+                      <div class="under_line">
1782
+                        <span style="height: 30px; display: inline-block"
1783
+                          v-if="setAdminUserES(prescription.creater) == ''"
1784
+                        >
1785
+                          {{ getAdminUser(prescription.creater) }}
1786
+                        </span>
1787
+                        <img
1788
+                          style="height: 40px"
1789
+                          :src="setAdminUserES(prescription.creater)"
1790
+                          alt=""
1791
+                          srcset=""
1792
+                          v-else
1793
+                        />
1794
+                      </div>
1795
+                    </div>
1774 1796
                   </div>
1775 1797
                 </td>
1776 1798
               </tr>
@@ -1841,13 +1863,13 @@
1841 1863
                         </td>
1842 1864
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1843 1865
                         <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1844
-                        <td width="50" v-if="org_id ==10489 || org_id == 10735 || org_id == 0">超滤率<br/>(ml/h)</td>
1845
-                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">
1866
+                        <td width="50" v-if="org_id ==10489 || org_id == 10735 || org_id==10600">超滤率<br/>(ml/h)</td>
1867
+                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10683">
1846 1868
                           超滤量<br />
1847 1869
                          <span v-if="org_id == 10471">L</span>
1848 1870
                          <span v-if="org_id != 10471"> (ml)</span>
1849 1871
                         </td>
1850
-                        <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683 || org_id ==10567 || org_id == 0 || org_id ==10724">超滤率<br/>(ml/h)</td>
1872
+                        <td width="50" v-if="org_id ==10598 || org_id ==10683 || org_id ==10567 || org_id ==10724">超滤率<br/>(ml/h)</td>
1851 1873
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1852 1874
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=10402 && org_id!=10206" width="50">
1853 1875
                           <span v-if="org_id == 10683">置换液速度</span>
@@ -1860,13 +1882,13 @@
1860 1882
                           <span v-if="org_id==10598 || org_id == 10567 || org_id == 10724 || org_id == 10644 || org_id== 10353">(L)</span>
1861 1883
                         </td>
1862 1884
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
1863
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598 || org_id == 10567 || org_id == 0 || org_id == 10724">KT/V</td>
1885
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id == 10580 || org_id == 10598 || org_id == 10567">KT/V</td>
1864 1886
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1865 1887
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1866 1888
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1867 1889
                         <td width="50" v-if="org_id == 10490 ">碳酸氢钠<br />(ml)</td>
1868 1890
                         <td width="50" v-if="org_id == 10598">护士签名</td>
1869
-                        <td width="50" v-if="org_id == 9829 || org_id == 0">SpO₂<br />(%)</td>
1891
+                        <td width="50" v-if="org_id == 9829 ">SpO₂<br />(%)</td>
1870 1892
                         <td width="200">病情变化及处理</td>
1871 1893
                       </tr>
1872 1894
 
@@ -1970,10 +1992,10 @@
1970 1992
                         <td v-if="org_id == 10375"><br />
1971 1993
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1972 1994
                         </td>
1973
-                        <td v-if="org_id == 10489 || org_id == 10735 || org_id == 0"><br />
1995
+                        <td v-if="org_id == 10489 || org_id == 10735 || org_id == 10600"><br />
1974 1996
                           {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}
1975 1997
                         </td>
1976
-                        <td v-if="org_id!=10600 && org_id!=10644  && org_id!=10683">
1998
+                        <td v-if="org_id!=10644  && org_id!=10683">
1977 1999
                           <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1978 2000
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1979 2001
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
@@ -1982,7 +2004,7 @@
1982 2004
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1983 2005
                            </span>
1984 2006
                         </td>
1985
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 || org_id ==10567 || org_id == 0 || org_id == 10724"><br/>
2007
+                        <td width="50" v-if="org_id == 10598 || org_id==10644 || org_id == 10683 || org_id ==10567 || org_id == 10724"><br/>
1986 2008
                            <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
1987 2009
                            <span v-if="org_id==10644 ">
1988 2010
                               <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
@@ -2036,7 +2058,7 @@
2036 2058
                           </span>
2037 2059
                         </td>
2038 2060
                         <td width="50" v-if="org_id == 3877 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
2039
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598 || org_id == 10567 || org_id == 0 || org_id ==10724">
2061
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510 || org_id ==10580 || org_id ==10598 || org_id == 10567 ">
2040 2062
                           {{ monitor.ktv?monitor.ktv:"" }}
2041 2063
                         </td>
2042 2064
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -2074,7 +2096,7 @@
2074 2096
                           />
2075 2097
                           </span>
2076 2098
                         </td>
2077
-                        <td v-if="org_id == 0||org_id == 9829">
2099
+                        <td v-if="org_id == 9829">
2078 2100
                           {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
2079 2101
                         </td>
2080 2102
 
@@ -2826,8 +2848,7 @@
2826 2848
                     </div>
2827 2849
                   </div>
2828 2850
 
2829
-                  <div
2830
-                    class="row"
2851
+                  <div class="row"
2831 2852
                     style="padding: 2px 0; line-height: 23px; display: flex"
2832 2853
                   >
2833 2854
                     <div class="inline_block" style="flex: 1">
@@ -2918,8 +2939,8 @@
2918 2939
                             : "/"
2919 2940
                         }}
2920 2941
                       </div>
2921
-                      <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624 && org_id!=10471"> ml</span>
2922
-                      <span v-if="org_id ==9675||org_id==10447 || org_id==10624 || org_id == 10471">L</span>
2942
+                      <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624 && org_id!=10471 "> ml</span>
2943
+                      <span v-if="org_id ==9675||org_id==10447 || org_id==10624 || org_id == 10471 ">L</span>
2923 2944
                     </div>
2924 2945
 
2925 2946
                     <div class="inline_block" style="flex: 1" v-if="org_id ==10598 || org_id == 0">
@@ -2938,8 +2959,7 @@
2938 2959
                     </div>
2939 2960
 
2940 2961
                   </div>
2941
-                  <div
2942
-                    class="row"
2962
+                  <div class="row"
2943 2963
                     style="padding: 2px 0; line-height: 23px; display: flex"
2944 2964
                     v-if="org_id == 10223"
2945 2965
                   >
@@ -3001,8 +3021,7 @@
3001 3021
                       </div>
3002 3022
                     </div>
3003 3023
                   </div>
3004
-                  <div
3005
-                    class="row"
3024
+                  <div class="row"
3006 3025
                     style="padding: 2px 0; line-height: 23px; display: flex"
3007 3026
                     v-if="org_id == 10223"
3008 3027
                   >
@@ -3043,7 +3062,6 @@
3043 3062
                     </div>
3044 3063
                   </div>
3045 3064
 
3046
-
3047 3065
                    <div
3048 3066
                     v-if="org_id == 10440 || org_id == 0"
3049 3067
                     class="row"
@@ -4819,7 +4837,7 @@ export default {
4819 4837
          window.open(fileURL);//打开ppf文件
4820 4838
        }
4821 4839
      },
4822
-   
4840
+
4823 4841
 
4824 4842
      openPdf(blob) {
4825 4843
        const objectUrl = URL.createObjectURL(blob);

+ 39 - 40
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

@@ -1052,23 +1052,20 @@
1052 1052
                             : "/"
1053 1053
                         }}
1054 1054
                       </div>
1055
-
1056
-
1057
-
1058 1055
                     <span>
1059 1056
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1060
-                      <span v-if="prescription.anticoagulant == 3">iu</span>
1061
-                      <span v-if="prescription.anticoagulant == 2">mg</span>
1062
-                      <span v-if="prescription.anticoagulant == 5">ml</span>
1063
-                      <span v-if="prescription.anticoagulant == 6">iu</span>
1064
-                     <span v-if="prescription.anticoagulant == 7">iu</span>
1065
-                     <span v-if="prescription.anticoagulant == 8">iu</span>
1066
-                     <span v-if="prescription.anticoagulant == 9">iu</span>
1067
-                     <span v-if="prescription.anticoagulant == 10">iu</span>
1068
-                     <span v-if="prescription.anticoagulant == 11">iu</span>
1069
-                     <span v-if="prescription.anticoagulant == 13||prescription.anticoagulant == 14">iu</span>
1070
-                     <span v-if="prescription.anticoagulant == 15">mg</span>
1071
-
1057
+                      <span v-else-if="prescription.anticoagulant == 3">iu</span>
1058
+                      <span v-else-if="prescription.anticoagulant == 2">mg</span>
1059
+                      <span v-else-if="prescription.anticoagulant == 5">ml</span>
1060
+                      <span v-else-if="prescription.anticoagulant == 6">iu</span>
1061
+                      <span v-else-if="prescription.anticoagulant == 7">iu</span>
1062
+                      <span v-else-if="prescription.anticoagulant == 8">iu</span>
1063
+                      <span v-else-if="prescription.anticoagulant == 9">iu</span>
1064
+                      <span v-else-if="prescription.anticoagulant == 10">iu</span>
1065
+                      <span v-else-if="prescription.anticoagulant == 11">iu</span>
1066
+                      <span v-else-if="prescription.anticoagulant == 13||prescription.anticoagulant == 14">iu</span>
1067
+                      <span v-else-if="prescription.anticoagulant == 15">mg</span>
1068
+                      <span v-else>iu</span>
1072 1069
                     </span>
1073 1070
                     </div>
1074 1071
                     <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 1">
@@ -1087,17 +1084,18 @@
1087 1084
 
1088 1085
                       <span>
1089 1086
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1090
-                          <span v-if="prescription.anticoagulant == 3">iu/h</span>
1091
-                          <span v-if="prescription.anticoagulant == 4">ml</span>
1092
-                          <span v-if="prescription.anticoagulant == 5">ml/h</span>
1093
-                          <span v-if="prescription.anticoagulant == 6">iu/h</span>
1094
-                          <span v-if="prescription.anticoagulant == 7">iu/h</span>
1095
-                          <span v-if="prescription.anticoagulant == 8">iu/h</span>
1096
-                          <span v-if="prescription.anticoagulant == 9">iu/h</span>
1097
-                          <span v-if="prescription.anticoagulant == 10">iu/h</span>
1098
-                          <span v-if="prescription.anticoagulant == 11">iu/h</span>
1099
-                          <span v-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu/h</span>
1100
-                          <span v-if="prescription.anticoagulant == 15">mg/h</span>
1087
+                          <span v-else-if="prescription.anticoagulant == 3">iu/h</span>
1088
+                          <span v-else-if="prescription.anticoagulant == 4">ml</span>
1089
+                          <span v-else-if="prescription.anticoagulant == 5">ml/h</span>
1090
+                          <span v-else-if="prescription.anticoagulant == 6">iu/h</span>
1091
+                          <span v-else-if="prescription.anticoagulant == 7">iu/h</span>
1092
+                          <span v-else-if="prescription.anticoagulant == 8">iu/h</span>
1093
+                          <span v-else-if="prescription.anticoagulant == 9">iu/h</span>
1094
+                          <span v-else-if="prescription.anticoagulant == 10">iu/h</span>
1095
+                          <span v-else-if="prescription.anticoagulant == 11">iu/h</span>
1096
+                          <span v-else-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu/h</span>
1097
+                          <span v-else-if="prescription.anticoagulant == 15">mg/h</span>
1098
+                          <span v-else>iu/h</span>
1101 1099
                       </span>
1102 1100
                     </div>
1103 1101
                     <div
@@ -1154,17 +1152,18 @@
1154 1152
 
1155 1153
                     <span>
1156 1154
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1157
-                       <span v-if="prescription.anticoagulant == 3">iu</span>
1158
-                       <span v-if="prescription.anticoagulant == 4">ml</span>
1159
-                       <span v-if="prescription.anticoagulant == 5">ml</span>
1160
-                       <span v-if="prescription.anticoagulant == 6">iu</span>
1161
-                       <span v-if="prescription.anticoagulant == 7">iu</span>
1162
-                       <span v-if="prescription.anticoagulant == 8">iu</span>
1163
-                       <span v-if="prescription.anticoagulant == 9">iu</span>
1164
-                       <span v-if="prescription.anticoagulant == 10">iu</span>
1165
-                      <span v-if="prescription.anticoagulant == 11">iu</span>
1166
-                      <span v-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu</span>
1167
-                      <span v-if="prescription.anticoagulant == 15">mg</span>
1155
+                       <span v-else-if="prescription.anticoagulant == 3">iu</span>
1156
+                       <span v-else-if="prescription.anticoagulant == 4">ml</span>
1157
+                       <span v-else-if="prescription.anticoagulant == 5">ml</span>
1158
+                       <span v-else-if="prescription.anticoagulant == 6">iu</span>
1159
+                       <span v-else-if="prescription.anticoagulant == 7">iu</span>
1160
+                       <span v-else-if="prescription.anticoagulant == 8">iu</span>
1161
+                       <span v-else-if="prescription.anticoagulant == 9">iu</span>
1162
+                       <span v-else-if="prescription.anticoagulant == 10">iu</span>
1163
+                      <span v-else-if="prescription.anticoagulant == 11">iu</span>
1164
+                      <span v-else-if="prescription.anticoagulant == 13 || prescription.anticoagulant == 14">iu</span>
1165
+                      <span v-else-if="prescription.anticoagulant == 15">mg</span>
1166
+                      <span v-else>iu</span>
1168 1167
                     </span>
1169 1168
                     </div>
1170 1169
                     <div class="inline_block" style="margin-left: 20px">
@@ -3140,8 +3139,8 @@ export default {
3140 3139
         const obj35 ='q'
3141 3140
         checkDate.push(obj35);
3142 3141
       } if(this.predialysis.remark ==''){
3143
-        const obj35 ='备注'
3144
-        checkDate.push(obj35);
3142
+        const obj35_1 ='备注'
3143
+        checkDate.push(obj35_1);
3145 3144
       } if (this.afterdialysis.temperature == 0) {
3146 3145
         const obj36 ='透后体温'
3147 3146
         checkDate.push(obj36);
@@ -3929,7 +3928,7 @@ export default {
3929 3928
         return age
3930 3929
       }
3931 3930
     },
3932
-    
3931
+
3933 3932
     getTimeOne(val) {
3934 3933
       return uParseTime(val, "{y}");
3935 3934
     },

+ 32 - 43
src/xt_pages/dialysis/template/DialysisPrintOrderSop.vue View File

@@ -71,31 +71,31 @@
71 71
               <td colspan="3">
72 72
                 <div style="display: flex;line-height:30px;">
73 73
                   <span>治疗抗凝:</span>
74
-                  <span v-if="prescription.anticoagulant !='普通肝素' && prescription.anticoagulant!='无肝素' && prescription.anticoagulant!='枸橼酸'">
75
-                    {{ prescription.anticoagulant }} &nbsp;&nbsp;
74
+                  <span v-if="prescription.anticoagulant_name !='普通肝素' && prescription.anticoagulant_name!='无肝素' && prescription.anticoagulant_name!='枸橼酸'">
75
+                    {{ this.getanticoagulation(prescription.anticoagulant) }} &nbsp;&nbsp;
76 76
                     {{prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
77 77
                   </span>U&nbsp;&nbsp;
78 78
                   <!-- <span v-if="prescription.anticoagulant !='普通肝素' && prescription.anticoagulant!='无肝素' && prescription.anticoagulant!='枸橼酸'">
79 79
 
80 80
                   </span>U &nbsp;&nbsp; -->
81
-                  <label-box :isChecked="prescription.anticoagulant=='普通肝素'?true :false" showValue="普通肝素:"></label-box>&nbsp;&nbsp;
81
+                  <label-box :isChecked="prescription.anticoagulant_name=='普通肝素'?true :false" showValue="普通肝素:"></label-box>&nbsp;&nbsp;
82 82
                   <div style="display: inline-block;">
83 83
                     首剂:
84
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
84
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
85 85
                       {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }}
86 86
                     </span>mg &nbsp;&nbsp;
87 87
                     追加:
88
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
88
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
89 89
                       {{prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0"}}
90 90
                     </span>mg/h &nbsp;&nbsp;
91 91
                     总量:
92
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
92
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
93 93
                       {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
94 94
                     </span>mg
95 95
                   </div>
96 96
                   &nbsp;&nbsp;
97
-                  <label-box :isChecked="prescription.anticoagulant=='无肝素'?true :false" showValue="无肝素"></label-box>&nbsp;&nbsp;
98
-                  <label-box :isChecked="prescription.anticoagulant=='枸橼酸'?true :false" showValue="枸橼酸"></label-box>
97
+                  <label-box :isChecked="prescription.anticoagulant_name=='无肝素'?true :false" showValue="无肝素"></label-box>&nbsp;&nbsp;
98
+                  <label-box :isChecked="prescription.anticoagulant_name=='枸橼酸'?true :false" showValue="枸橼酸"></label-box>
99 99
                 </div>
100 100
               </td>
101 101
             </tr>
@@ -103,7 +103,8 @@
103 103
             <tr>
104 104
               <td colspan="2">
105 105
                 <div style="line-height:30px;">
106
-                 <span>处方脱水量: {{ prescription.prescription_water ? prescription.prescription_water : "" }} </span>ml &nbsp;&nbsp;
106
+                 <span v-if="org_id != 9779">处方脱水量: {{ prescription.prescription_water ? prescription.prescription_water : "" }} ml&nbsp;&nbsp;</span> 
107
+                 <span v-if="org_id == 9779">目标脱水量:{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} L&nbsp;&nbsp;</span>
107 108
                  <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h
108 109
                 </div>
109 110
               </td>
@@ -123,15 +124,14 @@
123 124
         <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;">
124 125
           <tr>
125 126
             <td style="width: 20%; line-height: 30px;">透析机:
126
-              {{predialysis.machine_type ? predialysis.machine_type : " "}}
127
+              {{predialysis.machine_type ? predialysis.machine_type : " /"}}
127 128
             </td>
128 129
             <td style="width: 30%;line-height: 30px;">
129 130
               透析(滤)器:
130 131
               {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : "" }}
131 132
 
132 133
               {{ prescription.dialysis_strainer ? prescription.dialysis_strainer : "" }}
133
-              <!-- {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : ""}} &nbsp;
134
-              {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : " "}} -->
134
+
135 135
             </td>
136 136
             <td style="">
137 137
               透析液:钾:
@@ -158,15 +158,14 @@
158 158
             <td colspan="3">
159 159
               <div style="display: inline-block;line-height: 30px;">
160 160
                 血管通路:
161
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
162
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
163
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
164
-                <label-box :isChecked="predialysis.blood_access_part_opera_name!='内瘘' &&
165
-                            predialysis.blood_access_part_opera_name!='长期静脉导管' &&
166
-                            predialysis.blood_access_part_opera_name!='临时静脉导管' &&
167
-                            predialysis.blood_access_part_opera_name!=''?true :false" showValue="其它">
161
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘')!=-1 ?true :false" showValue="内瘘"></label-box>&nbsp;
162
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管')!=-1?true :false" showValue="长期静脉导管"></label-box>&nbsp;
163
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('临时静脉导管')!=-1?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
164
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘')==-1 &&
165
+                            predialysis.blood_access_part_opera_name.indexOf('长期静脉导管')==-1 &&
166
+                            predialysis.blood_access_part_opera_name.indexOf('临时静脉导管')==-1 ?true :false" showValue="其它">
168 167
                 </label-box>
169
-
168
+                <span>{{ predialysis.blood_access_part_opera_name }}</span>
170 169
               </div>&nbsp;&nbsp;
171 170
               <div style="display: inline-block;line-height: 30px;">
172 171
                 穿刺者:
@@ -721,7 +720,7 @@ export default {
721 720
           if (patientInfo.gender === 2) {
722 721
             patientInfo.gender = "女";
723 722
           }
724
-          console.log("patientInfo", patientInfo);
723
+          console.log("response.data.data", response.data.data);
725 724
           this.patientInfo = patientInfo;
726 725
           this.patientInfo.birth = uParseTime(
727 726
             this.patientInfo.birthday,
@@ -907,12 +906,6 @@ export default {
907 906
           this.doctorForm.url = doctorname.url;
908 907
           var prescription = response.data.data.dialysisPrescription;
909 908
           console.log("透析处方", prescription);
910
-          if (prescription.anticoagulant == 6) {
911
-            prescription.anticoagulant = "低分子肝素钙";
912
-          }
913
-          if (prescription.anticoagulant == 7) {
914
-            prescription.anticoagulant = "低分子肝素钠";
915
-          }
916 909
           if (prescription.blood_access === 1) {
917 910
             prescription.blood_access = "正常";
918 911
           }
@@ -949,21 +942,6 @@ export default {
949 942
           if (prescription.replacement_way === 4) {
950 943
             prescription.replacement_way = "混合置换";
951 944
           }
952
-          if (prescription.anticoagulant === 1) {
953
-            prescription.anticoagulant = "无肝素";
954
-          }
955
-          if (prescription.anticoagulant === 2) {
956
-            prescription.anticoagulant = "普通肝素";
957
-          }
958
-          if (prescription.anticoagulant === 3) {
959
-            prescription.anticoagulant = "低分子肝素";
960
-          }
961
-          if (prescription.anticoagulant === 4) {
962
-            prescription.anticoagulant = "阿加曲班";
963
-          }
964
-          if (prescription.anticoagulant === 5) {
965
-            prescription.anticoagulant = "枸橼酸钠";
966
-          }
967 945
           this.prescription = prescription;
968 946
           var receiverTreatmentAccess =
969 947
             response.data.data.receiverTreatmentAccess;
@@ -1281,6 +1259,16 @@ export default {
1281 1259
       }else{
1282 1260
         this.$message.success('核对完成')
1283 1261
       }
1262
+    },
1263
+    getanticoagulation(val){
1264
+      const option = this.anticoagulantsConfit
1265
+      if(val !=''){
1266
+        for(let i in option){
1267
+          if(option[i].id == val){
1268
+            return option[i].name
1269
+          }
1270
+        }
1271
+      }
1284 1272
     }
1285 1273
   },
1286 1274
   watch: {
@@ -1317,7 +1305,8 @@ export default {
1317 1305
     this.replacementWays = this.$store.getters.replacement_ways;
1318 1306
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
1319 1307
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1320
-
1308
+    console.log('anticoagulantsConfit',this.anticoagulantsConfit);
1309
+    
1321 1310
     this.way_arr = getDataConfig("hemodialysis", "way");
1322 1311
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1323 1312
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");

+ 17 - 20
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue View File

@@ -211,16 +211,10 @@
211 211
               <table class="table-box">
212 212
                 <tbody>
213 213
                 <tr>
214
-                  <td width="70">导管:</td>
214
+                  <td width="70">导管:</td>
215 215
                   <td width="240">
216
-                    <div style="display:flex;justify-content:space-between;">
217
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
218
-                      &nbsp;
219
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
220
-                      &nbsp;
221
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
222
-                      &nbsp;
223
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
216
+                    <div class="under-line" style="text-align: center;white-space: normal;">
217
+                      {{ predialysis.catheter ? predialysis.catheter :'/' }}
224 218
                     </div>
225 219
                   </td>
226 220
                   <td width="40"></td>
@@ -277,7 +271,7 @@
277 271
                       &nbsp;
278 272
                       <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
279 273
                       &nbsp;
280
-                      <label-box :isChecked="(predialysis.internal_fistula.indexOf('震颤-无') > -1 || predialysis.internal_fistula.indexOf('不存在') > -1) ? true : false" showValue="不存在"></label-box>
274
+                      <label-box :isChecked="(predialysis.internal_fistula.indexOf('不存在') > -1 || predialysis.internal_fistula.indexOf('不存在') > -1) ? true : false" showValue="不存在"></label-box>
281 275
                     </div>
282 276
                   </td>
283 277
                   <td width="30"></td>
@@ -476,6 +470,7 @@
476 470
                   <td width="10">ml</td>
477 471
                   <td width='70'>置换方式:</td>
478 472
                   <td width='130'>
473
+                    
479 474
                     <label-box :isChecked="prescription.displace_liqui_part == 1 ? true : false" showValue="前置换"></label-box>&nbsp;
480 475
                     <label-box :isChecked="prescription.displace_liqui_part == 2 ? true : false" showValue="后置换"></label-box>
481 476
                   </td>
@@ -780,15 +775,15 @@
780 775
                       <div style="display:flex;justify-content:space-between;">
781 776
                         <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
782 777
                         <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
783
-                        <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
778
+                        <label-box :isChecked="afterdialysis.internal_fistula.indexOf('不存在') > -1 ? true : false" showValue="不存在"></label-box>
784 779
                       </div>
785 780
                     </td>
786 781
                     <td width='30'></td>
787 782
                     <td width="40">导管:</td>
788 783
                     <td width='200'>
789
-                      <label-box showValue="通畅" :isChecked="afterdialysis.catheter.indexOf('通畅') > -1 ? true : false"></label-box>&nbsp;
790
-                      <label-box showValue="A堵塞" :isChecked="afterdialysis.catheter.indexOf('A堵塞') > -1 ? true : false"></label-box>&nbsp;
791
-                      <label-box showValue="V堵塞" :isChecked="afterdialysis.catheter.indexOf('V堵塞') > -1 ? true : false"></label-box>&nbsp;
784
+                      <div class="under-line" style="text-align: center;">
785
+                        {{ afterdialysis.catheter ? afterdialysis.catheter :'/' }}
786
+                      </div>
792 787
                     </td>
793 788
                     <td></td>
794 789
                   </tr>
@@ -800,9 +795,10 @@
800 795
                   <tr>
801 796
                     <td width="130">拔针后穿刺点渗血:</td>
802 797
                     <td width="80">
803
-                      <div style="display:flex;justify-content:space-between;">
804
-                        <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
805
-                        <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
798
+                      <div class="under-line" style="text-align: center;">
799
+                        <span v-if="afterdialysis.puncture_point_oozing_blood ==1">有</span>
800
+                        <span v-else-if="afterdialysis.puncture_point_oozing_blood ==2">无</span>
801
+                        <span v-else>/</span>
806 802
                       </div>
807 803
                     </td>
808 804
                     <td width="10"></td>
@@ -847,7 +843,6 @@
847 843
                         <label-box :isChecked="afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>
848 844
                         <label-box :isChecked="afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>
849 845
                         <label-box :isChecked="afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>
850
-
851 846
                       </div>
852 847
                     </td>
853 848
                     <td width="40">其他:</td>
@@ -1434,6 +1429,8 @@ export default {
1434 1429
               this.patientInfo.birthday,
1435 1430
               '{y}-{m}-{d}'
1436 1431
             )
1432
+            console.log('response.data.data',response.data.data);
1433
+            
1437 1434
             // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
1438 1435
             if (response.data.data.patientInfo.first_dialysis_date != 0) {
1439 1436
               this.patientInfo.first_dialysis_date = uParseTime(
@@ -1445,12 +1442,12 @@ export default {
1445 1442
             }
1446 1443
             this.check = response.data.data.check
1447 1444
             this.predialysis = response.data.data.PredialysisEvaluation
1448
-            console.log(11111111111111111111111, this.predialysis)
1445
+            console.log('11111111122222s', this.predialysis)
1449 1446
             this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1450 1447
               this.predialysis.blood_access_part_opera_id
1451 1448
             )
1452 1449
             this.afterdialysis = response.data.data.AssessmentAfterDislysis
1453
-            console.log(22222222222222222222222222, response.data.data)
1450
+            console.log('全部', response.data.data)
1454 1451
             this.operators = response.data.data.operators
1455 1452
             this.dialysisOrder =
1456 1453
               response.data.data.dialysisOrder === null

File diff suppressed because it is too large
+ 2949 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue


+ 9 - 5
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -166,7 +166,7 @@
166 166
                     v-else
167 167
                   />
168 168
                 </p>
169
-                <p v-if="org_id == 10510">
169
+                <p v-if="org_id == 10510 || org_id == 10265">
170 170
                   医师:
171 171
                   <span
172 172
                     style="width: 100px; display: inline-block"
@@ -188,7 +188,7 @@
188 188
                     v-else
189 189
                   />
190 190
                 </p>
191
-                <p v-if="org_id!=10217 && org_id!=10510">
191
+                <p v-if="org_id!=10217 && org_id!=10510 && org_id !=10265">
192 192
                   医师: {{ item.doctor ? item.doctor : "" }}
193 193
                 </p>
194 194
                 <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
@@ -281,7 +281,7 @@
281 281
               v-else
282 282
             />
283 283
           </p>
284
-          <p v-if="org_id == 10510">
284
+          <p v-if="org_id == 10510  || org_id == 10265 || org_id ==0">
285 285
             医师:
286 286
             <span
287 287
               style="width: 100px; display: inline-block"
@@ -301,9 +301,13 @@
301 301
               alt=""
302 302
               srcset=""
303 303
               v-else
304
-            />
304
+            /> &nbsp;&nbsp;
305
+            <span v-if="org_id == 10265 || org_id ==0">
306
+              {{ item.doctor ? item.doctor : "" }}
307
+            </span>
308
+            
305 309
           </p>
306
-          <p v-if="org_id!=10217 && org_id!=10510">
310
+          <p v-if="org_id!=10217 && org_id!=10510 && org_id !=10265 && org_id !=0">
307 311
             医师: {{ item.doctor ? item.doctor : "" }}
308 312
           </p>
309 313
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>

+ 70 - 2
src/xt_pages/stock/detail/cancelStockDetail.vue View File

@@ -82,7 +82,30 @@
82 82
         @click="getAllQuery"
83 83
         >查询</el-button
84 84
       >
85
+    
86
+     
87
+
88
+    </div>
85 89
 
90
+    <div style="margin-bottom: 10px;">
91
+
92
+        <label class="title"><span class="name">耗材名称</span> : </label>
93
+        <el-autocomplete
94
+          class="checkSearch"
95
+          popper-class="my-autocomplete"
96
+          v-model="good_name"
97
+          :fetch-suggestions="querySearchAsync"
98
+          :trigger-on-focus="true"
99
+          placeholder="请输入耗材名称"
100
+          @select="handleSelect"
101
+          style="width:300px;"
102
+          :popper-append-to-body="true"
103
+        >
104
+          <i class="el-icon-search el-input__icon" slot="suffix"></i>
105
+        <template slot-scope="{ item }">
106
+          <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
107
+        </template>
108
+        </el-autocomplete>
86 109
 
87 110
     </div>
88 111
 
@@ -202,7 +225,7 @@
202 225
 <script>
203 226
 import { uParseTime } from "@/utils/tools";
204 227
 import { fetchAllAdminUsers, fetchAllDoctorAndNurse } from "@/api/doctor";
205
-import { deleteCancelStock, GetAllConfig, getStockDetail } from "@/api/stock";
228
+import { deleteCancelStock, GetAllConfig, getStockDetail,postSearchGoodList } from "@/api/stock";
206 229
 
207 230
 export default {
208 231
   name: "cancelStockDetail",
@@ -280,11 +303,55 @@ export default {
280 303
       storehouse_id:0,
281 304
       manufacturerList:[],
282 305
       dealerList:[],
283
-      patientsList:[]
306
+      patientsList:[],
307
+      good_name:"",
308
+      good_id:0,
284 309
         
285 310
     };
286 311
   },
287 312
   methods: {
313
+    handleSelect(val){
314
+     this.good_name = val.good_name
315
+     this.good_id = val.id
316
+     this.GetCancelStock();
317
+    },
318
+    querySearchAsync(keyword, cb) {
319
+        let key = '';
320
+        if (keyword != undefined) {
321
+          key = keyword
322
+        }