Browse Source

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

陈少旭 3 months 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
+        }
323
+      postSearchGoodList(key,this.storehouse_id).then(response => {
324
+          if (response.data.state == 1) {
325
+
326
+             var list = response.data.data.list
327
+
328
+             this.goodList = list
329
+             var manufacturerList = response.data.data.manufacturerList
330
+             this.manufacturerList = manufacturerList
331
+             var dealer =  response.data.data.dealerList
332
+             this.dealerList = dealer
333
+             for(let i=0;i<this.goodList.length;i++){
334
+                for(let j=0;j<this.manufacturerList.length;j++){
335
+                  if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
336
+                     this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
337
+                  }
338
+                }
339
+             }
340
+
341
+             for(let i=0;i<this.goodList.length;i++){
342
+               for(let j=0;j<this.dealerList.length;j++){
343
+                  if(this.goodList[i].dealer == this.dealerList[j].id){
344
+                    this.goodList[i].dealer = this.dealerList[j].dealer_name
345
+                  }
346
+               }
347
+             }
348
+
349
+             cb(this.goodList)
350
+          } else {
351
+            cb([])
352
+          }
353
+        })
354
+     },
288 355
     PrintAction: function() {
289 356
       window.sessionStorage.setItem('start_time_one',this.start_time)
290 357
       window.sessionStorage.setItem('end_time_one',this.end_time)
@@ -396,6 +463,7 @@ export default {
396 463
         dealer: this.dealer_id,
397 464
         keywords: this.searchKey,
398 465
         storehouse_id:this.storehouse_id,
466
+        good_id:this.good_id,
399 467
       };
400 468
       const loading = this.$loading({
401 469
           lock: true,

+ 77 - 3
src/xt_pages/stock/detail/stockInDetail.vue View File

@@ -27,7 +27,7 @@
27 27
 
28 28
     <div class="cell clearfix">
29 29
       <label class="title"><span class="name">仓库</span> :</label>
30
-      <el-select size="small" v-model="storehouse_id" filterable placeholder="请选择仓库" style="width:200px" @change="changeHouseList">
30
+      <el-select size="small" v-model="storehouse_id" filterable placeholder="请选择仓库" style="width:100px" @change="changeHouseList">
31 31
           <el-option
32 32
             v-for="(option, index) in houseList"
33 33
             :key="index"
@@ -35,6 +35,7 @@
35 35
             :value="option.id">
36 36
           </el-option>
37 37
       </el-select>
38
+
38 39
       <el-input
39 40
         size="small"
40 41
         style="width: 180px;"
@@ -50,6 +51,11 @@
50 51
         @click="search"
51 52
         >搜索</el-button
52 53
       >
54
+    
55
+    
56
+      
57
+
58
+
53 59
 
54 60
         <label class="title"><span class="name">日期查询</span> : </label>
55 61
         <el-date-picker
@@ -88,6 +94,26 @@
88 94
         >
89 95
     </div>
90 96
 
97
+    <div style="margin-bottom: 10px;">
98
+      <label class="title"><span class="name">耗材名称</span> : </label>
99
+      <el-autocomplete
100
+        class="checkSearch"
101
+        popper-class="my-autocomplete"
102
+        v-model="good_name"
103
+        :fetch-suggestions="querySearchAsync"
104
+        :trigger-on-focus="true"
105
+        placeholder="请输入耗材名称"
106
+        @select="handleSelect"
107
+        style="width:300px;"
108
+        :popper-append-to-body="true"
109
+      >
110
+        <i class="el-icon-search el-input__icon" slot="suffix"></i>
111
+      <template slot-scope="{ item }">
112
+        <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
113
+      </template>
114
+    </el-autocomplete>
115
+    </div>
116
+
91 117
     <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
92 118
       <div style="width: 100%;">
93 119
         <el-table
@@ -201,7 +227,8 @@ import {
201 227
   GetAllConfig,
202 228
   getStockDetail,
203 229
   getPrintStockGood,
204
-  getGoodDetailPrintList
230
+  getGoodDetailPrintList,
231
+  postSearchGoodList
205 232
 } from "@/api/stock";
206 233
 
207 234
 export default {
@@ -254,7 +281,7 @@ export default {
254 281
         { value: 2, label: "其他入库单" }
255 282
       ],
256 283
       newDate: [{ name: "合计", num: "111111" }],
257
-
284
+      good_name:"",
258 285
       searchKey: "",
259 286
       type: 1,
260 287
       page: 1,
@@ -287,9 +314,54 @@ export default {
287 314
       storehouse_id:0,
288 315
       manufacturerList:[],
289 316
       dealerList:[],
317
+      currentIndex:0,
318
+      good_id:0,
290 319
     };
291 320
   },
292 321
   methods: {
322
+    handleSelect(val){
323
+     this.good_name = val.good_name
324
+     this.good_id = val.id
325
+     this.GetCancelStock();
326
+     this.getGoodDetailPrintList()
327
+    },
328
+    querySearchAsync(keyword, cb) {
329
+        let key = '';
330
+        if (keyword != undefined) {
331
+          key = keyword
332
+        }
333
+        postSearchGoodList(key,this.storehouse_id).then(response => {
334
+          if (response.data.state == 1) {
335
+
336
+             var list = response.data.data.list
337
+
338
+             this.goodList = list
339
+             var manufacturerList = response.data.data.manufacturerList
340
+             this.manufacturerList = manufacturerList
341
+             var dealer =  response.data.data.dealerList
342
+             this.dealerList = dealer
343
+             for(let i=0;i<this.goodList.length;i++){
344
+                for(let j=0;j<this.manufacturerList.length;j++){
345
+                  if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
346
+                     this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
347
+                  }
348
+                }
349
+             }
350
+
351
+             for(let i=0;i<this.goodList.length;i++){
352
+               for(let j=0;j<this.dealerList.length;j++){
353
+                  if(this.goodList[i].dealer == this.dealerList[j].id){
354
+                    this.goodList[i].dealer = this.dealerList[j].dealer_name
355
+                  }
356
+               }
357
+             }
358
+
359
+             cb(this.goodList)
360
+          } else {
361
+            cb([])
362
+          }
363
+        })
364
+     },
293 365
     changeType: function(val) {
294 366
       this.order_type = val;
295 367
       this.GetCancelStock();
@@ -407,6 +479,7 @@ export default {
407 479
         dealer: this.dealer_id,
408 480
         keywords: this.searchKey,
409 481
         storehouse_id:this.storehouse_id,
482
+        good_id:this.good_id,
410 483
       };
411 484
       this.cancelStockDate = [];
412 485
       const loading = this.$loading({
@@ -912,6 +985,7 @@ export default {
912 985
           end_time:this.end_time,
913 986
           type:1,
914 987
           storehouse_id:this.storehouse_id,
988
+          good_id:this.good_id,
915 989
         }
916 990
       getGoodDetailPrintList(params).then(response=>{
917 991
         if(response.data.state == 1){

+ 90 - 3
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -97,7 +97,37 @@
97 97
 
98 98
     </div>
99 99
 
100
-    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
100
+    <div style="margin-bottom: 10px;">
101
+      <label class="title"><span class="name">耗材名称</span> : </label>
102
+      <el-autocomplete
103
+        class="checkSearch"
104
+        popper-class="my-autocomplete"
105
+        v-model="good_name"
106
+        :fetch-suggestions="querySearchAsync"
107
+        :trigger-on-focus="true"
108
+        placeholder="请输入耗材名称"
109
+        @select="handleSelect"
110
+        style="width:300px;"
111
+        :popper-append-to-body="true"
112
+      >
113
+        <i class="el-icon-search el-input__icon" slot="suffix"></i>
114
+      <template slot-scope="{ item }">
115
+        <div class="name">{{ item.good_name +"  " +item.specification_name + "  "+item.manufacturer }}</div>
116
+      </template>
117
+    </el-autocomplete>
118
+
119
+    <label class="title"><span class="name">出库方式</span> : </label>
120
+    <el-select size="small" v-model="order_way" filterable placeholder="请选择仓库" style="width:200px" @change="changeOrderWayList">
121
+          <el-option
122
+            v-for="(option, index) in orderWay"
123
+            :key="index"
124
+            :label="option.label"
125
+            :value="option.value">
126
+          </el-option>
127
+      </el-select>
128
+    </div>
129
+
130
+   
101 131
       <el-table class="table"
102 132
         :data="cancelStockDate"
103 133
         :class="signAndWeighBoxPatients"
@@ -223,7 +253,7 @@
223 253
 <script>
224 254
 import { uParseTime } from "@/utils/tools";
225 255
 import { fetchAllAdminUsers, fetchAllDoctorAndNurse } from "@/api/doctor";
226
-import { deleteCancelStock, GetAllConfig, getStockDetail,getPrintStockGood,getGoodInfoList,getGoodDetailPrintList } from "@/api/stock";
256
+import { deleteCancelStock, GetAllConfig, getStockDetail,getPrintStockGood,getGoodInfoList,getGoodDetailPrintList,postSearchGoodList } from "@/api/stock";
227 257
 
228 258
 export default {
229 259
   name: "stockOutDetail",
@@ -276,10 +306,15 @@ export default {
276 306
         { value: 1, label: "耗材入库单" },
277 307
         { value: 2, label: "其他入库单" }
278 308
       ],
309
+      orderWay:[
310
+        {value:0,label:"全部"},
311
+        {value:1,label:"手动出库"},
312
+        {value:2,label:"自动出库"},
313
+      ],
279 314
       manufacturer_id: "",
280 315
       dealer_id: "",
281 316
       order_type:"",
282
-
317
+      order_way:"",
283 318
       searchKey: "",
284 319
       type: 2,
285 320
       page: 1,
@@ -313,9 +348,58 @@ export default {
313 348
       manufacturerList:[],
314 349
       dealerList:[],
315 350
       patientsList:[],
351
+      good_id:0,
352
+      good_name:"",
316 353
     };
317 354
   },
318 355
   methods: {
356
+    changeOrderWayList(){
357
+      this.GetCancelStock();
358
+      this.getGoodDetailPrintList()
359
+    },
360
+    handleSelect(val){
361
+     this.good_name = val.good_name
362
+     this.good_id = val.id
363
+     this.GetCancelStock();
364
+     this.getGoodDetailPrintList()
365
+    },
366
+    querySearchAsync(keyword, cb) {
367
+        let key = '';
368
+        if (keyword != undefined) {
369
+          key = keyword
370
+        }
371
+        postSearchGoodList(key,this.storehouse_id).then(response => {
372
+          if (response.data.state == 1) {
373
+
374
+             var list = response.data.data.list
375
+
376
+             this.goodList = list
377
+             var manufacturerList = response.data.data.manufacturerList
378
+             this.manufacturerList = manufacturerList
379
+             var dealer =  response.data.data.dealerList
380
+             this.dealerList = dealer
381
+             for(let i=0;i<this.goodList.length;i++){
382
+                for(let j=0;j<this.manufacturerList.length;j++){
383
+                  if(this.goodList[i].manufacturer == this.manufacturerList[j].id){
384
+                     this.goodList[i].manufacturer = this.manufacturerList[j].manufacturer_name
385
+                  }
386
+                }
387
+             }
388
+
389
+             for(let i=0;i<this.goodList.length;i++){
390
+               for(let j=0;j<this.dealerList.length;j++){
391
+                  if(this.goodList[i].dealer == this.dealerList[j].id){
392
+                    this.goodList[i].dealer = this.dealerList[j].dealer_name
393
+                  }
394
+               }
395
+             }
396
+
397
+             cb(this.goodList)
398
+          } else {
399
+            cb([])
400
+          }
401
+        })
402
+     },
319 403
     changeType: function(val) {
320 404
       this.order_type = val;
321 405
       this.GetCancelStock();
@@ -432,6 +516,8 @@ export default {
432 516
         dealer: this.dealer_id,
433 517
         keywords: this.searchKey,
434 518
         storehouse_id:this.storehouse_id,
519
+        good_id:this.good_id,
520
+        order_way:this.order_way
435 521
       };
436 522
       this.cancelStockDate = [];
437 523
       const loading = this.$loading({
@@ -1100,6 +1186,7 @@ export default {
1100 1186
           start_time:this.start_time,
1101 1187
           end_time:this.end_time,
1102 1188
           type:2,
1189
+          good_id:this.good_id,
1103 1190
         }
1104 1191
       this.tableOut = []
1105 1192
       getGoodDetailPrintList(params).then(response=>{

+ 19 - 9
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

@@ -294,7 +294,16 @@ export default {
294 294
                   list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
295 295
                }else if(this.org_id == 0 || this.org_id == 10644){
296 296
                  list[i].stock_in_price = "/"
297
-                list[i].stockMoney = this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)
297
+                 console.log("val1",this.getAllStockInPrice(list[i].StWarehousingInfoTwo))
298
+                 console.log("val2",this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))
299
+                 console.log("val3",this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) )
300
+                 console.log("val4",this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
301
+
302
+                list[i].stockMoney = parseFloat(this.getAllStockInPrice(list[i].StWarehousingInfoTwo))  +parseFloat(this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))  - parseFloat(this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty))  - parseFloat(this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)) 
303
+                if(list[i].stockMoney>0){
304
+                  list[i].stockMoney = list[i].stockMoney.toFixed(2)
305
+                }
306
+                
298 307
                 
299 308
                }else{
300 309
                 list[i].stock_in_price = "/"
@@ -351,9 +360,9 @@ export default {
351 360
                 list[i].overMoney = (list[i].packing_price*list[i].overStock).toFixed(2)
352 361
               }else if(this.org_id == 0 || this.org_id ==10644){
353 362
                 list[i].overPrice = "/"
354
-                console.log("stockMoney-00000000000000",list[i].stockMoney)
355
-                console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
356
-                console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
363
+                // console.log("stockMoney-00000000000000",list[i].stockMoney)
364
+                // console.log("saleStockMoney-00000000000000",list[i].saleStockMoney)
365
+                // console.log("saleOutMoney-00000000000000",list[i].saleOutMoney)
357 366
                 list[i].overMoney = (parseFloat(list[i].stockMoney)  + parseFloat(list[i].saleStockMoney) - parseFloat(list[i].saleOutMoney)).toFixed(2)
358 367
                 // console.log("hahahha",list[i].overMoney)
359 368
               }else{
@@ -1290,7 +1299,7 @@ export default {
1290 1299
        if(total_price>0){
1291 1300
         return total_price.toFixed(2)
1292 1301
        }else{
1293
-        return ""
1302
+        return total_price
1294 1303
        }
1295 1304
       
1296 1305
     },
@@ -1314,7 +1323,7 @@ export default {
1314 1323
        if(total_price>0){
1315 1324
         return total_price.toFixed(2)
1316 1325
        }else{
1317
-        return ""
1326
+        return total_price
1318 1327
        }
1319 1328
        
1320 1329
     },
@@ -1328,16 +1337,17 @@ export default {
1328 1337
       return count
1329 1338
     },
1330 1339
     getAllStockInFlowPrice(val){
1340
+     
1331 1341
       var total_price = 0
1332 1342
       if(val!=null && val.length>0){
1333 1343
         for(let i=0;i<val.length;i++){
1334
-          total_price+= val[i].count * val[i].total_price
1344
+          total_price+= val[i].count * val[i].price
1335 1345
         }
1336 1346
       }
1337 1347
       if(total_price>0){
1338 1348
         return total_price.toFixed(2)
1339 1349
       }else{
1340
-        return ""
1350
+        return total_price
1341 1351
       }
1342 1352
      
1343 1353
     },
@@ -1360,7 +1370,7 @@ export default {
1360 1370
       if(total_price>0){
1361 1371
          return total_price.toFixed(2)
1362 1372
       }else{
1363
-        return ""
1373
+        return total_price
1364 1374
       }
1365 1375
      
1366 1376
     },

+ 9 - 6
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue View File

@@ -189,7 +189,10 @@ export default {
189 189
                       list[i].stockMoney = (list[i].buy_price * list[i].stockIn).toFixed(2)
190 190
                     }else if(this.org_id == 0 || this.org_id == 10644){
191 191
                       list[i].stock_in_price = "/"
192
-                      list[i].stockMoney = (this.getAllStockInPrice(list[i].StWarehousingInfoTwo) + this.getAllStockInFlowPrice(list[i].WareStartInStockFlow) - this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow))
192
+                      list[i].stockMoney = parseFloat(this.getAllStockInPrice(list[i].StWarehousingInfoTwo))  +parseFloat(this.getAllStockInFlowPrice(list[i].WareStartInStockFlow))  - parseFloat(this.getAllOutStockInPrice(list[i].WarehouseOutInfoTenty))  - parseFloat(this.getAllStockOutFlowPrice(list[i].WareStartOutStockFlow)) 
193
+                      if(list[i].stockMoney>0){
194
+                        list[i].stockMoney = list[i].stockMoney.toFixed(2)
195
+                      }
193 196
                     } else{
194 197
                       list[i].stock_in_price = "/"
195 198
                       list[i].stockMoney = "/"
@@ -826,7 +829,7 @@ export default {
826 829
        if(total_price>0){
827 830
         return total_price.toFixed(2)
828 831
        }else{
829
-        return ""
832
+        return total_price
830 833
        }
831 834
       
832 835
     },
@@ -843,13 +846,13 @@ export default {
843 846
       var total_price = 0
844 847
       if(val!=null && val.length>0){
845 848
         for(let i=0;i<val.length;i++){
846
-          total_price+= val[i].count * val[i].total_price
849
+          total_price+= val[i].count * val[i].price
847 850
         }
848 851
       }
849 852
       if(total_price>0){
850 853
         return total_price.toFixed(2)
851 854
       }else{
852
-        return ""
855
+        return total_price
853 856
       }
854 857
       
855 858
     },
@@ -881,7 +884,7 @@ export default {
881 884
        if(total_price>0){
882 885
         return total_price.toFixed(2)
883 886
       }else{
884
-        return ""
887
+        return total_price
885 888
       }
886 889
      
887 890
     },
@@ -895,7 +898,7 @@ export default {
895 898
       if(total_price>0){
896 899
         return total_price.toFixed(2)
897 900
       }else{
898
-        return ""
901
+        return total_price
899 902
       }
900 903
     
901 904
     },

+ 1 - 1
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -938,7 +938,7 @@
938 938
         this.currentIndex = val
939 939
       },
940 940
       handleSelect(val){
941
-        console.log("al32323232323223",val)
941
+        // console.log("al32323232323223",val)
942 942
          for(let i=0;i<this.recordInfo.recordData.length;i++){
943 943
            if(this.currentIndex == i){
944 944
               this.recordInfo.recordData[i].id = 0

+ 87 - 138
src/xt_pages/user/courseOfDisease_new.vue View File

@@ -32,7 +32,7 @@
32 32
                 </el-table-column>
33 33
                 <el-table-column prop="date" label="时间" width="">
34 34
                   <template slot-scope="scope">
35
-                      {{ getTime(scope.row.record_time) }}
35
+                      {{ getTimeThree(scope.row.record_time) }}
36 36
                     </template>
37 37
                 </el-table-column>
38 38
                 <el-table-column prop="doctor" label="医生">
@@ -66,7 +66,7 @@
66 66
                 <el-date-picker v-model="record_date" prefix-icon="el-icon-date" :editable="false"
67 67
                               style="width: 250px;"
68 68
                               type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
69
-                              value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
69
+                              ></el-date-picker>
70 70
               </div>
71 71
               <div style="flex: 1;">
72 72
                 病程医生:
@@ -84,46 +84,6 @@
84 84
               <span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">
85 85
                 病程内容
86 86
               </span>
87
-              <div style="display:flex;">
88
-                <!-- <div>
89
-                  取值时间:
90
-                  <el-select v-model="quzhi_date" @change="datachange" placeholder="请选择" style="width: 120px;">
91
-                    <el-option
92
-                      v-for="item in quzhi_options"
93
-                      :key="item.value"
94
-                      :label="item.label"
95
-                      :value="item.value">
96
-                    </el-option>
97
-                  </el-select>
98
-                </div>
99
-                <div style="margin:0 10px">
100
-                  <el-date-picker
101
-                  @change="changStartDate"
102
-                    v-model="start_date"
103
-                    type="date"
104
-                    value-format="yyyy-MM-dd"
105
-                    placeholder="选择日期"
106
-                    style="width: 150px;">
107
-                  </el-date-picker>
108
-                  <span>-</span>
109
-                  <el-date-picker
110
-                  @change="changEndDate"
111
-                    v-model="end_date"
112
-                    type="date"
113
-                    value-format="yyyy-MM-dd"
114
-                    placeholder="选择日期"
115
-                    style="width: 150px;">
116
-                  </el-date-picker>
117
-                </div> -->
118
-                <!-- <div>
119
-                  <el-button type="primary" size="small" @click="autotext_click">
120
-                    生成
121
-                  </el-button>
122
-                  <el-button type="primary" size="small" @click="auto_dialog=false">
123
-                    取消
124
-                  </el-button>
125
-                </div> -->
126
-              </div>
127 87
               <div style="margin: 10px 0;">
128 88
                 <el-button type="primary" size="small" @click="template_click">
129 89
                   {{ add_index ==0 ? '设置模板' : '模板库' }}
@@ -162,7 +122,6 @@
162 122
         </div>
163 123
       </div>
164 124
 
165
-
166 125
       <el-dialog
167 126
         title="设置模板"
168 127
         :visible.sync="template_dialog"
@@ -584,7 +543,7 @@
584 543
               医嘱类型:
585 544
               <el-select v-model="advice_type" @change="type_chang" placeholder="请选择" style="width: 120px;">
586 545
                 <el-option
587
-                
546
+
588 547
                   v-for="item in type_option"
589 548
                   :key="item.value"
590 549
                   :label="item.label"
@@ -823,7 +782,7 @@
823 782
     getPatientAdviceList,
824 783
     getPatientInspectionList,
825 784
     getInspectionByProjectId,
826
-    
785
+
827 786
   } from '@/api/patient'
828 787
   import { fetchMoibleAllDoctorAndNurse } from "@/api/doctor";
829 788
   import { parseTime } from '@/utils'
@@ -1275,13 +1234,12 @@
1275 1234
         }
1276 1235
       },
1277 1236
       toAdviceContentPint(val){
1278
-       
1237
+
1279 1238
         console.log('blood_context',this.blood_context,this.template_content);
1280 1239
         this.template_content = this.template_content +'<br/>'+ this.blood_context+'<br/>'+this.summary_context +'<br/>' +this.advice_context+'<br/>'+this.option_context
1281 1240
         this.$refs.editor.contents = this.template_content
1282 1241
         const iframe = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('body')[0]
1283
-        console.log('document.getElementsByClassName',);
1284
-       
1242
+
1285 1243
             this.$nextTick(()=>{
1286 1244
                 const new_list=document.createElement('table')
1287 1245
                 new_list.style.cssText='border:1px solid black;border-collapse:collapse;width:100%';
@@ -1331,7 +1289,7 @@
1331 1289
                     let new_td8 = document.createElement('td');
1332 1290
                     let new_td9 = document.createElement('td');
1333 1291
                     let new_td10 = document.createElement('td');
1334
-                    new_td1.textContent =this.getTimeThree(this.adviceList[i].start_time) 
1292
+                    new_td1.textContent =this.getTimeThree(this.adviceList[i].start_time)
1335 1293
                     new_td2.textContent =this.adviceList[i].advice_name
1336 1294
                     new_td3.textContent =this.adviceList[i].advice_desc
1337 1295
                     new_td4.textContent =this.adviceList[i].single_dose
@@ -1339,12 +1297,12 @@
1339 1297
                     new_td6.textContent =this.adviceList[i].execution_frequency
1340 1298
                     new_td7.textContent =this.adviceList[i].remark
1341 1299
                     if(this.adviceList[i].advice_type == 1){
1342
-                      new_td8.textContent =this.getTimeThree(this.adviceList[i].stop_time) 
1300
+                      new_td8.textContent =this.getTimeThree(this.adviceList[i].stop_time)
1343 1301
                     }else{
1344
-                      new_td8.textContent =this.getTimeThree(this.adviceList[i].execution_time) 
1302
+                      new_td8.textContent =this.getTimeThree(this.adviceList[i].execution_time)
1345 1303
                     }
1346 1304
                     new_td9.textContent =this.adviceList[i].stop_reason
1347
-                    new_td10.textContent =this.getDocName(this.adviceList[i].advice_doctor) 
1305
+                    new_td10.textContent =this.getDocName(this.adviceList[i].advice_doctor)
1348 1306
                     newListItem2.appendChild(new_td1);
1349 1307
                     newListItem2.appendChild(new_td2);
1350 1308
                     newListItem2.appendChild(new_td3);
@@ -1357,7 +1315,7 @@
1357 1315
                     newListItem2.appendChild(new_td10);
1358 1316
                     new_list.appendChild(newListItem2)
1359 1317
                  }
1360
-               } 
1318
+               }
1361 1319
 
1362 1320
                if(this.adviceNewList!=null && this.adviceNewList.length>0 && this.all_select == 1){
1363 1321
                 for(let i in this.adviceNewList){
@@ -1372,7 +1330,7 @@
1372 1330
                     let new_td8 = document.createElement('td');
1373 1331
                     let new_td9 = document.createElement('td');
1374 1332
                     let new_td10 = document.createElement('td');
1375
-                    new_td1.textContent =this.getTimeThree(this.adviceNewList[i].start_time) 
1333
+                    new_td1.textContent =this.getTimeThree(this.adviceNewList[i].start_time)
1376 1334
                     new_td2.textContent =this.adviceNewList[i].advice_name
1377 1335
                     new_td3.textContent =this.adviceNewList[i].advice_desc
1378 1336
                     new_td4.textContent =this.adviceNewList[i].single_dose
@@ -1380,12 +1338,12 @@
1380 1338
                     new_td6.textContent =this.adviceNewList[i].execution_frequency
1381 1339
                     new_td7.textContent =this.adviceNewList[i].remark
1382 1340
                     if(this.adviceNewList[i].advice_type == 1){
1383
-                      new_td8.textContent =this.getTimeThree(this.adviceNewList[i].stop_time) 
1341
+                      new_td8.textContent =this.getTimeThree(this.adviceNewList[i].stop_time)
1384 1342
                     }else{
1385
-                      new_td8.textContent =this.getTimeThree(this.adviceNewList[i].execution_time) 
1343
+                      new_td8.textContent =this.getTimeThree(this.adviceNewList[i].execution_time)
1386 1344
                     }
1387 1345
                     new_td9.textContent =this.adviceNewList[i].stop_reason
1388
-                    new_td10.textContent =this.getDocName(this.adviceNewList[i].advice_doctor) 
1346
+                    new_td10.textContent =this.getDocName(this.adviceNewList[i].advice_doctor)
1389 1347
                     newListItem2.appendChild(new_td1);
1390 1348
                     newListItem2.appendChild(new_td2);
1391 1349
                     newListItem2.appendChild(new_td3);
@@ -1399,19 +1357,18 @@
1399 1357
                     new_list.appendChild(newListItem2)
1400 1358
                  }
1401 1359
                }
1402
-            
1360
+
1403 1361
               const cont = iframe.getElementsByClassName('advice_table')[0]
1404 1362
               cont.appendChild(new_list)
1405 1363
               console.log('iframe.appendChild(new_list)',cont);
1406 1364
               console.log('this.advice_context',this.advice_context);
1407 1365
             })
1408 1366
 
1409
-        
1410 1367
         this.advice_dialog = false
1411 1368
       },
1412 1369
       getCurrentChangeOne(val){
1413 1370
         this.$refs.editor.contents = val.content
1414
-        this.record_date = this.getTime(val.record_time)
1371
+        this.record_date = this.getTimeThree(val.record_time)
1415 1372
         this.admin_user_id = val.recorder
1416 1373
         if(this.admin_user_id == 0){
1417 1374
            this.admin_user_id = ""
@@ -1442,7 +1399,7 @@
1442 1399
      rowclick(){
1443 1400
 
1444 1401
       },
1445
-     
1402
+
1446 1403
       saveTemplate(){
1447 1404
 
1448 1405
         var params = {
@@ -1517,8 +1474,8 @@
1517 1474
       showSave(){
1518 1475
         this.add_index = 0
1519 1476
         this.disabled = true
1520
-        console.log("haaaaaaaaaaaaaaa",this.$refs)
1521
-
1477
+        console.log("haaaaaaaaaaaaaaa",this.record_date)
1478
+        this.getlist()
1522 1479
         if(this.record_date.length == 0) {
1523 1480
           this.$message.error('请选择时间')
1524 1481
           return
@@ -1536,7 +1493,7 @@
1536 1493
         var params = {
1537 1494
           id:this.id,
1538 1495
           patient_id:this.patient_id,
1539
-          record_date:this.record_date,
1496
+          record_date:this.getTimeThree(this.record_date),
1540 1497
           content:this.new_content,
1541 1498
           admin_user_id:this.admin_user_id,
1542 1499
         }
@@ -1551,6 +1508,7 @@
1551 1508
         }).catch(error => {
1552 1509
 
1553 1510
         })
1511
+        
1554 1512
       },
1555 1513
       template_click(){
1556 1514
         console.log('this.add_index',this.add_index);
@@ -1698,7 +1656,6 @@
1698 1656
         console.log("start_time==============",params)
1699 1657
        getAutoPatientContent(params).then(response=>{
1700 1658
           if(response.data.state == 1){
1701
-
1702 1659
             var prescription =  response.data.data.prescription
1703 1660
             this.prescription=[]
1704 1661
             this.prescription = prescription
@@ -2245,9 +2202,6 @@
2245 2202
           kalium = "钾:" + str.replace(/^"(.*)"$/, '$1')+"."+"0"+"mmol/L" + "(" +kaliumStr.split(":")[1]+")"
2246 2203
         }
2247 2204
 
2248
-
2249
-
2250
-
2251 2205
           let sodiumObj = {}
2252 2206
           let sodiumStr =""
2253 2207
 
@@ -2351,8 +2305,6 @@
2351 2305
 
2352 2306
           dialysisIrrigationStr =  JSON.stringify(dialysisIrrigationObj).replace(/^{|}$/g, '')
2353 2307
 
2354
-      
2355
-
2356 2308
         //  医嘱
2357 2309
         if(this.longAdvice!=null && this.longAdvice.length>0){
2358 2310
             for(let i=0;i<this.longAdvice.length;i++){
@@ -2372,12 +2324,11 @@
2372 2324
             }
2373 2325
         }
2374 2326
 
2375
-         
2376 2327
         //抗凝剂
2377 2328
 
2378 2329
         var anticoagulant_str =""
2379 2330
         if(this.groupPrescriptionList!=null && this.groupPrescriptionList.length>0){
2380
-           
2331
+
2381 2332
             for(let i=0;i<this.groupPrescriptionList.length;i++){
2382 2333
                anticoagulant_str += this.getAnticoagulantName(this.groupPrescriptionList[i].anticoagulant) +"," + "剂量:" +this.groupPrescriptionList[i].MinZongLiang +this.getAnticoagulantUnit(this.groupPrescriptionList[i].anticoagulant)+ "~" +this.groupPrescriptionList[i].MaxZongLiang + this.getAnticoagulantUnit(this.groupPrescriptionList[i].anticoagulant)
2383 2334
             }
@@ -2394,9 +2345,9 @@
2394 2345
              cha_weight += this.berforList[i].weight_before - this.berforList[i].WeightAfter
2395 2346
           }
2396 2347
         }
2397
-        
2348
+
2398 2349
         pingjun_weight = (cha_weight/befor_total).toFixed(2)
2399
-       
2350
+
2400 2351
         //透后凝血
2401 2352
         var cruorNewArr = []
2402 2353
         if(this.afterList!=null && this.afterList.length>0){
@@ -2404,7 +2355,7 @@
2404 2355
             cruorNewArr.push(this.afterList[i].cruor)
2405 2356
            }
2406 2357
         }
2407
-      
2358
+
2408 2359
        let dialysisCrruorObj = {}
2409 2360
         let dialysisCrruorStr = ""
2410 2361
         if(cruorNewArr!=null && cruorNewArr.length>0){
@@ -2412,10 +2363,10 @@
2412 2363
             dialysisCrruorObj[item] = (dialysisCrruorObj[item] + 1) || 1
2413 2364
             })
2414 2365
           }
2415
-      
2366
+
2416 2367
 
2417 2368
         dialysisCrruorStr =  JSON.stringify(dialysisCrruorObj).replace(/^{|}$/g, '')
2418
-       
2369
+
2419 2370
         //监测
2420 2371
         var blood_flow_volume_total = 0
2421 2372
         var ultrafiltration_volume_total = 0
@@ -2441,7 +2392,7 @@
2441 2392
           pingjun_ultrafiltration_volume_total = ""
2442 2393
         }
2443 2394
         pingjun_ultrafiltration_rate_total = (ultrafiltration_rate_total/total_length).toFixed(2)
2444
-        if(pingjun_ultrafiltration_rate_total == "NaN"){ 
2395
+        if(pingjun_ultrafiltration_rate_total == "NaN"){
2445 2396
           pingjun_ultrafiltration_rate_total = ""
2446 2397
         }
2447 2398
         var dry_weight_str = ""
@@ -2450,12 +2401,12 @@
2450 2401
            for(let i=0;i<this.dryweightList.length;i++){
2451 2402
             dry_weight_str =  this.getTimeOne(this.dryweightList[i].ctime)+" " +this.dryweightList[i].adjusted_value.slice(4,6)+ this.dryweightList[i].adjusted_value.slice(0,3)+"kg" + "调整到" +" "+ this.dryweightList[i].dry_weight+"kg"+","
2452 2403
            }
2453
-        } 
2404
+        }
2454 2405
 
2455 2406
         //血管通路
2456 2407
         var vascularAccess_str = ""
2457 2408
         var created_time = ""
2458
-      
2409
+
2459 2410
         if(this.patientVascularAccess!=undefined){
2460 2411
           vascularAccess_str  = this.patientVascularAccess.blood_access_part_id + this.patientVascularAccess.blood_access_part_opera_id
2461 2412
           created_time  = this.getTime(this.patientVascularAccess.first_start_time)
@@ -2670,16 +2621,14 @@
2670 2621
                 jiancDoc.appendChild(newList)
2671 2622
             for(let i in this.Inspect){
2672 2623
               let newList1 = document.createElement('p');
2673
-              const child1 = document.createElement('p')
2674
-              const child2 = document.createElement('p')
2675
-              const child3 = document.createElement('p')
2624
+              const child1 = document.createElement('span')
2625
+              const child2 = document.createElement('span')
2676 2626
               newList1.appendChild(child1);
2677 2627
               newList1.appendChild(child2);
2678
-              newList1.appendChild(child3);
2679 2628
               newList1.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
2680 2629
               child1.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;'
2681
-              child2.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;flex-wrap: wrap;'
2682
-              child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
2630
+              child2.style.cssText= 'width: 80%;display: inline-block;display: flex;flex-wrap: wrap;'
2631
+              // child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
2683 2632
 
2684 2633
               let newListItem1 = document.createElement('span');
2685 2634
               newListItem1.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
@@ -2691,9 +2640,9 @@
2691 2640
               child1.appendChild(newListItem2);
2692 2641
               for(let j in this.Inspect[i].left){
2693 2642
                 let newListItem3 = document.createElement('span');
2694
-                newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2643
+                newListItem3.style.cssText= 'border-bottom: 1px solid black;width:25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2695 2644
                 let newListItem4 = document.createElement('span');
2696
-                newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;'
2645
+                newListItem4.style.cssText= 'border-bottom: 1px solid black;width:25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2697 2646
                 newListItem3.textContent = this.Inspect[i].left[j].item_name;
2698 2647
                 newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
2699 2648
                 child2.appendChild(newListItem3);
@@ -2701,13 +2650,14 @@
2701 2650
               }
2702 2651
               for(let x in this.Inspect[i].right){
2703 2652
                 let newListItem5 = document.createElement('span');
2704
-                newListItem5.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
2653
+                newListItem5.style.cssText= 'width: 25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
2705 2654
                 let newListItem6 = document.createElement('span');
2706
-                newListItem6.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
2655
+                newListItem6.style.cssText= 'width: 25%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;border-right: 1px solid black;'
2707 2656
                 newListItem5.textContent = this.Inspect[i].right[x].item_name;
2708 2657
                 newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
2709
-                child3.appendChild(newListItem5);
2710
-                child3.appendChild(newListItem6);
2658
+                child2.appendChild(newListItem5);
2659
+                child2.appendChild(newListItem6);
2660
+
2711 2661
               }
2712 2662
               jiancDoc.appendChild(newList1)
2713 2663
             }
@@ -2798,16 +2748,15 @@
2798 2748
                   jiancDoc1.appendChild(newList)
2799 2749
               for(let i in this.Inspect){
2800 2750
                 let newList1 = document.createElement('p');
2801
-                const child1 = document.createElement('p')
2802
-                const child2 = document.createElement('p')
2803
-                const child3 = document.createElement('p')
2751
+                const child1 = document.createElement('span')
2752
+                const child2 = document.createElement('span')
2753
+                // const child3 = document.createElement('span')
2804 2754
                 newList1.appendChild(child1);
2805 2755
                 newList1.appendChild(child2);
2806
-                newList1.appendChild(child3);
2756
+                // newList1.appendChild(child3);
2807 2757
                 newList1.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
2808 2758
                 child1.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;'
2809
-                child2.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;flex-wrap: wrap;'
2810
-                child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
2759
+                child2.style.cssText= 'width: 80%;display: inline-block;display: flex;flex-wrap: wrap;'
2811 2760
 
2812 2761
                 let newListItem1 = document.createElement('span');
2813 2762
                 newListItem1.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
@@ -2819,9 +2768,9 @@
2819 2768
                 child1.appendChild(newListItem2);
2820 2769
                 for(let j in this.Inspect[i].left){
2821 2770
                   let newListItem3 = document.createElement('span');
2822
-                  newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2771
+                  newListItem3.style.cssText= 'border-bottom: 1px solid black;width:25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2823 2772
                   let newListItem4 = document.createElement('span');
2824
-                  newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;'
2773
+                  newListItem4.style.cssText= 'border-bottom: 1px solid black;width:25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
2825 2774
                   newListItem3.textContent = this.Inspect[i].left[j].item_name;
2826 2775
                   newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
2827 2776
                   child2.appendChild(newListItem3);
@@ -2829,13 +2778,13 @@
2829 2778
                 }
2830 2779
                 for(let x in this.Inspect[i].right){
2831 2780
                   let newListItem5 = document.createElement('span');
2832
-                  newListItem5.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
2781
+                  newListItem5.style.cssText= 'width: 25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
2833 2782
                   let newListItem6 = document.createElement('span');
2834
-                  newListItem6.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
2783
+                  newListItem6.style.cssText= 'width: 25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;border-right: 1px solid black;'
2835 2784
                   newListItem5.textContent = this.Inspect[i].right[x].item_name;
2836 2785
                   newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
2837
-                  child3.appendChild(newListItem5);
2838
-                  child3.appendChild(newListItem6);
2786
+                  child2.appendChild(newListItem5);
2787
+                  child2.appendChild(newListItem6);
2839 2788
                 }
2840 2789
                 jiancDoc1.appendChild(newList1)
2841 2790
               }
@@ -2884,7 +2833,7 @@
2884 2833
           }
2885 2834
         })
2886 2835
          this.AuToShow = true
2887
-      
2836
+
2888 2837
        }
2889 2838
        })
2890 2839
       },
@@ -3315,10 +3264,10 @@
3315 3264
 
3316 3265
       },
3317 3266
       showEdit() {
3318
-
3319 3267
         this.add_index =1
3320 3268
         this.disabled = false
3321
-
3269
+        console.log('时间',this.record_date);
3270
+        
3322 3271
       }, tableRow({ row, rowIndex }) {
3323 3272
         // 把每一行的索引放进row
3324 3273
         row.index = rowIndex
@@ -3447,7 +3396,7 @@
3447 3396
         console.log('血压',this.bloodRows);
3448 3397
       },
3449 3398
       selectionchange2(val){
3450
-       
3399
+
3451 3400
         this.summaryRows = val
3452 3401
         this.summary_context=""
3453 3402
         if(val!=null){
@@ -3469,13 +3418,13 @@
3469 3418
         console.log('透析小结',this.weightRows);
3470 3419
       },
3471 3420
       selectionchange4(val){
3472
-        
3421
+
3473 3422
         this.optionRows = val
3474 3423
         this.getoption(val)
3475 3424
         console.log('透析小结',this.weightRows);
3476 3425
       },
3477 3426
       selectionchange5(val){
3478
-       
3427
+
3479 3428
         this.adviceRows = val
3480 3429
         this.getNewPatientAdviceList(val)
3481 3430
       },
@@ -3514,7 +3463,7 @@
3514 3463
         this.weight_context = `${arr.join('<br/>')}`
3515 3464
       },
3516 3465
       getoption(val){
3517
-       
3466
+
3518 3467
         var newArr = []
3519 3468
         for(let i=0;i<this.systemPrescritpionList.length;i++){
3520 3469
           for(let j=0;j<val.length;j++){
@@ -3522,10 +3471,10 @@
3522 3471
               newArr.push(this.systemPrescritpionList[i])
3523 3472
             }
3524 3473
           }
3525
-         
3474
+
3526 3475
         }
3527 3476
         const arr= []
3528
-       
3477
+
3529 3478
         if(newArr.length>0){
3530 3479
           for(let i=0;i<newArr.length;i++){
3531 3480
             const text = `<table border="1" style="border-collapse: collapse;width: 100%;">
@@ -3593,7 +3542,7 @@
3593 3542
         })
3594 3543
       },
3595 3544
       option_click(val){
3596
-   
3545
+
3597 3546
         this.option_dialog =true
3598 3547
         // this.start_date1 = this.timeForMat(7)
3599 3548
         // this.end_date1 = this.getTime(new Date())
@@ -3620,7 +3569,7 @@
3620 3569
       hospital_click(){
3621 3570
         const text = `<p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">住院日期:</span><span style="display: inline-block;flex: 1;">出院日期:</span></p>
3622 3571
     <p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">入院诊断:</span><span style="display: inline-block;flex: 1;">出院诊断:</span></p>`
3623
-       
3572
+
3624 3573
         this.$refs.editor.contents =  this.$refs.editor.contents + text
3625 3574
       },
3626 3575
       Inspect_click(){
@@ -3635,7 +3584,7 @@
3635 3584
 
3636 3585
       },
3637 3586
       childclick(i){
3638
-      
3587
+
3639 3588
           var params = {
3640 3589
             patient_id:i.patient_id,
3641 3590
             project_id:i.project_id,
@@ -3651,11 +3600,11 @@
3651 3600
                 if(inspection[i].inspect_value!=""){
3652 3601
                   inspection_str += inspection[i].item_name+":" + inspection[i].inspect_value+","
3653 3602
                 }
3654
-               
3603
+
3655 3604
               }
3656 3605
             }
3657 3606
             this.inspect_context = inspection_str
3658
-            
3607
+
3659 3608
           }
3660 3609
         })
