浏览代码

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

陈少旭 1 个月前
父节点
当前提交
8a14c8ad24

+ 6 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue 查看文件

@@ -367,11 +367,13 @@
367 367
                   <div style="flex: 1;">
368 368
                     <div style="display: inline-block;margin-right: 120px;">
369 369
                       <span style="display: inline-block;">医生签名:</span>杨能华/
370
-                      <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">
371
-                        {{ getAdminUser(record.prescription, 'prescription_doctor') }}
370
+                      <span v-if="record.advices.length>0">
371
+                        <span v-if="setAdminUserES(record.advices[0][0],'advice_doctor') == ''">
372
+                          {{ getAdminUser(record.advices[0][0],'advice_doctor') }}
373
+                        </span>
374
+                        <img class="es-img" :src="setAdminUserES(record.advices[0][0],'advice_doctor')" alt=""
375
+                          srcset="" v-else style="height: 30px;" />
372 376
                       </span>
373
-                      <img class="es-img" :src="setAdminUserES(record.prescription, 'prescription_doctor')" alt=""
374
-                        srcset="" v-else style="height: 30px;" />
375 377
                     </div>
376 378
                   </div>
377 379
                   <div style="flex: 1;">  

+ 212 - 164
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue 查看文件

@@ -67,13 +67,13 @@
67 67
             <td style="text-align:center;">
68 68
               机器号:
69 69
               <span style="display:inline-block;margin-left:10px;">
70
-                {{
70
+                <!-- {{
71 71
                 dialysisOrder &&
72 72
                 dialysisOrder.DeviceNumber &&
73 73
                 dialysisOrder.DeviceNumber.number > 0
74 74
                 ? dialysisOrder.DeviceNumber.number
75 75
                 : patientInfo.DialysisSchedule.device_number.number
76
-                }}
76
+                }} -->
77 77
               </span>
78 78
             </td>
79 79
           </tr>
@@ -1253,8 +1253,7 @@ import { jsGetAge, uParseTime } from '@/utils/tools'
1253 1253
 import LabelBox from '../printItem/LabelBox'
1254 1254
 import CheckBox from '../batch_print/option_check_box'
1255 1255
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
1256
-// import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1257
-// import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1256
+
1258 1257
 
1259 1258
 export default {
1260 1259
   name: 'dialysisPrintOrderOne',
@@ -1432,170 +1431,207 @@ export default {
1432 1431
     }
1433 1432
   },
