Browse Source

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

陈少旭 1 year ago
parent
commit
0bcebd859a

+ 3 - 2
src/api/dialysis_record.js View File

47
   })
47
   })
48
 }
48
 }
49
 
49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation,blood_flow_volume) {
51
   var params = {
51
   var params = {
52
     patient_id: patient_id,
52
     patient_id: patient_id,
53
     date: schedule_date,
53
     date: schedule_date,
72
     nuclein_date: nuclein_date,
72
     nuclein_date: nuclein_date,
73
     schedule_remark: schedule_remark,
73
     schedule_remark: schedule_remark,
74
     order_remark: order_remark,
74
     order_remark: order_remark,
75
-    catheter_operation:catheter_operation
75
+    catheter_operation:catheter_operation,
76
+    blood_flow_volume:blood_flow_volume,
76
   }
77
   }
77
   console.log('params', params)
78
   console.log('params', params)
78
   return request({
79
   return request({

+ 11 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue View File

771
                         min
771
                         min
772
                       </div>
772
                       </div>
773
                     </div>
773
                     </div>
774
-                    <div
775
-                      class="row"
774
+
775
+                    <div class="row"
776
                       style="padding: 2px 0; line-height: 23px; display: flex"
776
                       style="padding: 2px 0; line-height: 23px; display: flex"
777
                     >
777
                     >
778
-
779
                       <div class="inline_block" style="flex:1">
778
                       <div class="inline_block" style="flex:1">
780
                         透前症状:
779
                         透前症状:
781
                         <div
780
                         <div
782
                           class="under_line"
781
                           class="under_line"
783
-                          style="width: 130px; text-align: center"
782
+                          style="width: 80%; text-align: left"
784
                         >
783
                         >
785
                          <span v-if="record.assessment_before_dislysis&&record.assessment_before_dislysis.symptom_before_dialysis!=''">{{
784
                          <span v-if="record.assessment_before_dislysis&&record.assessment_before_dislysis.symptom_before_dialysis!=''">{{
786
                             record.assessment_before_dislysis &&
785
                             record.assessment_before_dislysis &&
805
                           </span>
804
                           </span>
806
                         </div>
805
                         </div>
807
                       </div>
806
                       </div>
807
+                    </div>
808
+                    <div
809
+                      class="row"
810
+                      style="padding: 2px 0; line-height: 23px; display: flex"
811
+                    >   
808
 
812
 
809
                       <div class="inline_block" style="flex:1.4">
813
                       <div class="inline_block" style="flex:1.4">
810
                         透析(滤)器:
814
                         透析(滤)器:
811
                         <div
815
                         <div
812
                           class="under_line"
816
                           class="under_line"
813
-                          style="width: 100px; text-align: center"
817
+                          style="width: 60%; text-align: left"
814
                         >
818
                         >
815
 
819
 
816
                           {{
820
                           {{
825
                         灌流器:
829
                         灌流器:
826
                         <div
830
                         <div
827
                           class="under_line"
831
                           class="under_line"
828
-                          style="width: 70px; text-align: center"
832
+                          style="width: 50%; text-align: left"
829
                         >
833
                         >
830
                           {{
834
                           {{
831
                             record.prescription &&
835
                             record.prescription &&
840
                         滤过器:
844
                         滤过器:
841
                         <div
845
                         <div
842
                           class="under_line"
846
                           class="under_line"
843
-                          style="width: 70px; text-align: center"
847
+                          style="width: 50%; text-align: left"
844
                         >
848
                         >
845
                          {{
849
                          {{
846
                              record.prescription.dialysis_strainer?record.prescription.dialysis_strainer:"/"
850
                              record.prescription.dialysis_strainer?record.prescription.dialysis_strainer:"/"

+ 14 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

170
         </li> -->
170
         </li> -->
171
 
171
 
172
 
172
 
173
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
173
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612">
174
           <label>处方脱水量 : </label>
174
           <label>处方脱水量 : </label>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177
         </li>
177
         </li>
178
 
178
 
179
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
179
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  ">
180
           <label>处方脱水量 : </label>
180
           <label>处方脱水量 : </label>
181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
310
           <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
310
           <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
311
         </li>
311
         </li>
312
 
312
 
313
+        <li v-if="isShow('透析液')">
314
+          <label>透析液 : </label>
315
+          <span class="content">{{
316
+            dialyzate != "0" ? dialyzate : ""
317
+          }}</span>
318
+          <span class="unit">{{ dialyzate != "0" ? "ml/min" : "" }}</span>
319
+        </li>
320
+
313
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
321
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
314
           <label>维持 : </label>
322
           <label>维持 : </label>
315
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
323
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
762
       var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
770
       var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
763
       return v.length == 0 ? '0' : v
771
       return v.length == 0 ? '0' : v
764
     },
772
     },
773
+    dialyzate:function(){
774
+      var v = this.getValueStr('dialyzate', 'dialyzate')
775
+      return v.length == 0 ? '0' : v
776
+    },
765
     replacement_way: function() {
777
     replacement_way: function() {
766
       return this.getValueStr('replacement_way', 'replacement_way')
778
       return this.getValueStr('replacement_way', 'replacement_way')
767
     },
779
     },

+ 5 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue View File

333
           <label>输液量(ml): </label>
333
           <label>输液量(ml): </label>
334
           <span class="content" >{{ this.record.transfusion_volume}}</span>
334
           <span class="content" >{{ this.record.transfusion_volume}}</span>
335
         </li>
335
         </li>
336
+
337
+        <li v-if="isShow('灌流器凝血')">
338
+          <label>灌流器凝血: </label>
339
+          <span class="content" >{{ this.record.condenser}}</span>
340
+        </li>
336
       </ul>
341
       </ul>
337
     </div>
342
     </div>
338
     <!-- <div class="note">
343
     <!-- <div class="note">

+ 24 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

203
             </el-form-item>
203
             </el-form-item>
204
           </el-col>
204
           </el-col>
205
 
205
 
206
+          <el-col :span="8" v-if="isShow('灌流器凝血')">
207
+            <el-form-item label="灌流器凝血: " :prop="isName('灌流器凝血')" :rules="isCheckmust('灌流器凝血')">
208
+              <el-input
209
+                v-model="form.condenser "
210
+                readonly
211
+                @focus="showDialog('11')"
212
+              ></el-input>
213
+            </el-form-item>
214
+          </el-col>
215
+
206
           <el-col :span="8" v-if="isShow('管路凝血')">
216
           <el-col :span="8" v-if="isShow('管路凝血')">
207
             <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
217
             <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
208
               <el-input
218
               <el-input
869
         after_urea:"",
879
         after_urea:"",
870
         accumulated_blood_volume:"",
880
         accumulated_blood_volume:"",
871
         transfusion_volume:"",
881
         transfusion_volume:"",
882
+        condenser:""
872
       },
883
       },
873
       lapseList:[],
884
       lapseList:[],
874
       leaveOfficeMethod:[],
885
       leaveOfficeMethod:[],
1209
           data["pip_coagulation"] = this.form.pip_coagulation
1220
           data["pip_coagulation"] = this.form.pip_coagulation
1210
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1221
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1211
           data["transfusion_volume"] = this.form.transfusion_volume
1222
           data["transfusion_volume"] = this.form.transfusion_volume
1212
-
1223
+          data["condenser"] = this.form.condenser
1213
           console.log("Paramsquery",data)
1224
           console.log("Paramsquery",data)
1214
 
1225
 
1215
           postAssessmentAfterDislysis(ParamsQuery, data)
1226
           postAssessmentAfterDislysis(ParamsQuery, data)
1253
       switch (val) {
1264
       switch (val) {
1254
         case '1':
1265
         case '1':
1255
           this.InnerDialogProps.values = this.cruorOptions
1266
           this.InnerDialogProps.values = this.cruorOptions
1256
-          this.InnerDialogProps.titles = '凝血'
1267
+          this.InnerDialogProps.titles = '透析器凝血'
1257
           this.InnerDialogProps.type = 'cruor'
1268
           this.InnerDialogProps.type = 'cruor'
1258
           this.InnerDialogProps.selected = this.form.cruor
1269
           this.InnerDialogProps.selected = this.form.cruor
1259
           this.InnerDialogProps.isShowTextArea = false
1270
           this.InnerDialogProps.isShowTextArea = false
1323
           this.InnerDialogProps.selected = this.form.pip_coagulation
1334
           this.InnerDialogProps.selected = this.form.pip_coagulation
1324
           this.InnerDialogProps.isShowTextArea = false
1335
           this.InnerDialogProps.isShowTextArea = false
1325
           break
1336
           break
1337
+          case '11':
1338
+          this.InnerDialogProps.values = this.cruorOptions
1339
+          this.InnerDialogProps.titles = '灌流器凝血'
1340
+          this.InnerDialogProps.type = 'condenser'
1341
+          this.InnerDialogProps.selected = this.form.condenser
1342
+          this.InnerDialogProps.isShowTextArea = false
1343
+          break
1326
       }
1344
       }
1327
     },
1345
     },
1328
     selectActualTreatmentHour(val) {
1346
     selectActualTreatmentHour(val) {
1363
         case 'sealing_fluid_dispose':
1381
         case 'sealing_fluid_dispose':
1364
           this.form.sealing_fluid_dispose = val.value.join(',')
1382
           this.form.sealing_fluid_dispose = val.value.join(',')
1365
           break
1383
           break
1384
+        case 'condenser':
1385
+          this.form.condenser = val.value.join(',')
1386
+          break
1366
         default:
1387
         default:
1367
           break
1388
           break
1389
+        
1368
       }
1390
       }
1369
       // console.log(val);
1391
       // console.log(val);
1370
     },
1392
     },

+ 20 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

292
           </el-form-item>
292
           </el-form-item>
293
 
293
 
294
 
294
 
295
+          <el-form-item
296
+            :prop="isName('血流量(ml/min)')"
297
+            :rules="isCheckmust('血流量')"
298
+            v-if="isShowFiled('血流量')"
299
+          >
300
+            <el-input
301
+              type="textarea"
302
+              v-model="form.blood_flow_volume"
303
+              :rows="4"
304
+            ></el-input>
305
+          </el-form-item>
306
+
307
+
295
         <el-form-item
308
         <el-form-item
296
           label="核酸检测日期:"
309
           label="核酸检测日期:"
297
           style="width: 300px"
310
           style="width: 300px"
309
           ></el-date-picker>
322
           ></el-date-picker>
310
         </el-form-item>
323
         </el-form-item>
311
 
324
 
325
+
326
+
312
         <el-form-item
327
         <el-form-item
313
           label="上机时间 :"
328
           label="上机时间 :"
314
           style="width: 300px"
329
           style="width: 300px"
460
       value2:"",
475
       value2:"",
461
       infoDialogVisible:false,
476
       infoDialogVisible:false,
462
       selected_date:"",
477
       selected_date:"",
463
-      remark:""
478
+      remark:"",
479
+      blood_flow_volume:"" ,
464
     };
480
     };
465
   },
481
   },
466
   props: {
482
   props: {
912
             this.form.dialysis_irrigation,
928
             this.form.dialysis_irrigation,
913
             this.form.blood_access_id,
929
             this.form.blood_access_id,
914
             this.form.nuclein_date,
930
             this.form.nuclein_date,
915
-            this.form.catheter_operation
931
+            this.form.catheter_operation,
932
+            this.form.blood_flow_volume
916
           ).then((rs) => {
933
           ).then((rs) => {
917
             this.loading = false;
934
             this.loading = false;
918
             var resp = rs.data;
935
             var resp = rs.data;
965
       ParamsQuery["nuclein_date"] = this.form.nuclein_date;
982
       ParamsQuery["nuclein_date"] = this.form.nuclein_date;
966
       ParamsQuery["mode"] = "2";
983
       ParamsQuery["mode"] = "2";
967
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
984
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
985
+      ParamsQuery["blood_flow_volume"] = this.form.blood_flow_volume
968
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
986
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
969
         ParamsQuery["mode"] = "3";
987
         ParamsQuery["mode"] = "3";
970
       }
988
       }

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

138
                     </el-col>
138
                     </el-col>
139
 
139
 
140
                     <el-col :span="8"
140
                     <el-col :span="8"
141
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
141
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612">
142
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
142
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
143
                             <el-input
143
                             <el-input
144
                                     type="number"
144
                                     type="number"
148
                     </el-col>
148
                     </el-col>
149
 
149
 
150
                     <el-col :span="8"
150
                     <el-col :span="8"
151
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
151
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 ">
152
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
152
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
153
                             <el-input
153
                             <el-input
154
                                     type="number"
154
                                     type="number"
191
                         </el-form-item>
191
                         </el-form-item>
192
                     </el-col>
192
                     </el-col>
193
 
193
 
194
+
195
+                    <el-col :span="8" v-if="isShows('透析液')">
196
+                        <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
197
+                           <el-select v-model="dialysisPrescription.dialyzate">
198
+                                <el-option
199
+                                        v-for="(item, index) in dialyzateList"
200
+                                        :label="item.name"
201
+                                        :value="item.name"
202
+                                        :key="index + 'q'"
203
+                                ></el-option>
204
+                            </el-select>
205
+                        </el-form-item>
206
+                    </el-col>
207
+
194
                     <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
208
                     <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
195
                         <el-form-item label="单超时长(h):" prop="single_time" :rules="isCheckmust('单超时长')">
209
                         <el-form-item label="单超时长(h):" prop="single_time" :rules="isCheckmust('单超时长')">
196
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
210
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
1773
           warsh_count:"",
1787
           warsh_count:"",
1774
           washing_time:"",
1788
           washing_time:"",
1775
           blood_access_part_id:"",
1789
           blood_access_part_id:"",
1776
-          anticoagulant_weichi_hour:""
1790
+          anticoagulant_weichi_hour:"",
1791
+          dialyzate:""
1777
         },
1792
         },
1778
 
1793
 
1779
         anticoagulant: {
1794
         anticoagulant: {
1815
           {id:1,name:"是"},
1830
           {id:1,name:"是"},
1816
           {id:2,name:"否"}
1831
           {id:2,name:"否"}
1817
         ],
1832
         ],
1833
+        dialyzateList:[
1834
+          {id:0,name:"请选择"},
1835
+          {id:1,name:"碳酸"},
1836
+          {id:2,name:"醋酸"}
1837
+        ],
1818
         machineList:[
1838
         machineList:[
1819
           {id:1,name:"是"},
1839
           {id:1,name:"是"},
1820
           {id:2,name:"否"}
1840
           {id:2,name:"否"}

+ 13 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue View File

98
           <span class="content">{{catheter_operation}}</span>
98
           <span class="content">{{catheter_operation}}</span>
99
         </li>
99
         </li>
100
       </ul>
100
       </ul>
101
+      <ul>
102
+        <li v-if="isShow('血流量')">
103
+          <label>血流量 : </label>
104
+          <span class="content">{{blood_flow_volume}}</span>
105
+        </li>
106
+      </ul>
101
     </div>
107
     </div>
102
     <div class="middleLine"></div>
108
     <div class="middleLine"></div>
103
   </div>
109
   </div>
238
           return this.record.catheter_operation
244
           return this.record.catheter_operation
239
         }
245
         }
240
        
246
        
247
+      },
248
+      blood_flow_volume:function(){
249
+        if(this.record.id == 0){
250
+          return '-'
251
+        }else{
252
+          return this.record.blood_flow_volume
253
+        }
241
       }
254
       }
242
     },
255
     },
243
     methods: {
256
     methods: {

+ 30 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

869
         >
869
         >
870
         </div>
870
         </div>
871
       </template>
871
       </template>
872
+      <template v-if="org_template_info.template_id == 71">
873
+        <div>
874
+          <el-button
875
+          :loading="loading"
876
+          size="small"
877
+          icon="el-icon-printer"
878
+          @click="printThisPage"
879
+          type="primary"
880
+          >打印</el-button
881
+        >
882
+        </div>
883
+      </template>
872
     </div>
884
     </div>
873
     <div class="app-container" style="min-height: 0">
885
     <div class="app-container" style="min-height: 0">
874
       <!--<div class="order-print-btn"-->
886
       <!--<div class="order-print-btn"-->
1346
           >
1358
           >
1347
 
1359
 
1348
           </DialysisPrintOrderSeventy>
1360
           </DialysisPrintOrderSeventy>
1361
+          <DialysisPrintOrderseventyone
1362
+            v-bind:childResponse="childResponse"
1363
+            v-if="org_template_info.template_id == 71"
1364
+          >
1365
+          </DialysisPrintOrderseventyone>
1349
 
1366
 
1350
           <DialysisPrintOrderZero
1367
           <DialysisPrintOrderZero
1351
             v-bind:childResponse="childResponse"
1368
             v-bind:childResponse="childResponse"
1352
             v-if="org_template_info.template_id == 199"
1369
             v-if="org_template_info.template_id == 199"
1353
           >
1370
           >
1354
           </DialysisPrintOrderZero>
1371
           </DialysisPrintOrderZero>
1372
+
1355
         </div>
1373
         </div>
1356
       </el-container>
1374
       </el-container>
1357
     </div>
1375
     </div>
1440
 import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight'
1458
 import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight'
1441
 import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1459
 import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1442
 import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1460
 import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1461
+import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyone'
1443
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1462
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1444
 export default {
1463
 export default {
1445
   name: "dialysisPrintOrder",
1464
   name: "dialysisPrintOrder",
1514
     DialysisPrintOrderSixtyeight,
1533
     DialysisPrintOrderSixtyeight,
1515
     DialysisPrintOrderSixtynine,
1534
     DialysisPrintOrderSixtynine,
1516
     DialysisPrintOrderSeventy,
1535
     DialysisPrintOrderSeventy,
1536
+    DialysisPrintOrderseventyone,
1517
     DialysisPrintOrderZero,
1537
     DialysisPrintOrderZero,
1518
     LabelBox,
1538
     LabelBox,
1519
     BreadCrumb,
1539
     BreadCrumb,
2153
           style: style2,
2173
           style: style2,
2154
           scanStyles: false,
2174
           scanStyles: false,
2155
         });
2175
         });
2156
-      }else if (this.org_template_info.template_id == 199 ) {
2176
+      }else if (this.org_template_info.template_id == 71) {
2177
+        printJS({
2178
+          printable: "dialysis-print-box",
2179
+          type: "html",
2180
+          style: style,
2181
+          scanStyles: false,
2182
+        });
2183
+      } else if (this.org_template_info.template_id == 199 ) {
2157
         printJS({
2184
         printJS({
2158
           printable: "dialysis-print-box-1",
2185
           printable: "dialysis-print-box-1",
2159
           type: "html",
2186
           type: "html",
2161
           scanStyles: false,
2188
           scanStyles: false,
2162
         });
2189
         });
2163
 
2190
 
2164
-
2165
       }
2191
       }
2192
+     
2166
     },
2193
     },
2167
     printThisOnePage() {
2194
     printThisOnePage() {
2168
       var ptime = Math.round(new Date().getTime() / 1000);
2195
       var ptime = Math.round(new Date().getTime() / 1000);
2229
       const style =
2256
       const style =
2230
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2257
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2231
       const style2 =
2258
       const style2 =
2232
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2259
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line2 {display: inline-block;border-bottom: 1px solid #999;text-align: left;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2233
 
2260
 
2234
       // 雷州惠爱样式
2261
       // 雷州惠爱样式
2235
       const style93 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px}  .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}  .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';
2262
       const style93 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px}  .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}  .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';