3661 3610
         // // const inspect_arr = []
@@ -3771,7 +3720,7 @@
3771 3720
            if(response.data.state == 1){
3772 3721
               this.systemPrescritpionList = []
3773 3722
               var systemPrescritpionList =  response.data.data.prescription
3774
-              
3723
+
3775 3724
               if(systemPrescritpionList!=null && systemPrescritpionList.length>0){
3776 3725
                  for(let i=0;i<systemPrescritpionList.length;i++){
3777 3726
                    systemPrescritpionList[i].mode_name = ""
@@ -3797,7 +3746,7 @@
3797 3746
         return name
3798 3747
       },
3799 3748
       getPatientAdviceList(){
3800
-        var ids = this.newIds.join()  
3749
+        var ids = this.newIds.join()
3801 3750
         var params = {
3802 3751
           start_time:this.start_date1,
3803 3752
           end_time:this.end_date1,
@@ -3814,7 +3763,7 @@
3814 3763
         })
3815 3764
       },
3816 3765
       getNewPatientAdviceList(val){
3817
-        
3766
+
3818 3767
          var newArr= []
3819 3768
          for(let i=0;i<val.length;i++){
3820 3769
            for(let j=0;j<this.adviceList.length;j++){
@@ -3823,8 +3772,8 @@
3823 3772
              }
3824 3773
            }
3825 3774
          }
3826
-         
3827
-         
3775
+
3776
+
3828 3777
          this.adviceNewList = []
3829 3778
          this.adviceNewList = newArr
3830 3779
          this.all_select = 1
@@ -3859,11 +3808,11 @@
3859 3808
           }
