Browse Source

新分支

28169 10 months ago
parent
commit
9e7bb3621c
25 changed files with 251 additions and 78 deletions
  1. 2 0
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue
  2. 1 1
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  3. 4 4
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  4. 3 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue
  5. 2 1
      src/xt_pages/hospitalStation/checkTemplate/printOne.vue
  6. 0 1
      src/xt_pages/hospitalStation/components/deskRecord.vue
  7. 2 2
      src/xt_pages/hospitalStation/doctorDesk.vue
  8. 12 6
      src/xt_pages/hospitalStation/recordPrint.vue
  9. 12 4
      src/xt_pages/hospitalStation/recordTemplate/printOne.vue
  10. 3 1
      src/xt_pages/hospitalStation/recordTemplate/printTwo.vue
  11. 2 1
      src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printTwo.vue
  12. 1 0
      src/xt_pages/outpatientDoctorStation/checkTemplate/checkPrintTwo.vue
  13. 1 0
      src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue
  14. 1 0
      src/xt_pages/outpatientDoctorStation/checkTemplate/printThree.vue
  15. 1 0
      src/xt_pages/outpatientDoctorStation/checkTemplate/printTwo.vue
  16. 1 0
      src/xt_pages/outpatientDoctorStation/checkTemplate/printfour.vue
  17. 0 1
      src/xt_pages/outpatientDoctorStation/components/deskRecord.vue
  18. 3 2
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue
  19. 21 9
      src/xt_pages/outpatientDoctorStation/recordPrint.vue
  20. 25 19
      src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue
  21. 29 22
      src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue
  22. 8 0
      src/xt_pages/outpatientDoctorStation/recordTemplate/printSix.vue
  23. 4 1
      src/xt_pages/outpatientDoctorStation/recordTemplate/printThree.vue
  24. 5 1
      src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue
  25. 108 2
      src/xt_pages/workforce/components/tableData.vue

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

@@ -812,6 +812,7 @@
812 812
                               ? record.prescription.dialysis_dialyszers
813 813
                               : "/"
814 814
                           }}
815
+                          {{record.dialysis_order.dialysis_dialyszers}}
815 816
                         </div>
816 817
                       </div>
817 818
                       <div class="inline_block" style="flex: 1">
@@ -826,6 +827,7 @@
826 827
                               ? record.prescription.dialysis_irrigation
827 828
                               : "/"
828 829
                           }}
830
+                          {{record.dialysis_order.dialysis_irrigation}}
829 831
                         </div>
830 832
                       </div>
831 833
 

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

@@ -3138,7 +3138,7 @@ mu
3138 3138
             //   }
3139 3139
 
3140 3140
             // }
