瀏覽代碼

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

See999 4 年之前
父節點
當前提交
f0380007fd

+ 35 - 3
src/api/common/common.js 查看文件

47
 }
47
 }
48
 
48
 
49
 export function getConfigurationDetail(id, params) {
49
 export function getConfigurationDetail(id, params) {
50
+  console.log('id=====', id)
50
   return request({
51
   return request({
51
     url: 'com/api/getconfigurationdetail?id=' + id,
52
     url: 'com/api/getconfigurationdetail?id=' + id,
52
     method: 'get',
53
     method: 'get',
383
 }
384
 }
384
 
385
 
385
 export function getFirstQuarter(params) {
386
 export function getFirstQuarter(params) {
386
-  console.log('params', params)
387
+  // console.log('params', params)
387
   return request({
388
   return request({
388
     url: '/com/api/getfirstquarter',
389
     url: '/com/api/getfirstquarter',
389
     method: 'get',
390
     method: 'get',
415
     page: page,
416
     page: page,
416
     limit: limit
417
     limit: limit
417
   }
418
   }
418
-  console.log('params', params)
419
   return request({
419
   return request({
420
     url: '/com/api/getpatientscontrol',
420
     url: '/com/api/getpatientscontrol',
421
     method: 'get',
421
     method: 'get',
448
 }
448
 }
449
 
449
 
450
 export function GetQualityControl(params) {
450
 export function GetQualityControl(params) {
451
-  console.log('params是', params)
452
   return request({
451
   return request({
453
     url: '/com/api/getqualitycontrol',
452
     url: '/com/api/getqualitycontrol',
454
     method: 'Get',
453
     method: 'Get',
471
     params: params
470
     params: params
472
   })
471
   })
473
 }
472
 }
473
+
474
+export function getBloodPressureDetail(id, params) {
475
+  return request({
476
+    url: '/com/api/getbloodpressuredetail?id=' + id,
477
+    method: 'get',
478
+    params: params
479
+  })
480
+}
481
+
482
+export function UpdateBloodPrussre(id, data) {
483
+  console.log('data', data)
484
+  return request({
485
+    url: '/com/api/updatebloodprussre?id=' + id,
486
+    method: 'post',
487
+    data: data
488
+  })
489
+}
490
+
491
+export function getBloodPressureList(params) {
492
+  return request({
493
+    url: '/com/api/getbloodpressurelist',
494
+    method: 'get',
495
+    params: params
496
+  })
497
+}
498
+
499
+export function getMonthBloodList(params) {
500
+  return request({
501
+    url: '/com/api/getmonthbloodlist',
502
+    method: 'get',
503
+    params: params
504
+  })
505
+}

+ 4 - 2
src/xt_pages/dialysis/details/assessmentBefore.vue 查看文件

136
         </li>
136
         </li>
137
         <li v-if="isShow('穿刺方式')">
137
         <li v-if="isShow('穿刺方式')">
138
           <label>穿刺方式 : </label>
138
           <label>穿刺方式 : </label>
139
-          <span class="content">{{ getWay(this.record.puncture_way) }}</span>
139
+          <!-- <span class="content">{{ getWay(this.record.puncture_way) }}</span> -->
140
+           <span class="content">{{record.puncture_way}}</span>
140
         </li>
141
         </li>
141
         <li v-if="isShow('其他位置')">
142
         <li v-if="isShow('其他位置')">
142
           <label>其他位置</label>
143
           <label>其他位置</label>
261
 
262
 
262
         <li v-if="isShow('皮肤')">
263
         <li v-if="isShow('皮肤')">
263
           <label>皮肤:</label>
264
           <label>皮肤:</label>
264
-          <span class="content">{{ getSkin(this.record.skin) }}</span>
265
+          <!-- <span class="content">{{ getSkin(this.record.skin) }}</span> -->
266
+          <span class="content">{{this.record.skin}}</span>
265
           <span class="unit"></span>
267
           <span class="unit"></span>
266
         </li>
268
         </li>
267
 
269
 

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

227
                 <el-option label="有" value="1"></el-option>
227
                 <el-option label="有" value="1"></el-option>
228
                 <el-option label="无" value="2"></el-option>
228
                 <el-option label="无" value="2"></el-option>
229
               </el-select>
229
               </el-select>
230
+
231
+              <!-- <el-select v-model="assessmentBeforeDislysis.catheter_bend" placeholder="请选择">
232
+                <el-option
233
+                  v-for="item in catheters"
234
+                  :key="item.value"
235
+                  :label="item.label"
236
+                  :value="item.value">
237
+                </el-option>
238
+              </el-select> -->
230
             </el-form-item>
239
             </el-form-item>
231
           </el-col>
240
           </el-col>
232
 
241
 
247
 
256
 
248
           <el-col :span="8">
257
           <el-col :span="8">
249
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
258
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
250
-              <el-select v-model="assessmentBeforeDislysis.puncture_way">
259
+              <!-- <el-select v-model="assessmentBeforeDislysis.puncture_way">
251
                 <el-option :key="0" label="请选择" :value="0"></el-option>
260
                 <el-option :key="0" label="请选择" :value="0"></el-option>
252
 
261
 
253
                 <el-option v-for="item in this.puncture_ways" :label="item.name" :value="item.id"
262
                 <el-option v-for="item in this.puncture_ways" :label="item.name" :value="item.id"
254
                            :key="item.id"></el-option>
263
                            :key="item.id"></el-option>
255
-              </el-select>
264
+              </el-select> -->
265
+              <el-input v-model="assessmentBeforeDislysis.puncture_way" readonly
266
+                      @focus="showInnerDialog('13')">
267
+              </el-input>
256
             </el-form-item>
268
             </el-form-item>
257
           </el-col>
269
           </el-col>
258
 
270
 
264
                 <el-option label="是" value="1"></el-option>
276
                 <el-option label="是" value="1"></el-option>
265
                 <el-option label="否" value="2"></el-option>
277
                 <el-option label="否" value="2"></el-option>
266
               </el-select>
278
               </el-select>
279
+
280
+             <!-- <el-select v-model="assessmentBeforeDislysis.is_hemorrhage" placeholder="请选择">
281
+                <el-option
282
+                  v-for="item in hemorrhages"
283
+                  :key="item.value"
284
+                  :label="item.label"
285
+                  :value="item.value">
286
+                </el-option>
287
+              </el-select> -->
267
             </el-form-item>
288
             </el-form-item>
268
           </el-col>
289
           </el-col>
269
 
290
 
278
 
299
 
279
           <el-col :span="8" v-if="isShow('皮肤')">
300
           <el-col :span="8" v-if="isShow('皮肤')">
280
             <el-form-item label="皮肤: ">
301
             <el-form-item label="皮肤: ">
281
-              <el-select v-model="assessmentBeforeDislysis.skin">
302
+              <!-- <el-select v-model="assessmentBeforeDislysis.skin">
282
                 <el-option :key="0" label="请选择" :value="0"></el-option>
303
                 <el-option :key="0" label="请选择" :value="0"></el-option>
283
 
304
 
284
                 <el-option v-for="item in this.$store.getters.skin" :label="item.name" :value="item.id"
305
                 <el-option v-for="item in this.$store.getters.skin" :label="item.name" :value="item.id"
285
                            :key="item.id"></el-option>
306
                            :key="item.id"></el-option>
286
-              </el-select>
307
+              </el-select> -->
308
+             
309
+              <el-input v-model="assessmentBeforeDislysis.skin" readonly
310
+                      @focus="showInnerDialog('12')">
311
+              </el-input>
287
             </el-form-item>
312
             </el-form-item>
288
           </el-col>
313
           </el-col>
289
 
314
 
519
     name: 'assessment-after-dislysis-dialog',
544
     name: 'assessment-after-dislysis-dialog',
520
     data() {
545
     data() {
521
       return {
546
       return {
547
+        hemorrhages:[
548
+          {value:0,label:'请选择'},
549
+          {value:1,label: '是'},
550
+          {value:2,label: '否'},
551
+        ],
552
+        catheters:[
553
+          {value:0,label:'请选择'},
554
+          {value:1,label:'有'},
555
+          {value:2,label:'无'}
556
+          ],
522
         showTxt: '',
557
         showTxt: '',
523
         hasPermission: true,
558
         hasPermission: true,
524
         weight_adjust: {
559
         weight_adjust: {
604
           type: '' // 不同弹框类型,用来匹配数据
639
           type: '' // 不同弹框类型,用来匹配数据
605
         },
640
         },
606
         machineType: [],
641
         machineType: [],
607
-        puncture_ways: ''
642
+        puncture_ways: '',
643
+        skins:[]
608
 
644
 
609
       }
645
       }
610
     },
646
     },
646
       },
682
       },
647
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
683
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
648
         this.lastPredialysisEvaluation = last_predialysis_evaluation
684
         this.lastPredialysisEvaluation = last_predialysis_evaluation
649
-        console.log("22222222",this.lastPredialysisEvaluation)
685
+        if(this.lastPredialysisEvaluation.is_hemorrhage == 1){
686
+           this.lastPredialysisEvaluation.is_hemorrhage = "1"
687
+        }
688
+        if(this.lastPredialysisEvaluation.is_hemorrhage == 2){
689
+          this.lastPredialysisEvaluation.is_hemorrhage = "2"
690
+        }
691
+        if(this.lastPredialysisEvaluation.catheter_bend == 1){
692
+          this.lastPredialysisEvaluation.catheter_bend = "1"
693
+        }
694
+        if(this.lastPredialysisEvaluation.catheter_bend == 2){
695
+            this.lastPredialysisEvaluation.catheter_bend = "2"
696
+        }
697
+         console.log("22222222",this.lastPredialysisEvaluation)
698
+        // console.log("乐行",typeof(this.lastPredialysisEvaluation.is_hemorrhage))
650
         this.assessment = assessment
699
         this.assessment = assessment
651
         this.getPermission()
700
         this.getPermission()
652
         this.isVisibility = true
701
         this.isVisibility = true
804
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_needle
853
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_needle
805
             this.InnerDialogProps.isShowTextArea = false
854
             this.InnerDialogProps.isShowTextArea = false
806
 
855
 
856
+            break
857
+            case '12': // 皮肤
858
+            this.InnerDialogProps.values = this.skins
859
+            this.InnerDialogProps.titles = '皮肤'
860
+            this.InnerDialogProps.type = 'skin'
861
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.skin
862
+            this.InnerDialogProps.isShowTextArea = false
863
+
864
+            break
865
+            case '13': // 穿刺方式
866
+            this.InnerDialogProps.values =  this.puncture_ways
867
+            this.InnerDialogProps.titles = '穿刺方式'
868
+            this.InnerDialogProps.type = 'puncture_way'
869
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_way
870
+            this.InnerDialogProps.isShowTextArea = false
871
+
807
             break
872
             break
808
         }
873
         }
809
       },
874
       },
847
           case 'puncture_needle':
912
           case 'puncture_needle':
848
             this.assessmentBeforeDislysis.puncture_needle = val.value.join(',')
913
             this.assessmentBeforeDislysis.puncture_needle = val.value.join(',')
849
             break
914
             break
915
+          case 'skin':
916
+            this.assessmentBeforeDislysis.skin = val.value.join(',')
917
+            break
918
+          case 'puncture_way':
919
+            this.assessmentBeforeDislysis.puncture_way = val.value.join(',')
920
+            break
850
         }
921
         }
851
       },
922
       },