3860 3809
         getPatientInspectionList(params).then(response=>{
3861 3810
            if(response.data.state == 1){
3862
-             
3811
+
3863 3812
              var groupList = response.data.data.groupList
3864 3813
              var inspection = response.data.data.inspection
3865 3814
              this.inspectionList = inspection
3866
-            
3815
+
3867 3816
              if(groupList.length!=null && groupList.length>0){
3868 3817
                 for(let i=0;i<groupList.length;i++){
3869 3818
                   groupList[i].child = []
@@ -3874,15 +3823,15 @@
3874 3823
                   }
3875 3824
                 }
3876 3825
              }
3877
-        
3826
+
3878 3827
              for(let i=0;i<groupList.length;i++){
3879 3828
                for(let j=0;j<groupList[i].child.length;j++){
3880
-                  groupList[i].child =this.getInspection(groupList[i].child) 
3829
+                  groupList[i].child =this.getInspection(groupList[i].child)
3881 3830
                }
3882 3831
              }
3883
-      
3884
-             this.newInspectionList = groupList 
3885
-          
3832
+
3833
+             this.newInspectionList = groupList
3834
+
3886 3835
            }
3887 3836
         })
3888 3837
       },
@@ -3899,7 +3848,7 @@
3899 3848
           return tempArr;
