Browse Source

新分支

28169 7 months ago
parent
commit
cd209f520e

+ 11 - 0
src/router/modules/patient.js View File

@@ -172,6 +172,17 @@ export default {
172 172
       noCache: true
173 173
     }
174 174
   },
175
+  {
176
+    path: '/patient/patient/:id/lapsoSummary',
177
+    component: () => import('@/xt_pages/user/lapsoSummary'),
178
+    hidden: true,
179
+    is_menu: false,
180
+    name: 'lapsoSummary',
181
+    meta: {
182
+      title: 'lapsoSummary',
183
+      noCache: true
184
+    }
185
+  },
175 186
   {
176 187
     path: '/patients/course',
177 188
     component: () => import('@/xt_pages/user/courseOfDisease'),

+ 125 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -3382,7 +3382,7 @@
3382 3382
 
3383 3383
 
3384 3384
                   </div>
3385
-                  <div v-if="org_id!=10440">
3385
+                  <div v-if="org_id ==10644">
3386 3386
                     <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
3387 3387
                       穿刺护士:
3388 3388
                       <div
@@ -3504,7 +3504,130 @@
3504 3504
                     </div>
3505 3505
                   </div>
3506 3506
 
3507
-                  <div v-if="org_id==0||org_id==10440">
3507
+
3508
+                  <div v-if="org_id !=10644 && org_id!=10440">
3509
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
3510
+                      穿刺护士:
3511
+                      <div
3512
+                        class="under_line"
3513
+                        style="width: 90px; text-align: center"
3514
+                      >
3515
+                        <span
3516
+                          style="height: 30px; display: inline-block"
3517
+                          v-if="
3518
+                            setAdminUserES(
3519
+                              dialysisOrder == null
3520
+                                ? 0
3521
+                                : dialysisOrder.puncture_nurse
3522
+                            ) == ''
3523
+                          "
3524
+                        >
3525
+                          {{
3526
+                            getAdminUser(
3527
+                              dialysisOrder == null
3528
+                                ? 0
3529
+                                : dialysisOrder.puncture_nurse
3530
+                            )
3531
+                          }}</span
3532
+                        >
3533
+                        <img
3534
+                          style="height: 35px"
3535
+                          :src="
3536
+                            setAdminUserES(
3537
+                              dialysisOrder == null
3538
+                                ? 0
3539
+                                : dialysisOrder.puncture_nurse
3540
+                            )
3541
+                          "
3542
+                          alt=""
3543
+                          srcset=""
3544
+                          v-else
3545
+                        />
3546
+                      </div>
3547
+                    </div>
3548
+
3549
+                    <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
3550
+                      穿刺护士:
3551
+
3552
+                      <div
3553
+                        class="under_line"
3554
+                        style="width: 90px; text-align: center"
3555
+                        v-if="org_id==10644"
3556
+                      >
3557
+                        <span
3558
+                          style="height: 30px; display: inline-block"
3559
+                          v-if="
3560
+                            setAdminUserES(
3561
+                              dialysisOrder == null
3562
+                                ? 0
3563
+                                : dialysisOrder.puncture_nurse
3564
+                            ) == ''
3565
+                          "
3566
+                        >
3567
+                          {{
3568
+                            getAdminUser(
3569
+                              dialysisOrder == null
3570
+                                ? 0
3571
+                                : dialysisOrder.puncture_nurse
3572
+                            )
3573
+                          }}</span
3574
+                        >
3575
+                        <img
3576
+                          style="height: 35px"
3577
+                          :src="
3578
+                            setAdminUserES(
3579
+                              dialysisOrder == null
3580
+                                ? 0
3581
+                                : dialysisOrder.puncture_nurse
3582
+                            )
3583
+                          "
3584
+                          alt=""
3585
+                          srcset=""
3586
+                          v-else
3587
+                        />
3588
+                      </div>
3589
+
3590
+                      <div
3591
+                        class="under_line"
3592
+                        style="width: 90px; text-align: center"
3593
+                        v-if="org_id!=10644"
3594
+                      >
3595
+                        <span
3596
+                          style="height: 30px; display: inline-block"
3597
+                          v-if="
3598
+                            setAdminUserES(
3599
+                              dialysisOrder == null
3600
+                                ? 0
3601
+                                : dialysisOrder.puncture_nurse
3602
+                            ) == ''
3603
+                          "
3604
+                        >
3605
+                          {{
3606
+                            getAdminUser(
3607
+                              dialysisOrder == null
3608
+                                ? 0
3609
+                                : dialysisOrder.puncture_nurse
3610
+                            )
3611
+                          }}</span
3612
+                        >
3613
+                        <img
3614
+                          style="height: 35px"
3615
+                          :src="
3616
+                            setAdminUserES(
3617
+                              dialysisOrder == null
3618
+                                ? 0
3619
+                                : dialysisOrder.puncture_nurse
3620
+                            )
3621
+                          "
3622
+                          alt=""
3623
+                          srcset=""
3624
+                          v-else
3625
+                        />
3626
+                      </div>
3627
+                    </div>
3628
+                  </div>
3629
+
3630
+                  <div v-if="org_id==10440">
3508 3631
 
3509 3632
                     <div class="inline_block" style="flex: 1">
3510 3633
                      <div>

+ 18 - 1
src/xt_pages/stock/selfPreparedMedicine/editWarehouseOut.vue View File

@@ -12,6 +12,7 @@
12 12
             size="small"
13 13
             type="primary"
14 14
             @click="submit()"
15
+            v-if="is_sys!=1 && is_check!=1"
15 16
             class="filter-item"
16 17
             >保 存</el-button
17 18
           >
@@ -36,7 +37,7 @@
36 37
       </div>
37 38
       <div class="app-container" v-loading="loading">
38 39
        
39
-        <div class="cell clearfix">
40
+        <div class="cell clearfix" v-if="is_sys == 0">
40 41
           <label class="title"
41 42
             ><span class="name"><span style="color: red">*</span>患者</span>
42 43
             :</label
@@ -637,6 +638,14 @@
637 638
         return name;
638 639
       },