852
       innerDialogCancle: function() {
923
       innerDialogCancle: function() {
853
         this.InnerDialogProps.visibility = false
924
         this.InnerDialogProps.visibility = false
854
       }, handleComfirm: function() {
925
       }, handleComfirm: function() {
926
+        
855
         var arr = this.assessmentBeforeDislysis
927
         var arr = this.assessmentBeforeDislysis
928
+        console.log("arr是多少----------",arr)
856
         for (let i = 0; i < this.machineType.length; i++) {
929
         for (let i = 0; i < this.machineType.length; i++) {
857
           if (arr.machine_type == this.machineType[i].id) {
930
           if (arr.machine_type == this.machineType[i].id) {
858
             arr.machine_type = this.machineType[i].name
931
             arr.machine_type = this.machineType[i].name
859
           }
932
           }
860
         }
933
         }
861
-        console.log('arr', arr)
934
+        // console.log('arr', arr)
862
         const ParamsQuery = arr
935
         const ParamsQuery = arr
863
-        console.log('paramsquery', ParamsQuery)
936
+        // console.log('paramsquery', ParamsQuery)
864
         ParamsQuery['patient'] = this.patient.id
937
         ParamsQuery['patient'] = this.patient.id
865
         ParamsQuery['record_date'] = this.record_date
938
         ParamsQuery['record_date'] = this.record_date
866
         ParamsQuery['mode'] = '1'
939
         ParamsQuery['mode'] = '1'
867
 
940
 
868
-        console.log(this.predialysis_evaluation)
941
+        // console.log(this.predialysis_evaluation)
869
 
942
 
870
         if (this.predialysis_evaluation.id == 0) {
943
         if (this.predialysis_evaluation.id == 0) {
871
           ParamsQuery['mode'] = '1'
944
           ParamsQuery['mode'] = '1'
893
             })
966
             })
