Browse Source

新分支

28169 1 year ago
parent
commit
6c1ab45474

+ 1 - 0
src/api/advice.js View File

164
 }
164
 }
165
 
165
 
166
 export function CreateExecutionFrequency(data) {
166
 export function CreateExecutionFrequency(data) {
167
+  console.log("data",data)
167
   return request({
168
   return request({
168
     url: '/api/executionfrequency/create',
169
     url: '/api/executionfrequency/create',
169
     method: 'post',
170
     method: 'post',

+ 20 - 2
src/xt_pages/data/druguseTemplate.vue View File

1270
                   <el-input v-model="efForm.code" placeholder="编码"></el-input>
1270
                   <el-input v-model="efForm.code" placeholder="编码"></el-input>
1271
                 </el-form-item>
1271
                 </el-form-item>
1272
 
1272
 
1273
+                <el-form-item label="换算数量 :" >
1274
+                  <el-input v-model="efForm.count" placeholder="数量" type="number"></el-input>
1275
+                </el-form-item>
1276
+
1273
 
1277
 
1274
               </el-form>
1278
               </el-form>
1275
               <div slot="footer" class="dialog-footer">
1279
               <div slot="footer" class="dialog-footer">
1461
           name: '',
1465
           name: '',
1462
           id: 0,
1466
           id: 0,
1463
           code: "",
1467
           code: "",
1468
+          count:0,
1464
         },
1469
         },
1465
 
1470
 
1466
         drugforms: [
1471
         drugforms: [
2002
       },
2007
       },
2003
 
2008
 
2004
       handleUpdateDrugWay(row, index) {
2009
       handleUpdateDrugWay(row, index) {
2010
+        console.log("rwo-----",row)
2005
         console.log(row.code)
2011
         console.log(row.code)
2006
         this.currentIndex = index
2012
         this.currentIndex = index
2007
         this.drugwayForm = {
2013
         this.drugwayForm = {
2090
         this.isEdit = false
2096
         this.isEdit = false
2091
       },
2097
       },
2092
       handleUpdateEF(row, index) {
2098
       handleUpdateEF(row, index) {
2099
+        console.log("row=======",row)
2093
         this.currentIndex = index
2100
         this.currentIndex = index
2094
         this.efForm = {
2101
         this.efForm = {
2095
           name: row.name,
2102
           name: row.name,
2096
           id: row.id,
2103
           id: row.id,
2097
-          code: row.code
2104
+          code: row.code,
2105
+          count:row.count,
2098
         }
2106
         }
2099
 
2107
 
2100
         this.efFormVisible = true
2108
         this.efFormVisible = true
2105
         this.$refs[formName].validate(valid => {
2113
         this.$refs[formName].validate(valid => {
2106
           if (valid) {
2114
           if (valid) {
2107
             if (this.isEdit) {
2115
             if (this.isEdit) {
2116
+              if(this.efForm.count >0){
2117
+                this.efForm.count = parseInt(this.efForm.count)
2118
+              }else{
2119
+                this.efForm.count =1
2120
+              }
2108
               UpdateExecutionFrequency(this.efForm.id, this.efForm).then(
2121
               UpdateExecutionFrequency(this.efForm.id, this.efForm).then(
2109
                 response => {
2122
                 response => {
2110
                   if (response.data.state == 0) {
2123
                   if (response.data.state == 0) {
2127
                 }
2140
                 }
2128
               )
2141
               )
2129
             } else {
2142
             } else {
2143
+              if(this.efForm.count >0){
2144
+                this.efForm.count = parseInt(this.efForm.count)
2145
+              }else{
2146
+                this.efForm.count =1
2147
+              }
2130
               CreateExecutionFrequency(this.efForm).then(response => {
2148
               CreateExecutionFrequency(this.efForm).then(response => {
2131
                 if (response.data.state == 0) {
2149
                 if (response.data.state == 0) {
2132
                   this.$message.error(response.data.msg)
2150
                   this.$message.error(response.data.msg)
2709
         this.sameRowArr = sameRowArr
2727
         this.sameRowArr = sameRowArr
2710
       },
2728
       },
2711
        handleUpdateAdviceTemplate(row, index) {
2729
        handleUpdateAdviceTemplate(row, index) {
2712
-
2730
+        console.log("row---------",row)
2713
         this.current_template_id = row.template_id
2731
         this.current_template_id = row.template_id
2714
         this.current_template_name = row.name
2732
         this.current_template_name = row.name
2715
         this.form.name = row.name
2733
         this.form.name = row.name

+ 4 - 4
src/xt_pages/dialysis/longSignPrint.vue View File

32
                             规格:{{it.advice_desc}} {{ it.drug_spec_unit }}
32
                             规格:{{it.advice_desc}} {{ it.drug_spec_unit }}
33
                             
33
                             
34
                             </div>  
34
                             </div>  
35
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223 || org_id ==10617) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
36
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
38
                             <div v-if="org_id == 0 || org_id==10223">
38
                             <div v-if="org_id == 0 || org_id==10223">
39
-                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
+                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
40
                                 <span>核对者:</span>
40
                                 <span>核对者:</span>
41
                            </div> 
41
                            </div> 
42
                              
42
                              
53
                             规格:{{getSpecialName(its.drug_id)}} 
53
                             规格:{{getSpecialName(its.drug_id)}} 
54
                             
54
                             
55
                             </div>  
55
                             </div>  
56
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
56
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223  || org_id ==10617">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
57
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
57
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
58
                             <div>给药途径:{{its.delivery_way}}</div>  
58
                             <div>给药途径:{{its.delivery_way}}</div>  
59
                             <div v-if="org_id == 0 || org_id==10223">
59
                             <div v-if="org_id == 0 || org_id==10223">
60
-                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60
+                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
61
                                 <span>核对者:</span>
61
                                 <span>核对者:</span>
62
                            </div> 
62
                            </div> 
63
                         </div>
63
                         </div>

+ 4 - 4
src/xt_pages/dialysis/signPrint.vue View File

31
                             <div v-if="org_id ==0 || org_id ==10223">
31
                             <div v-if="org_id ==0 || org_id ==10223">
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33
                             </div> 
33
                             </div> 
34
-                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
34
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
35
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
36
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id == 0 || org_id==10223">
37
                             <div v-if="org_id == 0 || org_id==10223">
38
-                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
38
+                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
                                 <span>核对者:</span>
39
                                 <span>核对者:</span>
40
                            </div> 
40
                            </div> 
41
                              
41
                              
52
                             规格:{{getSpecialName(its.drug_id)}} 
52
                             规格:{{getSpecialName(its.drug_id)}} 
53
                             
53
                             
54
                             </div>  
54
                             </div>  
55
-                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
55
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
56
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
56
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
57
                             <div>给药途径:{{its.delivery_way}}</div>  
57
                             <div>给药途径:{{its.delivery_way}}</div>  
58
                             <div v-if="org_id == 0 || org_id==10223">
58
                             <div v-if="org_id == 0 || org_id==10223">
59
-                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
59
+                                <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60
                                 <span>核对者:</span>
60
                                 <span>核对者:</span>
61
                            </div> 
61
                            </div> 
62
                         </div>
62
                         </div>

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

1695
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1695
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1696
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1696
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1697
                               <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1697
                               <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1698
-                              <span v-if="org_id ==10617 && (monindex != monitors.length-1 || monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>    
1698
+                              <span v-if="org_id ==10617 && (monindex != monitors.length-1 && monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>    
1699
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1699
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1700
                            </span>
1700
                            </span>
1701
                         </td>
1701
                         </td>

+ 8 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

197
                     <span v-if="prescription.anticoagulant == 10">iu</span>
197
                     <span v-if="prescription.anticoagulant == 10">iu</span>
198
                     <span v-if="prescription.anticoagulant == 11">iu</span>
198
                     <span v-if="prescription.anticoagulant == 11">iu</span>
199
                     <span v-if="prescription.anticoagulant == 13">iu</span>
199
                     <span v-if="prescription.anticoagulant == 13">iu</span>
200
+                    <span v-if="prescription.anticoagulant == 17">mg</span>
200
                   </span>
201
                   </span>
201
                   维持:{{prescription.anticoagulant_weichi? prescription.anticoagulant_weichi : ""}}
202
                   维持:{{prescription.anticoagulant_weichi? prescription.anticoagulant_weichi : ""}}
202
                   <span v-if="prescription.anticoagulant == 2">mg/h</span>
203
                   <span v-if="prescription.anticoagulant == 2">mg/h</span>
210
                   <span v-if="prescription.anticoagulant == 10">iu/h</span>
211
                   <span v-if="prescription.anticoagulant == 10">iu/h</span>
211
                   <span v-if="prescription.anticoagulant == 11">iu/h</span>
212
                   <span v-if="prescription.anticoagulant == 11">iu/h</span>
212
                   <span v-if="prescription.anticoagulant == 13">iu/h</span>
213
                   <span v-if="prescription.anticoagulant == 13">iu/h</span>
214
+                  <span v-if="prescription.anticoagulant == 17">mg/h</span>
213
                   总量:{{prescription.anticoagulant_zongliang? prescription.anticoagulant_zongliang: ""}}
215
                   总量:{{prescription.anticoagulant_zongliang? prescription.anticoagulant_zongliang: ""}}
214
                   <span v-if="prescription.anticoagulant == 2">mg</span>
216
                   <span v-if="prescription.anticoagulant == 2">mg</span>
215
                   <span v-if="prescription.anticoagulant == 3">iu</span>
217
                   <span v-if="prescription.anticoagulant == 3">iu</span>
220
                   <span v-if="prescription.anticoagulant == 8">iu</span>
222
                   <span v-if="prescription.anticoagulant == 8">iu</span>
221
                   <span v-if="prescription.anticoagulant == 9">iu</span>
223
                   <span v-if="prescription.anticoagulant == 9">iu</span>
222
                   <span v-if="prescription.anticoagulant == 10">iu</span>
224
                   <span v-if="prescription.anticoagulant == 10">iu</span>
223
-                <span v-if="prescription.anticoagulant == 11">iu</span>
224
-                <span v-if="prescription.anticoagulant == 13">iu</span>
225
+                  <span v-if="prescription.anticoagulant == 11">iu</span>
226
+                  <span v-if="prescription.anticoagulant == 13">iu</span>
227
+                  <span v-if="prescription.anticoagulant == 17">mg</span>
225
                 </td>
228
                 </td>
226
               </tr>
229
               </tr>
227
               <tr>
230
               <tr>
522
                 </td>
525
                 </td>
523
                 <td width="5%">医生:</td>
526
                 <td width="5%">医生:</td>
524
                 <td width="10%">
527
                 <td width="10%">
525
-                  <span>{{getAdminUser(prescription.creater)}}</span>
528
+                  <!-- <span>{{getAdminUser(prescription.creater)}}</span> -->
529
+                  <span v-if="doctor_advices[0]!=null&&doctor_advices[0].advice_doctor>0">{{ getAdminUser(doctor_advices[0].advice_doctor) }}</span> 
530
+                  <span v-if="doctor_advices[0]!=null&&doctor_advices[0].advice_doctor==0">{{getAdminUser(prescription.creater)}}</span>
526
                   <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
531
                   <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
527
                 </td>
532
                 </td>
528
               </tr>
533
               </tr>

+ 11 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

514
 
514
 
515
       },
515
       },
516
       getAllChangeTwo(scope) {
516
       getAllChangeTwo(scope) {
517
+        console.log("战国阿道夫阿道夫阿道夫",scope)
517
         if (this.prescription.is_medicine_status){
518
         if (this.prescription.is_medicine_status){
518
           this.$message.error('该处方包含已发药的药品,无法修改')
519
           this.$message.error('该处方包含已发药的药品,无法修改')
519
           return
520
           return
681
 
682
 
682
       },
683
       },
683
       getNum(execution_frequency) {
684
       getNum(execution_frequency) {
685
+       
684
         let arr = [
686
         let arr = [
685
           { name: '立即执行', count: 1 },
687
           { name: '立即执行', count: 1 },
686
           { name: '透析时', count: 1 },
688
           { name: '透析时', count: 1 },
705
           { name: '每六小时一次', count: 4 },
707
           { name: '每六小时一次', count: 4 },
706
           { name: '每八小时一次', count: 3 }
708
           { name: '每八小时一次', count: 3 }
707
         ]
709
         ]
710
+       if(this.efs!=null && this.efs.length >0){
711
+          for(let i=0;i<this.efs.length;i++){
712
+             arr.push(this.efs[i])
713
+          }
714
+       }
715
+      
708
         let num = ''
716
         let num = ''
709
         arr.map(item => {
717
         arr.map(item => {
710
           if (item.name == execution_frequency) {
718
           if (item.name == execution_frequency) {
714
         if (num == '') {
722
         if (num == '') {
715
           num = 1
723
           num = 1
716
         }
724
         }
725
+        console.log("numerreerr",num)
717
         return num
726
         return num
718
       },
727
       },
719
       getAllIndex(val){
728
       getAllIndex(val){
737
 
746
 
738
         if(this.prescription.advices!=null && this.prescription.advices.length>0){
747
         if(this.prescription.advices!=null && this.prescription.advices.length>0){
739
            for(let i=0;i<this.prescription.advices.length;i++){
748
            for(let i=0;i<this.prescription.advices.length;i++){
740
-            if(obj.id == parseInt(val.id)){
749
+            if(this.prescription.advices[i].id == parseInt(val.id)){
750
+              console.log("进啦")
741
               this.prescription.advices[i].delivery_way = obj.delivery_way
751
               this.prescription.advices[i].delivery_way = obj.delivery_way
742
               this.prescription.advices[i].execution_frequency =obj.execution_frequency
752
               this.prescription.advices[i].execution_frequency =obj.execution_frequency
743
               this.prescription.advices[i].day = obj.day
753
               this.prescription.advices[i].day = obj.day

+ 1 - 0
src/xt_pages/user/Informed/components/Falloutbedprint.vue View File

15
         <div id="print_content">
15
         <div id="print_content">
16
           <div class="print_page_main_content">
16
           <div class="print_page_main_content">
17
             <div class="content">
17
             <div class="content">
18
+                
18
                 <h2 style="text-align: center;">人脸识别知情同意书</h2>
19
                 <h2 style="text-align: center;">人脸识别知情同意书</h2>
19
                 <!-- <div style="display: inline-block;border: 1px solid black;width: 20px;height: 20px;"></div> -->
20
                 <!-- <div style="display: inline-block;border: 1px solid black;width: 20px;height: 20px;"></div> -->
20
                 <div style="text-align: right;">
21
                 <div style="text-align: right;">