소스 검색

需求和bug修改

XMLWAN 4 년 전
부모
커밋
1dad588fa3

+ 1 - 1
src/xt_pages/data/prescription.vue 파일 보기

@@ -688,7 +688,7 @@ export default {
688 688
         // },
689 689
         // {
690 690
         //   id: 17,
691
-        //   name: "HDF前置换", 
691
+        //   name: "HDF前置换",
692 692
         //   dialysis_duration: 1,
693 693
         //   replacement_way: 1,
694 694
         //   hemodialysis_machine: 2,

+ 10 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue 파일 보기

@@ -607,13 +607,13 @@
607 607
                             <label-box
608 608
                               showValue="好"
609 609
                               :isChecked="
610
-                                record.assessment_before_dislysis.catheter.indexOf('畅度-好') > -1 ? true : false
610
+                                record.assessment_before_dislysis.catheter.indexOf('畅度-好') > -1 ? true : false
611 611
                               "
612 612
                             ></label-box>
613 613
                             <label-box
614 614
                               showValue="差"
615 615
                               :isChecked="
616
-                                record.assessment_before_dislysis.catheter.indexOf('畅度-差') > -1 ? true : false
616
+                                record.assessment_before_dislysis.catheter.indexOf('畅度-差') > -1 ? true : false
617 617
                               "
618 618
                             ></label-box>
619 619
                             &nbsp;&nbsp;溶栓:
@@ -992,6 +992,14 @@
992 992
                     : false
993 993
                 "
994 994
                 showValue="腹痛"
995
+              ></label-box>
996
+                <label-box
997
+                :isChecked="
998
+                  record.assessment_after_dislysis.complication.indexOf('肌肉痉挛') > -1
999
+                    ? true
1000
+                    : false
1001
+                "
1002
+                showValue="肌肉痉挛"
995 1003
               ></label-box>
996 1004
               <label-box
997 1005
                 :isChecked="

+ 1 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 파일 보기

@@ -952,6 +952,7 @@
952 952
       this.hemorrhage = getDataConfig('hemodialysis', 'hemorrhage')
953 953
       this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
954 954
       this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
955
+      //console.log("血管通路部位",this.blood_access_part_opera)
955 956
       this.internal_fistula = getDataConfig('hemodialysis', 'internal_fistula')
956 957
       this.internal_fistula_skin = getDataConfig('hemodialysis', 'internal_fistula_skin')
957 958
       this.puncture_method = getDataConfig('hemodialysis', 'puncture_method')

+ 0 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

@@ -1602,7 +1602,6 @@ export default {
1602 1602
       //入口
1603 1603
       var pre = pre;
1604 1604
       console.log("pre是----", pre);
1605
-      console.log("pre-------------", pre.mode_id);
1606 1605
       if (pre.mode_id == 2 || pre.mode_id == 5 || pre.mode_id == 12) {
1607 1606
         this.zhiShow = true;
1608 1607
         this.huShow = true;

+ 18 - 0
src/xt_pages/dialysis/details/index.vue 파일 보기

@@ -540,9 +540,21 @@ export default {
540 540
           var patient = resp.data.patient; // 患者信息
541 541
           var schedual = resp.data.schedual; // 患者排班信息
542 542
           var prescription = resp.data.prescription; // 透析处方
543
+          if(prescription!=null){
544
+              if(prescription.body_fluid == -2 ){
545
+                 prescription.body_fluid = 0
546
+             }
547
+          }
548
+          console.log("透析处方",prescription)
543 549
           var solution = resp.data.solution; // 透析方案
544 550
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
545 551
           var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估
552
+          console.log("透前评估",predialysis_evaluation)
553
+           if(predialysis_evaluation !=null){
554
+             if(predialysis_evaluation.blood_access_part_id == -2){
555
+                predialysis_evaluation.blood_access_part_id = 0
556
+             }
557
+           }
546 558
           var doctor_advices = resp.data.doctor_advices; // 临时医嘱
547 559
           //console.log("力气-------", doctor_advices);
548 560
           var double_check = resp.data.double_check; // 双人核对
@@ -567,6 +579,12 @@ export default {
567 579
           var aliquid_info = resp.data.aliquid_info;
568 580
 
569 581
           var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation;
582
+          console.log("上次透前评估",lastPredialysisEvaluation)
583
+          if(lastPredialysisEvaluation !=null){
584
+             if(lastPredialysisEvaluation.blood_access_part_id == -2){
585
+               lastPredialysisEvaluation.blood_access_part_id = 0
586
+             }
587
+          }
570 588
           var lastMonitorRecord = resp.data.lastMonitorRecord;
571 589
           var lastAssessmentAfterDislysis =
572 590
             resp.data.lastAssessmentAfterDislysis;

+ 25 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue 파일 보기

@@ -499,13 +499,13 @@
499 499
             <label-box
500 500
               showValue="好"
501 501
               :isChecked="
502
-                predialysis.catheter.indexOf('畅度-好') > -1 ? true : false
502
+                predialysis.catheter.indexOf('畅度-好') > -1 ? true : false
503 503
               "
504 504
             ></label-box>
505 505
             <label-box
506 506
               showValue="差"
507 507
               :isChecked="
508
-                predialysis.catheter.indexOf('畅度-差') > -1 ? true : false
508
+                predialysis.catheter.indexOf('畅度-差') > -1 ? true : false
509 509
               "
510 510
             ></label-box>&nbsp;&nbsp;溶栓:
511 511
             <label-box
@@ -799,7 +799,7 @@
799 799
               ></label-box>&nbsp;&nbsp; 并发症:
800 800
               <label-box
801 801
                 :isChecked="
802
-                  afterdialysis.complications_index.indexOf('低血压') > -1
802
+                  afterdialysis.complication.indexOf('低血压') > -1
803 803
                     ? true
804 804
                     : false
805 805
                 "
@@ -807,7 +807,7 @@
807 807
               ></label-box>
808 808
               <label-box
809 809
                 :isChecked="
810
-                  afterdialysis.complications_index.indexOf('高血压') > -1
810
+                  afterdialysis.complication.indexOf('高血压') > -1
811 811
                     ? true
812 812
                     : false
813 813
                 "
@@ -815,7 +815,7 @@
815 815
               ></label-box>
816 816
               <label-box
817 817
                 :isChecked="
818
-                  afterdialysis.complications_index.indexOf('心律失常') > -1
818
+                  afterdialysis.complication.indexOf('心律失常') > -1
819 819
                     ? true
820 820
                     : false
821 821
                 "
@@ -823,7 +823,7 @@
823 823
               ></label-box>
824 824
               <label-box
825 825
                 :isChecked="
826
-                  afterdialysis.complications_index.indexOf('头晕') > -1
826
+                  afterdialysis.complication.indexOf('头晕') > -1
827 827
                     ? true
828 828
                     : false
829 829
                 "
@@ -831,7 +831,7 @@
831 831
               ></label-box>
832 832
               <label-box
833 833
                 :isChecked="
834
-                  afterdialysis.complications_index.indexOf('头痛') > -1
834
+                  afterdialysis.complication.indexOf('头痛') > -1
835 835
                     ? true
836 836
                     : false
837 837
                 "
@@ -839,7 +839,7 @@
839 839
               ></label-box>
840 840
               <label-box
841 841
                 :isChecked="
842
-                  afterdialysis.complications_index.indexOf('呕吐') > -1
842
+                  afterdialysis.complication.indexOf('呕吐') > -1
843 843
                     ? true
844 844
                     : false
845 845
                 "
@@ -847,7 +847,7 @@
847 847
               ></label-box>
848 848
               <label-box
849 849
                 :isChecked="
850
-                  afterdialysis.complications_index.indexOf('抽搐') > -1
850
+                  afterdialysis.complication.indexOf('抽搐') > -1
851 851
                     ? true
852 852
                     : false
853 853
                 "
@@ -855,7 +855,7 @@
855 855
               ></label-box>
856 856
               <label-box
857 857
                 :isChecked="
858
-                  afterdialysis.complications_index.indexOf('出血') > -1
858
+                  afterdialysis.complication.indexOf('出血') > -1
859 859
                     ? true
860 860
                     : false
861 861
                 "
@@ -863,7 +863,7 @@
863 863
               ></label-box>
864 864
               <label-box
865 865
                 :isChecked="
866
-                  afterdialysis.complications_index.indexOf('心衰') > -1
866
+                  afterdialysis.complication.indexOf('心衰') > -1
867 867
                     ? true
868 868
                     : false
869 869
                 "
@@ -871,12 +871,20 @@
871 871
               ></label-box>
872 872
               <label-box
873 873
                 :isChecked="
874
-                  afterdialysis.complications_index.indexOf('腹痛') > -1
874
+                  afterdialysis.complication.indexOf('腹痛') > -1
875 875
                     ? true
876 876
                     : false
877 877
                 "
878 878
                 showValue="腹痛"
879 879
               ></label-box>
880
+              <label-box
881
+                :isChecked="
882
+                  afterdialysis.complication.indexOf('肌肉痉挛') > -1
883
+                    ? true
884
+                    : false
885
+                "
886
+                showValue="肌肉痉挛"
887
+              ></label-box>
880 888
               <label-box
881 889
                 :isChecked="
882 890
                   afterdialysis.complications_index.indexOf('无') > -1
@@ -924,10 +932,10 @@
924 932
             </span>&nbsp;
925 933
             <span>
926 934
               透析器及管路凝血情况:
927
-              <label-box showValue="0级" :isChecked="afterdialysis.cruor.indexOf('透析器-0') > -1"></label-box>
928
-              <label-box showValue="1级" :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1"></label-box>
929
-              <label-box showValue="2级" :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1"></label-box>
930
-              <label-box showValue="3级" :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1"></label-box>
935
+              <label-box showValue="0级" :isChecked="afterdialysis.cruor.indexOf('透析器-0') > -1"></label-box>
936
+              <label-box showValue="1级" :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"></label-box>
937
+              <label-box showValue="2级" :isChecked="afterdialysis.cruor.indexOf('透析器-2级') > -1"></label-box>
938
+              <label-box showValue="3级" :isChecked="afterdialysis.cruor.indexOf('透析器-3级') > -1"></label-box>
931 939
             </span>
932 940
           </td>
933 941
         </tr>
@@ -1040,7 +1048,7 @@
1040 1048
               v-else
1041 1049
               style="display:flex;align-items:center;justify-content:space-around;height:36px;"
1042 1050
             >
1043
-              <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt srcset />
1051
+              <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt srcset />
1044 1052
             </span>
1045 1053
           </td>
1046 1054
         </tr>

+ 48 - 25
src/xt_pages/qcd/statisticalConfiguration.vue 파일 보기

@@ -28,59 +28,79 @@
28 28
       </div>
29 29
 
30 30
       <el-dialog title="新增" :visible.sync="newDialog">
31
-        <el-form :model="form">
31
+        <el-form :model="form" ref="form">
32 32
           <el-form-item label="检查大项" :label-width="formLabelWidth">
33
-            <el-select v-model="form.region" placeholder="请选择活动区域">
34
-              <el-option label="区域一" value="shanghai"></el-option>
35
-              <el-option label="区域二" value="beijing"></el-option>
33
+            <el-select v-model="form.inspectionMajor" placeholder="请选择活动区域">
34
+               <el-option
35
+                  v-for="patient in InspectionMajor"
36
+                  :key="patient.id"
37
+                  :value="patient.id"
38
+                  :label="patient.name"
39
+                  >
40
+               </el-option>
36 41
             </el-select>
37 42
           </el-form-item>
38 43
           <el-form-item label="检查小项" :label-width="formLabelWidth">
39
-            <el-select v-model="form.region" placeholder="请选择活动区域">
40
-              <el-option label="区域一" value="shanghai"></el-option>
41
-              <el-option label="区域二" value="beijing"></el-option>
44
+            <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
45
+                <el-option
46
+                  v-for="patient in InspectionMinor"
47
+                  :key="patient.id"
48
+                  :value="patient.id"
49
+                  :label="patient.name"
50
+                  >
51
+                </el-option>
42 52
             </el-select>
43 53
           </el-form-item>
44 54
           <el-form-item label="指控范围" :label-width="formLabelWidth">
45
-            <el-input style="width:200px" v-model="form.name"></el-input>&nbsp;
55
+            <el-input style="width:200px" v-model="form.min_range"></el-input>&nbsp;
46 56
             -
47
-            <el-input style="width:200px" v-model="form.name"></el-input>
57
+            <el-input style="width:200px" v-model="form.large_range"></el-input>
48 58
           </el-form-item>
49 59
           <el-form-item label="排序" :label-width="formLabelWidth">
50
-            <el-input style="width:200px" v-model="form.name"></el-input>
60
+            <el-input style="width:200px" v-model="form.sort"></el-input>
51 61
           </el-form-item>
52 62
         </el-form>
53 63
         <div slot="footer" class="dialog-footer">
54 64
           <el-button @click="newDialog = false">取 消</el-button>
55
-          <el-button type="primary" @click="newDialog = false">确 定</el-button>
65
+          <el-button type="primary" @click="newDialog = false">保存</el-button>
56 66
         </div>
57 67
       </el-dialog>
58 68
       <el-dialog title="编辑" :visible.sync="editDialog">
59 69
         <el-form :model="form">
60 70
           <el-form-item label="检查大项" :label-width="formLabelWidth">
61
-            <el-select v-model="form.region" placeholder="请选择活动区域">
62
-              <el-option label="区域一" value="shanghai"></el-option>
63
-              <el-option label="区域二" value="beijing"></el-option>
71
+            <el-select v-model="form.inspectionMajor" placeholder="请选择活动区域">
72
+              <el-option
73
+                  v-for="patient in InspectionMajor"
74
+                  :key="patient.id"
75
+                  :value="patient.id"
76
+                  :label="patient.name"
77
+                  >
78
+               </el-option>
64 79
             </el-select>
65 80
           </el-form-item>
66 81
           <el-form-item label="检查小项" :label-width="formLabelWidth">
67
-            <el-select v-model="form.region" placeholder="请选择活动区域">
68
-              <el-option label="区域一" value="shanghai"></el-option>
69
-              <el-option label="区域二" value="beijing"></el-option>
82
+            <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
83
+               <el-option
84
+                  v-for="patient in InspectionMinor"
85
+                  :key="patient.id"
86
+                  :value="patient.id"
87
+                  :label="patient.name"
88
+                  >
89
+                </el-option>
70 90
             </el-select>
71 91
           </el-form-item>
72 92
           <el-form-item label="指控范围" :label-width="formLabelWidth">
73
-            <el-input style="width:200px" v-model="form.name"></el-input>&nbsp;
93
+            <el-input style="width:200px" v-model="form.min_range"></el-input>&nbsp;
74 94
             -
75
-            <el-input style="width:200px" v-model="form.name"></el-input>
95
+            <el-input style="width:200px" v-model="form.large_range"></el-input>
76 96
           </el-form-item>
77 97
           <el-form-item label="排序" :label-width="formLabelWidth">
78
-            <el-input style="width:200px" v-model="form.name"></el-input>
98
+            <el-input style="width:200px" v-model="form.sort"></el-input>
79 99
           </el-form-item>
80 100
         </el-form>
81 101
         <div slot="footer" class="dialog-footer">
82 102
           <el-button @click="editDialog = false">取 消</el-button>
83
-          <el-button type="primary" @click="editDialog = false">确 定</el-button>
103
+          <el-button type="primary" @click="editDialog = false">保存</el-button>
84 104
         </div>
85 105
       </el-dialog>
86 106
     </div>
@@ -104,6 +124,8 @@ export default {
104 124
         { path: false, name: "质控达标统计配置" }
105 125
       ],
106 126
       tabActiveName: "control",
127
+      InspectionMajor:[],
128
+      InspectionMinor:[],
107 129
       tableData: [
108 130
         {
109 131
           date: "2016-05-02",
@@ -130,10 +152,11 @@ export default {
130 152
       editDialog: false,
131 153
       formLabelWidth: "120px",
132 154
       form: {
133
-        name: "",
134
-        region: "",
135
-        date1: "",
136
-        date2: "",
155
+        inspectionMajor: "",
156
+        inspectionMinor: "",
157
+        min_range: "",
158
+        large_range: "",
159
+        sort:"",
137 160
         delivery: false,
138 161
         type: [],
139 162
         resource: "",