Ver código fonte

库存显示展示

XMLWAN 2 anos atrás
pai
commit
a3e78624cf

+ 6 - 5
src/api/advice.js Ver arquivo

505
 }
505
 }
506
 
506
 
507
 export function getNewSchedualDoctors(params) {
507
 export function getNewSchedualDoctors(params) {
508
+  console.log('params-----', params)
508
   return request({
509
   return request({
509
     url: '/api/schedule/new/advices',
510
     url: '/api/schedule/new/advices',
510
     method: 'get',
511
     method: 'get',
568
   })
569
   })
569
 }
570
 }
570
 
571
 
571
-export function GetMobileScheduleList(params){
572
+export function GetMobileScheduleList(params) {
572
   return request({
573
   return request({
573
-    url:"/api/schedule/getmobileschedulelist",
574
-    method:"Get",
575
-    params:params,
574
+    url: '/api/schedule/getmobileschedulelist',
575
+    method: 'Get',
576
+    params: params
576
   })
577
   })
577
-}
578
+}

+ 14 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyTwo.vue Ver arquivo

343
                    <td style="text-align:left;" >
343
                    <td style="text-align:left;" >
344
                     <span style="display:inline-block;margin-left:15px;"
344
                     <span style="display:inline-block;margin-left:15px;"
345
                       >透析/灌流器型号:
345
                       >透析/灌流器型号:
346
-                     {{
346
+                    <span v-if="record.prescription.dialysis_dialyszers!=''">
347
+                      {{
347
                         record.prescription.dialysis_dialyszers
348
                         record.prescription.dialysis_dialyszers
348
                          ?  record.prescription.dialysis_dialyszers
349
                          ?  record.prescription.dialysis_dialyszers
349
                            : "/"
350
                            : "/"
350
-                        }}&nbsp;&nbsp;{{
351
+                        }}
352
+                      </span> 
353
+                      <span v-if="record.prescription.dialysis_irrigation==''">
354
+                        &nbsp;&nbsp;{{
351
                         record.prescription.dialysis_irrigation
355
                         record.prescription.dialysis_irrigation
352
                         ? record.prescription.dialysis_irrigation
356
                         ? record.prescription.dialysis_irrigation
353
                         : "/"
357
                         : "/"
354
                     }}
358
                     }}
355
                       </span>
359
                       </span>
360
+                      <span v-if="record.prescription.dialysis_strainer!=''">
361
+                      &nbsp;&nbsp;{{
362
+                          record.prescription.dialysis_strainer
363
+                          ? record.prescription.dialysis_strainer
364
+                          : "/"
365
+                      }}
366
+                      </span> 
367
+                      </span>
356
                   </td>
368
                   </td>
357
                    <td style="text-align:left;" colspan="2">
369
                    <td style="text-align:left;" colspan="2">
358
                     <span style="display:inline-block;margin-left:15px;"
370
                     <span style="display:inline-block;margin-left:15px;"

+ 16 - 3
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue Ver arquivo

130
             </el-option>
130
             </el-option>
131
            </el-select>
131
            </el-select>
132
            <label class="title"> <span class="name">病区选择</span> : </label>
132
            <label class="title"> <span class="name">病区选择</span> : </label>
133
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType">
133
+           <el-select v-model="partion_type" placeholder="请选择" multiple @change="changePartionType">
134
             <el-option
134
             <el-option
135
               v-for="item in partitionArr"
135
               v-for="item in partitionArr"
136
               :key="item.id"
136
               :key="item.id"
258
             return v.getTime() < new Date().getTime() - 86400000;
258
             return v.getTime() < new Date().getTime() - 86400000;
259
           },
259
           },
260
         },
260
         },
261
+        zoneIdList:[]
261
       }
262
       }
262
     },
263
     },
263
     created() {
264
     created() {
398
             return false
399
             return false
399
           } else {
400
           } else {
400
             this.partitionArr = response.data.data.zone
401
             this.partitionArr = response.data.data.zone
401
-            this.partitionArr.unshift({ id: 0, name: '全部' })
402
+            for(let i=0;i<this.partitionArr.length;i++){
403
+              this.zoneIdList.push(this.partitionArr[i].id)
404
+            }
405
+            // this.partitionArr.unshift({ id: 0, name: '全部' })
402
           }
406
           }
403
         })
