浏览代码

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1年前
父节点
当前提交
a3a5d8f194

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

@@ -1655,7 +1655,7 @@
1655 1655
          ParamsQuery.whether_unobstructed = parseInt(ParamsQuery.whether_unobstructed)
1656 1656
          ParamsQuery.lien_necessary =  parseInt(ParamsQuery.lien_necessary)
1657 1657
 
1658
-         if(ParamsQuery.additional_weight >=30){
1658
+         if(ParamsQuery.additional_weight >=70){
1659 1659
              this.$message.error("衣物重异常,请重新填写!")
1660 1660
              return
1661 1661
          }

+ 4 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -1820,7 +1820,10 @@
1820 1820
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1821 1821
                            </span>
1822 1822
                         </td>
1823
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1823
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644"><br/>
1824
+                           <span v-if="org_id!=10644">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</span> 
1825
+                           <span v-if="org_id==10644">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1826
+                          </td>
1824 1827
                         <td
1825 1828
                           v-if="
1826 1829
                             (prescription.mode_id == 2 ||

+ 37 - 0
src/xt_pages/hospitalStation/summary.vue 查看文件

@@ -156,6 +156,13 @@
156 156
         <!--<el-table-column align="center" prop="name" label="患者类型">-->
157 157
         <!--<template slot-scope="scope"></template>-->
158 158
         <!--</el-table-column>-->
159
+        <el-table-column align="center" width="90" prop="name" label="患者性别">
160
+          <template slot-scope="scope">{{ scope.row.patient.gender == 1 ? '男':'女' }}</template>
161
+        </el-table-column>
162
+
163
+        <el-table-column align="center" width="90" prop="name" label="患者年龄">
164
+          <template slot-scope="scope">{{getAge(scope.row.patient.id_card_no)}}</template>
165
+        </el-table-column>
159 166
         <el-table-column align="center" prop="name" label="应收金额">
160 167
           <template slot-scope="scope">{{
161 168
             scope.row.medfee_sumamt.toFixed(2)
@@ -506,6 +513,19 @@ export default {
506 513
   },
507 514
 
508 515
   methods: {
516
+    getAge(UUserCard) {
517
+      if (UUserCard != null && UUserCard != '') {
518
+        //获取年龄
519
+        var myDate = new Date();
520
+        var month = myDate.getMonth() + 1;
521
+        var day = myDate.getDate();
522
+        var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
523
+        if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
524
+          age++;
525
+        }
526
+        return age;
527
+      }
528
+    },
509 529
     handleSelectionChange(val) {
510 530
       this.selecting_schs = val
511 531
     },
@@ -1077,6 +1097,17 @@ export default {
1077 1097
             let balance_accounts = "";
1078 1098
             let charge_name = "";
1079 1099
             let order_status = "";
1100
+            let  gender = ""
1101
+            let  age = 0
1102
+
1103
+            if(order.patient.gender == 1){
1104
+              gender = "男"
1105
+            }else{
1106
+              gender = "女"
1107
+            }
1108
+
1109
+            age = this.getAge(order.patient.id_card_no)
1110
+
1080 1111
 
1081 1112
             if (
1082 1113
               order.his_hospital_patient != null &&
@@ -1133,6 +1164,8 @@ export default {
1133 1164
               保地医保区: order.his_hospital_patient.insuplc_admdvs,
1134 1165
               身份证号: order.patient.id_card_no,
1135 1166
               患者姓名: name,
1167
+              患者性别: gender,
1168
+              患者年龄: age,
1136 1169
               险种: order.insutype,
1137 1170
               医疗类别: order.med_type,
1138 1171
               就诊id: number,
@@ -1172,6 +1205,8 @@ export default {
1172 1205
               "保地医保区",
1173 1206
               "身份证号",
1174 1207
               "患者姓名",
1208
+              "患者性别",
1209
+              "患者年龄",
1175 1210
               "险种",
1176 1211
               "医疗类别",
1177 1212
               "就诊id",
@@ -1208,6 +1243,8 @@ export default {
1208 1243
               "保地医保区",
1209 1244
               "身份证号",
1210 1245
               "患者姓名",
1246
+              "患者性别",
1247
+              "患者年龄",
1211 1248
               "险种",
1212 1249
               "医疗类别",
1213 1250
               "就诊id",

+ 47 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -1509,6 +1509,7 @@ export default {
1509 1509
         var hours = nowDate.getHours()
1510 1510
         var min = nowDate.getMinutes()
1511 1511
 
1512
+        var preTime = ""
1512 1513
         var nowTime =
1513 1514
           nowYear +
1514 1515
           '-' +
@@ -1516,7 +1517,19 @@ export default {
1516 1517
           '-' +
1517 1518
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
1518 1519
           ':' + (min < 10 ? '0' + min : min)
1519
-        this.prescriptions[i]['pre_time'] = nowTime
1520
+        if(nowTime.split(" ")[0] != this.record_date){
1521
+          if(this.org_id == 10206  || this.org_id == 0) {
1522
+            preTime = this.record_date+ ' '  + (hours < 10 ? '0' + hours : hours) +
1523
+              ':' + (min < 10 ? '0' + min : min)
1524
+          }else {
1525
+            preTime = this.record_date + ' ' + (hours < 10 ? '0' + hours : hours) +
1526
+              ':' + (min < 10 ? '0' + min : min)
1527
+          }
1528
+        } else {
1529
+          preTime = nowTime
1530
+        }
1531
+
1532
+        this.prescriptions[i]['pre_time'] = preTime
1520 1533
 
1521 1534
         this.prescriptions[i].name = '处方' + (i + 1)
1522 1535
         if (i == 0) {
@@ -1569,9 +1582,23 @@ export default {
1569 1582
         '-' +
1570 1583
         (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
1571 1584
         ':' + (min < 10 ? '0' + min : min)
1585
+      var preTime  = ""
1586
+      console.log(nowTime.split(" ")[0] )
1587
+      console.log(this.record_date)
1588
+
1589
+      if(nowTime.split(" ")[0] != this.record_date){
1590
+          preTime = this.record_date + ' ' + (hours < 10 ? '0' + hours : hours) +
1591
+            ':' + (min < 10 ? '0' + min : min)
1592
+      } else {
1593
+        preTime = nowTime
1594
+      }
1595
+
1596
+
1597
+
1598
+
1572 1599
       for (let i = 0; i < this.prescriptions.length; i++) {
1573 1600
         this.prescriptions[i].name = '处方' + (i + 1)
1574
-        this.prescriptions[i]['pre_time'] = nowTime
1601
+        this.prescriptions[i]['pre_time'] = preTime
1575 1602
 
1576 1603
         if (i == 0) {
1577 1604
           if (this.prescriptions[0].advices.length > 0 && this.prescriptions[0].project.length == 0) {
@@ -3226,6 +3253,23 @@ export default {
3226 3253
         '-' +
3227 3254
         (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
3228 3255
         ':' + (min < 10 ? '0' + min : min)
3256
+
3257
+
3258
+      var preTime  = ""
3259
+      console.log(nowTime.split(" ")[0] )
3260
+      console.log(this.record_date)
3261
+
3262
+      if(nowTime.split(" ")[0] != this.record_date){
3263
+
3264
+            preTime = this.record_date + ' ' + (hours < 10 ? '0' + hours : hours) +
3265
+              ':' + (min < 10 ? '0' + min : min)
3266
+
3267
+      } else {
3268
+        preTime = nowTime
3269
+      }
3270
+
3271
+
3272
+
3229 3273
       let obj = {
3230 3274
         id: 0,
3231 3275
         name: newTabName,
@@ -3233,7 +3277,7 @@ export default {
3233 3277
         advices: [],
3234 3278
         project: [],
3235 3279
         addition: [],
3236
-        pre_time: nowTime
3280
+        pre_time: preTime
3237 3281
 
3238 3282
       }
3239 3283
 

+ 2 - 2
src/xt_pages/stock/drugs/components/drugQuery.vue 查看文件

@@ -207,12 +207,12 @@
207 207
                     @click="handleBatch(scope.row)"
208 208
                     >批次
209 209
                     </el-button>
210
-                    <el-button
210
+                    <!-- <el-button
211 211
                       size="small"
212 212
                       type="primary"
213 213
                       @click="handleCheckBatch(scope.row)"
214 214
                       >自查
215
-                    </el-button>
215
+                    </el-button> -->
216 216
                 </template>
217 217
 
218 218
                  

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrder.vue 查看文件

@@ -456,7 +456,7 @@
456 456
 
457 457
            
458 458
           </el-table-column>
459
-          <el-table-column label="自查自检" align="center">
459
+          <!-- <el-table-column label="自查自检" align="center">
460 460
             <template slot-scope="scope">
461 461
               <span style="color: #589ff8" @click="getDrugPatientName(scope.row)"
462 462
                 >自查</span
@@ -464,7 +464,7 @@
464 464
             </template>
465 465
 
466 466
            
467
-          </el-table-column>
467
+          </el-table-column> -->
468 468
         </el-table>
469 469
       </div>
470 470
     </div>