Browse Source

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

yq1 4 months ago
parent
commit
3dead0685f

+ 51 - 4
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

11
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
11
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
12
       <el-form ref="form" :model="form" label-width="160px">
12
       <el-form ref="form" :model="form" label-width="160px">
13
         <el-row :gutter="20">
13
         <el-row :gutter="20">
14
+         
15
+          <el-col :span="8" >
16
+            <el-form-item
17
+              label="透后时间 :"
18
+              style="width: 350px"
19
+              :prop="isName('透后时间')"
20
+              v-if="org_id == 0 || org_id ==10599"
21
+            >
22
+              <el-date-picker
23
+                type="datetime"
24
+                format="yyyy-MM-dd HH:mm"
25
+                value-format="yyyy-MM-dd HH:mm"
26
+                placeholder="选择时间"
27
+                v-model="form.start_time"
28
+                style="width: 100%"
29
+              ></el-date-picker>
30
+            </el-form-item>
31
+          </el-col>
32
+
14
           <el-col :span="8" v-if="isShow('实际治疗时长')">
33
           <el-col :span="8" v-if="isShow('实际治疗时长')">
15
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
34
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
16
 
35
 
362
           </el-form-item>
381
           </el-form-item>
363
         </el-col>
382
         </el-col>
364
 
383
 
365
-        <el-col :span="8" v-if="isShow('透后症状')">
384
+        <el-col :span="8" v-if="isShow('透后症状') && org_id !=0 && org_id != 10721">
366
           <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
385
           <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
367
             <el-input
386
             <el-input
368
               v-model="form.symptom_after_dialysis"
387
               v-model="form.symptom_after_dialysis"
372
           </el-form-item>
391
           </el-form-item>
373
         </el-col>
392
         </el-col>
374
 
393
 
394
+        <el-col :span="8" v-if="(org_id == 0 || org_id == 10721)">
395
+          <el-form-item label="透后症状: ">
396
+            <el-input v-model="form.symptom_after_dialysis_remark"></el-input>
397
+          </el-form-item>
398
+         
399
+        </el-col>
400
+
375
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
401
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
376
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
402
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
377
             <el-input v-model="form.dialysis_intakes"></el-input>
403
             <el-input v-model="form.dialysis_intakes"></el-input>
733
 import { uParseTime } from '@/utils/tools'
759
 import { uParseTime } from '@/utils/tools'
734
 import store from '@/store'
760
 import store from '@/store'
735
 import { parseTime } from '@/utils'
761
 import { parseTime } from '@/utils'
736
-
762
+const moment = require('moment');
737
 import request from '@/utils/request'
763
 import request from '@/utils/request'
738
 
764
 
739
 export default {
765
 export default {
907
         last_after_weight:"",
933
         last_after_weight:"",
908
         displace_liqui_value:"",
934
         displace_liqui_value:"",
909
         after_weight:"",
935
         after_weight:"",
936
+        symptom_after_dialysis_remark:"",
937
+        start_time:""
910
       },
938
       },
911
       lapseList:[],
939
       lapseList:[],
912
       leaveOfficeMethod:[],
940
       leaveOfficeMethod:[],
1058
     }
1086
     }
1059
   },
1087
   },