3900 3849
       },
3901 3850
       changeInspetion(){
3902
-      
3851
+
3903 3852
         for(let i=0;i<this.newInspectionList.length;i++){
3904 3853
            this.newInspectionList[i].childOne =[]
3905 3854
           for(let j=0;j<this.inspectionList.length;j++){
@@ -3908,7 +3857,7 @@
3908 3857
             }
3909 3858
           }
3910 3859
         }
3911
-       
3860
+
3912 3861
          var new_inspection_str =""
3913 3862
         if(this.newInspectionList!=null&& this.newInspectionList.length>0){
3914 3863
            for(let i=0;i<this.newInspectionList.length;i++){
@@ -3918,20 +3867,20 @@
3918 3867
                 if(this.newInspectionList[i].childOne[j].inspect_value!=""){
3919 3868
                   new_inspection_str+= this.newInspectionList[i].childOne[j].item_name+":" + this.newInspectionList[i].childOne[j].inspect_value+","+" "
3920 3869
                 }
3921
-                
3870
+
3922 3871
               }
3923 3872
             }
3924
-              
3925
-           } 
3873
+
3874
+           }
3926 3875
         }
3927 3876
          this.inspect_context = new_inspection_str
3928 3877
       },
3929 3878
       toSystemContentPint(){
3930
-       
3879
+
3931 3880
         this.$refs.editor.contents = this.$refs.editor.contents +this.option_context
3932 3881
         this.option_dialog = false
3933 3882
       },