+ 30 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue View File

748
                     </div>
748
                     </div>
749
                   </div>
749
                   </div>
750
 
750
 
751
+                  <div class="row"
752
+                    style="padding: 2px 0; line-height: 23px; display: flex"
753
+                  >
754
+                  <div class="inline_block" style="flex: 1">
755
+                      透前症状:
756
+                      <div
757
+                        class="under_line"
758
+                        style="width: 80%; text-align: left"
759
+                      >
760
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis!=''">
761
+                        {{
762
+                          predialysis.symptom_before_dialysis
763
+                            ? predialysis.symptom_before_dialysis
764
+                            : "/"
765
+                        }}
766
+                       </span> 
767
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis_other!=''">
768
+                         {{ predialysis.symptom_before_dialysis_other?predialysis.symptom_before_dialysis_other:"/" }}
769
+                       </span>
770
+                       <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
771
+                      </div>
772
+                    </div>
773
+                  </div>
774
+
751
                   <div
775
                   <div
752
                     class="row"
776
                     class="row"
753
                     style="padding: 2px 0; line-height: 23px; display: flex"
777
                     style="padding: 2px 0; line-height: 23px; display: flex"
754
                   >
778
                   >
755
-                    <div class="inline_block" style="flex: 1">
779
+                    <!-- <div class="inline_block" style="flex: 1">
756
                       透前症状:
