|
@@ -324,6 +324,7 @@
|
324
|
324
|
></el-input>
|
325
|
325
|
</el-form-item>
|
326
|
326
|
</el-col>
|
|
327
|
+
|
327
|
328
|
<el-col :span="8" v-if="isShow('透析中入量')">
|
328
|
329
|
<el-form-item label="透析中入量: ">
|
329
|
330
|
<el-input v-model="form.dialysis_intakes"></el-input>
|
|
@@ -344,6 +345,31 @@
|
344
|
345
|
</el-form-item>
|
345
|
346
|
</el-col>
|
346
|
347
|
|
|
348
|
+ <el-col :span="8" v-if="isShow('回血')">
|
|
349
|
+ <el-form-item label="回血(ml): ">
|
|
350
|
+ <el-input v-model="form.return_blood"></el-input>
|
|
351
|
+ </el-form-item>
|
|
352
|
+ </el-col>
|
|
353
|
+
|
|
354
|
+ <el-col :span="8" v-if="isShow('补液量')">
|
|
355
|
+ <el-form-item label="补液量(ml): ">
|
|
356
|
+ <el-input v-model="form.rehydration_volume"></el-input>
|
|
357
|
+ </el-form-item>
|
|
358
|
+ </el-col>
|
|
359
|
+
|
|
360
|
+ <el-col :span="8" v-if="isShow('透析中进食')">
|
|
361
|
+ <el-form-item label="透析中进食(ml): ">
|
|
362
|
+ <el-input v-model="form.dialysis_during"></el-input>
|
|
363
|
+ </el-form-item>
|
|
364
|
+ </el-col>
|
|
365
|
+
|
|
366
|
+ <el-col :span="8" v-if="isShow('出量')">
|
|
367
|
+ <el-form-item label="出量(ml): ">
|
|
368
|
+ <el-input v-model="form.stroke_volume"></el-input>
|
|
369
|
+ </el-form-item>
|
|
370
|
+ </el-col>
|
|
371
|
+
|
|
372
|
+
|
347
|
373
|
<!-- </el-row>
|
348
|
374
|
|
349
|
375
|
<el-row :gutter="20"> -->
|
|
@@ -522,53 +548,53 @@
|
522
|
548
|
</template>
|
523
|
549
|
|
524
|
550
|
<script>
|
525
|
|
-import { getDataConfig } from "@/utils/data";
|
526
|
|
-import MultiSelectBox from "./MultiSelectBox";
|
527
|
|
-import { postAssessmentAfterDislysis } from "@/api/dialysis";
|
528
|
|
-import { uParseTime } from "@/utils/tools";
|
529
|
|
-import store from "@/store";
|
|
551
|
+import { getDataConfig } from '@/utils/data'
|
|
552
|
+import MultiSelectBox from './MultiSelectBox'
|
|
553
|
+import { postAssessmentAfterDislysis } from '@/api/dialysis'
|
|
554
|
+import { uParseTime } from '@/utils/tools'
|
|
555
|
+import store from '@/store'
|
530
|
556
|
|
531
|
|
-import request from "@/utils/request";
|
|
557
|
+import request from '@/utils/request'
|
532
|
558
|
|
533
|
559
|
export default {
|
534
|
|
- name: "AssessmentAfterDislysis",
|
|
560
|
+ name: 'AssessmentAfterDislysis',
|
535
|
561
|
props: {
|
536
|
562
|
assessment_after_dislysis: {
|
537
|
563
|
// 透后评估
|
538
|
564
|
type: Object,
|
539
|
565
|
default: () => {
|
540
|
|
- return { id: 0 };
|
|
566
|
+ return { id: 0 }
|
541
|
567
|
}
|
542
|
568
|
},
|
543
|
569
|
dialysis_order: {
|
544
|
570
|
// 透析记录
|
545
|
571
|
type: Object,
|
546
|
572
|
default: () => {
|
547
|
|
- return { id: 0 };
|
|
573
|
+ return { id: 0 }
|
548
|
574
|
}
|
549
|
575
|
},
|
550
|
576
|
patient: {
|
551
|
577
|
// 患者信息
|
552
|
578
|
type: Object,
|
553
|
579
|
default: () => {
|
554
|
|
- return { id: 0 };
|
|
580
|
+ return { id: 0 }
|
555
|
581
|
}
|
556
|
582
|
}
|
557
|
583
|
},
|
558
|
584
|
data() {
|
559
|
585
|
return {
|
560
|
|
- showTxt: "",
|
|
586
|
+ showTxt: '',
|
561
|
587
|
hasPermission: true,
|
562
|
588
|
loading: false,
|
563
|
|
- record_date: "",
|
|
589
|
+ record_date: '',
|
564
|
590
|
isVisibility: false,
|
565
|
591
|
template_id: 0,
|
566
|
592
|
cruorOptions: [],
|
567
|
593
|
symptomsOptions: [],
|
568
|
594
|
internalFistulaOptions: [],
|
569
|
595
|
vascularAccessOptions: [],
|
570
|
|
- unit: [{ id: 1, name: "g" }, { id: 2, name: "ml" }],
|
571
|
|
- actualTreatmentHourShow: "",
|
|
596
|
+ unit: [{ id: 1, name: 'g' }, { id: 2, name: 'ml' }],
|
|
597
|
+ actualTreatmentHourShow: '',
|
572
|
598
|
vascularAccessDescOptions: [],
|
573
|
599
|
catheterOptions: [],
|
574
|
600
|
complicationOptions: [],
|
|
@@ -578,428 +604,448 @@ export default {
|
578
|
604
|
channels: [],
|
579
|
605
|
|
580
|
606
|
isVisibiltyForCruorDialog: false,
|
581
|
|
- dialogCruorTitle: "凝血",
|
|
607
|
+ dialogCruorTitle: '凝血',
|
582
|
608
|
|
583
|
609
|
InnerDialogProps: {
|
584
|
610
|
values: [],
|
585
|
611
|
visibility: false,
|
586
|
612
|
isShowTextArea: true,
|
587
|
|
- customContent: "",
|
588
|
|
- titles: "",
|
589
|
|
- type: "" // 不同弹框类型,用来匹配数据
|
|
613
|
+ customContent: '',
|
|
614
|
+ titles: '',
|
|
615
|
+ type: '' // 不同弹框类型,用来匹配数据
|
590
|
616
|
},
|
591
|
617
|
|
592
|
618
|
form: {
|
593
|
|
- weight_after: "",
|
594
|
|
- weight_loss: "",
|
595
|
|
- temperature: "",
|
596
|
|
- systolic_blood_pressure: "",
|
597
|
|
- diastolic_blood_pressure: "",
|
598
|
|
- pulse_frequency: "",
|
599
|
|
- actual_ultrafiltration: "",
|
600
|
|
- actual_displacement: "",
|
601
|
|
- actual_treatment_hour: "",
|
602
|
|
- actual_treatment_minute: "",
|
603
|
|
- cruor: "",
|
604
|
|
- symptom_after_dialysis: "",
|
605
|
|
- dialysis_intakes: "",
|
606
|
|
- internal_fistula: "",
|
607
|
|
- blood_access_part_id: "",
|
608
|
|
- blood_access_part_opera_id: "",
|
609
|
|
- catheter: "",
|
610
|
|
- complication: "",
|
|
619
|
+ weight_after: '',
|
|
620
|
+ weight_loss: '',
|
|
621
|
+ temperature: '',
|
|
622
|
+ systolic_blood_pressure: '',
|
|
623
|
+ diastolic_blood_pressure: '',
|
|
624
|
+ pulse_frequency: '',
|
|
625
|
+ actual_ultrafiltration: '',
|
|
626
|
+ actual_displacement: '',
|
|
627
|
+ actual_treatment_hour: '',
|
|
628
|
+ actual_treatment_minute: '',
|
|
629
|
+ cruor: '',
|
|
630
|
+ symptom_after_dialysis: '',
|
|
631
|
+ dialysis_intakes: '',
|
|
632
|
+ internal_fistula: '',
|
|
633
|
+ blood_access_part_id: '',
|
|
634
|
+ blood_access_part_opera_id: '',
|
|
635
|
+ catheter: '',
|
|
636
|
+ complication: '',
|
611
|
637
|
puncture_point_oozing_blood: 2,
|
612
|
638
|
puncture_point_haematoma: 2,
|
613
|
|
- internal_fistula_tremor_ac: "",
|
614
|
|
- patient_gose: "",
|
615
|
|
- inpatient_department: "",
|
616
|
|
- observation_content: "",
|
617
|
|
- observation_content_other: "",
|
618
|
|
- remark: "",
|
|
639
|
+ internal_fistula_tremor_ac: '',
|
|
640
|
+ patient_gose: '',
|
|
641
|
+ inpatient_department: '',
|
|
642
|
+ observation_content: '',
|
|
643
|
+ observation_content_other: '',
|
|
644
|
+ remark: '',
|
619
|
645
|
dialysis_order_id: 0,
|
620
|
646
|
is_eat: 2,
|
621
|
|
- dialysis_process: "",
|
622
|
|
- in_advance_minute: "",
|
623
|
|
- in_advance_reason: "",
|
624
|
|
- in_advance_reason_other: "",
|
625
|
|
- hemostasis_minute: "",
|
626
|
|
- hemostasis_opera: "",
|
627
|
|
- tremor_noise: "",
|
628
|
|
- disequilibrium_syndrome: "",
|
629
|
|
- disequilibrium_syndrome_option: "",
|
630
|
|
- arterial_tube: "",
|
631
|
|
- intravenous_tube: "",
|
632
|
|
- dialyzer: "",
|
633
|
|
- breathing_rate: "",
|
|
647
|
+ dialysis_process: '',
|
|
648
|
+ in_advance_minute: '',
|
|
649
|
+ in_advance_reason: '',
|
|
650
|
+ in_advance_reason_other: '',
|
|
651
|
+ hemostasis_minute: '',
|
|
652
|
+ hemostasis_opera: '',
|
|
653
|
+ tremor_noise: '',
|
|
654
|
+ disequilibrium_syndrome: '',
|
|
655
|
+ disequilibrium_syndrome_option: '',
|
|
656
|
+ arterial_tube: '',
|
|
657
|
+ intravenous_tube: '',
|
|
658
|
+ dialyzer: '',
|
|
659
|
+ breathing_rate: '',
|
634
|
660
|
dialysis_intakes_unit: 0,
|
635
|
661
|
cvc_a: 0,
|
636
|
662
|
cvc_v: 0,
|
637
|
|
- channel: ""
|
|
663
|
+ channel: '',
|
|
664
|
+ return_blood: '',
|
|
665
|
+ rehydration_volume: '',
|
|
666
|
+ dialysis_during: '',
|
|
667
|
+ stroke_volume: ''
|
638
|
668
|
}
|
639
|
|
- };
|
|
669
|
+ }
|
640
|
670
|
},
|
641
|
671
|
watch: {
|
642
|
|
- "assessment_after_dislysis.id": function() {
|
|
672
|
+ 'assessment_after_dislysis.id': function() {
|
643
|
673
|
if (this.assessment_after_dislysis.id > 0) {
|
644
|
674
|
for (var index in this.form) {
|
645
|
|
- this.form[index] = this.assessment_after_dislysis[index];
|
|
675
|
+ this.form[index] = this.assessment_after_dislysis[index]
|
646
|
676
|
}
|
647
|
677
|
|
648
|
|
- if (this.assessment_after_dislysis["blood_access_part_id"] == 0) {
|
649
|
|
- this.form["blood_access_part_id"] = "";
|
|
678
|
+ if (this.assessment_after_dislysis['blood_access_part_id'] == 0) {
|
|
679
|
+ this.form['blood_access_part_id'] = ''
|
|
680
|
+ }
|
|
681
|
+ if (this.assessment_after_dislysis['blood_access_part_opera_id'] == 0) {
|
|
682
|
+ this.form['blood_access_part_opera_id'] = ''
|
|
683
|
+ }
|
|
684
|
+ if (this.assessment_after_dislysis['internal_fistula_tremor_ac'] == 0) {
|
|
685
|
+ this.form['internal_fistula_tremor_ac'] = ''
|
|
686
|
+ }
|
|
687
|
+ if (this.assessment_after_dislysis['patient_gose'] == 0) {
|
|
688
|
+ this.form['patient_gose'] = ''
|
650
|
689
|
}
|
651
|
|
- if (this.assessment_after_dislysis["blood_access_part_opera_id"] == 0) {
|
652
|
|
- this.form["blood_access_part_opera_id"] = "";
|
|
690
|
+ if (this.assessment_after_dislysis['weight_after'] == 0) {
|
|
691
|
+ this.form['weight_after'] = ''
|
653
|
692
|
}
|
654
|
|
- if (this.assessment_after_dislysis["internal_fistula_tremor_ac"] == 0) {
|
655
|
|
- this.form["internal_fistula_tremor_ac"] = "";
|
|
693
|
+ if (this.assessment_after_dislysis['weight_loss'] == 0) {
|
|
694
|
+ this.form['weight_loss'] = ''
|
656
|
695
|
}
|
657
|
|
- if (this.assessment_after_dislysis["patient_gose"] == 0) {
|
658
|
|
- this.form["patient_gose"] = "";
|
|
696
|
+ if (this.assessment_after_dislysis['temperature'] == 0) {
|
|
697
|
+ this.form['temperature'] = ''
|
659
|
698
|
}
|
660
|
|
- if (this.assessment_after_dislysis["weight_after"] == 0) {
|
661
|
|
- this.form["weight_after"] = "";
|
|
699
|
+ if (this.assessment_after_dislysis['systolic_blood_pressure'] == 0) {
|
|
700
|
+ this.form['systolic_blood_pressure'] = ''
|
662
|
701
|
}
|
663
|
|
- if (this.assessment_after_dislysis["weight_loss"] == 0) {
|
664
|
|
- this.form["weight_loss"] = "";
|
|
702
|
+ if (this.assessment_after_dislysis['diastolic_blood_pressure'] == 0) {
|
|
703
|
+ this.form['diastolic_blood_pressure'] = ''
|
665
|
704
|
}
|
666
|
|
- if (this.assessment_after_dislysis["temperature"] == 0) {
|
667
|
|
- this.form["temperature"] = "";
|
|
705
|
+ if (this.assessment_after_dislysis['pulse_frequency'] == 0) {
|
|
706
|
+ this.form['pulse_frequency'] = ''
|
668
|
707
|
}
|
669
|
|
- if (this.assessment_after_dislysis["systolic_blood_pressure"] == 0) {
|
670
|
|
- this.form["systolic_blood_pressure"] = "";
|
|
708
|
+ if (this.assessment_after_dislysis['breathing_rate'] == 0) {
|
|
709
|
+ this.form['breathing_rate'] = ''
|
671
|
710
|
}
|
672
|
|
- if (this.assessment_after_dislysis["diastolic_blood_pressure"] == 0) {
|
673
|
|
- this.form["diastolic_blood_pressure"] = "";
|
|
711
|
+ if (this.assessment_after_dislysis['actual_ultrafiltration'] == 0) {
|
|
712
|
+ this.form['actual_ultrafiltration'] = ''
|
674
|
713
|
}
|
675
|
|
- if (this.assessment_after_dislysis["pulse_frequency"] == 0) {
|
676
|
|
- this.form["pulse_frequency"] = "";
|
|
714
|
+ if (this.assessment_after_dislysis['actual_displacement'] == 0) {
|
|
715
|
+ this.form['actual_displacement'] = ''
|
677
|
716
|
}
|
678
|
|
- if (this.assessment_after_dislysis["breathing_rate"] == 0) {
|
679
|
|
- this.form["breathing_rate"] = "";
|
|
717
|
+ if (this.assessment_after_dislysis['dialysis_intakes'] == 0) {
|
|
718
|
+ this.form['dialysis_intakes'] = ''
|
680
|
719
|
}
|
681
|
|
- if (this.assessment_after_dislysis["actual_ultrafiltration"] == 0) {
|
682
|
|
- this.form["actual_ultrafiltration"] = "";
|
|
720
|
+ if (this.assessment_after_dislysis['return_blood'] == 0) {
|
|
721
|
+ this.form['return_blood'] = ''
|
683
|
722
|
}
|
684
|
|
- if (this.assessment_after_dislysis["actual_displacement"] == 0) {
|
685
|
|
- this.form["actual_displacement"] = "";
|
|
723
|
+ if (this.assessment_after_dislysis['rehydration_volume'] == 0) {
|
|
724
|
+ this.form['rehydration_volume'] = ''
|
686
|
725
|
}
|
687
|
|
- if (this.assessment_after_dislysis["dialysis_intakes"] == 0) {
|
688
|
|
- this.form["dialysis_intakes"] = "";
|
|
726
|
+ if (this.assessment_after_dislysis['dialysis_during'] == 0) {
|
|
727
|
+ this.form['dialysis_during'] = ''
|
|
728
|
+ }
|
|
729
|
+ if (this.assessment_after_dislysis['stroke_volume'] == 0) {
|
|
730
|
+ this.form['stroke_volume'] = ''
|
689
|
731
|
}
|
690
|
732
|
this.actualTreatmentHourShow = new Date(
|
691
|
733
|
2018,
|
692
|
734
|
1,
|
693
|
735
|
1,
|
694
|
|
- this.assessment_after_dislysis["actual_treatment_hour"],
|
695
|
|
- this.assessment_after_dislysis["actual_treatment_minute"]
|
696
|
|
- );
|
|
736
|
+ this.assessment_after_dislysis['actual_treatment_hour'],
|
|
737
|
+ this.assessment_after_dislysis['actual_treatment_minute']
|
|
738
|
+ )
|
697
|
739
|
}
|
698
|
740
|
},
|
699
|
|
- "dialysis_order.id": function() {
|
700
|
|
- this.form["dialysis_order_id"] = this.assessment_after_dislysis[
|
701
|
|
- "dialysis_order_id"
|
702
|
|
- ];
|
|
741
|
+ 'dialysis_order.id': function() {
|
|
742
|
+ this.form['dialysis_order_id'] = this.assessment_after_dislysis[
|
|
743
|
+ 'dialysis_order_id'
|
|
744
|
+ ]
|
703
|
745
|
},
|
704
|
|
- "form.patient_gose": function() {
|
|
746
|
+ 'form.patient_gose': function() {
|
705
|
747
|
if (this.form.patient_gose.patient_gose != 3) {
|
706
|
|
- this.form.inpatient_department = "";
|
707
|
|
- this.form.observation_content = "";
|
708
|
|
- this.form.observation_content_other = "";
|
|
748
|
+ this.form.inpatient_department = ''
|
|
749
|
+ this.form.observation_content = ''
|
|
750
|
+ this.form.observation_content_other = ''
|
709
|
751
|
}
|
710
|
752
|
},
|
711
|
|
- "form.weight_after": function() {
|
|
753
|
+ 'form.weight_after': function() {
|
712
|
754
|
if (this) {
|
713
|
755
|
}
|
714
|
756
|
}
|
715
|
757
|
},
|
716
|
758
|
methods: {
|
717
|
759
|
submitForm() {
|
718
|
|
- this.loading = true;
|
719
|
|
- const ParamsQuery = {};
|
|
760
|
+ this.loading = true
|
|
761
|
+ const ParamsQuery = {}
|
720
|
762
|
|
721
|
763
|
if (!(this.patient.id > 0)) {
|
722
|
|
- this.$message.error("没有选择患者");
|
723
|
|
- this.loading = false;
|
724
|
|
- return false;
|
|
764
|
+ this.$message.error('没有选择患者')
|
|
765
|
+ this.loading = false
|
|
766
|
+ return false
|
725
|
767
|
}
|
726
|
768
|
if (this.record_date.length != 10) {
|
727
|
|
- this.$message.error("无效的日期");
|
728
|
|
- this.loading = false;
|
729
|
|
- return false;
|
|
769
|
+ this.$message.error('无效的日期')
|
|
770
|
+ this.loading = false
|
|
771
|
+ return false
|
730
|
772
|
}
|
731
|
773
|
|
732
|
|
- ParamsQuery["patient"] = this.patient.id;
|
733
|
|
- ParamsQuery["record_date"] = this.record_date;
|
734
|
|
- ParamsQuery["mode"] = "1";
|
|
774
|
+ ParamsQuery['patient'] = this.patient.id
|
|
775
|
+ ParamsQuery['record_date'] = this.record_date
|
|
776
|
+ ParamsQuery['mode'] = '1'
|
735
|
777
|
if (this.assessment_after_dislysis.creater > 0) {
|
736
|
|
- ParamsQuery["mode"] = "2";
|
|
778
|
+ ParamsQuery['mode'] = '2'
|
737
|
779
|
if (
|
738
|
780
|
this.assessment_after_dislysis.creater !=
|
739
|
781
|
this.$store.getters.xt_user.user.id
|
740
|
782
|
) {
|
741
|
|
- ParamsQuery["mode"] = "3";
|
|
783
|
+ ParamsQuery['mode'] = '3'
|
742
|
784
|
}
|
743
|
785
|
}
|
744
|
786
|
|
745
|
|
- const data = {};
|
746
|
|
- data["weight_after"] = this.form.weight_after
|
|
787
|
+ const data = {}
|
|
788
|
+ data['weight_after'] = this.form.weight_after
|
747
|
789
|
? parseFloat(this.form.weight_after)
|
748
|
|
- : 0;
|
749
|
|
- data["weight_loss"] = this.form.weight_loss
|
|
790
|
+ : 0
|
|
791
|
+ data['weight_loss'] = this.form.weight_loss
|
750
|
792
|
? parseFloat(this.form.weight_loss)
|
751
|
|
- : 0;
|
752
|
|
- data["temperature"] = this.form.temperature
|
|
793
|
+ : 0
|
|
794
|
+ data['temperature'] = this.form.temperature
|
753
|
795
|
? parseFloat(this.form.temperature)
|
754
|
|
- : 0;
|
755
|
|
- data["breathing_rate"] = this.form.temperature
|
|
796
|
+ : 0
|
|
797
|
+ data['breathing_rate'] = this.form.temperature
|
756
|
798
|
? parseFloat(this.form.breathing_rate)
|
757
|
|
- : 0;
|
758
|
|
- data["systolic_blood_pressure"] = this.form.systolic_blood_pressure
|
|
799
|
+ : 0
|
|
800
|
+ data['systolic_blood_pressure'] = this.form.systolic_blood_pressure
|
759
|
801
|
? parseFloat(this.form.systolic_blood_pressure)
|
760
|
|
- : 0;
|
761
|
|
- data["diastolic_blood_pressure"] = this.form.diastolic_blood_pressure
|
|
802
|
+ : 0
|
|
803
|
+ data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure
|
762
|
804
|
? parseFloat(this.form.diastolic_blood_pressure)
|
763
|
|
- : 0;
|
764
|
|
- data["pulse_frequency"] = this.form.pulse_frequency
|
|
805
|
+ : 0
|
|
806
|
+ data['pulse_frequency'] = this.form.pulse_frequency
|
765
|
807
|
? parseFloat(this.form.pulse_frequency)
|
766
|
|
- : 0;
|
767
|
|
- data["actual_ultrafiltration"] = this.form.actual_ultrafiltration
|
|
808
|
+ : 0
|
|
809
|
+ data['actual_ultrafiltration'] = this.form.actual_ultrafiltration
|
768
|
810
|
? parseFloat(this.form.actual_ultrafiltration)
|
769
|
|
- : 0;
|
770
|
|
- data["actual_displacement"] = this.form.actual_displacement
|
|
811
|
+ : 0
|
|
812
|
+ data['actual_displacement'] = this.form.actual_displacement
|
771
|
813
|
? parseFloat(this.form.actual_displacement)
|
772
|
|
- : 0;
|
773
|
|
- data["actual_treatment_hour"] = this.form.actual_treatment_hour
|
|
814
|
+ : 0
|
|
815
|
+ data['actual_treatment_hour'] = this.form.actual_treatment_hour
|
774
|
816
|
? parseFloat(this.form.actual_treatment_hour)
|
775
|
|
- : 0;
|
776
|
|
- data["actual_treatment_minute"] = this.form.actual_treatment_minute
|
|
817
|
+ : 0
|
|
818
|
+ data['actual_treatment_minute'] = this.form.actual_treatment_minute
|
777
|
819
|
? parseFloat(this.form.actual_treatment_minute)
|
778
|
|
- : 0;
|
779
|
|
- data["cruor"] = this.form.cruor;
|
780
|
|
- data["symptom_after_dialysis"] = this.form.symptom_after_dialysis;
|
781
|
|
- data["dialysis_intakes"] = this.form.dialysis_intakes
|
|
820
|
+ : 0
|
|
821
|
+ data['cruor'] = this.form.cruor
|
|
822
|
+ data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
|
|
823
|
+ data['dialysis_intakes'] = this.form.dialysis_intakes
|
782
|
824
|
? parseFloat(this.form.dialysis_intakes)
|
783
|
|
- : 0;
|
784
|
|
- data["internal_fistula"] = this.form.internal_fistula;
|
785
|
|
- data["blood_access_part_id"] = this.form.blood_access_part_id
|
|
825
|
+ : 0
|
|
826
|
+ data['internal_fistula'] = this.form.internal_fistula
|
|
827
|
+ data['blood_access_part_id'] = this.form.blood_access_part_id
|
786
|
828
|
? parseFloat(this.form.blood_access_part_id)
|
787
|
|
- : 0;
|
788
|
|
- data["blood_access_part_opera_id"] = this.form.blood_access_part_opera_id
|
|
829
|
+ : 0
|
|
830
|
+ data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id
|
789
|
831
|
? parseFloat(this.form.blood_access_part_opera_id)
|
790
|
|
- : 0;
|
791
|
|
- data["catheter"] = this.form.catheter;
|
792
|
|
- data["complication"] = this.form.complication;
|
793
|
|
- data["puncture_point_oozing_blood"] = this.form
|
|
832
|
+ : 0
|
|
833
|
+ data['catheter'] = this.form.catheter
|
|
834
|
+ data['complication'] = this.form.complication
|
|
835
|
+ data['puncture_point_oozing_blood'] = this.form
|
794
|
836
|
.puncture_point_oozing_blood
|
795
|
837
|
? parseFloat(this.form.puncture_point_oozing_blood)
|
796
|
|
- : 0;
|
797
|
|
- data["puncture_point_haematoma"] = this.form.puncture_point_haematoma
|
|
838
|
+ : 0
|
|
839
|
+ data['puncture_point_haematoma'] = this.form.puncture_point_haematoma
|
798
|
840
|
? parseFloat(this.form.puncture_point_haematoma)
|
799
|
|
- : 0;
|
800
|
|
- data["internal_fistula_tremor_ac"] = this.form.internal_fistula_tremor_ac
|
|
841
|
+ : 0
|
|
842
|
+ data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac
|
801
|
843
|
? parseFloat(this.form.internal_fistula_tremor_ac)
|
802
|
|
- : 0;
|
803
|
|
- data["patient_gose"] = this.form.patient_gose
|
|
844
|
+ : 0
|
|
845
|
+ data['patient_gose'] = this.form.patient_gose
|
804
|
846
|
? parseFloat(this.form.patient_gose)
|
805
|
|
- : 0;
|
806
|
|
- data["inpatient_department"] = this.form.inpatient_department;
|
807
|
|
- data["observation_content"] = this.form.observation_content;
|
808
|
|
- data["observation_content_other"] = this.form.observation_content_other;
|
809
|
|
- data["remark"] = this.form.remark;
|
810
|
|
- data["dialysis_order_id"] = this.form.dialysis_order_id
|
|
847
|
+ : 0
|
|
848
|
+ data['inpatient_department'] = this.form.inpatient_department
|
|
849
|
+ data['observation_content'] = this.form.observation_content
|
|
850
|
+ data['observation_content_other'] = this.form.observation_content_other
|
|
851
|
+ data['remark'] = this.form.remark
|
|
852
|
+ data['dialysis_order_id'] = this.form.dialysis_order_id
|
811
|
853
|
? parseFloat(this.form.dialysis_order_id)
|
812
|
|
- : 0;
|
813
|
|
- data["dialysis_process"] = this.form.dialysis_process
|
|
854
|
+ : 0
|
|
855
|
+ data['dialysis_process'] = this.form.dialysis_process
|
814
|
856
|
? parseFloat(this.form.dialysis_process)
|
815
|
|
- : 0;
|
816
|
|
- data["in_advance_minute"] = this.form.in_advance_minute
|
|
857
|
+ : 0
|
|
858
|
+ data['in_advance_minute'] = this.form.in_advance_minute
|
817
|
859
|
? parseFloat(this.form.in_advance_minute)
|
818
|
|
- : 0;
|
819
|
|
- data["in_advance_reason_other"] = this.form.in_advance_reason_other;
|
820
|
|
- data["in_advance_reason"] = this.form.in_advance_reason;
|
821
|
|
- data["hemostasis_minute"] = this.form.hemostasis_minute
|
|
860
|
+ : 0
|
|
861
|
+ data['in_advance_reason_other'] = this.form.in_advance_reason_other
|
|
862
|
+ data['in_advance_reason'] = this.form.in_advance_reason
|
|
863
|
+ data['hemostasis_minute'] = this.form.hemostasis_minute
|
822
|
864
|
? parseFloat(this.form.hemostasis_minute)
|
823
|
|
- : 0;
|
824
|
|
- data["hemostasis_opera"] = this.form.hemostasis_opera
|
|
865
|
+ : 0
|
|
866
|
+ data['hemostasis_opera'] = this.form.hemostasis_opera
|
825
|
867
|
? parseFloat(this.form.hemostasis_opera)
|
826
|
|
- : 0;
|
827
|
|
- data["tremor_noise"] = this.form.tremor_noise
|
|
868
|
+ : 0
|
|
869
|
+ data['tremor_noise'] = this.form.tremor_noise
|
828
|
870
|
? parseFloat(this.form.tremor_noise)
|
829
|
|
- : 0;
|
830
|
|
- data["disequilibrium_syndrome"] = this.form.disequilibrium_syndrome
|
|
871
|
+ : 0
|
|
872
|
+ data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome
|
831
|
873
|
? parseFloat(this.form.disequilibrium_syndrome)
|
832
|
|
- : 0;
|
|
874
|
+ : 0
|
833
|
875
|
data[
|
834
|
|
- "disequilibrium_syndrome_option"
|
835
|
|
- ] = this.form.disequilibrium_syndrome_option;
|
836
|
|
- data["arterial_tube"] = this.form.arterial_tube
|
|
876
|
+ 'disequilibrium_syndrome_option'
|
|
877
|
+ ] = this.form.disequilibrium_syndrome_option
|
|
878
|
+ data['arterial_tube'] = this.form.arterial_tube
|
837
|
879
|
? parseFloat(this.form.arterial_tube)
|
838
|
|
- : 0;
|
839
|
|
- data["intravenous_tube"] = this.form.intravenous_tube
|
|
880
|
+ : 0
|
|
881
|
+ data['intravenous_tube'] = this.form.intravenous_tube
|
840
|
882
|
? parseFloat(this.form.intravenous_tube)
|
841
|
|
- : 0;
|
842
|
|
- data["dialysis_intakes_unit"] = this.form.dialysis_intakes_unit;
|
|
883
|
+ : 0
|
|
884
|
+ data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
|
843
|
885
|
|
844
|
|
- data["dialyzer"] = this.form.dialyzer
|
|
886
|
+ data['dialyzer'] = this.form.dialyzer
|
845
|
887
|
? parseFloat(this.form.dialyzer)
|
846
|
|
- : 0;
|
847
|
|
-
|
848
|
|
- data["is_eat"] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0;
|
849
|
|
- data["cvc_a"] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0;
|
850
|
|
- data["cvc_v"] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0;
|
851
|
|
- console.log("data", data);
|
|
888
|
+ : 0
|
|
889
|
+
|
|
890
|
+ data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
|
|
891
|
+ data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
|
|
892
|
+ data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
|
|
893
|
+ data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
|
|
894
|
+ data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
|
|
895
|
+ data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
|
|
896
|
+ data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
|
|
897
|
+ console.log('data', data)
|
852
|
898
|
postAssessmentAfterDislysis(ParamsQuery, data)
|
853
|
899
|
.then(response => {
|
854
|
|
- this.loading = false;
|
|
900
|
+ this.loading = false
|
855
|
901
|
if (response.data.state == 0) {
|
856
|
|
- this.$message.error(response.data.msg);
|
857
|
|
- return false;
|
|
902
|
+ this.$message.error(response.data.msg)
|
|
903
|
+ return false
|
858
|
904
|
} else {
|
859
|
905
|
this.$notify({
|
860
|
|
- title: "成功",
|
861
|
|
- message: "提交成功",
|
862
|
|
- type: "success",
|
|
906
|
+ title: '成功',
|
|
907
|
+ message: '提交成功',
|
|
908
|
+ type: 'success',
|
863
|
909
|
duration: 2000
|
864
|
|
- });
|
|
910
|
+ })
|
865
|
911
|
|
866
|
|
- var assement = response.data.data.AssessmentAfterDislysis;
|
|
912
|
+ var assement = response.data.data.AssessmentAfterDislysis
|
867
|
913
|
|
868
|
|
- var assessment_after_dislysis = this.assessment_after_dislysis;
|
|
914
|
+ var assessment_after_dislysis = this.assessment_after_dislysis
|
869
|
915
|
|
870
|
916
|
for (var index in assement) {
|
871
|
917
|
// assessment_after_dislysis[index] = assement[index];
|
872
|
|
- this.$set(assessment_after_dislysis, index, assement[index]);
|
|
918
|
+ this.$set(assessment_after_dislysis, index, assement[index])
|
873
|
919
|
}
|
874
|
|
- this.hide();
|
|
920
|
+ this.hide()
|
875
|
921
|
}
|
876
|
922
|
})
|
877
|
923
|
.catch(v => {
|
878
|
|
- this.loading = false;
|
879
|
|
- });
|
|
924
|
+ this.loading = false
|
|
925
|
+ })
|
880
|
926
|
},
|
881
|
927
|
showDialog: function(val) {
|
882
|
|
- this.InnerDialogProps.visibility = true;
|
|
928
|
+ this.InnerDialogProps.visibility = true
|
883
|
929
|
switch (val) {
|
884
|
|
- case "1":
|
885
|
|
- this.InnerDialogProps.values = this.cruorOptions;
|
886
|
|
- this.InnerDialogProps.titles = "凝血";
|
887
|
|
- this.InnerDialogProps.type = "cruor";
|
888
|
|
- this.InnerDialogProps.selected = this.form.cruor;
|
889
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
890
|
|
- break;
|
891
|
|
- case "2":
|
892
|
|
- this.InnerDialogProps.values = this.symptomsOptions;
|
893
|
|
- this.InnerDialogProps.titles = "透后症状";
|
894
|
|
- this.InnerDialogProps.type = "symptom_after_dialysis";
|
895
|
|
- this.InnerDialogProps.selected = this.form.symptom_after_dialysis;
|
896
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
897
|
|
- break;
|
898
|
|
- case "3":
|
899
|
|
- this.InnerDialogProps.values = this.internalFistulaOptions;
|
900
|
|
- this.InnerDialogProps.titles = "内瘘";
|
901
|
|
- this.InnerDialogProps.type = "internal_fistula";
|
902
|
|
- this.InnerDialogProps.selected = this.form.internal_fistula;
|
903
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
904
|
|
- break;
|
905
|
|
- case "4":
|
906
|
|
- this.InnerDialogProps.values = this.catheterOptions;
|
907
|
|
- this.InnerDialogProps.titles = "导管";
|
908
|
|
- this.InnerDialogProps.type = "catheter";
|
909
|
|
- this.InnerDialogProps.selected = this.form.catheter;
|
910
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
911
|
|
- break;
|
912
|
|
- case "5":
|
913
|
|
- this.InnerDialogProps.values = this.complicationOptions;
|
914
|
|
- this.InnerDialogProps.titles = "并发症";
|
915
|
|
- this.InnerDialogProps.type = "complication";
|
916
|
|
- this.InnerDialogProps.selected = this.form.complication;
|
917
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
918
|
|
- break;
|
919
|
|
- case "6":
|
920
|
|
- this.InnerDialogProps.values = this.observationContentOptions;
|
921
|
|
- this.InnerDialogProps.titles = "交待病房护士/患者/陪人观察内容";
|
922
|
|
- this.InnerDialogProps.type = "observation_content";
|
923
|
|
- this.InnerDialogProps.selected = this.form.observation_content;
|
924
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
925
|
|
- break;
|
926
|
|
- case "7":
|
927
|
|
- this.InnerDialogProps.values = this.$store.getters.in_advance_reason;
|
928
|
|
- this.InnerDialogProps.titles = "透析过程提前原因";
|
929
|
|
- this.InnerDialogProps.type = "in_advance_reason";
|
930
|
|
- this.InnerDialogProps.selected = this.form.in_advance_reason;
|
931
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
932
|
|
- break;
|
933
|
|
-
|
934
|
|
- case "8":
|
935
|
|
- this.InnerDialogProps.values = this.$store.getters.disequilibrium_syndrome_option;
|
936
|
|
- this.InnerDialogProps.titles = "失衡综合症症状";
|
937
|
|
- this.InnerDialogProps.type = "disequilibrium_syndrome_option";
|
938
|
|
- this.InnerDialogProps.selected = this.form.disequilibrium_syndrome_option;
|
939
|
|
- this.InnerDialogProps.isShowTextArea = false;
|
940
|
|
- break;
|
|
930
|
+ case '1':
|
|
931
|
+ this.InnerDialogProps.values = this.cruorOptions
|
|
932
|
+ this.InnerDialogProps.titles = '凝血'
|
|
933
|
+ this.InnerDialogProps.type = 'cruor'
|
|
934
|
+ this.InnerDialogProps.selected = this.form.cruor
|
|
935
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
936
|
+ break
|
|
937
|
+ case '2':
|
|
938
|
+ this.InnerDialogProps.values = this.symptomsOptions
|
|
939
|
+ this.InnerDialogProps.titles = '透后症状'
|
|
940
|
+ this.InnerDialogProps.type = 'symptom_after_dialysis'
|
|
941
|
+ this.InnerDialogProps.selected = this.form.symptom_after_dialysis
|
|
942
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
943
|
+ break
|
|
944
|
+ case '3':
|
|
945
|
+ this.InnerDialogProps.values = this.internalFistulaOptions
|
|
946
|
+ this.InnerDialogProps.titles = '内瘘'
|
|
947
|
+ this.InnerDialogProps.type = 'internal_fistula'
|
|
948
|
+ this.InnerDialogProps.selected = this.form.internal_fistula
|
|
949
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
950
|
+ break
|
|
951
|
+ case '4':
|
|
952
|
+ this.InnerDialogProps.values = this.catheterOptions
|
|
953
|
+ this.InnerDialogProps.titles = '导管'
|
|
954
|
+ this.InnerDialogProps.type = 'catheter'
|
|
955
|
+ this.InnerDialogProps.selected = this.form.catheter
|
|
956
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
957
|
+ break
|
|
958
|
+ case '5':
|
|
959
|
+ this.InnerDialogProps.values = this.complicationOptions
|
|
960
|
+ this.InnerDialogProps.titles = '并发症'
|
|
961
|
+ this.InnerDialogProps.type = 'complication'
|
|
962
|
+ this.InnerDialogProps.selected = this.form.complication
|
|
963
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
964
|
+ break
|
|
965
|
+ case '6':
|
|
966
|
+ this.InnerDialogProps.values = this.observationContentOptions
|
|
967
|
+ this.InnerDialogProps.titles = '交待病房护士/患者/陪人观察内容'
|
|
968
|
+ this.InnerDialogProps.type = 'observation_content'
|
|
969
|
+ this.InnerDialogProps.selected = this.form.observation_content
|
|
970
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
971
|
+ break
|
|
972
|
+ case '7':
|
|
973
|
+ this.InnerDialogProps.values = this.$store.getters.in_advance_reason
|
|
974
|
+ this.InnerDialogProps.titles = '透析过程提前原因'
|
|
975
|
+ this.InnerDialogProps.type = 'in_advance_reason'
|
|
976
|
+ this.InnerDialogProps.selected = this.form.in_advance_reason
|
|
977
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
978
|
+ break
|
|
979
|
+
|
|
980
|
+ case '8':
|
|
981
|
+ this.InnerDialogProps.values = this.$store.getters.disequilibrium_syndrome_option
|
|
982
|
+ this.InnerDialogProps.titles = '失衡综合症症状'
|
|
983
|
+ this.InnerDialogProps.type = 'disequilibrium_syndrome_option'
|
|
984
|
+ this.InnerDialogProps.selected = this.form.disequilibrium_syndrome_option
|
|
985
|
+ this.InnerDialogProps.isShowTextArea = false
|
|
986
|
+ break
|
941
|
987
|
}
|
942
|
988
|
},
|
943
|
989
|
selectActualTreatmentHour(val) {
|
944
|
|
- var valTime = val.split(":");
|
945
|
|
- this.form.actual_treatment_hour = valTime[0];
|
946
|
|
- this.form.actual_treatment_minute = valTime[1];
|
|
990
|
+ var valTime = val.split(':')
|
|
991
|
+ this.form.actual_treatment_hour = valTime[0]
|
|
992
|
+ this.form.actual_treatment_minute = valTime[1]
|
947
|
993
|
},
|
948
|
994
|
DialogComfirm: function(val) {
|
949
|
|
- this.InnerDialogProps.visibility = false;
|
|
995
|
+ this.InnerDialogProps.visibility = false
|
950
|
996
|
switch (val.type) {
|
951
|
|
- case "cruor":
|
952
|
|
- this.form.cruor = val.value.join(",");
|
953
|
|
- break;
|
954
|
|
- case "symptom_after_dialysis":
|
955
|
|
- this.form.symptom_after_dialysis = val.value.join(",");
|
956
|
|
- break;
|
957
|
|
- case "internal_fistula":
|
958
|
|
- this.form.internal_fistula = val.value.join(",");
|
959
|
|
- break;
|
960
|
|
- case "catheter":
|
961
|
|
- this.form.catheter = val.value.join(",");
|
962
|
|
- break;
|
963
|
|
- case "complication":
|
964
|
|
- this.form.complication = val.value.join(",");
|
965
|
|
- break;
|
966
|
|
- case "observation_content":
|
967
|
|
- this.form.observation_content = val.value.join(",");
|
968
|
|
- break;
|
969
|
|
- case "in_advance_reason":
|
970
|
|
- this.form.in_advance_reason = val.value.join(",");
|
971
|
|
- break;
|
972
|
|
- case "disequilibrium_syndrome_option":
|
973
|
|
- this.form.disequilibrium_syndrome_option = val.value.join(",");
|
974
|
|
- break;
|
|
997
|
+ case 'cruor':
|
|
998
|
+ this.form.cruor = val.value.join(',')
|
|
999
|
+ break
|
|
1000
|
+ case 'symptom_after_dialysis':
|
|
1001
|
+ this.form.symptom_after_dialysis = val.value.join(',')
|
|
1002
|
+ break
|
|
1003
|
+ case 'internal_fistula':
|
|
1004
|
+ this.form.internal_fistula = val.value.join(',')
|
|
1005
|
+ break
|
|
1006
|
+ case 'catheter':
|
|
1007
|
+ this.form.catheter = val.value.join(',')
|
|
1008
|
+ break
|
|
1009
|
+ case 'complication':
|
|
1010
|
+ this.form.complication = val.value.join(',')
|
|
1011
|
+ break
|
|
1012
|
+ case 'observation_content':
|
|
1013
|
+ this.form.observation_content = val.value.join(',')
|
|
1014
|
+ break
|
|
1015
|
+ case 'in_advance_reason':
|
|
1016
|
+ this.form.in_advance_reason = val.value.join(',')
|
|
1017
|
+ break
|
|
1018
|
+ case 'disequilibrium_syndrome_option':
|
|
1019
|
+ this.form.disequilibrium_syndrome_option = val.value.join(',')
|
|
1020
|
+ break
|
975
|
1021
|
|
976
|
1022
|
default:
|
977
|
|
- break;
|
|
1023
|
+ break
|
978
|
1024
|
}
|
979
|
1025
|
// console.log(val);
|
980
|
1026
|
},
|
981
|
1027
|
DialogCancle: function(val) {
|
982
|
|
- this.InnerDialogProps.visibility = false;
|
|
1028
|
+ this.InnerDialogProps.visibility = false
|
983
|
1029
|
},
|
984
|
1030
|
|
985
|
|
- //数据开始
|
|
1031
|
+ // 数据开始
|
986
|
1032
|
show(predialysis) {
|
987
|
|
- this.isVisibility = true;
|
988
|
|
- this.predialysis = predialysis;
|
989
|
|
- this.form.observation_content = predialysis.observation_content;
|
990
|
|
- this.form.inpatient_department = predialysis.inpatient_department;
|
|
1033
|
+ this.isVisibility = true
|
|
1034
|
+ this.predialysis = predialysis
|
|
1035
|
+ this.form.observation_content = predialysis.observation_content
|
|
1036
|
+ this.form.inpatient_department = predialysis.inpatient_department
|
991
|
1037
|
this.form.observation_content_other =
|
992
|
|
- predialysis.observation_content_other;
|
|
1038
|
+ predialysis.observation_content_other
|
993
|
1039
|
// console.log("透后", predialysis);
|
994
|
1040
|
|
995
|
|
- this.getPermission();
|
|
1041
|
+ this.getPermission()
|
996
|
1042
|
},
|
997
|
1043
|
|
998
|
1044
|
hide() {
|
999
|
|
- this.isVisibility = false;
|
|
1045
|
+ this.isVisibility = false
|
1000
|
1046
|
},
|
1001
|
1047
|
isShow(name) {
|
1002
|
|
- var filedList = store.getters.xt_user.fileds;
|
|
1048
|
+ var filedList = store.getters.xt_user.fileds
|
1003
|
1049
|
|
1004
|
1050
|
for (let i = 0; i < filedList.length; i++) {
|
1005
|
1051
|
if (
|
|
@@ -1007,102 +1053,91 @@ export default {
|
1007
|
1053
|
filedList[i].filed_name_cn == name &&
|
1008
|
1054
|
filedList[i].is_show == 1
|
1009
|
1055
|
) {
|
1010
|
|
- return true;
|
|
1056
|
+ return true
|
1011
|
1057
|
}
|
1012
|
1058
|
}
|
1013
|
|
- return false;
|
|
1059
|
+ return false
|
1014
|
1060
|
},
|
1015
|
1061
|
setRecords(records) {
|
1016
|
1062
|
for (var index in records) {
|
1017
|
|
- this.$set(this.assessment_after_dislysis, index, records[index]);
|
|
1063
|
+ this.$set(this.assessment_after_dislysis, index, records[index])
|
1018
|
1064
|
}
|
1019
|
1065
|
this.actualTreatmentHourShow = new Date(
|
1020
|
1066
|
2018,
|
1021
|
1067
|
1,
|
1022
|
1068
|
1,
|
1023
|
|
- this.assessment_after_dislysis["actual_treatment_hour"],
|
1024
|
|
- this.assessment_after_dislysis["actual_treatment_minute"]
|
1025
|
|
- );
|
|
1069
|
+ this.assessment_after_dislysis['actual_treatment_hour'],
|
|
1070
|
+ this.assessment_after_dislysis['actual_treatment_minute']
|
|
1071
|
+ )
|
1026
|
1072
|
},
|
1027
|
1073
|
getPermission() {
|
1028
|
1074
|
request
|
1029
|
|
- .get("/api/func_per/get", {
|
|
1075
|
+ .get('/api/func_per/get', {
|
1030
|
1076
|
params: {
|
1031
|
|
- create_url: "/api/dialysis/assessmentafterdislysis?mode=1",
|
1032
|
|
- modify_url: "/api/dialysis/assessmentafterdislysis?mode=2",
|
1033
|
|
- modify_other_url: "/api/dialysis/assessmentafterdislysis?mode=3",
|
|
1077
|
+ create_url: '/api/dialysis/assessmentafterdislysis?mode=1',
|
|
1078
|
+ modify_url: '/api/dialysis/assessmentafterdislysis?mode=2',
|
|
1079
|
+ modify_other_url: '/api/dialysis/assessmentafterdislysis?mode=3',
|
1034
|
1080
|
module: 8
|
1035
|
1081
|
}
|
1036
|
1082
|
})
|
1037
|
1083
|
.then(res => {
|
1038
|
|
- console.log(res);
|
|
1084
|
+ console.log(res)
|
1039
|
1085
|
// console.log("透后", this.predialysis);
|
1040
|
1086
|
if (res.data.state == 0) {
|
1041
|
|
- this.hasPermission = false;
|
|
1087
|
+ this.hasPermission = false
|
1042
|
1088
|
} else if (res.data.state == 1) {
|
1043
|
|
- if (this.predialysis.id != "" && this.predialysis.creater != 0) {
|
1044
|
|
- //有数据
|
|
1089
|
+ if (this.predialysis.id != '' && this.predialysis.creater != 0) {
|
|
1090
|
+ // 有数据
|
1045
|
1091
|
if (
|
1046
|
1092
|
this.predialysis.creater == this.$store.getters.xt_user.user.id
|
1047
|
1093
|
) {
|
1048
|
|
- //创建人是自己
|
|
1094
|
+ // 创建人是自己
|
1049
|
1095
|
if (res.data.data.is_has_modify == false) {
|
1050
|
|
- this.hasPermission = false;
|
1051
|
|
- this.showTxt = "你没有修改透后评估权限";
|
|
1096
|
+ this.hasPermission = false
|
|
1097
|
+ this.showTxt = '你没有修改透后评估权限'
|
1052
|
1098
|
}
|
1053
|
1099
|
} else {
|
1054
|
|
- //创建人不是自己
|
|
1100
|
+ // 创建人不是自己
|
1055
|
1101
|
if (res.data.data.is_has_modify_other == false) {
|
1056
|
|
- this.hasPermission = false;
|
1057
|
|
- this.showTxt = "你没有修改他人透后评估权限";
|
|
1102
|
+ this.hasPermission = false
|
|
1103
|
+ this.showTxt = '你没有修改他人透后评估权限'
|
1058
|
1104
|
}
|
1059
|
1105
|
}
|
1060
|
1106
|
} else if (
|
1061
|
|
- this.predialysis.id == "" ||
|
|
1107
|
+ this.predialysis.id == '' ||
|
1062
|
1108
|
this.predialysis.creater == 0
|
1063
|
1109
|
) {
|
1064
|
1110
|
if (res.data.data.is_has_create == false) {
|
1065
|
|
- this.hasPermission = false;
|
1066
|
|
- this.showTxt = "你没有新增透后评估权限";
|
|
1111
|
+ this.hasPermission = false
|
|
1112
|
+ this.showTxt = '你没有新增透后评估权限'
|
1067
|
1113
|
}
|
1068
|
1114
|
}
|
1069
|
1115
|
}
|
1070
|
|
- });
|
|
1116
|
+ })
|
1071
|
1117
|
}
|
1072
|
1118
|
},
|
1073
|
1119
|
created() {
|
1074
|
1120
|
// console.log("this.form", this.form);
|
1075
|
|
- this.cruorOptions = getDataConfig("hemodialysis", "cruor");
|
1076
|
|
- this.symptomsOptions = getDataConfig("hemodialysis", "symptoms");
|
1077
|
|
- this.internalFistulaOptions = getDataConfig(
|
1078
|
|
- "hemodialysis",
|
1079
|
|
- "internal_fistula"
|
1080
|
|
- );
|
1081
|
|
- this.vascularAccessOptions = getDataConfig(
|
1082
|
|
- "hemodialysis",
|
1083
|
|
- "vascular_access"
|
1084
|
|
- );
|
1085
|
|
- this.vascularAccessDescOptions = getDataConfig(
|
1086
|
|
- "hemodialysis",
|
1087
|
|
- "vascular_access_desc"
|
1088
|
|
- );
|
1089
|
|
- this.catheterOptions = getDataConfig("hemodialysis", "catheter");
|
1090
|
|
- this.complicationOptions = getDataConfig("hemodialysis", "complication");
|
1091
|
|
- this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac;
|
1092
|
|
- this.patientGoseOptions = this.$store.getters.patient_gose;
|
1093
|
|
- this.observationContentOptions = this.$store.getters.observation_content;
|
1094
|
|
- console.log("----", this.$store.getters.observation_content);
|
1095
|
|
- this.template_id = this.$store.getters.xt_user.template_info.template_id;
|
1096
|
|
-
|
1097
|
|
- this.channels = this.$store.getters.channels;
|
1098
|
|
-
|
1099
|
|
- var date = this.$route.query && this.$route.query.date;
|
1100
|
|
- this.record_date = uParseTime(date, "{y}-{m}-{d}");
|
|
1121
|
+ this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
|
|
1122
|
+ this.symptomsOptions = getDataConfig('hemodialysis', 'symptoms')
|
|
1123
|
+ this.internalFistulaOptions = getDataConfig('hemodialysis', 'internal_fistula')
|
|
1124
|
+ this.vascularAccessOptions = getDataConfig('hemodialysis', 'vascular_access')
|
|
1125
|
+ this.vascularAccessDescOptions = getDataConfig('hemodialysis', 'vascular_access_desc')
|
|
1126
|
+ this.catheterOptions = getDataConfig('hemodialysis', 'catheter')
|
|
1127
|
+ this.complicationOptions = getDataConfig('hemodialysis', 'complication')
|
|
1128
|
+ this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
|
|
1129
|
+ this.patientGoseOptions = this.$store.getters.patient_gose
|
|
1130
|
+ this.observationContentOptions = this.$store.getters.observation_content
|
|
1131
|
+ console.log('----', this.$store.getters.observation_content)
|
|
1132
|
+ this.template_id = this.$store.getters.xt_user.template_info.template_id
|
|
1133
|
+ this.channels = this.$store.getters.channels
|
|
1134
|
+ var date = this.$route.query && this.$route.query.date
|
|
1135
|
+ this.record_date = uParseTime(date, '{y}-{m}-{d}')
|
1101
|
1136
|
},
|
1102
|
1137
|
components: {
|
1103
|
1138
|
MultiSelectBox
|
1104
|
1139
|
}
|
1105
|
|
-};
|
|
1140
|
+}
|
1106
|
1141
|
</script>
|
1107
|
1142
|
|
1108
|
1143
|
<style scoped>
|