894
 
967
 
895
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
968
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
896
-            console.log("返回数据",assessment_before_dislysis_resp)
969
+            // console.log("返回数据",assessment_before_dislysis_resp)
897
             // prop
970
             // prop
898
             var predialysis_evaluation = this.predialysis_evaluation
971
             var predialysis_evaluation = this.predialysis_evaluation
899
             for (var index in assessment_before_dislysis_resp) {
972
             for (var index in assessment_before_dislysis_resp) {
944
             module: 3
1017
             module: 3
945
           }
1018
           }
946
         }).then(res => {
1019
         }).then(res => {
947
-          console.log(res)
948
-          console.log('透前', this.patient_prop)
949
-          console.log('透前', this.assessment)
1020
+          // console.log(res)
1021
+          // console.log('透前', this.patient_prop)
1022
+           console.log('透前', this.assessment)
950
           if (res.data.state == 0) {
1023
           if (res.data.state == 0) {
951
             this.hasPermission = false
1024
             this.hasPermission = false
952
           } else if (res.data.state == 1) {
1025
           } else if (res.data.state == 1) {
991
       this.blood_access_noise = this.$store.getters.blood_access_noise
1064
       this.blood_access_noise = this.$store.getters.blood_access_noise
992
       var date = this.$route.query && this.$route.query.date
1065
       var date = this.$route.query && this.$route.query.date
993
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
1066
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
994
-
1067
+      //获取皮肤
1068
+      this.skins = getDataConfig('hemodialysis','skin')
1069
+      console.log("皮肤",this.skins)
995
       // this.weight_adjust.weight = this.dry_weight.dry_weight
1070
       // this.weight_adjust.weight = this.dry_weight.dry_weight
996
 
1071
 
997
       // if(this.predialysis_evaluation.id == 0){
1072
       // if(this.predialysis_evaluation.id == 0){

+ 47 - 47
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

1300
           'vascular_access_desc'
1300
           'vascular_access_desc'
1301
         )
1301
         )
1302
 
1302
 
1303
-        console.log('血管通路', this.blood_access_option)
1303
+        // console.log('血管通路', this.blood_access_option)
1304
         this.dialyzerPerfusionApparatus = getDataConfig(
1304
         this.dialyzerPerfusionApparatus = getDataConfig(
1305
           'hemodialysis',
1305
           'hemodialysis',
1306
           'dialyzer_perfusion_apparatus'
1306
           'dialyzer_perfusion_apparatus'
1307
         )
1307
         )
1308
-        console.log('灌流器', this.dialyzerPerfusionApparatus)
1308
+       console.log('灌流器', this.dialyzerPerfusionApparatus)
1309
 
1309
 
1310
         if (this.$route.query && this.$route.query.date) {
1310
         if (this.$route.query && this.$route.query.date) {
1311
           var date = this.$route.query && this.$route.query.date
1311
           var date = this.$route.query && this.$route.query.date
1420
             }
1420
             }
1421
 
1421
 
1422
             var arr = this.dialysisPrescription
1422
             var arr = this.dialysisPrescription
1423
-            console.log('arr', arr)
1423
+            // console.log('arr', arr)
1424
 
1424
 
1425
 
1425
 
1426
             const ParamsQuery = arr
1426
             const ParamsQuery = arr
1427
-            console.log('医嘱推送2', ParamsQuery)
1427
+            // console.log('医嘱推送2', ParamsQuery)
1428
 
1428
 
1429
             ParamsQuery['patient'] = this.patient.id
1429
             ParamsQuery['patient'] = this.patient.id
1430
             ParamsQuery['record_date'] = this.record_date
1430
             ParamsQuery['record_date'] = this.record_date
1499
               return
1499
               return
1500
             }
1500
             }