407
         })
404
       },
408
       },
405
       statistics() {
409
       statistics() {
406
          this.tableList = []
410
          this.tableList = []
411
+
412
+          var str = ""
413
+         if(this.partion_type==0){
414
+            str = this.zoneIdList.join(",")
415
+         }
416
+         if(this.partion_type!=0){
417
+            str = this.partion_type.join(",")
418
+         }
419
+          
407
           var params = {
420
           var params = {
408
             schedule_type:this.schedule_type,
421
             schedule_type:this.schedule_type,
409
-            partion_type:this.partion_type,
422
+            partion_type:str,
410
             selected_date:this.query.schedule_date,
423
             selected_date:this.query.schedule_date,
411
           }
424
           }
412
         // console.log("params2332232wo",params)
425
         // console.log("params2332232wo",params)

+ 19 - 3
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Ver arquivo

212
             </el-option>
212
             </el-option>
213
            </el-select>
213
            </el-select>
214
            <label class="title"> <span class="name">病区选择</span> : </label>
214
            <label class="title"> <span class="name">病区选择</span> : </label>
215
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType">
215
+           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType" multiple>
216
             <el-option
216
             <el-option
217
               v-for="item in partitionArr"
217
               v-for="item in partitionArr"
218
               :key="item.id"
218
               :key="item.id"
475
         typeList:[],
475
         typeList:[],
476
         ids:"",
476
         ids:"",
477
         org_id:0,
477
         org_id:0,
478
+        zoneIdList:[],
478
       }
479
       }
479
     },
480
     },
480
     created() {
481
     created() {
754
             return false
755
             return false
755
           } else {
756
           } else {
756
             this.partitionArr = response.data.data.zone
757
             this.partitionArr = response.data.data.zone
757
-            this.partitionArr.unshift({ id: 0, name: '全部' })
758
+            for(let i=0;i<this.partitionArr.length;i++){
759
+              this.zoneIdList.push(this.partitionArr[i].id)
760
+            }
761
+            // this.partitionArr.unshift({ id: 0, name: '全部' })
758
           }
762
           }
759
         })
763
         })
760
       },
764
       },