3934
-    
3883
+
3935 3884
 
3936 3885
     },
3937 3886
     beforeMount(){
@@ -3940,7 +3889,7 @@
3940 3889
     mounted(){
3941 3890
 
3942 3891
     },
3943
-  
3892
+
3944 3893
 
3945 3894
   }
3946 3895
 </script>

+ 1 - 1
src/xt_pages/user/deathSummary.vue View File

@@ -238,7 +238,7 @@
238 238
             {id:2,name:"心血管"},
239 239
             {id:3,name:"感染"},
240 240
             {id:4,name:"营养不良"},
241
-            {id:5,name:"全衰竭"},
241
+            {id:5,name:"全衰竭"},
242 242
             {id:6,name:"肿瘤"},
243 243
             {id:7,name:"出血"},
244 244
             {id:8,name:"呼吸衰竭"},

+ 1 - 0
src/xt_pages/user/patient.vue View File

@@ -98,6 +98,7 @@
98 98
         <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
99 99
         <el-table-column  label="透析号" min-width="80" property="dialysis_no" align="center"></el-table-column>
100 100
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
101
+        
101 102
         <el-table-column property="name" label="姓名" min-width="80" align="center">
102 103
           <template slot-scope="scope" >
103 104
             <router-link :to="'/patients/edit/'+scope.row.id" style="color:#409eff;width:100%;display:block;" >{{scope.row.name}}</router-link>