1501
             var arr = this.dialysisPrescription
1501
             var arr = this.dialysisPrescription
1502
-            console.log('arr', arr)
1502
+            // console.log('arr', arr)
1503
 
1503
 
1504
 
1504
 
1505
             const ParamsQuery = arr
1505
             const ParamsQuery = arr
1506
-            console.log('医嘱推送3', ParamsQuery)
1506
+            // console.log('医嘱推送3', ParamsQuery)
1507
 
1507
 
1508
             ParamsQuery['patient'] = this.patient.id
1508
             ParamsQuery['patient'] = this.patient.id
1509
             ParamsQuery['record_date'] = this.record_date
1509
             ParamsQuery['record_date'] = this.record_date
1519
                   type: 'success',
1519
                   type: 'success',
1520
                   duration: 2000
1520
                   duration: 2000
1521
                 })
1521
                 })
1522
-                console.log(hour + ':' + minute)
1522
+                // console.log(hour + ':' + minute)
1523
                 var date = new Date()
1523
                 var date = new Date()
1524
 
1524
 
1525
                 var hour =
1525
                 var hour =
1582
 
1582
 
1583
 
1583
 
1584
             const ParamsQuery = arr
1584
             const ParamsQuery = arr
1585
-            console.log('医嘱推送4', ParamsQuery)
1585
+            // console.log('医嘱推送4', ParamsQuery)
1586
 