761
       statistics() {
765
       statistics() {
762
         this.tableList = []
766
         this.tableList = []
767
+        
768
+        var arr = this.zoneIdList.join(",")
769
+        var str = ""
770
+         if(this.partion_type == 0){
771
+            str = arr
772
+         }
773
+         if(this.partion_type != 0){
774
+            str = this.partion_type.join(',')
775
+         }
776
+        
777
+        console.log("str-==-------",str)
763
         var params = {
778
         var params = {
764
           schedule_type:this.schedule_type,
779
           schedule_type:this.schedule_type,
765
-          partion_type:this.partion_type,
780
+          partion_type:str,
766
           selected_date:this.query.schedule_date,
781
           selected_date:this.query.schedule_date,
767
         }
782
         }
783
+       
768
        getDialysisGoodTotalCount(params).then(response=>{
784
        getDialysisGoodTotalCount(params).then(response=>{
769
           if(response.data.state == 1){
785
           if(response.data.state == 1){
770
             this.startDialogVisible = true
786
             this.startDialogVisible = true

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Ver arquivo

1100
           case '3': // 透析前症状
1100
           case '3': // 透析前症状
1101
 
1101
 
1102
             this.InnerDialogProps.values = this.symptom_before_dialysis
1102
             this.InnerDialogProps.values = this.symptom_before_dialysis
1103
-            this.InnerDialogProps.titles = '透析期间'
1103
+            this.InnerDialogProps.titles = '透析前症状'
1104
             this.InnerDialogProps.type = 'symptom_before_dialysis'
1104
             this.InnerDialogProps.type = 'symptom_before_dialysis'
1105
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.symptom_before_dialysis
1105
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.symptom_before_dialysis
1106
             this.InnerDialogProps.isShowTextArea = false
1106
             this.InnerDialogProps.isShowTextArea = false

+ 15 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver arquivo

238
                 org_id == 10210 ||
238
                 org_id == 10210 ||
239
                 org_id == 9555 || org_id == 10387
239
                 org_id == 9555 || org_id == 10387
240
                 || org_id == 10432
240
                 || org_id == 10432
241
-                || org_id == 10445)
241
+                || org_id == 10445
242
+                || org_id == 10410)
242
             "
243
             "
243
           >
244
           >
244
             <template slot-scope="scope">
245
             <template slot-scope="scope">
305
               org_id!= 10210 &&
306
               org_id!= 10210 &&
306
               org_id != 9555 && org_id!=10387
307
               org_id != 9555 && org_id!=10387
307
               && org_id!=10432 && org_id!=10445
308
               && org_id!=10432 && org_id!=10445
309
+              && org_id!=10410
308
             "
310
             "
309
           >
311
           >
310
             <template slot-scope="scope">
312
             <template slot-scope="scope">
354
                 template_id == 47 ||
356
                 template_id == 47 ||
355
                 template_id == 60 ||
357
                 template_id == 60 ||
356
                 org_id == 10432 ||
358
                 org_id == 10432 ||
357
-                org_id == 10445)
359
+                org_id == 10445 ||
360
+                org_id == 10410)
358
             "
361
             "
359
           >
362
           >
360
             <template slot-scope="scope">
363
             <template slot-scope="scope">
403
               template_id != 47 &&
406
               template_id != 47 &&
404
               template_id != 60 &&
407
               template_id != 60 &&
405
               org_id!=10432 &&
408
               org_id!=10432 &&
406
-              org_id!=10445
409
+              org_id!=10445 &&
410
+              org_id!=10410
407
             "
411
             "
408
           >
412
           >
409
             <template slot-scope="scope">
413
             <template slot-scope="scope">
1087
                 template_id == 47 ||
1091
                 template_id == 47 ||
1088
                 template_id == 60 ||
1092
                 template_id == 60 ||
1089
                 org_id== 10432 || 
1093
                 org_id== 10432 || 
1090
-                org_id== 10445)
1094
+                org_id== 10445 ||
1095
+                org_id== 10410)
1091
             "
1096
             "
1092
           >
1097
           >
1093
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1098
             <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
1130
               template_id != 47 &&
1135
               template_id != 47 &&
1131
               template_id != 60 &&
1136
               template_id != 60 &&
1132
               org_id!=10432 && 
1137
               org_id!=10432 && 
1133
-              org_id!=10445
1138
+              org_id!=10445 &&
1139
+              org_id!=10410
1134
             "
1140
             "
1135
           >
1141
           >
1136
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1142
             <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
1183
                 org_id == 10340 ||
1189
                 org_id == 10340 ||
1184
                 org_id == 10387 ||
1190
                 org_id == 10387 ||
1185
                 org_id == 10432 ||
1191
                 org_id == 10432 ||
1186
-                org_id == 10445)
1192
+                org_id == 10445 ||
1193
+                org_id == 10410)
1187
             "
1194
             "
1188
           >
1195
           >
1189
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1196
             <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
1236
               org_id != 9555 &&
1243
               org_id != 9555 &&
1237
               org_id!=10387&&
1244
               org_id!=10387&&
1238
               org_id!=10432 && 
1245
               org_id!=10432 && 
1239
-              org_id!=10445
1246
+              org_id!=10445 && 
1247
+              org_id!=10410
1240
             "
1248
             "
1241
           >
1249
           >
1242
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
1250
             <el-form-item label="超滤量(L):" :prop="isName('超滤量')"

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver arquivo

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10387 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10387 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445) " width="92px" > 置换率(ml/min) </th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445) " width="92px" > 置换率(ml/min) </th>

+ 51 - 3
src/xt_pages/dialysis/newDoctorAdvice.vue Ver arquivo

137
         </div>
137
         </div>
138
       </div>
138
       </div>
139
 
139
 
140
+      <div class="cell clearfix">
141
+        <label class="title"> <span class="name">执行频率</span> : </label>
142
+        <div class="time">
143
+          <ul class>
144
+            <li
145
+              :class="item.id == execution_frequency ? 'active' : ''"
146
+              @click="selectFrequencyWay(item.id)"
147
+              v-for="item in excutList"
148
+              :key="item.id"
149
+            >
150
+              {{ item.name }}
151
+            </li>
152
+          </ul>
153
+        </div>
154
+      </div>
155
+
140
        <div class="cell clearfix">
156
        <div class="cell clearfix">
141
         <label class="title"> <span class="name">执行状态</span> : </label>
157
         <label class="title"> <span class="name">执行状态</span> : </label>