1060
   methods: {
1088
   methods: {
1089
+    getTimeOne (time) {
1090
+      return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
1091
+    },
1061
     isName(name) {
1092
     isName(name) {
1062
       let filedList = store.getters.xt_user.fileds;
1093
       let filedList = store.getters.xt_user.fileds;
1063
       for (let i = 0; i < filedList.length; i++) {
1094
       for (let i = 0; i < filedList.length; i++) {
1174
 
1205
 
1175
           ParamsQuery['patient'] = this.patient.id
1206
           ParamsQuery['patient'] = this.patient.id
1176
           ParamsQuery['record_date'] = this.record_date
1207
           ParamsQuery['record_date'] = this.record_date
1208
+          if(this.form.start_time == ""){
1209
+            ParamsQuery["record_time"] =  moment().format('YYYY-MM-DD HH:mm:ss')
1210
+          }else{
1211
+            ParamsQuery["record_time"] = this.form.start_time
1212
+          }
1213
+        
1177
           ParamsQuery['mode'] = '1'
1214
           ParamsQuery['mode'] = '1'
1178
           if (this.assessment_after_dislysis.creater > 0) {
1215
           if (this.assessment_after_dislysis.creater > 0) {
1179
             ParamsQuery['mode'] = '2'
1216
             ParamsQuery['mode'] = '2'
1261
           data["transfusion_volume"] = this.form.transfusion_volume
1298
           data["transfusion_volume"] = this.form.transfusion_volume
1262
           data["condenser"] = this.form.condenser
1299
           data["condenser"] = this.form.condenser
1263
           data['displace_liqui_value'] = this.form.displace_liqui_value
1300
           data['displace_liqui_value'] = this.form.displace_liqui_value
1301
+        
1302
+          data["symptom_after_dialysis_remark"] = this.form.symptom_after_dialysis_remark
1303
+        
1304
+        
1264
           if(this.form.last_after_weight >0){
1305
           if(this.form.last_after_weight >0){
1265
             data["last_after_weight"] = this.form.last_after_weight.toString()
1306
             data["last_after_weight"] = this.form.last_after_weight.toString()
1266
           }else{
1307
           }else{
1454
     // 数据开始
1495
     // 数据开始
1455
     show(predialysis,last_after) {
1496
     show(predialysis,last_after) {
1456
       console.log("头号好地方阿道夫地方阿道夫阿道夫",this.last_monitor)
1497
       console.log("头号好地方阿道夫地方阿道夫阿道夫",this.last_monitor)
1457
-
1498
+      
1499
+      if(this.assessment_after_dislysis!=null && this.assessment_after_dislysis.id>0){
1500
+         this.form.start_time = this.getTimeOne(this.assessment_after_dislysis.record_time) 
1501
+      }
1502
+     
1503
+      
1458
       if(this.$store.getters.xt_user.template_info.org_id == 10679){
1504
       if(this.$store.getters.xt_user.template_info.org_id == 10679){
1459
         if(this.form.systolic_blood_pressure == 0){
1505
         if(this.form.systolic_blood_pressure == 0){
1460
            this.form.systolic_blood_pressure = this.last_monitor.systolic_blood_pressure
1506
            this.form.systolic_blood_pressure = this.last_monitor.systolic_blood_pressure
1471
         if(this.form.pulse_frequency == 0){
1517
         if(this.form.pulse_frequency == 0){
1472
           this.form.pulse_frequency = this.last_monitor.pulse_frequency
1518
           this.form.pulse_frequency = this.last_monitor.pulse_frequency
1473
         }
1519
         }
1520
+       
1474
 
1521
 
1475
       }
1522
       }
1476
       this.isVisibility = true
1523
       this.isVisibility = true
1650
   },
1697
   },
1651
   created() {
1698
   created() {
1652
     // console.log("this.form", this.form.consciousness);
1699
     // console.log("this.form", this.form.consciousness);
1653
-
1700
+     
1654
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1701
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1655
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1702
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1656
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1703
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')

+ 55 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

202
                     </el-col>
202
                     </el-col>
203
 
203
 
204
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
204
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
205
-                        <el-form-item label="是否单超脱水:" prop="is_water" :rules="isCheckmust('是否单超脱水')">
205
+                        <el-form-item label="是否单超脱水:" prop="is_water">
206
                            <el-select v-model="dialysisPrescription.is_water">
206
                            <el-select v-model="dialysisPrescription.is_water">
207
                                 <el-option
207
                                 <el-option
208
                                         v-for="(item, index) in waterList"
208
                                         v-for="(item, index) in waterList"
214
                         </el-form-item>
214
                         </el-form-item>
215
                     </el-col>
215
                     </el-col>
216
 
216
 
217
+                    <el-col :span="8" >
218
+                        <el-form-item label="是否先超脱水:" prop="first_super" v-if="isShows('是否先超脱水')">
219
+                           <el-select v-model="dialysisPrescription.first_super">
220
+                                <el-option
221
+                                        v-for="(item, index) in waterListThree"
222
+                                        :label="item.name"
223
+                                        :value="item.id"
224
+                                        :key="index + 's'"
225
+                                ></el-option>
226
+                            </el-select>
227
+                        </el-form-item>
228
+                    </el-col>
229
+
230
+                    
231
+                    <el-col :span="8">
232
+                        <el-form-item label="是否序惯脱水:" prop="is_sequential"  v-if="isShows('是否序惯脱水')">
233
+                           <el-select v-model="dialysisPrescription.is_sequential">
234
+                                <el-option
235
+                                        v-for="(item, index) in waterListTwo"
236
+                                        :label="item.name"
237
+                                        :value="item.id"
238
+                                        :key="index + 't'"
239
+                                ></el-option>
240
+                            </el-select>
241
+                        </el-form-item>
242
+                    </el-col>
243
+
244
+                    <el-col :span="8">
245
+                        <el-form-item label="电导度(mS/cm):" prop="conduct">
246
+                            <el-input v-model="dialysisPrescription.conduct"></el-input>
247
+                        </el-form-item>
248
+                    </el-col>
249
+
250
+                    
251
+
217
 
252
 
218
                     <el-col :span="8" v-if="isShows('透析液')">
253
                     <el-col :span="8" v-if="isShows('透析液')">
219
                         <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
254
                         <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
1901
           washing_time:"",
1936
           washing_time:"",
1902
           blood_access_part_id:"",
1937
           blood_access_part_id:"",
1903
           anticoagulant_weichi_hour:"",
1938
           anticoagulant_weichi_hour:"",
1904
-          dialyzate:""
1939
+          dialyzate:"",
1940
+          first_super:0,
1941
+          is_sequential:0,
1942
+          conduct:""
1905
         },
1943
         },
1906
 
1944
 
1907
         anticoagulant: {
1945
         anticoagulant: {
1943
           {id:1,name:"是"},
1981
           {id:1,name:"是"},
1944
           {id:2,name:"否"}
1982
           {id:2,name:"否"}
1945
         ],
1983
         ],
1984
+        waterListOne:[
1985
+          {id:0,name:"请选择"},
1986
+          {id:1,name:"是"},
1987
+          {id:2,name:"否"}
1988
+        ],
1989
+        waterListTwo:[
1990
+          {id:0,name:"请选择"},
1991
+          {id:1,name:"是"},
1992
+          {id:2,name:"否"}
1993
+        ],
1994
+        waterListThree:[
1995
+          {id:0,name:"请选择"},
1996
+          {id:1,name:"是"},
1997
+          {id:2,name:"否"}
1998
+        ],
1946
         dialyzateList:[
1999
         dialyzateList:[
1947
           {id:0,name:"请选择"},
2000
           {id:0,name:"请选择"},
1948
           {id:1,name:"碳酸"},
2001
           {id:1,name:"碳酸"},

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

90
               <td style="line-height:50px">
90
               <td style="line-height:50px">
91
                 <span v-if="type == 1">{{(item.warehousing_count * item.price).toFixed(2)}}</span>
91
                 <span v-if="type == 1">{{(item.warehousing_count * item.price).toFixed(2)}}</span>
92
                 <span v-if="type == 2">
92
                 <span v-if="type == 2">
93
-                  <span v-if="org_id == 3907 || org_id ==9919 || org_id == 0 || org_id ==10402">
93
+                  <span v-if="org_id == 3907 || org_id ==9919 || org_id == 0 || org_id ==10402 || org_id == 10721 || org_id == 10726 || org_id == 10697">
94
                     <!-- {{(getStockCount(item.good_id) * item.buy_price).toFixed(2)}} -->
94
                     <!-- {{(getStockCount(item.good_id) * item.buy_price).toFixed(2)}} -->
95
                      {{(getMySelfCount(item.good_id) * item.buy_price).toFixed(2)}}
95
                      {{(getMySelfCount(item.good_id) * item.buy_price).toFixed(2)}}
96
                      
96
                      
97
                   </span>
97
                   </span>
98
-                  <span v-if="org_id == 10265 || org_id == 10215  ">{{(getMySelfCount(item.good_id)*item.packing_price).toFixed(2)}}</span>
98
+                  <span v-if="org_id == 10265 || org_id == 10215 || org_id == 10721 || org_id ==10726 || org_id == 10697 ">{{(getMySelfCount(item.good_id)*item.packing_price).toFixed(2)}}</span>
99
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191">{{(getWarehouseOut(item.good_id)*item.packing_price).toFixed(2)}}</span>
99
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191">{{(getWarehouseOut(item.good_id)*item.packing_price).toFixed(2)}}</span>
100
-                  <span v-if="org_id!=3907&&org_id!=10265&&org_id!=9919&&org_id!=10215&&org_id!=9671 && org_id!=9675 && org_id!=9679 && org_id!=10188 && org_id!=10217 && org_id!= 9956 && org_id!=10191 && org_id!=10402&& org_id!=0">{{(getStockCount(item.good_id) * item.packing_price).toFixed(2)}}</span>
100
+                  <span v-if="org_id!=3907&&org_id!=10265&&org_id!=9919&&org_id!=10215&&org_id!=9671 && org_id!=9675 && org_id!=9679 && org_id!=10188 && org_id!=10217 && org_id!= 9956 && org_id!=10191 && org_id!=10402&& org_id!=0 && org_id!=10721 && org_id!=10726 && org_id!=10697">{{(getStockCount(item.good_id) * item.packing_price).toFixed(2)}}</span>
101
                 </span>
101
                 </span>
102
                 <span v-if="type == 4">{{(item.count * item.price).toFixed(2)}}</span>
102
                 <span v-if="type == 4">{{(item.count * item.price).toFixed(2)}}</span>
103
               </td>
103
               </td>