1586
 
1587
             ParamsQuery['patient'] = this.patient.id
1587
             ParamsQuery['patient'] = this.patient.id
1588
             ParamsQuery['record_date'] = this.record_date
1588
             ParamsQuery['record_date'] = this.record_date
1589
-            console.log(this.prescription)
1589
+            // console.log(this.prescription)
1590
             let mode = ''
1590
             let mode = ''
1591
             if (this.prescription.creater <= 0) {
1591
             if (this.prescription.creater <= 0) {
1592
               mode = 1
1592
               mode = 1
1735
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
1735
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
1736
             2
1736
             2
1737
           )
1737
           )
1738
-          console.log('体重增加', this.add_weight)
1738
+          // console.log('体重增加', this.add_weight)
1739
         }
1739
         }
1740
 
1740
 
1741
         this.isVisibility = true
1741
         this.isVisibility = true
1801
             var arr = this.dialysisPrescription
1801
             var arr = this.dialysisPrescription
1802
 
1802
 
1803
             const ParamsQuery = arr
1803
             const ParamsQuery = arr
1804
-            console.log('night', ParamsQuery)
1804
+            // console.log('night', ParamsQuery)
1805
             ParamsQuery['patient'] = this.patient.id
1805
             ParamsQuery['patient'] = this.patient.id
1806
             ParamsQuery['record_date'] = this.record_date
1806
             ParamsQuery['record_date'] = this.record_date
1807
             ParamsQuery['mode'] = '1'
1807
             ParamsQuery['mode'] = '1'
1843
 
1843
 
1844
 
1844
 
1845
               const ParamsQuery = arr
1845
               const ParamsQuery = arr
1846
-              console.log('ParamsQuerytwo', ParamsQuery)
1846
+              // console.log('ParamsQuerytwo', ParamsQuery)
1847
               ParamsQuery['patient'] = this.patient.id
1847
               ParamsQuery['patient'] = this.patient.id
1848
               ParamsQuery['record_date'] = this.record_date
1848
               ParamsQuery['record_date'] = this.record_date
1849
               ParamsQuery['mode'] = '1'
1849
               ParamsQuery['mode'] = '1'
1890
               var arr = this.dialysisPrescription
1890
               var arr = this.dialysisPrescription
1891
 
1891
 
1892
               const ParamsQuery = arr
1892
               const ParamsQuery = arr
1893
-              console.log('paramsquerythree', ParamsQuery)
1893
+              // console.log('paramsquerythree', ParamsQuery)
1894
               ParamsQuery['patient'] = this.patient.id
1894
               ParamsQuery['patient'] = this.patient.id
1895
               ParamsQuery['record_date'] = this.record_date
1895
               ParamsQuery['record_date'] = this.record_date
1896
               ParamsQuery['mode'] = '1'
1896
               ParamsQuery['mode'] = '1'
1954
               var arr = this.dialysisPrescription
1954
               var arr = this.dialysisPrescription
1955
 
1955
 
1956
               const ParamsQuery = arr
1956
               const ParamsQuery = arr
1957
-              console.log('paramsqueryfour', ParamsQuery)
1958
-              console.log('创建者', this.prescription.creater)
1957
+              // console.log('paramsqueryfour', ParamsQuery)
1958
+              // console.log('创建者', this.prescription.creater)
1959
               // if (this.prescription.creater <= 0) {
1959
               // if (this.prescription.creater <= 0) {
1960
               //  mode = 1;
1960
               //  mode = 1;
1961
               // } else {
1961
               // } else {
1999
               }
1999
               }
2000
 
2000
 
2001
               var arr = this.dialysisPrescription
2001
               var arr = this.dialysisPrescription
2002
-              console.log('arr', arr)
2002
+              // console.log('arr', arr)
2003
 
2003
 