639 640
       handleEdit: function (index, row) {
641
+        if(this.is_sys == 1){
642
+           this.$message.error("自动出库不能编辑!")
643
+           return
644
+        }
645
+        if(this.is_check == 1){
646
+           this.$message.error("自动出库不能编辑!")
647
+           return
648
+        }
640 649
         const tempObj = {};
641 650
         tempObj["id"] = 0;
642 651
         tempObj["drug_id"] = 0;
@@ -669,6 +678,14 @@
669 678
         this.recordInfo.recordData.push(tempObj);
670 679
       },
671 680
       handleDelete: function (index, row) {
681
+        if(this.is_sys == 1){
682
+         this.$message.error("自动出库不能删除!")
683
+         return
684
+        }
685
+        if(this.is_check == 1){
686
+          this.$message.error("已经审核不能删除!")
687
+          return
688
+        }
672 689
         if (this.recordInfo.recordData.length <= 1) {
673 690
           this.$message.error("只有一条记录的时候无法删除");
674 691
           return;

+ 2 - 2
src/xt_pages/stock/selfPreparedMedicine/warehouseOut.vue View File

@@ -164,11 +164,11 @@
164 164
           </template>
165 165
         </el-table-column>
166 166
 
167
-        <el-table-column label="患者名称" align="center">
167
+        <!-- <el-table-column label="患者名称" align="center">
168 168
           <template slot-scope="scope">
169 169
              {{getPatientName(scope.row.patient_id)}}
170 170
           </template>
171
-        </el-table-column>
171
+        </el-table-column> -->
172 172
 
173 173
         <el-table-column label="制单人" align="center">
174 174
           <template slot-scope="scope">

+ 15 - 8
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -179,7 +179,12 @@ export default {
179 179
             }, {
180 180
               name: '1-10',
181 181
               label: '出院小结'
182
-            }
182
+            },
183
+            // {
184
+            //   name: '1-12',
185
+            //   label: '转归记录'
186
+            // }
187
+
183 188
           ]
184 189
         },
185 190
         {
@@ -283,6 +288,7 @@ export default {
283 288
   },
284 289
   methods: {
285 290
     handleNodeClick(data) {
291
+      console.log("Data-----------",data.name)
286 292
       var name = data.name
287 293
       this.name = data.name
288 294
       window.sessionStorage.setItem('patientKey',data.name)
@@ -328,6 +334,8 @@ export default {
328 334
         this.$router.push({path:'/patient/patient/'+this.id+'/hospitalSummary'})
329 335
       } else if(name == '1-11'){
330 336
         this.$router.push({path:'/patient/patient/'+this.id+'/firstDisease'})
337
+      }else if(name == '1-12'){
338
+        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
331 339
       } else if(name == '3-1'){
332 340
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
333 341
 
@@ -496,9 +504,9 @@ export default {
496 504
     }
497 505
   },
498 506
   created() {
499
-    var patientKey =  window.sessionStorage.getItem('patientKey')
507
+    var patientKey = window.sessionStorage.getItem('patientKey')
508
+    console.log("patient-----------------",patientKey)
500 509
     this.org_id = this.$store.getters.xt_user.template_info.org_id
501
-    console.log("patient",patientKey)
502 510
     var query = this.$route.path
503 511
     console.log("query",this.$route.path)
504 512
     if(patientKey){
@@ -519,11 +527,10 @@ export default {
519 527
           path: '/patients/patient/' + this.id + '/dryWeight'
520 528
         })
521 529
       }else if(patientKey == '1-11'){
522
-       this.$router.push({
523
-          path: '/patients/patient/' + this.id + '/firstDisease'
524
-        })
525
-      }
526
-       else if (patientKey == '1-5') {
530
+       this.$router.push({path: '/patients/patient/' + this.id + '/firstDisease'})
531
+      }else if(patientKey == '1-12'){
532
+        this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
533
+      }else if (patientKey == '1-5') {
527 534
         this.$router.push({ path: '/patients/rescue?id=' + this.id })
528 535
       } else if (patientKey == '2-1') {
529 536
         this.$router.push({