28169 vor 10 Monaten
Ursprung
Commit
9e7bb3621c
25 geänderte Dateien mit 251 neuen und 78 gelöschten Zeilen
  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 Datei anzeigen

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

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Datei anzeigen

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
               this.dialysisPrescription.displace_liqui_part = 0
3142
               this.dialysisPrescription.displace_liqui_part = 0
3143
               this.dialysisPrescription.displace_liqui_value = 0
3143
               this.dialysisPrescription.displace_liqui_value = 0
3144
               this.dialysisPrescription.replacement_total = 0
3144
               this.dialysisPrescription.replacement_total = 0

+ 4 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Datei anzeigen

82
           <div class="inline_block" v-if="org_id!=10624">
82
           <div class="inline_block" v-if="org_id!=10624">
83
             病区:
83
             病区:
84
             <div class="under_line" style="width: 50px; text-align: center">
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
                 patientInfo.DialysisSchedule.device_zone.name
86
                 patientInfo.DialysisSchedule.device_zone.name
87
                   ? patientInfo.DialysisSchedule.device_zone.name
87
                   ? patientInfo.DialysisSchedule.device_zone.name
88
                   : ""
88
                   : ""
93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94
             床号:
94
             床号:
95
             <div class="under_line" style="width: 50px; text-align: center">
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
                 dialysisOrder &&
97
                 dialysisOrder &&
98
                 dialysisOrder.DeviceNumber &&
98
                 dialysisOrder.DeviceNumber &&
99
                 dialysisOrder.DeviceNumber.number.length > 0
99
                 dialysisOrder.DeviceNumber.number.length > 0
2349
 
2349
 
2350
 
2350
 
2351
                       <tr
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
                       v-for="(advice, advice_index) in projectsOne"
2353
                       v-for="(advice, advice_index) in projectsOne"
2354
                       :key="advice_index"
2354
                       :key="advice_index"
2355
                     >
2355
                     >
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
           let projectsOne = [];
4726
           let projectsOne = [];