142
         <div class="time">
158
         <div class="time">
801
       tableDataList:[],
817
       tableDataList:[],
802
       adminUserList:[],
818
       adminUserList:[],
803
       doctorMap:[],
819
       doctorMap:[],
820
+      excutList:[],
821
+      execution_frequency:"",
804
     };
822
     };
805
   },
823
   },
806
   created() {
824
   created() {
863
        this.delivery_way = val
881
        this.delivery_way = val
864
        this.requestSchedualDoctors(this.time)
882
        this.requestSchedualDoctors(this.time)
865
     },
883
     },
884
+    selectFrequencyWay(val){
885
+      this.execution_frequency = val
886
+      this.requestSchedualDoctors(this.time)
887
+    },
866
 
888
 
867
     selectExcutionWay(val){
889
     selectExcutionWay(val){
868
        this.excution_way = val
890
        this.excution_way = val
886
           var obj = {id:0,name:"全部"}
908
           var obj = {id:0,name:"全部"}
887
           this.deliveryWay.push(obj)
909
           this.deliveryWay.push(obj)
888
           this.deliveryWay.push(...dics)
910
           this.deliveryWay.push(...dics)
911
+          var objOne = {id:0,name:"全部"}
912
+           this.excutList.push(objOne)
913
+           var efs = response.data.data.efs
914
+           this.excutList.push(...efs)
915
+          console.log("执行瓶绿",this.excutList)
889
         }
916
         }
890
       });
917
       });
891
     },
918
     },
900
         if(name == '全部'){
927
         if(name == '全部'){
901
           name = ""
928
           name = ""
902
         }
929
         }
930
+       
931
+        var nameOne = ""
932
+         for(let i=0;i<this.excutList.length;i++){
933
+            if(this.execution_frequency == this.excutList[i].id){
934
+              nameOne = this.excutList[i].name
935
+            }
936
+        }
937
+
938
+         if(nameOne == '全部'){
939
+          nameOne = ""
940
+        }
903
 
941
 
904
         let newTime =  moment(time).format('YYYY-MM-DD')
942
         let newTime =  moment(time).format('YYYY-MM-DD')
905
 
943
 
906
          var schedule_type = this.listQuery.schedul_type
944
          var schedule_type = this.listQuery.schedul_type
907
          var partition_type = this.listQuery.partition_type
945
          var partition_type = this.listQuery.partition_type