780
                       透前症状:
757
                       <div
781
                       <div
758
                         class="under_line"
782
                         class="under_line"
770
                        </span>
794
                        </span>
771
                        <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
795
                        <span v-if="predialysis&&predialysis.symptom_before_dialysis==''&&predialysis.symptom_before_dialysis_other==''">/</span>
772
                       </div>
796
                       </div>
773
-                    </div>
797
+                    </div> -->
774
 
798
 
775
                     <div class="inline_block" style="flex: 1.2">
799
                     <div class="inline_block" style="flex: 1.2">
776
                       透析(滤)器:
800
                       透析(滤)器:
777
                       <!--  透析(滤)器分开取值 -->
801
                       <!--  透析(滤)器分开取值 -->
778
                       <div
802
                       <div
779
                         class="under_line"
803
                         class="under_line"
780
-                        style="width: 100px; text-align: center"
804
+                        style="width: 60%; text-align: left"
781
                       >
805
                       >
782
-                        <!-- {{
783
-                          prescription.dialyzer_perfusion_apparatus
784
-                            ? prescription.dialyzer_perfusion_apparatus
785
-                            : ""
786
-                        }} -->
787
-                        <!-- <span v-if="prescription.dialyzer_perfusion_apparatus&&prescription.dialyzer_perfusion_apparatus!=''">/</span> -->
806
+                       
788
                         {{
807
                         {{
789
                           prescription.dialysis_dialyszers
808
                           prescription.dialysis_dialyszers
790
                             ? prescription.dialysis_dialyszers
809
                             ? prescription.dialysis_dialyszers
800
                       灌流器:
819
                       灌流器:
801
                       <div
820
                       <div
802
                         class="under_line"
821
                         class="under_line"
803
-                        style="width: 70px; text-align: center"
822
+                        style="width: 50%; text-align: left"
804
                       >
823
                       >
805
                         {{
824
                         {{
806
                           prescription.dialysis_irrigation
825
                           prescription.dialysis_irrigation
814
                       滤过器:
833
                       滤过器:
815
                       <div
834
                       <div
816
                         class="under_line"
835
                         class="under_line"
817
-                        style="width: 70px; text-align: center"
836
+                        style="width: 50%; text-align: left"
818
                       >
837
                       >
819
                       {{
838
                       {{
820
                            prescription.dialysis_strainer?
839
                            prescription.dialysis_strainer?
822
                          }}
841
                          }}
823
                       </div>
842
                       </div>
824
                     </div>
843
                     </div>
825
-
826
                   </div>
844
                   </div>
827
-
828
                   <div
845
                   <div
829
                     class="row"
846
                     class="row"
830
                     style="padding: 2px 0; line-height: 23px; display: flex"
847
                     style="padding: 2px 0; line-height: 23px; display: flex"

+ 85 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue View File

234
                       alt
234
                       alt
235
                       srcset
235
                       srcset
236
                       v-else -->
236
                       v-else -->
237
-                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
237
+                      <!-- <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
238
                         {{ getAdminUser(advices[0].advice_doctor) }}
238
                         {{ getAdminUser(advices[0].advice_doctor) }}
239
                       </span>
239
                       </span>
240
                       <img
240
                       <img
244
                         alt
244
                         alt
245
                         srcset
245
                         srcset
246
                         v-else
246
                         v-else
247
-                    />
247
+                    /> -->
248
+
249
+                    <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
250
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
251
+                          {{ getAdminUser(prescription.creater) }}
252
+                        </span>
253
+                        <img
254
+                          class="es-img"
255
+                          style="height: 30px"
256
+                          :src="setAdminUserES(prescription.creater)"
257
+                          alt
258
+                          srcset
259
+                          v-else
260
+                        />
261
+                       </span>
262
+
263
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
264
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
265
+                          {{ getAdminUser(advices[0].advice_doctor) }}
266
+                        </span>
267
+                        <img
268
+                          class="es-img"
269
+                          style="height: 30px"
270
+                          :src="setAdminUserES(advices[0].advice_doctor)"
271
+                          alt
272
+                          srcset
273
+                          v-else
274
+                        />
275
+                       </span>
248
                   </div>
276
                   </div>
249
                 </td>
277
                 </td>
250
               </tr>
278
               </tr>
664
                     </div>
692
                     </div>
665
                     <div style="display: inline-block; margin-left: 30px;">
693
                     <div style="display: inline-block; margin-left: 30px;">
666
                       医生签名:
694
                       医生签名:
667
-                       
668
-                      <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
669
-                        {{ getAdminUser(advices[0].advice_doctor) }}
670
-                      </span>
671
-                      <img
672
-                        class="es-img"
673
-                        style="height: 30px"
674
-                        :src="setAdminUserES(advices[0].advice_doctor)"
675
-                        alt
676
-                        srcset
677
-                        v-else
678
-                      />
695
+                      <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
696
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
697
+                          {{ getAdminUser(prescription.creater) }}
698
+                        </span>
699
+                        <img
700
+                          class="es-img"
701
+                          style="height: 30px"
702
+                          :src="setAdminUserES(prescription.creater)"
703
+                          alt
704
+                          srcset
705
+                          v-else
706
+                        />
707
+                       </span>
708
+
709
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
710
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
711
+                          {{ getAdminUser(advices[0].advice_doctor) }}
712
+                        </span>
713
+                        <img
714
+                          class="es-img"
715
+                          style="height: 30px"
716
+                          :src="setAdminUserES(advices[0].advice_doctor)"
717
+                          alt
718
+                          srcset
719
+                          v-else
720
+                        />
721
+                       </span>
722
+                       <!-- <span v-if="advices[0]&&advices[0].advice_doctor>0 == 0">
723
+                        <span v-if="setAdminUserES(prescription.creater) == ''">
724
+                          {{ getAdminUser(prescription.creater) }}
725
+                        </span>
726
+                        <img
727
+                          class="es-img"
728
+                          style="height: 30px"
729
+                          :src="setAdminUserES(prescription.creater)"
730
+                          alt
731
+                          srcset
732
+                          v-else
733
+                        />
734
+                       </span>
735
+
736
+                       <span v-if="advices[0]&&advices[0].advice_doctor>0">
737
+                        <span v-if="setAdminUserES(advices[0].advice_doctor) == ''">
738
+                          {{ getAdminUser(advices[0].advice_doctor) }}
739
+                        </span>
740
+                        <img
741
+                          class="es-img"
742
+                          style="height: 30px"
743
+                          :src="setAdminUserES(advices[0].advice_doctor)"
744
+                          alt
745
+                          srcset
746
+                          v-else
747
+                        />
748
+                       </span> -->
749
+                      
679
                     </div>
750
                     </div>
680
                     <div style="display: inline-block; margin-left: 70px;">
751
                     <div style="display: inline-block; margin-left: 70px;">
681
                       护士签名:
752
                       护士签名:

File diff suppressed because it is too large
+ 1676 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue


+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printTenOne.vue View File

151
               srcset=""
151
               srcset=""
152
             />
152
             />
153
           </p>
153
           </p>
154
-
154
+          <p style="line-height: 50px;" v-if="org_id==10217||org_id==0">打印日期:{{ getTime(new Date()) ? getTime(new Date()) : "" }}</p>
155
         </div>
155
         </div>
156
         <div class="actionBar">
156
         <div class="actionBar">
157
           <p >审核、调配:</p>
157
           <p >审核、调配:</p>

+ 2 - 2
src/xt_pages/role/admin.vue View File

25
         >医药师登记</el-button>
25
         >医药师登记</el-button>
26
 
26
 
27
 
27
 
28
-       <!-- <el-button
28
+       <el-button
29
           type="primary"
29
           type="primary"
30
           size="small"
30
           size="small"
31
           icon="el-icon-circle-plus-outline"
31
           icon="el-icon-circle-plus-outline"
32
           style="float:left"
32
           style="float:left"
33
-          @click="toJiaBan">加班</el-button> -->
33
+          @click="toJiaBan">首拼</el-button>
34
 
34
 
35
 
35
 
36
           <!-- <el-button
36
           <!-- <el-button

+ 8 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue View File

398
             //   list[i].drugIn = this.getDrugWarehouseInfoOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
398
             //   list[i].drugIn = this.getDrugWarehouseInfoOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
399
             //   list[i].drugInMoney = this.getDrugInMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
399
             //   list[i].drugInMoney = this.getDrugInMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
400
             //   list[i].drugSaleMoney = this.getSaleMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
400
             //   list[i].drugSaleMoney = this.getSaleMoneyOne(list[i].DrugWarehouseInfoStart,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].DrugWarehouseOutInfoStart,list[i].WareStartStockInventoryProfit,list[i].WareStartStockInventoryLosses,list[i].WareStartStockCancelInfo)
401
-              list[i].drugInMoney = "/"
401
+              list[i].drugInMoney = list[i].last_price
402
               list[i].drugSaleMoney = "/"
402
               list[i].drugSaleMoney = "/"
403
 
403
 
404
               list[i].drugAdd = this.drugAddInfo(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
404
               list[i].drugAdd = this.drugAddInfo(list[i].DrugWarehouseInfoStartEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareStartEndStockInventoryProfit)
418
             //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
418
             //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
419
             //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
419
             //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
420
             //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
420
             //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
421
-            //  list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
422
-             list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
421
+            if(this.org_id == 0 || this.org_id == 10265){
422
+              list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
423
+            }else{
424
+              list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
425
+            }
426
+            
423
              list[i].overDrugPrice = "/"
427
              list[i].overDrugPrice = "/"
424
              list[i].oveDrugSaleMoney = "/"
428
              list[i].oveDrugSaleMoney = "/"
425
             }
429
             }
1292
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1296
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1293
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1297
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1294
           this.tableList[i].specification_name = this.tableList[i].dose + this.tableList[i].dose_unit +"*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
1298
           this.tableList[i].specification_name = this.tableList[i].dose + this.tableList[i].dose_unit +"*"+this.tableList[i].min_number + this.tableList[i].min_unit+"/"+this.tableList[i].max_unit
1299
+          // this.tableList[i].drugInMoney = this.tableList[i].last_price
1295
 
1300
 
1296
         }
1301
         }
1297
         import('@/vendor/Export2Excel').then(excel => {
1302
         import('@/vendor/Export2Excel').then(excel => {

+ 5 - 2
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue View File

328
                 //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
328
                 //   list[i].overDrug = this.getDrugWarehouseInfo(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
329
                 //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
329
                 //   list[i].overDrugPrice =  this.getDrugInMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
330
                 //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
330
                 //   list[i].oveDrugSaleMoney =  this.getSaleMoney(list[i].DrugWarehouseInfoEnd,list[i].DrugWarehouseOutInfoEnd,list[i].min_number,list[i].min_unit,list[i].max_unit,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].WareEndStockCancelInfo)
331
-                // list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
332
-                list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
331
+                if(this.org_id == 0 || this.org_id ==10265){
332
+                  list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
333
+                }else{
334
+                  list[i].overDrug = this.GetDrugOver(list[i].DrugStatFlow.over_count,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
335
+                }
333
                 list[i].overDrugPrice = "/"
336
                 list[i].overDrugPrice = "/"
334
                 list[i].oveDrugSaleMoney = "/"
337
                 list[i].oveDrugSaleMoney = "/"
335
             }
338
             }

+ 8 - 2
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

286
               // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
286
               // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
287
               // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
287
               // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
288
               // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
288
               // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
289
-              // list[i].overStock = list[i].GoodEndFlowInfo.over_count
290
-              list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
289
+              if(this.org_id == 10265 || this.org_id == 0){
290
+                list[i].overStock = list[i].GoodEndFlowInfo.over_count
291
+              }else{
292
+                list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
293
+              }
294
+            
295
+            
291
               list[i].overPrice = "/"
296
               list[i].overPrice = "/"
292
               list[i].overMoney = "/"
297
               list[i].overMoney = "/"
293
              
298
              
1015
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1020
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1016
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1021
           this.tableList[i].dealer_name = this.getDearName(this.tableList[i].dealer)
1017
           this.tableList[i].specification_name_one = this.tableList[i].specification_name + "/"+this.tableList[i].packing_unit
1022
           this.tableList[i].specification_name_one = this.tableList[i].specification_name + "/"+this.tableList[i].packing_unit
1023
+          // this.tableList[i].stock_in_price = this.tableList[i].buy_price
1018
         }
1024
         }
1019
         import('@/vendor/Export2Excel').then(excel => {
1025
         import('@/vendor/Export2Excel').then(excel => {
1020
            const multiHeader = [['序号', '查询日期',' 耗材类型','耗材名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]
1026
            const multiHeader = [['序号', '查询日期',' 耗材类型','耗材名称','规格&单位','生产产商','经销商', '期初结余' , '', '', '本期增加', '', '', '本期减少' , '', '', '期末结余' , '', '']]

+ 7 - 2
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue View File

188
                     // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
188
                     // list[i].overStock= this.getEndWarehouseInfo(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
189
                     // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
189
                     // list[i].overPrice= this.getEndOverPrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
190
                     // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
190
                     // list[i].overMoney = this.getEndSalePrice(list[i].EndFlowInfo,list[i].EndFlowOutInfo,list[i].WareEndStockInventoryProfit,list[i].WareEndStockInventoryLosses,list[i].EndCancelFLowInfo)
191
-                    // list[i].overStock = list[i].GoodEndFlowInfo.over_count
192
-                    list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
191
+                    if(this.org_id ==0 || this.org_id ==10265){
192
+                      list[i].overStock = list[i].GoodEndFlowInfo.over_count
193
+                    }else{
194
+                        list[i].overStock = list[i].stockIn + list[i].stockAdd - list[i].outStock
195
+                    } 
196
+                  
197
+                  
193
                     list[i].overPrice = "/"
198
                     list[i].overPrice = "/"
194
                     list[i].overMoney = "/"
199
                     list[i].overMoney = "/"
195
                 
200
                 

+ 24 - 25
src/xt_pages/workforce/components/tableData.vue View File

91
         </el-switch>
91
         </el-switch>
92
       </div>
92
       </div>
93
     </div>
93
     </div>
94
-
95
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
94
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
96
       <div style="position: relative;">
95
       <div style="position: relative;">
97
         <el-table
96
         <el-table
267
         show-summary
266
         show-summary
268
         :cell-class-name="cellClass"
267
         :cell-class-name="cellClass"
269
         sum-text="总数"
268
         sum-text="总数"
270
-        height="600"
269
+        height="calc(100vh - 150px)"
271
         ref="table"
270
         ref="table"
272
         style="table-layout: fixed;"
271
         style="table-layout: fixed;"
273
       >
272
       >
737
 </template>
736
 </template>
738
 
737
 
739
 <script>
738
 <script>
740
-import Drag from '@/utils/move.js';
739
+// import Drag from '@/utils/move.js';
741
 import { uParseTime } from "@/utils/tools";
740
 import { uParseTime } from "@/utils/tools";
742
 import print from 'print-js'
741
 import print from 'print-js'
743
 const moment = require('moment')
742
 const moment = require('moment')
793
   },
792
   },
794
   data() {
793
   data() {
795
     return {
794
     return {
796
-      // tableContainHeight:"calc(100% - 50px)",
795
+      // tableContainHeight:null,
797
       value1:false,
796
       value1:false,
798
       modename_value:true,
797
       modename_value:true,
799
       weeks:weekOptions,
798
       weeks:weekOptions,
931
   },
930
   },
932
 
931
 
933
   watch: {
932
   watch: {
934
-    // schedule_type:function (){
935
-    //   this.isShowShangWu = false
936
-    //   this.isShowXiaWu = false
937
-    //   this.isShowWanShang = false
938
-    //   if(this.schedule_type.length > 0) {
939
-    //     for (let i = 0; i < this.schedule_type.length; i++) {
940
-    //       if (this.schedule_type[i] == 1) {
941
-    //         this.isShowShangWu = true
942
-    //       } else if (this.schedule_type[i] == 2) {
943
-    //         this.isShowXiaWu = true
944
-    //       } else if (this.schedule_type[i] == 3) {
945
-    //         this.isShowWanShang = true
946
-    //       }
947
-    //     }
948
-    //   }else{
949
-    //     this.isShowShangWu = true
950
-    //     this.isShowXiaWu = true
951
-    //     this.isShowWanShang = true
952
-    //   }
933
+     schedule_type:function (){
934
+       this.isShowShangWu = false
935
+      this.isShowXiaWu = false
936
+      this.isShowWanShang = false
937
+      if(this.schedule_type.length > 0) {
938
+        for (let i = 0; i < this.schedule_type.length; i++) {
939
+          if (this.schedule_type[i] == 1) {
940
+            this.isShowShangWu = true
941
+          } else if (this.schedule_type[i] == 2) {
942
+            this.isShowXiaWu = true
943
+          } else if (this.schedule_type[i] == 3) {
944
+            this.isShowWanShang = true
945
+          }
946
+        }
947
+      }else{
948
+        this.isShowShangWu = true
949
+        this.isShowXiaWu = true
950
+        this.isShowWanShang = true
951
+      }
953
 
952
 
954
-    // },
953
+    },
955
      week_type:function () {
954
      week_type:function () {
956
       // console.log(this.week_type)
955
       // console.log(this.week_type)
957
       // console.log(this.schedule_type)
956
       // console.log(this.schedule_type)
3464
 }
3463
 }
3465
 
3464
 
3466
 #table_data {
3465
 #table_data {
3467
-  min-height: calc(100vh - 350px);
3466
+  //min-height: calc(100vh - 350px);
3468
   .switch{
3467
   .switch{
3469
     margin-left: 10px;
3468
     margin-left: 10px;
3470
   }
3469
   }