2004
 
2004
 
2005
               const ParamsQuery = arr
2005
               const ParamsQuery = arr
2006
-              console.log('paramsqueryfive', ParamsQuery)
2006
+              // console.log('paramsqueryfive', ParamsQuery)
2007
               ParamsQuery['patient'] = this.patient.id
2007
               ParamsQuery['patient'] = this.patient.id
2008
               ParamsQuery['record_date'] = this.record_date
2008
               ParamsQuery['record_date'] = this.record_date
2009
               ParamsQuery['mode'] = '1'
2009
               ParamsQuery['mode'] = '1'
2042
                 }
2042
                 }
2043
 
2043
 
2044
                 var arr = this.dialysisPrescription
2044
                 var arr = this.dialysisPrescription
2045
-                console.log('arr', arr)
2045
+                // console.log('arr', arr)
2046
 
2046
 
2047
 
2047
 
2048
                 const ParamsQuery = arr
2048
                 const ParamsQuery = arr
2049
-                console.log('ParamsQuerysix', ParamsQuery)
2049
+                // console.log('ParamsQuerysix', ParamsQuery)
2050
                 ParamsQuery['patient'] = this.patient.id
2050
                 ParamsQuery['patient'] = this.patient.id
2051
                 ParamsQuery['record_date'] = this.record_date
2051
                 ParamsQuery['record_date'] = this.record_date
2052
                 ParamsQuery['mode'] = '1'
2052
                 ParamsQuery['mode'] = '1'
2091
                 }
2091
                 }
2092
 
2092
 
2093
                 var arr = this.dialysisPrescription
2093
                 var arr = this.dialysisPrescription
2094
-                console.log('arr', arr)
2094
+                // console.log('arr', arr)
2095
 
2095
 
2096
 
2096
 
2097
                 const ParamsQuery = arr
2097
                 const ParamsQuery = arr
2098
-                console.log('parasmqueryseven', parasmqueryseven)
2098
+                // console.log('parasmqueryseven', parasmqueryseven)
2099
                 ParamsQuery['patient'] = this.patient.id
2099
                 ParamsQuery['patient'] = this.patient.id
2100
                 ParamsQuery['record_date'] = this.record_date
2100
                 ParamsQuery['record_date'] = this.record_date
2101
                 ParamsQuery['mode'] = '1'
2101
                 ParamsQuery['mode'] = '1'
2161
                 }
2161
                 }
2162
 
2162
 
2163
                 var arr = this.dialysisPrescription
2163
                 var arr = this.dialysisPrescription
2164
-                console.log('arr', arr)
2164
+                // console.log('arr', arr)
2165
 
2165
 
2166
                 const ParamsQuery = arr
2166
                 const ParamsQuery = arr
2167
-                console.log('eight', ParamsQuery)
2167
+                // console.log('eight', ParamsQuery)
2168
                 ParamsQuery['patient'] = this.patient.id
2168
                 ParamsQuery['patient'] = this.patient.id
2169
                 ParamsQuery['record_date'] = this.record_date
2169
                 ParamsQuery['record_date'] = this.record_date
2170
                 ParamsQuery['mode'] = '1'
2170
                 ParamsQuery['mode'] = '1'
2200
             }
2200
             }
2201
 
2201
 
2202
             var arr = this.dialysisPrescription
2202
             var arr = this.dialysisPrescription
2203
-            console.log('arr', arr)
2203
+            // console.log('arr', arr)
2204
 
2204
 
2205
 
2205
 
2206
             const ParamsQuery = arr
2206
             const ParamsQuery = arr
2207
-            console.log('night', ParamsQuery)
2207
+            // console.log('night', ParamsQuery)
2208
             ParamsQuery['patient'] = this.patient.id
2208
             ParamsQuery['patient'] = this.patient.id
2209
             ParamsQuery['record_date'] = this.record_date
2209
             ParamsQuery['record_date'] = this.record_date
2210
             ParamsQuery['mode'] = '2'
2210
             ParamsQuery['mode'] = '2'
2272
               return
2272
               return
2273
             }
2273
             }
2274
             var arr = this.dialysisPrescription
2274
             var arr = this.dialysisPrescription
2275
-            console.log('arr', arr)
2275
+            // console.log('arr', arr)
2276
 
2276
 
2277
 
2277
 
2278
             const ParamsQuery = arr
2278
             const ParamsQuery = arr
2279
-            console.log('长期处方1', ParamsQuery)
2279
+            // console.log('长期处方1', ParamsQuery)
2280
             ParamsQuery['patient'] = this.patient.id