3141
-            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10){
3141
+            if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12 && this.dialysisPrescription.mode_id!=10 && this.dialysisPrescription.mode_id!=34 && this.dialysisPrescription.mode_id!=35  && this.dialysisPrescription.mode_id!=36){
3142 3142
               this.dialysisPrescription.displace_liqui_part = 0
3143 3143
               this.dialysisPrescription.displace_liqui_value = 0
3144 3144
               this.dialysisPrescription.replacement_total = 0

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

@@ -82,7 +82,7 @@
82 82
           <div class="inline_block" v-if="org_id!=10624">
83 83
             病区:
84 84
             <div class="under_line" style="width: 50px; text-align: center">
85
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567 || org_id ==10206 || org_id ==10644 || org_id ==0" >{{
85
+              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567 || org_id ==10206 || org_id ==10644 || org_id ==0 || org_id ==10633" >{{
86 86
                 patientInfo.DialysisSchedule.device_zone.name
87 87
                   ? patientInfo.DialysisSchedule.device_zone.name
88 88
                   : ""
@@ -93,7 +93,7 @@
93 93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94 94
             床号:
95 95
             <div class="under_line" style="width: 50px; text-align: center">
96
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567 || org_id ==10206 || org_id ==10644 || org_id ==0">{{
96
+              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567 || org_id ==10206 || org_id ==10644 || org_id ==0 || org_id ==10633">{{
97 97
                 dialysisOrder &&
98 98
                 dialysisOrder.DeviceNumber &&
99 99
                 dialysisOrder.DeviceNumber.number.length > 0
@@ -2349,7 +2349,7 @@
2349 2349
 
2350 2350
 
2351 2351
                       <tr
2352
-                      v-if="org_id == 0 || org_id ==10206 || org_id ==10489"
2352
+                      v-if="org_id == 0 || org_id ==10206 || org_id ==10489 || org_id ==10633 || org_id ==10644"
2353 2353
                       v-for="(advice, advice_index) in projectsOne"
2354 2354
                       :key="advice_index"
2355 2355
                     >
@@ -4722,7 +4722,7 @@ export default {
4722 4722
 
4723 4723
         
4724 4724
 
4725
-        if(this.org_id== 0 || this.org_id ==10206 || this.org_id ==10489){
4725
+        if(this.org_id== 0 || this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
4726 4726
           let projectsOne = [];
4727 4727
           response.data.data.projects.map((item) => {
4728 4728
               projectsOne.push(item);

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

@@ -806,6 +806,8 @@
806 806
                             ? prescription.dialysis_dialyszers
807 807
                             : ""
808 808
                         }}
809
+
810
+                        {{dialysisOrder.dialysis_dialyszers  }}
809 811
                       </div>
810 812
                       <!--  透析(滤)器合并取值 -->
811 813
                        <div v-if="org_id==10414"
@@ -832,6 +834,7 @@
832 834
                             ? prescription.dialysis_irrigation
833 835
                             : "/"
834 836
                         }}
837
+                         {{dialysisOrder.dialysis_irrigation  }}
835 838
                       </div>
836 839
                     </div>
837 840
 

+ 2 - 1
src/xt_pages/hospitalStation/checkTemplate/printOne.vue View File

@@ -85,7 +85,8 @@ export default {
85 85
    methods:{
86 86
     getPatientCaseHistory(){
87 87
         const params = {
88
-          patient_id:this.patient_id
88
+          patient_id:this.patient_id,
89
+          record_date:this.record_date,
89 90
         }
90 91
         getPatientCaseHistory(params).then(response=>{
91 92
             if(response.data.state == 1){

+ 0 - 1
src/xt_pages/hospitalStation/components/deskRecord.vue View File

@@ -239,7 +239,6 @@
239 239
           v-model="start_time"
240 240
           type="date"
241 241
           placeholder="选择日期"
242
-          :picker-options="pickerOptions0"
243 242
         >
244 243
         </el-date-picker>
245 244
       </el-form-item>

+ 2 - 2
src/xt_pages/hospitalStation/doctorDesk.vue View File

@@ -276,7 +276,7 @@
276 276
               width="600px"
277 277
               title="打印"
278 278
               :visible.sync="recordVisible">
279
-          <recordPrint :patientid="patientid" ref="recordPrint" :showBtn='true'></recordPrint>
279
+          <recordPrint :patientid="patientid" ref="recordPrint"  :showBtn='true'></recordPrint>
280 280
       </el-dialog>
281 281
 
282 282
   </div>
@@ -4018,7 +4018,7 @@ export default {
4018 4018
     } else if (index == 2) {
4019 4019
       this.recordVisible = true
4020 4020
       this.$nextTick(() => {
4021
-        this.$refs.recordPrint.show(this.patientid,this.org_id)
4021
+        this.$refs.recordPrint.show(this.patientid,this.org_id,this.record_date)
4022 4022
       })
4023 4023
       // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
4024 4024
     } else if (index == 3) {

+ 12 - 6
src/xt_pages/hospitalStation/recordPrint.vue View File

@@ -20,6 +20,7 @@
20 20
         :hispatient="hispatient"
21 21
         :history="history"
22 22
         :patientid="patientid"
23
+        :record_date="record_date"
23 24
       ></printOne>
24 25
       <printTwo
25 26
         v-if="org_id == 10217 || org_id == 0 ||org_id==9675||org_id==9671||org_id == 10164"
@@ -29,6 +30,7 @@
29 30
         :hispatient="hispatient"
30 31
         :history="history"
31 32
         :patientid="patientid"
33
+        :record_date="record_date"
32 34
       ></printTwo>
33 35
     </div>
34 36
   </div>
@@ -54,6 +56,7 @@ export default {
54 56
   },
55 57
   props:{
56 58
     patientid:Number,
59
+    record_date:String,
57 60
     showBtn:Boolean
58 61
   },
59 62
   data() {
@@ -71,16 +74,18 @@ export default {
71 74
       history:{},
72 75
       keyword:"",
73 76
       org_id:0,
77
+      record_date:"",
74 78
     };
75 79
   },
76 80
   methods: {
77 81
 
78
-    show(val, id) {
82
+    show(val, id,record_date) {
79 83
       this.org_id = id;
84
+      this.record_date = record_date
80 85
       if (id == 10217 || id == 9675 || id == 9671 || id == 0) {
81
-        this.$refs.printTwo.show(val);
86
+        this.$refs.printTwo.show(val,id,record_date);
82 87
       } else {
83
-        this.$refs.printOne.show(val);
88
+        this.$refs.printOne.show(val,id,record_date);
84 89
       }
85 90
     },
86 91
 
@@ -157,11 +162,12 @@ export default {
157 162
       },
158 163
 
159 164
     changePatient(val){
160
-
165
+        console.log("val23333333333333333333333")
161 166
         const params = {
162
-          patient_id:val.patient_id
167
+          patient_id:val.patient_id,
168
+          record_date:val.record_date,
163 169
         };
164
-        console.log("params",params);
170
+        console.log("带你病历params",params);
165 171
       getPatientCaseHistory(params).then(response=>{
166 172
          if(response.data.state == 1){
167 173
            var patient = response.data.data.patient;

+ 12 - 4
src/xt_pages/hospitalStation/recordTemplate/printOne.vue View File

@@ -107,7 +107,8 @@ export default {
107 107
     props:{
108 108
       patient:Object,
109 109
       hispatient:Object,
110
-      patientid:Number
110
+      patientid:Number,
111
+      record_date:String,
111 112
     //   history:Object,
112 113
     },
113 114
     data(){
@@ -116,10 +117,16 @@ export default {
116 117
             departmentList:[],
117 118
             orgname:'',
118 119
             history:{},
119
-            printDate:''
120
+            printDate:'',
121
+           
120 122
         }
121 123
     },
122 124
     methods:{
125
+     show(val,val2,val3) {
126
+        this.patientid = val;
127
+        this.getAllDoctorList();
128
+        this.getPatientCaseHistory();
129
+      },
123 130
       getProfession(id){
124 131
         var name = "";
125 132
         for(let i=0;i<this.educationOptions.length;i++){
@@ -153,9 +160,10 @@ export default {
153 160
       getPatientCaseHistory(){
154 161
 
155 162
         const params = {
156
-          patient_id:this.patientid
163
+          patient_id:this.patientid,
164
+          record_date:this.record_date,
157 165
         };
158
-      console.log("病历22222",params);
166
+      console.log("病历22222",params);
159 167
       getPatientCaseHistory(params).then(response=>{
160 168
          if(response.data.state == 1){
161 169
            var patient = response.data.data.patient;

+ 3 - 1
src/xt_pages/hospitalStation/recordTemplate/printTwo.vue View File

@@ -178,6 +178,7 @@ export default {
178 178
     patient: Object,
179 179
     hispatient: Object,
180 180
     patientid: Number,
181
+    record_date:String,
181 182
     //   history:Object,
182 183
   },
183 184
   data() {
@@ -210,7 +211,7 @@ export default {
210 211
         birth.substr(6, 2);
211 212
       return jsGetAge(births, "-");
212 213
     },
213
-    show(val) {
214
+    show(val,val1,val3) {
214 215
       this.patientid = val;
215 216
       this.getAllDoctorList();
216 217
       this.getPatientCaseHistory();
@@ -247,6 +248,7 @@ export default {
247 248
     getPatientCaseHistory() {
248 249
       const params = {
249 250
         patient_id: this.patientid,
251
+        record_date:this.record_date,
250 252
       };
251 253
       getPatientCaseHistory(params).then((response) => {
252 254
         if (response.data.state == 1) {

+ 2 - 1
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printTwo.vue View File

@@ -222,7 +222,8 @@ export default {
222 222
     },
223 223
     getPatientCaseHistory() {
224 224
       const params = {
225
-        patient_id: this.patient_id
225
+        patient_id: this.patient_id,
226
+        record_date:this.record_date,
226 227
       }
227 228
       getPatientCaseHistory(params).then((response) => {
228 229
         if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/checkPrintTwo.vue View File

@@ -170,6 +170,7 @@ export default {
170 170
     getPatientCaseHistory() {
171 171
       const params = {
172 172
         patient_id: this.patient_id,
173
+        record_date:this.record_date,
173 174
       };
174 175
       getPatientCaseHistory(params).then((response) => {
175 176
         if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue View File

@@ -235,6 +235,7 @@ export default {
235 235
     getPatientCaseHistory() {
236 236
       const params = {
237 237
         patient_id: this.patient_id,
238
+        record_date:this.record_date,
238 239
       };
239 240
       getPatientCaseHistory(params).then((response) => {
240 241
         if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printThree.vue View File

@@ -165,6 +165,7 @@ export default {
165 165
     getPatientCaseHistory() {
166 166
       const params = {
167 167
         patient_id: this.patient_id,
168
+        record_date:this.record_date,
168 169
       };
169 170
       getPatientCaseHistory(params).then((response) => {
170 171
         if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printTwo.vue View File

@@ -197,6 +197,7 @@ export default {
197 197
     getPatientCaseHistory() {
198 198
       const params = {
199 199
         patient_id: this.patient_id,
200
+        record_date:this.record_date,
200 201
       };
201 202
       getPatientCaseHistory(params).then((response) => {
202 203
         if (response.data.state == 1) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printfour.vue View File

@@ -187,6 +187,7 @@ export default {
187 187
     getPatientCaseHistory() {
188 188
       const params = {
189 189
         patient_id: this.patient_id,
190
+        record_date:this.record_date,
190 191
       };
191 192
       getPatientCaseHistory(params).then((response) => {
192 193
         if (response.data.state == 1) {

+ 0 - 1
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue View File

@@ -239,7 +239,6 @@
239 239
           v-model="start_time"
240 240
           type="date"
241 241
           placeholder="选择日期"
242
-          :picker-options="pickerOptions0"
243 242
         >
244 243
         </el-date-picker>
245 244
       </el-form-item>

+ 3 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -341,7 +341,7 @@
341 341
       width="600px"
342 342
       title="打印"
343 343
       :visible.sync="recordVisible">
344
-      <recordPrint :patientid="patientid" ref="recordPrint">
344
+      <recordPrint :patientid="patientid" ref="recordPrint" :record_date="record_date">
345 345
       </recordPrint>
346 346
     </el-dialog>
347 347
     <!-- 透析记录 打印上机单 -->
@@ -816,7 +816,8 @@ export default {
816 816
       } else if (index == 2) {
817 817
         this.recordVisible = true
818 818
         this.$nextTick(() => {
819
-          this.$refs.recordPrint.show(this.patientid, this.org_id)
819
+          console.log("haaaaaaaaaaaaaaaaaaaaaaa",this.record_date)
820
+          this.$refs.recordPrint.show(this.patientid, this.org_id,this.record_date)
820 821
         })
821 822
         // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
822 823
       } else if (index == 3) {

+ 21 - 9
src/xt_pages/outpatientDoctorStation/recordPrint.vue View File

@@ -27,6 +27,7 @@
27 27
         :hispatient="hispatient"
28 28
         :history="history"
29 29
         :patientid="patientid"
30
+        :recorddate="record_date"
30 31
       ></printOne>
31 32
       <!--   -->
32 33
       <printTwo
@@ -44,6 +45,8 @@
44 45
         :hispatient="hispatient"
45 46
         :history="history"
46 47
         :patientid="patientid"
48
+        :recorddate="record_date"
49
+
47 50
       ></printTwo>
48 51
       
49 52
       <printThree
@@ -54,6 +57,7 @@
54 57
         :hispatient="hispatient"
55 58
         :history="history"
56 59
         :patientid="patientid"
60
+        :recorddate="record_date"
57 61
       >
58 62
       <!-- || org_id == 0-->
59 63
       </printThree>
@@ -65,6 +69,7 @@
65 69
         :hispatient="hispatient"
66 70
         :history="history"
67 71
         :patientid="patientid"
72
+        :recorddate="record_date"
68 73
       >
69 74
       </printFour>
70 75
     </div>
@@ -94,6 +99,7 @@ export default {
94 99
   },
95 100
   props: {
96 101
     patientid: Number,
102
+    record_date:String,
97 103
   },
98 104
   data() {
99 105
     return {
@@ -110,22 +116,25 @@ export default {
110 116
       history: {},
111 117
       keyword: "",
112 118
       org_id: 0,
119
+      record_date:"",
120
+      recorddate:"",
113 121
     };
114 122
   },
115 123
 
116 124
   methods: {
117
-    show(val, id) {
125
+    show(val, id,record_date) {
126
+      console.log("record_Date----------",this.record_date)
118 127
       this.org_id = id;
119 128
       if (id == 10217 || id == 9675 || id == 9671|| id == 10188 ) {
120
-        this.$refs.printTwo.show(val);
129
+        this.$refs.printTwo.show(val,id,record_date);
121 130
       } else if (id == 10138 || id == 10278 || id == 10341 || id == 10342 || id == 0) {
122
-        this.$refs.printFour.show(val);
131
+        this.$refs.printFour.show(val,id,record_date);
123 132
       }
124 133
       else if (id == 10318 || id == 0) {
125 134
         // || id == 0
126
-        this.$refs.printThree.show(val);
135
+        this.$refs.printThree.show(val,id,record_date);
127 136
       } else {
128
-        this.$refs.printOne.show(val);
137
+        this.$refs.printOne.show(val,id,record_date);
129 138
       }
130 139
     },
131 140
     getAdminUser(id) {
@@ -267,10 +276,13 @@ export default {
267 276
     },
268 277
 
269 278
     changePatient(val) {
270
-      const params = {
271
-        patient_id: val.patient_id,
272
-      };
273
-      console.log("params", params);
279
+      console.log("val23333333333333333333333")
280
+        const params = {
281
+          patient_id:val.patient_id,
282
+          record_date:val.record_date,
283
+        };
284
+       console.log("带你病历params",params);
285
+     
274 286
       getPatientCaseHistory(params).then((response) => {
275 287
         if (response.data.state == 1) {
276 288
           var patient = response.data.data.patient;

+ 25 - 19
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue View File

@@ -116,7 +116,8 @@
116 116
         props:{
117 117
           patient:Object,
118 118
           hispatient:Object,
119
-          patientid:Number
119
+          patientid:Number,
120
+          recorddate:String,
120 121
         //   history:Object,
121 122
         },
122 123
         data(){
@@ -125,29 +126,32 @@
125 126
                 departmentList:[],
126 127
                 orgname:'',
127 128
                 history:{},
128
-                printDate:''
129
+                printDate:'',
129 130
             }
130 131
         },
131 132
         methods:{
132 133
           getAge(patient){
133
-            var thisLen = patient.id_card_no.length
134
-            var birth = ''
135
-            if (thisLen == 15) {
136
-              birth = '19' + patient.id_card_no.substr(6, 6)
137
-            } else {
138
-              birth = patient.id_card_no.substr(6, 8)
134
+            if(patient!=null){
135
+                var thisLen = patient.id_card_no.length
136
+                var birth = ''
137
+                if (thisLen == 15) {
138
+                birth = '19' + patient.id_card_no.substr(6, 6)
139
+                } else {
140
+                birth = patient.id_card_no.substr(6, 8)
141
+                }
142
+                var births =
143
+                birth.substr(0, 4) +
144
+                '-' +
145
+                birth.substr(4, 2) +
146
+                '-' +
147
+                birth.substr(6, 2)
148
+                return jsGetAge(births, '-')
139 149
             }
140
-            var births =
141
-              birth.substr(0, 4) +
142
-              '-' +
143
-              birth.substr(4, 2) +
144
-              '-' +
145
-              birth.substr(6, 2)
146
-            return jsGetAge(births, '-')
150
+           
147 151
     
148 152
           },
149
-          show(val){
150
-    
153
+          show(val,val2,val3){
154
+            console.log("val2333333333333333",val3)
151 155
             this.patientid = val
152 156
             this.getAllDoctorList()
153 157
             this.getPatientCaseHistory()
@@ -182,12 +186,14 @@
182 186
             }
183 187
             return name
184 188
           },
189
+          
185 190
           getPatientCaseHistory(){
186 191
     
187 192
             const params = {
188
-              patient_id:this.patientid
193
+              patient_id:this.patientid,
194
+              record_date:this.recorddate,
189 195
             }
190
-          console.log("病历22222",params)
196
+          console.log("病历222220000000000000000000000",params)
191 197
           getPatientCaseHistory(params).then(response=>{
192 198
              if(response.data.state == 1){
193 199
                var patient = response.data.data.patient

+ 29 - 22
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue View File

@@ -116,7 +116,8 @@ export default {
116 116
     props:{
117 117
       patient:Object,
118 118
       hispatient:Object,
119
-      patientid:Number
119
+      patientid:Number,
120
+      recorddate:String,
120 121
     //   history:Object,
121 122
     },
122 123
     data(){
@@ -130,29 +131,34 @@ export default {
130 131
         }
131 132
     },
132 133
     methods:{
133
-      getAge(patient){
134
-        var thisLen = patient.id_card_no.length
135
-        var birth = ''
136
-        if (thisLen == 15) {
137
-          birth = '19' + patient.id_card_no.substr(6, 6)
138
-        } else {
139
-          birth = patient.id_card_no.substr(6, 8)
140
-        }
141
-        var births =
142
-          birth.substr(0, 4) +
143
-          '-' +
144
-          birth.substr(4, 2) +
145
-          '-' +
146
-          birth.substr(6, 2)
147
-        return jsGetAge(births, '-')
148
-
149
-      },
150
-      show(val){
151
-
134
+       show(val,val2,val3){
135
+       
152 136
         this.patientid = val
153 137
         this.getAllDoctorList()
154 138
         this.getPatientCaseHistory()
139
+      },  
140
+      getAge(patient){
141
+        console.log("patient2333333333333333",)
142
+        if(patient!=null){
143
+            var thisLen = patient.id_card_no.length
144
+            var birth = ''
145
+            if (thisLen == 15) {
146
+            birth = '19' + patient.id_card_no.substr(6, 6)
147
+            } else {
148
+            birth = patient.id_card_no.substr(6, 8)
149
+            }
150
+            var births =
151
+            birth.substr(0, 4) +
152
+            '-' +
153
+            birth.substr(4, 2) +
154
+            '-' +
155
+            birth.substr(6, 2)
156
+            return jsGetAge(births, '-')
157
+        }
158
+      
159
+
155 160
       },
161
+     
156 162
       getProfession(id){
157 163
         var name = ""
158 164
         for(let i=0;i<this.educationOptions.length;i++){
@@ -186,9 +192,10 @@ export default {
186 192
       getPatientCaseHistory(){
187 193
 
188 194
         const params = {
189
-          patient_id:this.patientid
195
+          patient_id:this.patientid,
196
+          record_date:this.recorddate,
190 197
         }
191
-      console.log("病历22222",params)
198
+      console.log("病历22222",params)
192 199
       getPatientCaseHistory(params).then(response=>{
193 200
          if(response.data.state == 1){
194 201
            var patient = response.data.data.patient

+ 8 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printSix.vue View File

@@ -76,6 +76,7 @@ import {getInitData} from "@/api/his/his"
76 76
 export default {
77 77
     props:{
78 78
       patient_id:Number,
79
+      recorddate:String,
79 80
       record_date:String,
80 81
       prescription_id:Number,
81 82
       ids:String
@@ -96,6 +97,12 @@ export default {
96 97
       }
97 98
     },
98 99
    methods:{
100
+    show(val,val2,val3){
101
+       console.log("val3----------",val3)
102
+        this.patientid = val
103
+        this.getAllDoctorList()
104
+        this.getPatientCaseHistory()
105
+     },
99 106
      getAge(patient){
100 107
        var thisLen = patient.id_card_no.length
101 108
        var birth = ''
@@ -171,6 +178,7 @@ export default {
171 178
      getHisPatientDetail(){
172 179
           const params = {
173 180
               patient_id:this.patient_id
181
+
174 182
           }
175 183
        getHisPatientDetail(params).then(response=>{
176 184
           if(response.data.state == 1){

+ 4 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printThree.vue View File

@@ -302,6 +302,7 @@ export default {
302 302
     patient: Object,
303 303
     hispatient: Object,
304 304
     patientid: Number,
305
+    recorddate:String,
305 306
     //   history:Object,
306 307
   },
307 308
   components: {
@@ -372,7 +373,8 @@ export default {
372 373
         birth.substr(6, 2);
373 374
       return jsGetAge(births, "-");
374 375
     },
375
-    show(val) {
376
+    show(val,val2,val3) {
377
+      console.log("val3222222222222222",val3)
376 378
       this.patientid = val;
377 379
       this.getAllDoctorList();
378 380
       this.getPatientCaseHistory();
@@ -409,6 +411,7 @@ export default {
409 411
     getPatientCaseHistory() {
410 412
       const params = {
411 413
         patient_id: this.patientid,
414
+        record_date:this.recorddate,
412 415
       };
413 416
       getPatientCaseHistory(params).then((response) => {
414 417
         if (response.data.state == 1) {

+ 5 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue View File

@@ -178,6 +178,7 @@ export default {
178 178
     patient: Object,
179 179
     hispatient: Object,
180 180
     patientid: Number,
181
+    recorddate:String,
181 182
     //   history:Object,
182 183
   },
183 184
   data() {
@@ -189,6 +190,7 @@ export default {
189 190
       printDate: "",
190 191
       accessList: {},
191 192
       blood_access_part_opera: [],
193
+      patientid:0,
192 194
     };
193 195
   },
194 196
 
@@ -210,7 +212,8 @@ export default {
210 212
         birth.substr(6, 2);
211 213
       return jsGetAge(births, "-");
212 214
     },
213
-    show(val) {
215
+    show(val,val2,val3) {
216
+      console.log("val323333333333333",val3)
214 217
       this.patientid = val;
215 218
       this.getAllDoctorList();
216 219
       this.getPatientCaseHistory();
@@ -247,6 +250,7 @@ export default {
247 250
     getPatientCaseHistory() {
248 251
       const params = {
249 252
         patient_id: this.patientid,
253
+        record_date:this.recorddate,
250 254
       };
251 255
       getPatientCaseHistory(params).then((response) => {
252 256
         if (response.data.state == 1) {

+ 108 - 2
src/xt_pages/workforce/components/tableData.vue View File

@@ -211,7 +211,7 @@
211 211
           </el-table-column>
212 212
           <el-table-column label="透析模式" width="100">
213 213
             <template slot-scope="scope">
214
-              {{ scope.row.mode.name }}
214
+              {{getModeId(scope.row.mode_id )}}
215 215
             </template>
216 216
           </el-table-column>
217 217
           <el-table-column label="操作" align="center" width="300">
@@ -4147,7 +4147,113 @@ export default {
4147 4147
       console.log('event3',);
4148 4148
       this.weektypes=val
4149 4149
       this.$emit('event3', val)
4150
-    }
4150
+    },
4151
+    getModeId(val){
4152
+      var name =""
4153
+      if(val == 1){
4154
+        name ="HD"
4155
+      }
4156
+      if(val == 2){
4157
+        name ="HDF"
4158
+      }
4159
+      if(val == 3){
4160
+        name ="HD+HP"
4161
+      }
4162
+      if(val == 4){
4163
+        name ="HP"
4164
+      }
4165
+      if(val == 5){
4166
+        name ="HF"
4167
+      }
4168
+      if(val == 6){
4169
+        name ="SCUF"
4170
+      }
4171
+      if(val == 7){
4172
+        name ="IUF"
4173
+      }
4174
+      if(val == 8){
4175
+        name ="HFHD"
4176
+      }
4177
+      if(val == 9){
4178
+        name ="HFHD+HP"
4179
+      }
4180
+      if(val == 10){
4181
+        name ="PHF"
4182
+      }
4183
+      if(val == 11){
4184
+        name ="HFR"
4185
+      }
4186
+      if(val == 12){
4187
+        name ="HDF+HP"
4188
+      }
4189
+      if(val == 13){
4190
+        name ="CRRT"
4191
+      }
4192
+      if(val == 14){
4193
+        name ="腹水回输"
4194
+      }
4195
+      if(val == 19){
4196
+        name ="IUF+HD"
4197
+      }
4198
+      if(val == 20){
4199
+        name ="UF"
4200
+      }
4201
+      if(val == 21){
4202
+        name ="HD+"
4203
+      }
4204
+      if(val == 22){
4205
+        name ="血浆胆红素吸附+HDF"
4206
+      }
4207
+      if(val == 23){
4208
+        name ="血浆胆红素吸附"
4209
+      }
4210
+      if(val == 24){
4211
+        name ="I-HDF"
4212
+      }
4213
+      if(val == 25){
4214
+        name ="HD高通"
4215
+      }
4216
+      if(val == 26){
4217
+        name ="CVVH"
4218
+      }
4219
+      if(val == 27){
4220
+        name ="CVVHD"
4221
+      }
4222
+      if(val == 28){
4223
+        name ="CVVHDF"
4224
+      }
4225
+      if(val == 29){
4226
+        name ="PE"
4227
+      }
4228
+      if(val == 30){
4229
+        name ="血浆胆红素吸附+HP"
4230
+      }
4231
+      if(val == 31){
4232
+        name ="HPD"
4233
+      }
4234
+      if(val == 32){
4235
+        name ="HDP"
4236
+      }
4237
+      if(val == 33){
4238
+        name ="HDP"
4239
+      }
4240
+      if(val == 33){
4241
+        name ="HFD"
4242
+      }
4243
+      if(val == 34){
4244
+        name ="HDF100"
4245
+      }
4246
+      if(val == 35){
4247
+        name ="HDF600"
4248
+      }
4249
+      if(val == 36){
4250
+        name ="HDF800"
4251
+      }
4252
+      if(val == 37){
4253
+        name ="HDF1000"
4254
+      }
4255
+      return name
4256
+    },
4151 4257
   },
4152 4258
   components: {
4153 4259
     ScheduleItem