1434 1433
   methods: {
1435
-    checkData(){
1436
-      if(this.receiverTreatmentAccess.condition == 0){
1437
-        this.$message.error('门诊或住院未填')
1438
-      }else if(this.receiverTreatmentAccess.condition == 1 && this.receiverTreatmentAccess.admission_number == ''){
1439
-        this.$message.error('住院号未填')
1440
-      }else if(this.receiverTreatmentAccess.condition == 2 && this.patientInfo.admission_number == ''){
1441
-        this.$message.error('门诊号未填')
1442
-      }else if(this.prescription.mode_id == ""){
1443
-        this.$message.error('治疗方式未填')
1444
-      }else if(this.predialysis.dry_weight == 0){
1445
-        this.$message.error('干体重未填')
1446
-      }else if(this.monitors[0].ktv == 0){
1447
-        this.$message.error('ktv未填')
1448
-      }else if(this.monitors[0].urr == 0){
1449
-        this.$message.error('urr未填')
1450
-      }else if(this.prescription.calcium == 0){
1451
-        this.$message.error('钙未填')
1452
-      }else if(this.prescription.sodium == 0){
1453
-        this.$message.error('钠未填')
1454
-      }else if(this.prescription.kalium == 0){
1455
-        this.$message.error('钾未填')
1456
-      }else if(this.prescription.dialysate_temperature == 0){
1457
-        this.$message.error('透析液温度未填')
1458
-      }else if(this.predialysis.weight_before == 0){
1459
-        this.$message.error('透前体重未填')
1460
-      }else if(this.prescription.target_ultrafiltration == 0){
1461
-        this.$message.error('设定脱水量未填')
1462
-      }else if(this.prescription.anticoagulant == 0){
1463
-        this.$message.error('抗凝剂未填')
1464
-      }else if(this.afterdialysis.weight_after == 0){
1465
-        this.$message.error('透后体重未填')
1466
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1467
-        this.$message.error('净脱水量未填')
1468
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1469
-        this.$message.error('透析时间未填')
1470
-      }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
1471
-        this.$message.error('透析器型号未填')
1472
-      }else if(this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
1473
-        this.$message.error('置换方式未填')
1474
-      }else if(this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)){
1475
-        this.$message.error('置换量未填')
1476
-      }else if(this.orderForm.start_nurse == ""){
1477
-        this.$message.error('责任护士未填')
1478
-      }else if(this.orderForm.start_nurse == ""){
1479
-        this.$message.error('上机护士未填')
1480
-      }else if(this.orderForm.start_nurse == ""){
1481
-        this.$message.error('抗凝剂执行护士未填')
1482
-      }else if(this.prescription.prescription_doctor == 0 && this.prescription.creater == 0){
1483
-        this.$message.error('医生签名未填')
1484
-      }else if(this.receiverTreatmentAccess.way == 0){
1485
-        this.$message.error('入科方式未填')
1486
-      }else if(this.receiverTreatmentAccess.consciousness == 0){
1487
-        this.$message.error('意识未填')
1488
-      }else if(this.receiverTreatmentAccess.appetite == 0){
1489
-        this.$message.error('食欲未填')
1490
-      }else if(this.predialysis.temperature == 0){
1491
-        this.$message.error('透前体温未填')
1492
-      }else if(this.receiverTreatmentAccess.posture == 0){
1493
-        this.$message.error('体位未填')
1494
-      }else if(this.predialysis.blood_access_part_opera_id == 0){
1495
-        this.$message.error('内瘘波动及震颤未填')
1496
-      }else if(this.predialysis.blood_access_part_id == 0){
1497
-        this.$message.error('中心静脉导管部位未填')
1498
-      }else if(this.predialysis.venous_catheterization == 0){
1499
-        this.$message.error('中心静脉导管未填')
1500
-      }else if(this.predialysis.catheter == ''){
1501
-        this.$message.error('中心静脉导管感染未填')
1502
-      }else if(this.predialysis.internal_fistula_skin == ''){
1503
-        this.$message.error('血管通路皮肤情况未填')
1504
-      }else if(this.predialysis.skin == ''){
1505
-        this.$message.error('皮肤未填')
1506
-      }else if(this.predialysis.is_hemorrhage == 0){
1507
-        this.$message.error('是否出血未填')
1508
-      }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
1509
-        this.$message.error('出血影响因素未填')
1510
-      }else if(this.predialysis.special_medicine_other == ''){
1511
-        this.$message.error('使用特殊药物未填')
1512
-      }else if(this.receiverTreatmentAccess.danger_level == 0){
1513
-        this.$message.error('跌倒风险未填')
1514
-      }else if(this.receiverTreatmentAccess.precaution == ''){
1515
-        this.$message.error('跌倒风险预防措施未填')
1516
-      }else if(this.nursing_record == ''){
1517
-        this.$message.error('透析护理记录未填')
1518
-      }else if(this.afterdialysis.dialysis_process == 0){
1519
-        this.$message.error('透析过程未填')
1520
-      }else if(this.afterdialysis.complication == ""){
1521
-        this.$message.error('透后并发症未填')
1522
-      }else if(this.afterdialysis.actual_displacement == 0){
1523
-        this.$message.error('实际置换量未填')
1524
-      }else if(this.afterdialysis.internal_fistula == ""){
1525
-        this.$message.error('内瘘搏动及震颤音未填')
1526
-      }else if(this.afterdialysis.cruor == ""){
1527
-        this.$message.error('透析器及管路凝血情况未填')
1528
-      }else if(this.afterdialysis.is_eat == 0){
1529
-        this.$message.error('透析中进食未填')
1530
-      }else if(this.afterdialysis.patient_gose == 0){
1531
-        this.$message.error('患者去向未填')
1532
-      }else if(this.finshForm.finish_nurse == ""){
1533
-        this.$message.error('下机护士未填')
1534
-      }else if(this.special_record == ""){
1535
-        this.$message.error('特殊记录未填')
1536
-      }else if(this.tableAdvice.length > 0 || this.monitors.length > 0){
1537
-        let num = 0
1538
-        if(this.monitors.length > 0){
1539
-          this.monitors.map(item => {
1540
-            if(item.id > 0 && item.operate_time){
1541
-              this.users.map(it => {
1542
-                if(it.id == item.monitoring_nurse){
1543
-                  if(it.user_type == 2){
1544
-                    num++
1545
-                    this.$message.closeAll()
1546
-                    this.$message.error('存在不是护士保存的监测')
1547
-                  }
1548
-                }
1549
-              })
1550
-            }
1551
-          })
1552
-        }
1553
-        if(this.tableAdvice.length > 0){
1554
-          this.tableAdvice.map(item => {
1555
-            if(item.id > 0 && (item.created_time || item.start_time)){
1556
-              this.users.map(it => {
1557
-                if(it.id == item.advice_doctor){
1558
-                  if(it.user_type == 3){
1559
-                    num++
1560
-                    this.$message.closeAll()
1561
-                    this.$message.error('存在不是医生保存的医嘱')
1562
-                  }else if(it.id == item.execution_staff && item.execution_staff > 0){
1563
-                    if(it.user_type == 2){
1564
-                      num++
1565
-                      this.$message.closeAll()
1566
-                      this.$message.error('存在不是护士执行的医嘱')
1567
-                    }
1568
-                  }else if(it.id == item.checker && item.checker > 0){
1569
-                    if(it.user_type == 2){
1570
-                      num++
1571
-                      this.$message.closeAll()
1572
-                      this.$message.error('存在不是护士核对的医嘱')
1573
-                    }
1574
-                  }
1575
-                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1576
-                  if(it.user_type == 2){
1577
-                    num++
1578
-                    this.$message.closeAll()
1579
-                    this.$message.error('存在不是护士执行的医嘱')
1580
-                  }
1581
-                }else if(it.id == item.checker && item.checker > 0){
1582
-                  if(it.user_type == 2){
1583
-                    num++
1584
-                    this.$message.closeAll()
1585
-                    this.$message.error('存在不是护士核对的医嘱')
1586
-                  }
1587
-                }
1588
-              })
1434
+    checkData() {
1435
+      var checkdata = []
1436
+      if (this.prescription.mode_id == "") {
1437
+        const obj = '治疗方式'
1438
+        checkdata.push(obj)
1439
+      } if (this.predialysis.dry_weight == 0) {
1440
+        const obj1 = '干体重'
1441
+        checkdata.push(obj1)
1442
+      } if (this.monitors[0].ktv == 0) {
1443
+        const obj2 = 'ktv'
1444
+        checkdata.push(obj2)
1445
+      } if (this.monitors[0].urr == 0) {
1446
+        const obj3 = 'URR'
1447
+        checkdata.push(obj3)
1448
+      } if (this.prescription.calcium == 0) {
1449
+        const obj4 = '钙'
1450
+        checkdata.push(obj4)
1451
+      } if (this.prescription.sodium == 0) {
1452
+        const obj5 = '钠'
1453
+        checkdata.push(obj5)
1454
+      } if (this.prescription.kalium == 0) {
1455
+        const obj6 = '钾'
1456
+        checkdata.push(obj6)
1457
+      } if (this.prescription.dialysate_temperature == 0) {
1458
+        const obj7 = '透析液温度'
1459
+        checkdata.push(obj7)
1460
+      } if (this.predialysis.weight_before == 0) {
1461
+        const obj8 = '透前体重'
1462
+        checkdata.push(obj8)
1463
+      } if (this.prescription.target_ultrafiltration == 0) {
1464
+        const obj9 = '设定脱水量'
1465
+        checkdata.push(obj9)
1466
+      } if (this.prescription.anticoagulant == 0) {
1467
+        const obj10 = '抗凝剂'
1468
+        checkdata.push(obj10)
1469
+      } if (this.afterdialysis.weight_after == 0) {
1470
+        const obj11 = '透后体重'
1471
+        checkdata.push(obj11)
1472
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1473
+        const obj12 = '净脱水量'
1474
+        checkdata.push(obj12)
1475
+      } if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1476
+        const obj13 = '透析时间'
1477
+        checkdata.push(obj13)
1478
+      } if (this.prescription.dialyzer_perfusion_apparatus == "") {
1479
+        const obj14 = '透析器型号'
1480
+        checkdata.push(obj14)
1481
+      } if (this.prescription.displace_liqui_part == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1482
+        const obj14 = '置换方式'
1483
+        checkdata.push(obj14)
1484
+      } if (this.prescription.displace_liqui_value == 0 && (this.prescription.mode_id == 2 || this.prescription.mode_id == 5 || this.prescription.mode_id == 12)) {
1485
+        const obj15 = '置换量'
1486
+        checkdata.push(obj15)
1487
+      } if (this.orderForm.start_nurse == "") {
1488
+        const obj16 = '责任护士'
1489
+        checkdata.push(obj16)
1490
+      } if (this.orderForm.start_nurse == "") {
1491
+        const obj17 = '上机护士'
1492
+        checkdata.push(obj17)
1493
+      } if (this.orderForm.start_nurse == "") {
1494
+        const obj18 = '抗凝剂执行护士'
1495
+        checkdata.push(obj18)
1496
+      } if (this.prescription.prescription_doctor == 0 && this.prescription.creater == 0) {
1497
+        const obj19 = '医生签名'
1498
+        checkdata.push(obj19)
1499
+      } if (this.receiverTreatmentAccess.way == 0) {
1500
+        const obj20 = '入科方式'
1501
+        checkdata.push(obj20)
1502
+      } if (this.receiverTreatmentAccess.consciousness == 0) {
1503
+        const obj21 = '意识'
1504
+        checkdata.push(obj21)
1505
+      } if (this.receiverTreatmentAccess.appetite == 0) {
1506
+        const obj22 = '食欲'
1507
+        checkdata.push(obj22)
1508
+      } if (this.predialysis.temperature == 0) {
1509
+        const obj23 = '透前体温'
1510
+        checkdata.push(obj23)
1511
+      } if (this.receiverTreatmentAccess.posture == 0) {
1512
+        const obj24 = '体位'
1513
+        checkdata.push(obj24)
1514
+      } if (this.predialysis.blood_access_part_opera_id == 0) {
1515
+        const obj25 = '内瘘波动及震颤'
1516
+        checkdata.push(obj25)
1517
+      } if (this.predialysis.blood_access_part_id == 0) {
1518
+        const obj26 = '中心静脉导管部位'
1519
+        checkdata.push(obj26)
1520
+      } if (this.predialysis.venous_catheterization == 0) {
1521
+        const obj27 = '中心静脉导管'
1522
+        checkdata.push(obj27)
1523
+      } if (this.predialysis.catheter == '') {
1524
+        const obj28 = '中心静脉导管感染'
1525
+        checkdata.push(obj28)
1526
+      } if (this.predialysis.internal_fistula_skin == '') {
1527
+        const obj29 = '血管通路皮肤情况'
1528
+        checkdata.push(obj29)
1529
+      } if (this.predialysis.skin == '') {
1530
+        const obj30 = '皮肤'
1531
+        checkdata.push(obj30)
1532
+      } if (this.predialysis.is_hemorrhage == 0) {
1533
+        const obj31 = '是否出血'
1534
+        checkdata.push(obj31)
1535
+      } if (this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == "") {
1536
+        const obj32 = '出血影响因素'
1537
+        checkdata.push(obj32)
1538
+      } if (this.predialysis.special_medicine_other == '') {
1539
+        const obj33 = '使用特殊药物'
1540
+        checkdata.push(obj33)
1541
+      } if (this.receiverTreatmentAccess.danger_level == 0) {
1542
+        const obj34 = '跌倒风险'
1543
+        checkdata.push(obj34)
1544
+      } if (this.receiverTreatmentAccess.precaution == '') {
1545
+        const obj35 = '跌倒风险预防措施'
1546
+        checkdata.push(obj35)
1547
+      } if (this.nursing_record == '') {
1548
+        const obj36 = '透析护理记录'
1549
+        checkdata.push(obj36)
1550
+      } if (this.afterdialysis.dialysis_process == 0) {
1551
+        const obj37 = '透析过程'
1552
+        checkdata.push(obj37)
1553
+      } if (this.afterdialysis.complication == "") {
1554
+        const obj38 = '透后并发症'
1555
+        checkdata.push(obj38)
1556
+      } if (this.afterdialysis.actual_displacement == 0) {
1557
+        const obj39 = '实际置换量'
1558
+        checkdata.push(obj39)
1559
+      } if (this.afterdialysis.internal_fistula == "") {
1560
+        const obj40 = '内瘘搏动及震颤音'
1561
+        checkdata.push(obj40)
1562
+      } if (this.afterdialysis.cruor == "") {
1563
+        const obj41 = '透析器及管路凝血情况'
1564
+        checkdata.push(obj41)
1565
+      } if (this.afterdialysis.is_eat == 0) {
1566
+        const obj42 = '透析中进食'
1567
+        checkdata.push(obj42)
1568
+      } if (this.afterdialysis.patient_gose == 0) {
1569
+        const obj43 = '患者去向'
1570
+        checkdata.push(obj43)
1571
+      } if (this.finshForm.finish_nurse == "") {
1572
+        const obj44 = '下机护士'
1573
+        checkdata.push(obj44)
1574
+      } if (this.special_record == "") {
1575
+        const obj45 = '特殊记录'
1576
+        checkdata.push(obj45)
1577
+      } if (this.tableAdvice.length > 0) {
1578
+        this.tableAdvice.map(item => {
1579
+          if (item.id > 0 && (item.created_time || item.start_time)) {
1580
+            if(item.execution_staff ==0 || item.advice_doctor==0){
1581
+              const obj46 = '执行人员,医生签名'
1582
+              checkdata.push(obj46)
1589 1583
             }
1584
+          }
1590 1585
         })
1586
+      }
1587
+      if (this.monitors.length > 0) {
1588
+        for(let i in this.monitors){
1589
+          if(this.monitors[i].systolic_blood_pressure=='' || this.monitors[i].diastolic_blood_pressure==''){
1590
+            const obj47='监测第'+((i*1)+1)+'行血压'
1591
+            checkdata.push(obj47)
1592
+          }
1593
+          if(this.monitors[i].pulse_frequency==''){
1594
+            const obj48='监测第'+((i*1)+1)+'行心率'
1595
+            checkdata.push(obj48)
1596
+          }
1597
+          
1598
+          if(this.monitors[i].blood_flow_volume==''){
1599
+            const obj49='监测第'+((i*1)+1)+'行血流量'
1600
+            checkdata.push(obj49)
1601
+          }
1602
+          if(this.monitors[i].venous_pressure==''){
1603
+            const obj50='监测第'+((i*1)+1)+'行静脉压'
1604
+            checkdata.push(obj50)
1605
+          }
1606
+          if(this.monitors[i].arterial_pressure==''){
1607
+            const obj51='监测第'+((i*1)+1)+'行动脉压'
1608
+            checkdata.push(obj51)
1609
+          }
1610
+          if(this.monitors[i].transmembrane_pressure==''){
1611
+            const obj52='监测第'+((i*1)+1)+'行TMP'
1612
+            checkdata.push(obj52)
1613
+          }
1614
+          if(this.monitors[i].ultrafiltration_rate==''){
1615
+            const obj53='监测第'+((i*1)+1)+'行超滤率'
1616
+            checkdata.push(obj53)
1617
+          }
1618
+          if(this.monitors[i].ultrafiltration_volume==''){
1619
+            const obj54='监测第'+((i*1)+1)+'行超滤量'
1620
+            checkdata.push(obj54)
1621
+          }
1622
+          
1623
+          
1624
+          // if(this.monitors[i].conductivity==''){
1625
+          //   const obj50='监测第'+((i*1)+1)+'行电导度'
1626
+          //   checkdata.push(obj50)
1627
+          // }
1628
+          // if(this.monitors[i].dialysate_temperature==''){
1629
+          //   const obj51='监测第'+((i*1)+1)+'行液温'
1630
+          //   checkdata.push(obj51)
1631
+          // }
1591 1632
         }
1592
-        
1593
-        if(num == 0){
1594
-          this.$message.success('核对完成')
1595
-        }
1596
-      }else{
1597
-        this.$message.success('核对完成')
1598 1633
       }
1634
+      this.getcheckData(checkdata)
1599 1635
     },
1600 1636
     getAdminUser(id) {
1601 1637
       if (id == 0) {
@@ -2271,6 +2307,18 @@ export default {
2271 2307
           return this.vascularAccess[i].name
2272 2308
         }
2273 2309
       }
2310
+    },
2311
+    getcheckData(val){
2312
+      if(val.length >0){
2313
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
2314
+        this.$alert(message, '提示', {
2315
+          confirmButtonText: '确定',
2316
+          type: 'warning',
2317
+          dangerouslyUseHTMLString: true,
2318
+        });
2319
+      }else{
2320
+        this.$message.success('核对完成')
2321
+      }
2274 2322
     }
2275 2323
   },
2276 2324
   watch: {

+ 7 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue 查看文件

@@ -323,11 +323,13 @@
323 323
             <div style="flex: 1;">
324 324
               <div style="display: inline-block;margin-right: 120px;">
325 325
                 <span style="display: inline-block;">医生签名:</span>杨能华/
326
-                <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
327
-                  {{ getAdminUser(prescription.creater)}}
328
-                </span>
329
-                <span style="display: inline-block;" v-else>
330
-                  <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt srcset />
326
+                <span v-if="tableAdvice.length>0">
327
+                  <span style="display: inline-block;" v-if="setAdminUserES(tableAdvice[0].advice_doctor) == ''">
328
+                    {{ getAdminUser(tableAdvice[0].advice_doctor)}}
329
+                  </span>
330
+                  <span style="display: inline-block;" v-else>
331
+                    <img style="height:30px;" :src="setAdminUserES(tableAdvice[0].advice_doctor)" alt srcset />
332
+                  </span>
331 333
                 </span>
332 334
               </div>
333 335
             </div>

+ 4 - 2
src/xt_pages/role/components/AdminInfoForm.vue 查看文件

@@ -461,7 +461,8 @@ export default {
461 461
         { index: 2, name: '医生' },
462 462
         { index: 3, name: '护士' },
463 463
         { index: 4, name: '行政' },
464
-        { index: 5, name: '其他' }
464
+        { index: 5, name: '其他' },
465
+        { index: 6, name: '药师' }
465 466
       ],
466 467
       user_titles: [
467 468
         { index: 1, name: '医士' },
@@ -476,7 +477,8 @@ export default {
476 477
         { index: 10, name: '副主任护师' },
477 478
         { index: 11, name: '主任护师' },
478 479
         { index: 12, name: '运营专员' },
479
-        { index: 13, name: '运营主管' }
480
+        { index: 13, name: '运营主管' },
481
+        { index: 14, name: '其他' }
480 482
       ],
481 483
       roles: [], // [{id, name, intro, status}]
482 484
       loading: true,

+ 1 - 0
src/xt_pages/role/components/EditAdminInfo.vue 查看文件

@@ -90,6 +90,7 @@ export default {
90 90
                 { index: 11, name: '主任护师' },
91 91
                 { index: 12, name: '运营专员' },
92 92
                 { index: 13, name: '运营主管' },
93
+                {  index:14, name:  "其他"}
93 94
             ],
94 95
             roles: [], // [{id, name, intro, status}]
95 96
             loading: true,

+ 5 - 7
src/xt_pages/stock/drugs/drugStockFlow.vue 查看文件

@@ -708,21 +708,19 @@
708 708
             }
709 709
 
710 710
            
711
-            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number) >0)){
712
-            
711
+            if((this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7 ) && (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number) >0)){
712
+             
713
+              console.log("hhhhhhhhhhhhhhhhhhhhhh1111")
713 714
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.min_unit
714 715
               
715 716
             }
716 717
 
717
-            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
718
-             
718
+            if((this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7)  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
719
+              console.log("hhhhhhhhhhhhhhhhhhhhhh2222")
719 720
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.max_unit
720 721
              
721 722
             }
722 723
 
723
-            
724
-
725
-
726 724
 
727 725
             if(this.tableList[i].price>0){
728 726
               this.tableList[i].total_price = this.tableList[i].price