2280
             ParamsQuery['patient'] = this.patient.id
2281
             ParamsQuery['record_date'] = this.record_date
2281
             ParamsQuery['record_date'] = this.record_date
2282
             ParamsQuery['mode'] = '1'
2282
             ParamsQuery['mode'] = '1'
2320
                 return
2320
                 return
2321
               }
2321
               }
2322
               var arr = this.dialysisPrescription
2322
               var arr = this.dialysisPrescription
2323
-              console.log('arr', arr)
2323
+              // console.log('arr', arr)
2324
 
2324
 
2325
 
2325
 
2326
               const ParamsQuery = arr
2326
               const ParamsQuery = arr
2327
-              console.log('长期处方2', ParamsQuery)
2327
+              // console.log('长期处方2', ParamsQuery)
2328
 
2328
 
2329
               ParamsQuery['patient'] = this.patient.id
2329
               ParamsQuery['patient'] = this.patient.id
2330
               ParamsQuery['record_date'] = this.record_date
2330
               ParamsQuery['record_date'] = this.record_date
2376
               }
2376
               }
2377
 
2377
 
2378
               var arr = this.dialysisPrescription
2378
               var arr = this.dialysisPrescription
2379
-              console.log('arr', arr)
2379
+              // console.log('arr', arr)
2380
 
2380
 
2381
 
2381
 
2382
               const ParamsQuery = arr
2382
               const ParamsQuery = arr
2383
-              console.log('长期处方3', ParamsQuery)
2383
+              // console.log('长期处方3', ParamsQuery)
2384
 
2384
 
2385
               ParamsQuery['patient'] = this.patient.id
2385
               ParamsQuery['patient'] = this.patient.id
2386
               ParamsQuery['record_date'] = this.record_date
2386
               ParamsQuery['record_date'] = this.record_date
2387
-              console.log(this.prescription)
2387
+              // console.log(this.prescription)
2388
 
2388
 
2389
               ParamsQuery['mode'] = '1'
2389
               ParamsQuery['mode'] = '1'
2390
 
2390
 
2445
                 return
2445
                 return
2446
               }
2446
               }
2447
               var arr = this.dialysisPrescription
2447
               var arr = this.dialysisPrescription
2448
-              console.log('arr', arr)
2448
+              // console.log('arr', arr)
2449
 
2449
 
2450
 
2450
 
2451
               const ParamsQuery = arr
2451
               const ParamsQuery = arr
2452
-              console.log('长期处方5', ParamsQuery)
2452
+              // console.log('长期处方5', ParamsQuery)
2453
 
2453
 
2454
               ParamsQuery['patient'] = this.patient.id
2454
               ParamsQuery['patient'] = this.patient.id
2455
               ParamsQuery['record_date'] = this.record_date
2455
               ParamsQuery['record_date'] = this.record_date
2493
                 return
2493
                 return
2494
               }
2494
               }
2495
               var arr = this.dialysisPrescription
2495
               var arr = this.dialysisPrescription
2496
-              console.log('arr', arr)
2496
+              // console.log('arr', arr)
2497
 
2497
 
2498
 
2498
 
2499
               const ParamsQuery = arr
2499
               const ParamsQuery = arr
2500
-              console.log('长期处方6', ParamsQuery)
2500
+              // console.log('长期处方6', ParamsQuery)
2501
               ParamsQuery['patient'] = this.patient.id
2501
               ParamsQuery['patient'] = this.patient.id
2502
               ParamsQuery['record_date'] = this.record_date
2502
               ParamsQuery['record_date'] = this.record_date
2503
               ParamsQuery['mode'] = '1'
2503
               ParamsQuery['mode'] = '1'
2541
                   return
2541
                   return
2542
                 }
2542
                 }
2543
                 var arr = this.dialysisPrescription
2543
                 var arr = this.dialysisPrescription
2544
-                console.log('arr', arr)
2544
+                // console.log('arr', arr)
2545
 
2545
 
2546
 
2546
 
2547
                 const ParamsQuery = arr
2547
                 const ParamsQuery = arr
2548
-                console.log('长期处方7', ParamsQuery)
2548
+                // console.log('长期处方7', ParamsQuery)
2549
                 ParamsQuery['patient'] = this.patient.id
2549
                 ParamsQuery['patient'] = this.patient.id
2550
                 ParamsQuery['record_date'] = this.record_date
2550
                 ParamsQuery['record_date'] = this.record_date