4727
           response.data.data.projects.map((item) => {
4727
           response.data.data.projects.map((item) => {
4728
               projectsOne.push(item);
4728
               projectsOne.push(item);

+ 3 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Datei anzeigen

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

+ 2 - 1
src/xt_pages/hospitalStation/checkTemplate/printOne.vue Datei anzeigen

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

+ 0 - 1
src/xt_pages/hospitalStation/components/deskRecord.vue Datei anzeigen

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

+ 2 - 2
src/xt_pages/hospitalStation/doctorDesk.vue Datei anzeigen

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

+ 12 - 6
src/xt_pages/hospitalStation/recordPrint.vue Datei anzeigen

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

+ 12 - 4
src/xt_pages/hospitalStation/recordTemplate/printOne.vue Datei anzeigen

107
     props:{
107
     props:{
108
       patient:Object,
108
       patient:Object,
109
       hispatient:Object,
109
       hispatient:Object,
110
-      patientid:Number
110
+      patientid:Number,
111
+      record_date:String,
111
     //   history:Object,
112
     //   history:Object,
112
     },
113
     },
113
     data(){
114
     data(){
116
             departmentList:[],
117
             departmentList:[],
117
             orgname:'',
118
             orgname:'',
118
             history:{},
119
             history:{},
119
-            printDate:''
120
+            printDate:'',
121
+           
120
         }
122
         }
121
     },
123
     },
122
     methods:{
124
     methods:{
125
+     show(val,val2,val3) {
126
+        this.patientid = val;
127
+        this.getAllDoctorList();
128
+        this.getPatientCaseHistory();
129
+      },
123
       getProfession(id){
130
       getProfession(id){
124
         var name = "";
131
         var name = "";
125
         for(let i=0;i<this.educationOptions.length;i++){
132
         for(let i=0;i<this.educationOptions.length;i++){
153
       getPatientCaseHistory(){
160
       getPatientCaseHistory(){
154
 
161
 
155
         const params = {
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
       getPatientCaseHistory(params).then(response=>{
167
       getPatientCaseHistory(params).then(response=>{
160
          if(response.data.state == 1){
168
          if(response.data.state == 1){
161
            var patient = response.data.data.patient;
169
            var patient = response.data.data.patient;

+ 3 - 1
src/xt_pages/hospitalStation/recordTemplate/printTwo.vue Datei anzeigen

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

+ 2 - 1
src/xt_pages/outpatientDoctorStation/batch_print_checkTemplate/printTwo.vue Datei anzeigen

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

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/checkPrintTwo.vue Datei anzeigen

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

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Datei anzeigen

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

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printThree.vue Datei anzeigen

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

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printTwo.vue Datei anzeigen

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

+ 1 - 0
src/xt_pages/outpatientDoctorStation/checkTemplate/printfour.vue Datei anzeigen

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

+ 0 - 1
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Datei anzeigen

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

+ 3 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Datei anzeigen

341
       width="600px"
341
       width="600px"
342
       title="打印"
342
       title="打印"
343
       :visible.sync="recordVisible">
343
       :visible.sync="recordVisible">
344
-      <recordPrint :patientid="patientid" ref="recordPrint">
344
+      <recordPrint :patientid="patientid" ref="recordPrint" :record_date="record_date">
345
       </recordPrint>
345
       </recordPrint>
346
     </el-dialog>
346
     </el-dialog>
347
     <!-- 透析记录 打印上机单 -->
347
     <!-- 透析记录 打印上机单 -->
816
       } else if (index == 2) {
816
       } else if (index == 2) {
817
         this.recordVisible = true
817
         this.recordVisible = true
818
         this.$nextTick(() => {
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
         // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
822
         // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
822
       } else if (index == 3) {
823
       } else if (index == 3) {

+ 21 - 9
src/xt_pages/outpatientDoctorStation/recordPrint.vue Datei anzeigen

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

+ 25 - 19
src/xt_pages/outpatientDoctorStation/recordTemplate/printFour.vue Datei anzeigen

116
         props:{
116
         props:{
117
           patient:Object,
117
           patient:Object,
118
           hispatient:Object,
118
           hispatient:Object,
119
-          patientid:Number
119
+          patientid:Number,
120
+          recorddate:String,
120
         //   history:Object,
121
         //   history:Object,
121
         },
122
         },
122
         data(){
123
         data(){
125
                 departmentList:[],
126
                 departmentList:[],
126
                 orgname:'',
127
                 orgname:'',
127
                 history:{},
128
                 history:{},
128
-                printDate:''
129
+                printDate:'',
129
             }
130
             }
130
         },
131
         },
131
         methods:{
132
         methods:{
132
           getAge(patient){
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
             this.patientid = val
155
             this.patientid = val
152
             this.getAllDoctorList()
156
             this.getAllDoctorList()
153
             this.getPatientCaseHistory()
157
             this.getPatientCaseHistory()
182
             }
186
             }
183
             return name
187
             return name
184
           },
188
           },
189
+          
185
           getPatientCaseHistory(){
190
           getPatientCaseHistory(){
186
     
191
     
187
             const params = {
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
           getPatientCaseHistory(params).then(response=>{
197
           getPatientCaseHistory(params).then(response=>{
192
              if(response.data.state == 1){
198
              if(response.data.state == 1){
193
                var patient = response.data.data.patient
199
                var patient = response.data.data.patient

+ 29 - 22
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Datei anzeigen

116
     props:{
116
     props:{
117
       patient:Object,
117
       patient:Object,
118
       hispatient:Object,
118
       hispatient:Object,
119
-      patientid:Number
119
+      patientid:Number,
120
+      recorddate:String,
120
     //   history:Object,
121
     //   history:Object,
121
     },
122
     },
122
     data(){
123
     data(){
130
         }
131
         }
131
     },
132
     },
132
     methods:{
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
         this.patientid = val
136
         this.patientid = val
153
         this.getAllDoctorList()
137
         this.getAllDoctorList()
154
         this.getPatientCaseHistory()
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
       getProfession(id){
162
       getProfession(id){
157
         var name = ""
163
         var name = ""
158
         for(let i=0;i<this.educationOptions.length;i++){
164
         for(let i=0;i<this.educationOptions.length;i++){
186
       getPatientCaseHistory(){
192
       getPatientCaseHistory(){
187
 
193
 
188
         const params = {
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
       getPatientCaseHistory(params).then(response=>{
199
       getPatientCaseHistory(params).then(response=>{
193
          if(response.data.state == 1){
200
          if(response.data.state == 1){
194
            var patient = response.data.data.patient
201
            var patient = response.data.data.patient

+ 8 - 0
src/xt_pages/outpatientDoctorStation/recordTemplate/printSix.vue Datei anzeigen

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

+ 4 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printThree.vue Datei anzeigen

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

+ 5 - 1
src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue Datei anzeigen

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

+ 108 - 2
src/xt_pages/workforce/components/tableData.vue Datei anzeigen

211
           </el-table-column>
211
           </el-table-column>
212
           <el-table-column label="透析模式" width="100">
212
           <el-table-column label="透析模式" width="100">
213
             <template slot-scope="scope">
213
             <template slot-scope="scope">
214
-              {{ scope.row.mode.name }}
214
+              {{getModeId(scope.row.mode_id )}}
215
             </template>
215
             </template>
216
           </el-table-column>
216
           </el-table-column>
217
           <el-table-column label="操作" align="center" width="300">
217
           <el-table-column label="操作" align="center" width="300">
4147
       console.log('event3',);
4147
       console.log('event3',);
4148
       this.weektypes=val
4148
       this.weektypes=val
4149
       this.$emit('event3', val)
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
   components: {
4258
   components: {
4153
     ScheduleItem
4259
     ScheduleItem