+ 31 - 0
src/xt_pages/user/patients.vue View File

@@ -416,6 +416,13 @@
416 416
           align="center"
417 417
         >
418 418
         </el-table-column>
419
+        <el-table-column
420
+          label="年龄"
421
+          min-width="70"
422
+          property="age"
423
+          align="center"
424
+        >
425
+        </el-table-column>
419 426
         <el-table-column
420 427
           property="name"
421 428
           label="姓名"
@@ -1651,6 +1658,9 @@
1651 1658
             return false
1652 1659
           } else {
1653 1660
             this.tableData = response.data.data.patients
1661
+            for(let i=0;i<this.tableData.length;i++){
1662
+              this.tableData[i].age = this.getAge(this.tableData[i])
1663
+            }
1654 1664
             console.log("wowowowo",this.tableData)
1655 1665
             console.log('2222222',response.data.data)
1656 1666
             this.pageTotal = this.tableData.length
@@ -1659,6 +1669,27 @@
1659 1669
           }
1660 1670
         })
1661 1671
       },
1672
+      getAge: function(val) {
1673
+          if (val.id_card_no == undefined) {
1674
+            return false
1675
+          }
1676
+          var thisLen = val.id_card_no.length
1677
+          var birth = ''
1678
+          if (thisLen == 15) {
1679
+            birth = '19' + val.id_card_no.substr(6, 6)
1680
+          } else {
1681
+            birth = val.id_card_no.substr(6, 8)
1682
+          }
1683
+          var birthtwo =
1684
+            birth.substr(0, 4) +
1685
+            '-' +
1686
+            birth.substr(4, 2) +
1687
+            '-' +
1688
+            birth.substr(6, 2)
1689
+
1690
+          var age = jsGetAge(birthtwo, '-')
1691
+          return age
1692
+      },
1662 1693
 