2551
                 ParamsQuery['mode'] = '1'
2551
                 ParamsQuery['mode'] = '1'
2595
                   return
2595
                   return
2596
                 }
2596
                 }
2597
                 var arr = this.dialysisPrescription
2597
                 var arr = this.dialysisPrescription
2598
-                console.log('arr', arr)
2598
+                // console.log('arr', arr)
2599
 
2599
 
2600
 
2600
 
2601
                 const ParamsQuery = arr
2601
                 const ParamsQuery = arr
2602
-                console.log('长期处方8', ParamsQuery)
2602
+                // console.log('长期处方8', ParamsQuery)
2603
                 ParamsQuery['patient'] = this.patient.id
2603
                 ParamsQuery['patient'] = this.patient.id
2604
                 ParamsQuery['record_date'] = this.record_date
2604
                 ParamsQuery['record_date'] = this.record_date
2605
                 ParamsQuery['mode'] = '1'
2605
                 ParamsQuery['mode'] = '1'
2669
                   return
2669
                   return
2670
                 }
2670
                 }
2671
                 var arr = this.dialysisPrescription
2671
                 var arr = this.dialysisPrescription
2672
-                console.log('arr', arr)
2672
+                // console.log('arr', arr)
2673
 
2673
 
2674
                 const ParamsQuery = arr
2674
                 const ParamsQuery = arr
2675
-                console.log('长期处方9', ParamsQuery)
2675
+                // console.log('长期处方9', ParamsQuery)
2676
                 ParamsQuery['patient'] = this.patient.id
2676
                 ParamsQuery['patient'] = this.patient.id
2677
                 ParamsQuery['record_date'] = this.record_date
2677
                 ParamsQuery['record_date'] = this.record_date
2678
                 ParamsQuery['mode'] = '1'
2678
                 ParamsQuery['mode'] = '1'
2713
               return
2713
               return
2714
             }
2714
             }
2715
             var arr = this.dialysisPrescription
2715
             var arr = this.dialysisPrescription
2716
-            console.log('arr', arr)
2716
+            // console.log('arr', arr)
2717
 
2717
 
2718
             const ParamsQuery = arr
2718
             const ParamsQuery = arr
2719
-            console.log('长期处方10', ParamsQuery)
2719
+            // console.log('长期处方10', ParamsQuery)
2720
 
2720
 
2721
             ParamsQuery['patient'] = this.patient.id
2721
             ParamsQuery['patient'] = this.patient.id
2722
             ParamsQuery['record_date'] = this.record_date
2722
             ParamsQuery['record_date'] = this.record_date
2970
             }
2970
             }
2971
           })
2971
           })
2972
           .then(res => {
2972
           .then(res => {
2973
-            console.log(res)
2974
-            console.log('predialysis.creater', this.pre.creater)
2975
-            console.log('admin.id', this.$store.getters.xt_user.user.id)
2973
+            // console.log(res)
2974
+            // console.log('predialysis.creater', this.pre.creater)
2975
+            // console.log('admin.id', this.$store.getters.xt_user.user.id)
2976
             if (res.data.state == 0) {
2976
             if (res.data.state == 0) {
2977
               this.hasPermission = false
2977
               this.hasPermission = false
2978
             } else if (res.data.state == 1) {
2978
             } else if (res.data.state == 1) {

+ 1 - 0
src/xt_pages/dialysis/details/index.vue 查看文件

882
           console.log('receiver_treatment_access', receiver_treatment_access)
882
           console.log('receiver_treatment_access', receiver_treatment_access)
883
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
883
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
884
           console.log('透前评估', predialysis_evaluation)
884
           console.log('透前评估', predialysis_evaluation)
885
+          
885
           if (predialysis_evaluation != null) {
886
           if (predialysis_evaluation != null) {
886
             if (predialysis_evaluation.blood_access_part_id == -2) {
887
             if (predialysis_evaluation.blood_access_part_id == -2) {
887
               predialysis_evaluation.blood_access_part_id = 0
888
               predialysis_evaluation.blood_access_part_id = 0

+ 1 - 1
src/xt_pages/qcd/patientComplianceDetails.vue 查看文件

347
               normal: {
347
               normal: {
348
                 show: true,
348
                 show: true,
349
                 position: "top",
349
                 position: "top",
350
-                formatter: "{c}g/L"
350
+                formatter: "{c}"
351
               }
351
               }
352
             },
352
             },
353
             //配置样式
353
             //配置样式