908
-
909
-        getNewSchedualDoctors({date: newTime,patient_type: 0,advice_type: 2,delivery_way:name,schedule_type:schedule_type,partition_type:partition_type,patient_id:this.patient_id,excution_way:this.excution_way,cost_type:this.costType}).then(rs => {
946
+       
947
+        getNewSchedualDoctors({date: newTime,patient_type: 0,advice_type: 2,delivery_way:name,schedule_type:schedule_type,partition_type:partition_type,patient_id:this.patient_id,excution_way:this.excution_way,cost_type:this.costType,execution_frequency:nameOne}).then(rs => {
910
         var resp = rs.data
948
         var resp = rs.data
911
         if (resp.state == 1) {
949
         if (resp.state == 1) {
912
             this.admin_users = resp.data.adminUser
950
             this.admin_users = resp.data.adminUser
1258
         if(name == '全部'){
1296
         if(name == '全部'){
1259
           name = ""
1297
           name = ""
1260
        }
1298
        }
1261
-      this.$router.push({ path: "/dialysis/signPrint",query:{time: new Date(this.time).getTime(),delivery_way:name} });
1299
+        var nameOne = ""
1300
+         for(let i=0;i<this.excutList.length;i++){
1301
+            if(this.execution_frequency == this.excutList[i].id){
1302
+              nameOne = this.excutList[i].name
1303
+            }
1304
+        }
1305
+
1306
+         if(nameOne == '全部'){
1307
+          nameOne = ""
1308
+        }
1309
+      this.$router.push({ path: "/dialysis/signPrint",query:{time: new Date(this.time).getTime(),delivery_way:name,execution_frequency:nameOne} });
1262
 
1310
 
1263
     },
1311
     },
1264
     batchPrintActionOne: function() {
1312
     batchPrintActionOne: function() {

+ 5 - 1
src/xt_pages/dialysis/signPrint.vue Ver arquivo

74
             show:true,
74
             show:true,
75
             showOne:false,
75
             showOne:false,
76
             delivery_way:"",
76
             delivery_way:"",
77
-            list:[]
77
+            list:[],
78
+            execution_frequency:"",
78
         }
79
         }
79
     },
80
     },
80
     methods:{
81
     methods:{
96
             patient_type: 0,
97
             patient_type: 0,
97
             advice_type: 2,
98
             advice_type: 2,
98
             delivery_way:this.delivery_way,
99
             delivery_way:this.delivery_way,
100
+            execution_frequency:this.execution_frequency,
99
             }).then(rs => {
101
             }).then(rs => {
100
                 var resp = rs.data
102
                 var resp = rs.data
101
                 if (resp.state == 1) {
103
                 if (resp.state == 1) {
641
       var delivery_way = this.$route.query.delivery_way
643
       var delivery_way = this.$route.query.delivery_way
642
       console.log("delivery_Way",delivery_way)
644
       console.log("delivery_Way",delivery_way)
643
       this.delivery_way = delivery_way
645
       this.delivery_way = delivery_way
646
+      var execution_frequency = this.$route.query.execution_frequency
647
+      this.execution_frequency = execution_frequency
644
       this.time = moment(time).format('YYYY-MM-DD')
648
       this.time = moment(time).format('YYYY-MM-DD')
645
       console.log(11,this.$route.query)
649
       console.log(11,this.$route.query)
646
       this.requestSchedualDoctors(time)
650
       this.requestSchedualDoctors(time)

+ 15 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue Ver arquivo

354
             </td>
354
             </td>
355
             <td style="text-align: left" colspan="1">
355
             <td style="text-align: left" colspan="1">
356
               <span style="display: inline-block; margin-left: 15px">
356
               <span style="display: inline-block; margin-left: 15px">
357
-                透析/灌流器型号:{{
357
+                透析/灌流器型号:
358
+                <span v-if="prescription.dialysis_dialyszers!=''">{{
358
                   prescription.dialysis_dialyszers
359
                   prescription.dialysis_dialyszers
359
                     ? prescription.dialysis_dialyszers
360
                     ? prescription.dialysis_dialyszers
360
                     : "/"
361
                     : "/"
361
-                }}&nbsp;&nbsp;{{
362
+                }}
363
+                </span>
364
+               <span v-if="prescription.dialysis_irrigation!=''">
365
+                 &nbsp;&nbsp;{{
362
                   prescription.dialysis_irrigation
366
                   prescription.dialysis_irrigation
363
                     ? prescription.dialysis_irrigation
367
                     ? prescription.dialysis_irrigation
364
                     : "/"
368
                     : "/"
365
                 }}
369
                 }}
370
+               </span>
371
+               <span v-if="prescription.dialysis_strainer!=''">
372
+                &nbsp;&nbsp;{{
373
+                    prescription.dialysis_strainer
374
+                      ? prescription.dialysis_strainer
375
+                      : "/"
376
+                  }}
377
+               </span>
378
+                
366
               </span>
379
               </span>
367
             </td>
380
             </td>
368
             <td style="text-align: left" colspan="2">
381
             <td style="text-align: left" colspan="2">

+ 4 - 1
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/treatBatchPrint.vue Ver arquivo

7
       class="prescription-print"
7
       class="prescription-print"
8
       v-for="(item,index) in i.prescriptions"
8
       v-for="(item,index) in i.prescriptions"
9
       :key="index"
9
       :key="index"
10
+
10
     >
11
     >
12
+
11
       <span v-if="org_id == 10138">
13
       <span v-if="org_id == 10138">
12
         <img
14
         <img
13
           src="https://kuyi.shengws.com/bailin/bltotle.jpg"
15
           src="https://kuyi.shengws.com/bailin/bltotle.jpg"
158
                   <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;<span v-if="it.drug.min_unit != it.drug.dose_unit">{{it.drug.dose}}{{it.drug.dose_unit}}&nbsp;* &nbsp;</span>{{it.drug.min_number}}{{it.drug.min_unit}}/{{it.drug.max_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div>
160
                   <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;<span v-if="it.drug.min_unit != it.drug.dose_unit">{{it.drug.dose}}{{it.drug.dose_unit}}&nbsp;* &nbsp;</span>{{it.drug.min_number}}{{it.drug.min_unit}}/{{it.drug.max_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div>
159
               </div> -->
161
               </div> -->
160
         <div class="drugsBox" v-for="(it, index) in item.project" :key="index">
162
         <div class="drugsBox" v-for="(it, index) in item.project" :key="index">
161
-          <div class="drugsOne">
163
+          <div class="drugsOne" v-if="(item.type == 2 && item.project.cost_classify != 3) || item.type ==3">
162
             <span style="font-weight: bold">{{ index + 1 + "." }}</span
164
             <span style="font-weight: bold">{{ index + 1 + "." }}</span
163
             >{{
165
             >{{
164
               it.type == 2 ? it.project.project_name : it.good_info.good_name
166
               it.type == 2 ? it.project.project_name : it.good_info.good_name
209
         alt=""
211
         alt=""
210
       /></span>
212
       /></span>
211
       <div style="page-break-after: always"></div>
213
       <div style="page-break-after: always"></div>
214
+
212
     </div>
215
     </div>
213
 
216
 
214
     <!-- <div id='prescriptionPrint'>
217
     <!-- <div id='prescriptionPrint'>

+ 43 - 5
src/xt_pages/outpatientDoctorStation/pastInquiries.vue Ver arquivo

429
 
429
 
430
           let new_patients = []
430
           let new_patients = []
431
           if (type != 3) {
431
           if (type != 3) {
432
-            Arr.forEach((i) => {
433
-              if (i.prescriptions.length != 0) {
434
-                new_patients.push(i)
435
-              }
436
-            })
432
+
433
+            if (type == 1){
434
+              Arr.forEach((i) => {
435
+                if (i.prescriptions.length != 0) {
436
+                  new_patients.push(i)
437
+                }
438
+              })
439
+
440
+            }else {
441
+              Arr.forEach((i) => {
442
+                if (i.prescriptions.length != 0) {
443
+                  for(let b = 0; b < i.prescriptions.length;b++) {
444
+                    for (let c = 0; c < i.prescriptions[b].project.length; c++) {
445
+                      if(b == 1) {
446
+                        console.log(i.prescriptions[b].project.length)
447
+                        console.log(i.prescriptions[b].project[c].project.cost_classify)
448
+                        console.log(i.prescriptions[b].project[c].type)
449
+                      }
450
+                      if(i.prescriptions[b].project[c].type == 2 && i.prescriptions[b].project[c].project.cost_classify == 3){
451
+                        i.prescriptions[b].project.splice(c,1)
452
+                        c--
453
+                      }
454
+                    }
455
+                  }
456
+                  new_patients.push(i)
457
+                }
458
+              })
459
+              let new_patients_two = []
460
+
461
+              new_patients.forEach((i) => {
462
+                if (i.prescriptions.length != 0) {
463
+                  for(let b = 0; b < i.prescriptions.length;b++) {
464
+                    if(i.prescriptions[b].project.length == 0){
465
+                      i.prescriptions.splice(b,1)
466
+                      b--
467
+                    }
468
+                  }
469
+                  new_patients_two.push(i)
470
+                }
471
+              })
472
+              new_patients = new_patients_two
473
+            }
474
+
437
           } else {
475
           } else {
438
             Arr.forEach((el) => {
476
             Arr.forEach((el) => {
439
               el.new_prescriptions.forEach((o) => {
477
               el.new_prescriptions.forEach((o) => {

+ 2 - 0
src/xt_pages/workforce/components/tableData.vue Ver arquivo

1772
       this.currentData.patient_id = 0;
1772
       this.currentData.patient_id = 0;
1773
     },
1773
     },
1774
     getSchedules() {
1774
     getSchedules() {
1775
+      console.log
1775
          var partionStr = this.partition_id
1776
          var partionStr = this.partition_id
1776
          var arr = this.zoneIdList.join(',')
1777
          var arr = this.zoneIdList.join(',')
1777
          var str = ""
1778
          var str = ""
1786
           patitionid:str,
1787
           patitionid:str,
1787
           schedule_type:this.schedule_type,
1788
           schedule_type:this.schedule_type,
1788
         }
1789
         }
1790
+        
1789
 
1791
 
1790
       getSchedulesOne(params).then(response => {
1792
       getSchedulesOne(params).then(response => {
1791
         if (response.data.state == 1) {
1793
         if (response.data.state == 1) {