1663 1694
       OpenView(name, number, id) {
1664 1695
         this.name = name

+ 4 - 3
src/xt_pages/user/physiqueprinting.vue View File

@@ -60,8 +60,8 @@
60 60
             <div style="flex: 1;">家庭住址:{{ patient.home_address }}</div>
61 61
           </div>
62 62
           <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
63
-            <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 0?'无':'有' }}</div>
64
-            <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 0? '无':'有' }}</div>
63
+            <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 1?'无':'有' }}</div>
64
+            <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 1? '无':'有' }}</div>
65 65
             <div style="flex: 1;" v-if="item.is_hypersusceptibility == 0">过敏药物:无</div>
66 66
             <div style="flex: 1;" v-if="item.is_hypersusceptibility == 2">过敏药物:有</div>
67 67
             <div style="flex: 1;" v-if="item.is_hypersusceptibility == 3">过敏药物:不想</div>
@@ -677,8 +677,9 @@ export default {
677 677
         if (response.data.state == 1) {
678 678
           this.patient = response.data.data.patient
679 679
           this.diagnosis = this.patient.diagnose.split(',')
680
-          console.log('ttttttt',this.diagnosis);
680
+          
681 681
           this.list = response.data.data.sickhistorys
682
+          console.log('ttttttt',response.data.data);
682 683
         }
683 684
       })
684 685
     },

+ 1 - 2
src/xt_pages/user/sickHistory_new.vue View File

@@ -522,8 +522,7 @@ export default {
522 522
       if(this.add_index ==0){
523 523
         this.template_dialog = true
524 524
       }else{
525
-        const mode=`<p style="font-size: 18px;font-weight: 600;width:100%;margin-bottom: 10px;text-align: center;">血液净化治疗患者首次门诊病历</p>
526
-        <table border="1" style="border-collapse: collapse;text-align: center;">
525
+        const mode=`<table border="1" style="border-collapse: collapse;text-align: center;">
527 526
       <tbody>
528 527
         <tr>
529 528
           <td style="width:8%;padding: 5px 0px;font-size: 16px;">

+ 23 - 23
src/xt_pages/workforce/scheduleTablePrintTwo.vue View File

@@ -295,10 +295,10 @@
295 295
             </template>
296 296
 
297 297
             <!-- 未选择 -->
298
-            <template v-if="schedule_type == 0 && org_id != 10721 && org_id != 0">
298
+            <template v-if="schedule_type == 0 && org_id != 10721 ">
299 299
               <td style="min-width:50px;" v-if="first_day == 1">
300 300
                 <span v-if="item.Mon_M.patient_id">
301
-                  <span>{{ item.Mon_M.patient }}</span><br />
301
+                  <span>{{ item.Mon_M.patient }}</span>
302 302
                   <span v-if="item.Mon_M.mode_id != 1">{{ item.Mon_M.mode_name }}</span><br />
303 303
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_M.anticoagulant) }}</span>
304 304
                   <span v-show="showflag">{{ item.Mon_M.dialysis_machine_name }}
@@ -307,7 +307,7 @@
307 307
               </td>
308 308
               <td style="min-width:50px;" v-if="first_day == 1">
309 309
                 <span v-if="item.Mon_A.patient_id">
310
-                  <span>{{ item.Mon_A.patient }} </span><br />
310
+                  <span>{{ item.Mon_A.patient }} </span>
311 311
                   <span v-if="item.Mon_A.mode_id != 1">{{ item.Mon_A.mode_name }}</span><br />
312 312
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_A.anticoagulant) }}</span>
313 313
                   <span v-show="showflag">{{ item.Mon_A.dialysis_machine_name }}
@@ -317,7 +317,7 @@
317 317
               </td>
318 318
               <td style="min-width:50px;" v-if="first_day == 1">
319 319
                 <span v-if="item.Mon_N.patient_id">
320
-                  <span>{{ item.Mon_N.patient }} </span><br />
320
+                  <span>{{ item.Mon_N.patient }} </span>
321 321
                   <span v-if="item.Mon_N.mode_id != 1">{{ item.Mon_N.mode_name }}</span><br />
322 322
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Mon_N.anticoagulant) }}</span>
323 323
                   <span v-show="showflag">{{ item.Mon_N.dialysis_machine_name }}
@@ -327,7 +327,7 @@
327 327
               </td>
328 328
               <td style="min-width:50px;" v-if="second_day == 2">
329 329
                 <span v-if="item.Tue_M.patient_id">
330
-                  <span>{{ item.Tue_M.patient }} </span><br />
330
+                  <span>{{ item.Tue_M.patient }} </span>
331 331
                   <span v-if="item.Tue_M.mode_id != 1">{{ item.Tue_M.mode_name }}</span><br />
332 332
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_M.anticoagulant) }}</span>
333 333
                   <span v-show="showflag">{{ item.Tue_M.dialysis_machine_name }}
@@ -337,7 +337,7 @@
337 337
               </td>
338 338
               <td style="min-width:50px;" v-if="second_day == 2">
339 339
                 <span v-if="item.Tue_A.patient_id">
340
-                  <span>{{ item.Tue_A.patient }} </span><br />
340
+                  <span>{{ item.Tue_A.patient }} </span>
341 341
                   <span v-if="item.Tue_A.mode_id != 1">{{ item.Tue_A.mode_name }}</span><br />
342 342
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_A.anticoagulant) }}</span>
343 343
                   <span v-show="showflag">{{ item.Tue_A.dialysis_machine_name }}
@@ -348,7 +348,7 @@
348 348
               </td>
349 349
               <td style="min-width:50px;" v-if="second_day == 2">
350 350
                 <span v-if="item.Tue_N.patient_id">
351
-                  <span>{{ item.Tue_N.patient }} </span><br />
351
+                  <span>{{ item.Tue_N.patient }} </span>
352 352
                   <span v-if="item.Tue_N.mode_id != 1">{{ item.Tue_N.mode_name }}</span><br />
353 353
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Tue_N.anticoagulant) }}</span>
354 354
                   <span v-show="showflag">{{ item.Tue_N.dialysis_machine_name }}
@@ -358,7 +358,7 @@
358 358
               </td>
359 359
               <td style="min-width:50px;" v-if="three_day == 3">
360 360
                 <span v-if="item.Wed_M.patient_id">
361
-                  <span>{{ item.Wed_M.patient }} </span><br />
361
+                  <span>{{ item.Wed_M.patient }} </span>
362 362
                   <span v-if="item.Wed_M.mode_id != 1">{{ item.Wed_M.mode_name }}</span><br />
363 363
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_M.anticoagulant) }}</span>
364 364
                   <span v-show="showflag">{{ item.Wed_M.dialysis_machine_name }}
@@ -368,7 +368,7 @@
368 368
               </td>
369 369
               <td style="min-width:50px;" v-if="three_day == 3">
370 370
                 <span v-if="item.Wed_A.patient_id">
371
-                  <span>{{ item.Wed_A.patient }} </span><br />
371
+                  <span>{{ item.Wed_A.patient }} </span>
372 372
                   <span v-if="item.Wed_A.mode_id != 1">{{ item.Wed_A.mode_name }}</span><br />
373 373
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_A.anticoagulant) }}</span>
374 374
                   <span v-show="showflag">{{ item.Wed_A.dialysis_machine_name }}
@@ -378,7 +378,7 @@
378 378
               </td>
379 379
               <td style="min-width:50px;" v-if="three_day == 3">
380 380
                 <span v-if="item.Wed_N.patient_id">
381
-                  <span>{{ item.Wed_N.patient }} </span><br />
381
+                  <span>{{ item.Wed_N.patient }} </span>
382 382
                   <span v-if="item.Wed_N.mode_id != 1">{{ item.Wed_N.mode_name }}</span><br />
383 383
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Wed_N.anticoagulant) }}</span>
384 384
                   <span v-show="showflag">{{ item.Wed_N.dialysis_machine_name }}
@@ -388,7 +388,7 @@
388 388
               </td>
389 389
               <td style="min-width:50px;" v-if="four_day == 4">
390 390
                 <span v-if="item.Thurs_M.patient_id">
391
-                  <span>{{ item.Thurs_M.patient }} </span><br />
391
+                  <span>{{ item.Thurs_M.patient }} </span>
392 392
                   <span v-if="item.Thurs_M.mode_id != 1">{{ item.Thurs_M.mode_name }}</span><br />
393 393
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_M.anticoagulant) }}</span>
394 394
                   <span v-show="showflag">{{ item.Thurs_M.dialysis_machine_name }}
@@ -398,7 +398,7 @@
398 398
               </td>
399 399
               <td style="min-width:50px;" v-if="four_day == 4">
400 400
                 <span v-if="item.Thurs_A.patient_id">
401
-                  <span>{{ item.Thurs_A.patient }} </span><br />
401
+                  <span>{{ item.Thurs_A.patient }} </span>
402 402
                   <span v-if="item.Thurs_A.mode_id != 1">{{ item.Thurs_A.mode_name }}</span><br />
403 403
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_A.anticoagulant) }}</span>
404 404
 
@@ -409,7 +409,7 @@
409 409
               </td>
410 410
               <td style="min-width:50px;" v-if="four_day == 4">
411 411
                 <span v-if="item.Thurs_N.patient_id">
412
-                  <span>{{ item.Thurs_N.patient }} </span><br />
412
+                  <span>{{ item.Thurs_N.patient }} </span>
413 413
                   <span v-if="item.Thurs_N.mode_id != 1">{{ item.Thurs_N.mode_name }}</span><br />
414 414
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Thurs_N.anticoagulant) }}</span>
415 415
                   <span v-show="showflag">{{ item.Thurs_N.dialysis_machine_name }}
@@ -419,7 +419,7 @@
419 419
               </td>
420 420
               <td style="min-width:50px;" v-if="five_day == 5">
421 421
                 <span v-if="item.Fri_M.patient_id">
422
-                  <span>{{ item.Fri_M.patient }} </span><br />
422
+                  <span>{{ item.Fri_M.patient }} </span>
423 423
                   <span v-if="item.Fri_M.mode_id != 1">{{ item.Fri_M.mode_name }}</span><br />
424 424
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_M.anticoagulant) }} </span>
425 425
                   <span v-show="showflag">{{ item.Fri_M.dialysis_machine_name }}
@@ -429,7 +429,7 @@
429 429
               </td>
430 430
               <td style="min-width:50px;" v-if="five_day == 5">
431 431
                 <span v-if="item.Fri_A.patient_id">
432
-                  <span>{{ item.Fri_A.patient }} </span><br />
432
+                  <span>{{ item.Fri_A.patient }} </span>
433 433
                   <span v-if="item.Fri_A.mode_id != 1">{{ item.Fri_A.mode_name }}</span><br />
434 434
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_A.anticoagulant) }}</span>
435 435
                   <span v-show="showflag">{{ item.Fri_A.dialysis_machine_name }}
@@ -439,7 +439,7 @@
439 439
               </td>
440 440
               <td style="min-width:50px;" v-if="five_day == 5">
441 441
                 <span v-if="item.Fri_N.patient_id">
442
-                  <span>{{ item.Fri_N.patient }} </span><br />
442
+                  <span>{{ item.Fri_N.patient }} </span>
443 443
                   <span v-if="item.Fri_N.mode_id != 1">{{ item.Fri_N.mode_name }}</span><br />
444 444
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Fri_N.anticoagulant) }}</span>
445 445
                   <span v-show="showflag">{{ item.Fri_N.dialysis_machine_name }}
@@ -449,7 +449,7 @@
449 449
               </td>
450 450
               <td style="min-width:50px;" v-if="six_day == 6">
451 451
                 <span v-if="item.Sat_M.patient_id">
452
-                  <span>{{ item.Sat_M.patient }} </span><br />
452
+                  <span>{{ item.Sat_M.patient }} </span>
453 453
                   <span v-if="item.Sat_M.mode_id != 1">{{ item.Sat_M.mode_name }}</span><br />
454 454
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_M.anticoagulant) }}</span>
455 455
                   <span v-show="showflag">{{ item.Sat_M.dialysis_machine_name }}
@@ -459,7 +459,7 @@
459 459
               </td>
460 460
               <td style="min-width:50px;" v-if="six_day == 6">
461 461
                 <span v-if="item.Sat_A.patient_id">
462
-                  <span>{{ item.Sat_A.patient }} </span><br />
462
+                  <span>{{ item.Sat_A.patient }} </span>
463 463
                   <span v-if="item.Sat_A.mode_id != 1">{{ item.Sat_A.mode_name }}</span><br />
464 464
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_A.anticoagulant) }}</span>
465 465
                   <span v-show="showflag">{{ item.Sat_A.dialysis_machine_name }}
@@ -469,7 +469,7 @@
469 469
               </td>
470 470
               <td style="min-width:50px;" v-if="six_day == 6">
471 471
                 <span v-if="item.Sat_N.patient_id">
472
-                  <span>{{ item.Sat_N.patient }} </span><br />
472
+                  <span>{{ item.Sat_N.patient }} </span>
473 473
                   <span v-if="item.Sat_N.mode_id != 1">{{ item.Sat_N.mode_name }}</span><br />
474 474
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sat_N.anticoagulant) }}</span>
475 475
                   <span v-show="showflag">{{ item.Sat_N.dialysis_machine_name }}
@@ -479,7 +479,7 @@
479 479
               </td>
480 480
               <td style="min-width:50px;" v-if="seven_day == 7">
481 481
                 <span v-if="item.Sun_M.patient_id">
482
-                  <span>{{ item.Sun_M.patient }} </span><br />
482
+                  <span>{{ item.Sun_M.patient }} </span>
483 483
                   <span v-if="item.Sun_M.mode_id != 1">{{ item.Sun_M.mode_name }}</span><br />
484 484
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_M.anticoagulant) }}</span>
485 485
                   <span v-show="showflag">{{ item.Sun_M.dialysis_machine_name }}
@@ -489,7 +489,7 @@
489 489
               </td>
490 490
               <td style="min-width:50px;" v-if="seven_day == 7">
491 491
                 <span v-if="item.Sun_A.patient_id">
492
-                  <span>{{ item.Sun_A.patient }} </span><br />
492
+                  <span>{{ item.Sun_A.patient }} </span>
493 493
                   <span v-if="item.Sun_A.mode_id != 1">{{ item.Sun_A.mode_name }}</span><br />
494 494
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_A.anticoagulant) }}</span>
495 495
                   <span v-show="showflag">{{ item.Sun_A.dialysis_machine_name }}
@@ -500,7 +500,7 @@
500 500
               </td>
501 501
               <td style="min-width:50px;" v-if="seven_day == 7">
502 502
                 <span v-if="item.Sun_N.patient_id">
503
-                  <span>{{ item.Sun_N.patient }} </span><br />
503
+                  <span>{{ item.Sun_N.patient }} </span>
504 504
                   <span v-if="item.Sun_N.mode_id != 1">{{ item.Sun_N.mode_name }}</span><br />
505 505
                   <span v-if="org_id == 0">{{ getAnticoagulant(item.Sun_N.anticoagulant) }}</span>
506 506
                   <span v-show="showflag">{{ item.Sun_N.dialysis_machine_name }}
@@ -509,7 +509,7 @@
509 509
                 </span>
510 510
               </td>
511 511
             </template>
512
-            <template v-if="schedule_type == 0 && org_id == 10721 || org_id == 0">
512
+            <template v-if="schedule_type == 0 && org_id == 10721 ">
513 513
               <td style="min-width:50px;" v-if="first_day == 1">
514 514
                 <span v-if="item.Mon_M.patient_id">
515 515
                   <span>{{ item.Mon_M.patient }}</span>