XMLWAN 2 år sedan
förälder
incheckning
b331fc6f93

+ 3 - 3
src/store/modules/globalConfig.js Visa fil

876
         id: 13,
876
         id: 13,
877
         name: '那屈肝素钙',
877
         name: '那屈肝素钙',
878
         type: 1,
878
         type: 1,
879
-        shouji: 2,
880
-        weichi: 2,
881
-        zongliang: 2,
879
+        shouji: 1,
880
+        weichi: 1,
881
+        zongliang: 1,
882
         gaimingcheng: -1,
882
         gaimingcheng: -1,
883
         gaijiliang: -1,
883
         gaijiliang: -1,
884
         shouji_unit: 'mg',
884
         shouji_unit: 'mg',

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Visa fil

111
           <label>目标超滤量 : </label>
111
           <label>目标超滤量 : </label>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113
           
113
           
114
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10249"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10249" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
114
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116
         </li>
116
         </li>
117
 
117
 
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 49 - 11
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Visa fil

109
           :label="item.filed_name_cn"
109
           :label="item.filed_name_cn"
110
         >
110
         >
111
           <template slot-scope="scope">
111
           <template slot-scope="scope">
112
-             <!-- <span>{{scope.row.good_type[index].name}}</span> -->
113
              {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
112
              {{getName(scope.row.rowList[index].filed_name_cn,scope.row.dialysis_solution)}}
114
           </template>
113
           </template>
115
 
114
 
116
         </el-table-column>
115
         </el-table-column>
117
 
116
 
117
+       <el-table-column  align="center"  width="100" label="备注">
118
+           <template slot-scope="scope">
119
+            {{scope.row.dialysis_solution.remark}}
120
+           </template>
121
+        </el-table-column>
122
+
118
       </el-table>
123
       </el-table>
119
     </div>
124
     </div>
120
 
125
 
269
         hemodialysisPipelinesOptions:[],
274
         hemodialysisPipelinesOptions:[],
270
         startDialogVisible:false,
275
         startDialogVisible:false,
271
         tableList:[],
276
         tableList:[],
272
-        schedule_type:"",
273
-        partion_type:"",
277
+        schedule_type:0,
278
+        partion_type:0,
274
       }
279
       }
275
     },
280
     },
276
     created() {
281
     created() {
285
       this.hemodialysisPipelinesOptions = getDataConfig('hemodialysis', 'hemodialysis_pipelines')
290
       this.hemodialysisPipelinesOptions = getDataConfig('hemodialysis', 'hemodialysis_pipelines')
286
       var filedList = this.$store.getters.xt_user.fileds
291
       var filedList = this.$store.getters.xt_user.fileds
287
       for (let i = 0; i < filedList.length; i++) {
292
       for (let i = 0; i < filedList.length; i++) {
288
-        if ( filedList[i].module == 1 && filedList[i].is_show == 1) {
293
+        if ( filedList[i].module == 1 && filedList[i].is_show == 1 && (filedList[i].filed_name_cn == '透析器/灌流器' || filedList[i].filed_name_cn == '透析器' || filedList[i].filed_name_cn == '灌流器'  || filedList[i].filed_name_cn == '钾' || filedList[i].filed_name_cn == '钠' || filedList[i].filed_name_cn == '钙' || filedList[i].filed_name_cn == '葡萄糖'  || filedList[i].filed_name_cn == '穿刺针'  || filedList[i].filed_name_cn == '穿刺针支数')) {
289
           this.rowList.push(filedList[i])
294
           this.rowList.push(filedList[i])
290
         }
295
         }
291
       }
296
       }
388
         })
393
         })
389
       },
394
       },
390
       statistics() {
395
       statistics() {
396
+        
391
         var params = {
397
         var params = {
392
           schedule_type:this.schedule_type,
398
           schedule_type:this.schedule_type,
393
           partion_type:this.partion_type,
399
           partion_type:this.partion_type,
398
           if(response.data.state == 1){
404
           if(response.data.state == 1){
399
             this.startDialogVisible = true
405
             this.startDialogVisible = true
400
             var list = response.data.data.list
406
             var list = response.data.data.list
407
+            var kaliumCount = 0
408
+            var sodiumCount = 0
409
+            var calciumCount = 0
410
+            var glucoseCount = 0
411
+            var punctureNeedleCount = 0
401
             console.log("list232323223222wid",list)
412
             console.log("list232323223222wid",list)
402
             if(list!=null && list.length>0){
413
             if(list!=null && list.length>0){
403
               for(let i=0;i<list.length;i++){
414
               for(let i=0;i<list.length;i++){
404
                  list[i].dialysis_dialyszers_arr = []
415
                  list[i].dialysis_dialyszers_arr = []
405
                  list[i].dialyzer_perfusion_apparatus_arr = []
416
                  list[i].dialyzer_perfusion_apparatus_arr = []
406
                  list[i].dialysis_irrigation_arr = []
417
                  list[i].dialysis_irrigation_arr = []
407
-                 if(list[i].dialysis_prescription.dialysis_dialyszers!=""){
408
-                   list[i].dialysis_dialyszers_arr = list[i].dialysis_prescription.dialysis_dialyszers.split(",")
418
+                 if(list[i].dialysis_solution.dialysis_dialyszers!=""){
419
+                   list[i].dialysis_dialyszers_arr = list[i].dialysis_solution.dialysis_dialyszers.split(",")
409
                  }
420
                  }
410
-                 if(list[i].dialysis_prescription.dialyzer_perfusion_apparatus!=""){
411
-                   list[i].dialyzer_perfusion_apparatus_arr = list[i].dialysis_prescription.dialyzer_perfusion_apparatus.split(",")
421
+                 if(list[i].dialysis_solution.dialyzer_perfusion_apparatus!=""){
422
+                   list[i].dialyzer_perfusion_apparatus_arr = list[i].dialysis_solution.dialyzer_perfusion_apparatus.split(",")
412
                  }
423
                  }
413
-                 if(list[i].dialysis_prescription.dialysis_irrigation!=""){
414
-                   list[i].dialysis_irrigation_arr = list[i].dialysis_prescription.dialysis_irrigation.split(",")
424
+                 if(list[i].dialysis_solution.dialysis_irrigation!=""){
425
+                   list[i].dialysis_irrigation_arr = list[i].dialysis_solution.dialysis_irrigation.split(",")
415
                  }
426
                  }
427
+                 kaliumCount += parseInt(list[i].dialysis_solution.kalium) 
428
+                 sodiumCount += parseInt(list[i].dialysis_solution.sodium)
429
+                 calciumCount +=parseInt(list[i].dialysis_solution.calcium)
430
+                 glucoseCount += parseInt(list[i].dialysis_solution.glucose)
431
+                 punctureNeedleCount += parseInt(list[i].dialysis_solution.puncture_needle_count)
432
+
416
               }
433
               }
417
             }
434
             }
418
             var dialysisDialyszersArr = []
435
             var dialysisDialyszersArr = []
488
               Arr.push(a);
505
               Arr.push(a);
489
             }
506
             }
490
             console.log("newa",Arr)
507
             console.log("newa",Arr)
491
-            this.tableList = Arr
508
+           var objfive = {name:"钾(mmol/L)",specification_name:"2.0",count:""}
509
+           var objsix =  {name:"钠(mmol/L)",specification_name:"1.25",count:""}
510
+           var objseven = {name:"钙(mmol/L)",specification_name:"1.5",count:""}
511
+           var objeight = {name:"葡萄糖(mmol/L)",specification_name:"无糖",count:""}
512
+           var objten = {name:"穿刺针支数",specification_name:"穿刺针支数",count:""}
513
+           
514
+            objfive.count = kaliumCount
515
+            objsix.count = sodiumCount
516
+            objseven.count = calciumCount
517
+            objeight.count = glucoseCount
518
+            objten.count = punctureNeedleCount
519
+            this.tableList.push(objfive)
520
+            this.tableList.push(objsix)
521
+            this.tableList.push(objseven)
522
+            this.tableList.push(objeight)
523
+            this.tableList.push(objten)
524
+            for(let i=0;i<Arr.length;i++){
525
+
526
+              this.tableList.push(Arr[i])
527
+            }
528
+            // this.tableList = Arr
529
+           
492
           }
530
           }
493
        })
531
        })
494
         
532
         

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Visa fil

396
         startdialogVisible:false,
396
         startdialogVisible:false,
397
         schedule_type:"",
397
         schedule_type:"",
398
         partion_type:"",
398
         partion_type:"",
399
+        tableList:[],
399
       }
400
       }
400
     },
401
     },
401
     created() {
402
     created() {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Visa fil

290
           </template>
290
           </template>
291
         </el-table-column>
291
         </el-table-column>
292
         <el-table-column
292
         <el-table-column
293
-          v-if="template_id != 6"
293
+          v-if="template_id != 6 && org_id!=10223"
294
           prop="checker"
294
           prop="checker"
295
           min-width="30px"
295
           min-width="30px"
296
           align="center"
296
           align="center"

+ 1 - 0
src/xt_pages/hospitalStation/components/deskPrescription.vue Visa fil

2364
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2364
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2365
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2365
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2366
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2366
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2367
+                  
2367
 
2368
 
2368
                 }
2369
                 }
2369
 
2370
 

+ 21 - 9
src/xt_pages/hospitalStation/doctorDesk.vue Visa fil

1232
                     remark: prescription.project[b].remark,
1232
                     remark: prescription.project[b].remark,
1233
                     medical_code: prescription.project[b].project.medical_code,
1233
                     medical_code: prescription.project[b].project.medical_code,
1234
                     unit: prescription.project[b].unit,
1234
                     unit: prescription.project[b].unit,
1235
-                    type: prescription.project[b].type
1235
+                    type: prescription.project[b].type,
1236
+                    
1236
 
1237
 
1237
                   }
1238
                   }
1238
 
1239
 
1243
                     obj['medical_code'] = prescription.project[b].project.medical_code
1244
                     obj['medical_code'] = prescription.project[b].project.medical_code
1244
                     obj['project_name'] = prescription.project[b].project.project_name
1245
                     obj['project_name'] = prescription.project[b].project.project_name
1245
                     obj['project'] = prescription.project[b].project
1246
                     obj['project'] = prescription.project[b].project
1247
+                  
1246
 
1248
 
1247
                   } else if (prescription.project[b].type == 3) {
1249
                   } else if (prescription.project[b].type == 3) {
1248
                     if(prescription.project[b].team_id > 0){
1250
                     if(prescription.project[b].team_id > 0){
1252
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1254
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1253
                     obj['project_name'] = prescription.project[b].good_info.good_name
1255
                     obj['project_name'] = prescription.project[b].good_info.good_name
1254
                     obj['good_info'] = prescription.project[b].good_info
1256
                     obj['good_info'] = prescription.project[b].good_info
1257
+                  
1255
 
1258
 
1256
                   }
1259
                   }
1257
                   tempProject.push(obj)
1260
                   tempProject.push(obj)
1372
                       remark: prescription.project[b].remark,
1375
                       remark: prescription.project[b].remark,
1373
                       medical_code: prescription.project[b].project.medical_code,
1376
                       medical_code: prescription.project[b].project.medical_code,
1374
                       unit: prescription.project[b].unit,
1377
                       unit: prescription.project[b].unit,
1375
-                      type: prescription.project[b].type
1378
+                      type: prescription.project[b].type,
1379
+                      
1376
 
1380
 
1377
                     }
1381
                     }
1378
 
1382
 
1382
                       obj['project_name'] = prescription.project[b].project.project_name
1386
                       obj['project_name'] = prescription.project[b].project.project_name
1383
                       obj['price'] = prescription.project[b].project.price
1387
                       obj['price'] = prescription.project[b].project.price
1384
                       obj['project'] = prescription.project[b].project
1388
                       obj['project'] = prescription.project[b].project
1389
+                      
1385
 
1390
 
1386
                     } else if (prescription.project[b].type == 3) {
1391
                     } else if (prescription.project[b].type == 3) {
1387
                       obj['statistical_classification'] = ''
1392
                       obj['statistical_classification'] = ''
1389
                       obj['project_name'] = prescription.project[b].good_info.good_name
1394
                       obj['project_name'] = prescription.project[b].good_info.good_name
1390
                       obj['price'] = prescription.project[b].good_info.packing_price
1395
                       obj['price'] = prescription.project[b].good_info.packing_price
1391
                       obj['good_info'] = prescription.project[b].good_info
1396
                       obj['good_info'] = prescription.project[b].good_info
1397
+                     
1392
                     }
1398
                     }
1393
                     tempProject.push(obj)
1399
                     tempProject.push(obj)
1394
                   }
1400
                   }
1645
                           remark: prescription.project[b].remark,
1651
                           remark: prescription.project[b].remark,
1646
                           medical_code: prescription.project[b].project.medical_code,
1652
                           medical_code: prescription.project[b].project.medical_code,
1647
                           unit: prescription.project[b].unit,
1653
                           unit: prescription.project[b].unit,
1648
-                          type: prescription.project[b].type
1654
+                          type: prescription.project[b].type,
1655
+                         
1649
                         }
1656
                         }
1650
 
1657
 
1651
                         if (prescription.project[b].type == 2) {
1658
                         if (prescription.project[b].type == 2) {
1784
                             remark: prescription.project[b].remark,
1791
                             remark: prescription.project[b].remark,
1785
                             medical_code: prescription.project[b].project.medical_code,
1792
                             medical_code: prescription.project[b].project.medical_code,
1786
                             unit: prescription.project[b].unit,
1793
                             unit: prescription.project[b].unit,
1787
-                            type: prescription.project[b].type
1788
-
1794
+                            type: prescription.project[b].type,
1795
+                           
1789
                           }
1796
                           }
1790
 
1797
 
1791
                           if (prescription.project[b].type == 2) {
1798
                           if (prescription.project[b].type == 2) {
2136
                           remark: prescription.project[b].remark,
2143
                           remark: prescription.project[b].remark,
2137
                           medical_code: prescription.project[b].project.medical_code,
2144
                           medical_code: prescription.project[b].project.medical_code,
2138
                           unit: prescription.project[b].unit,
2145
                           unit: prescription.project[b].unit,
2139
-                          type: prescription.project[b].type
2146
+                          type: prescription.project[b].type,
2147
+                         
2148
+                  
2140
                         }
2149
                         }
2141
 
2150
 
2142
                         if (prescription.project[b].type == 2) {
2151
                         if (prescription.project[b].type == 2) {
2266
                             remark: prescription.project[b].remark,
2275
                             remark: prescription.project[b].remark,
2267
                             medical_code: prescription.project[b].project.medical_code,
2276
                             medical_code: prescription.project[b].project.medical_code,
2268
                             unit: prescription.project[b].unit,
2277
                             unit: prescription.project[b].unit,
2269
-                            type: prescription.project[b].type
2278
+                            type: prescription.project[b].type,
2279
+                           
2270
                           }
2280
                           }
2271
 
2281
 
2272
                           if (prescription.project[b].type == 2) {
2282
                           if (prescription.project[b].type == 2) {
2608
                         remark: prescription.project[b].remark,
2618
                         remark: prescription.project[b].remark,
2609
                         medical_code: prescription.project[b].project.medical_code,
2619
                         medical_code: prescription.project[b].project.medical_code,
2610
                         unit: prescription.project[b].unit,
2620
                         unit: prescription.project[b].unit,
2611
-                        type: prescription.project[b].type
2621
+                        type: prescription.project[b].type,
2622
+                        
2612
                       }
2623
                       }
2613
 
2624
 
2614
                       if (prescription.project[b].type == 2) {
2625
                       if (prescription.project[b].type == 2) {
2737
                           remark: prescription.project[b].remark,
2748
                           remark: prescription.project[b].remark,
2738
                           medical_code: prescription.project[b].project.medical_code,
2749
                           medical_code: prescription.project[b].project.medical_code,
2739
                           unit: prescription.project[b].unit,
2750
                           unit: prescription.project[b].unit,
2740
-                          type: prescription.project[b].type
2751
+                          type: prescription.project[b].type,
2752
+                         
2741
                         }
2753
                         }
2742
 
2754
 
2743
                         if (prescription.project[b].type == 2) {
2755
                         if (prescription.project[b].type == 2) {

+ 2 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Visa fil

91
                         </el-button>
91
                         </el-button>
92
           </div>
92
           </div>
93
 
93
 
94
-          <div  v-if="org_id != 10340 || org_id != 0">
94
+          <div  v-if="org_id != 10340 && org_id != 0">
95
 <!--            <el-button size="small"-->
95
 <!--            <el-button size="small"-->
96
 <!--                       @click="openZb(1)"-->
96
 <!--                       @click="openZb(1)"-->
97
 <!--                       type="primary">登记-->
97
 <!--                       type="primary">登记-->
2883
             obj['settle_accounts_type'] = 2
2883
             obj['settle_accounts_type'] = 2
2884
           }
2884
           }
2885
           var that = this
2885
           var that = this
2886
-          axios.get(process.env.BASE_API  + '/coordinate/settleAccount', {
2886
+          axios.get("127.0.0.1:9532"  + '/coordinate/settleAccount', {
2887
             params: obj
2887
             params: obj
2888
           })
2888
           })
2889
               .then(function(response) {
2889
               .then(function(response) {

+ 3 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Visa fil

2366
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2366
                   this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
2367
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2367
                   this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
2368
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2368
                   this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
2369
+                 
2369
 
2370
 
2370
                 }
2371
                 }
2371
 
2372
 
2633
                   month_prescriptions[i].project[b].total = month_prescriptions[i].project[b].total.toString()
2634
                   month_prescriptions[i].project[b].total = month_prescriptions[i].project[b].total.toString()
2634
                   month_prescriptions[i].project[b].delivery_way = month_prescriptions[i].project[b].delivery_way.toString()
2635
                   month_prescriptions[i].project[b].delivery_way = month_prescriptions[i].project[b].delivery_way.toString()
2635
 
2636
 
2637
+                  
2638
+
2636
                 }
2639
                 }
2637
 
2640
 
2638
                 for (let b = 0; b < month_prescriptions[i].addition.length; b++) {
2641
                 for (let b = 0; b < month_prescriptions[i].addition.length; b++) {

+ 24 - 13
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Visa fil

1704
                   unit: prescription.project[b].unit,
1704
                   unit: prescription.project[b].unit,
1705
                   type: prescription.project[b].type,
1705
                   type: prescription.project[b].type,
1706
                   execution_state: prescription.project[b].execution_state,
1706
                   execution_state: prescription.project[b].execution_state,
1707
-
1707
+                
1708
 
1708
 
1709
                 }
1709
                 }
1710
 
1710
 
1713
                   obj['medical_code'] = prescription.project[b].project.medical_code
1713
                   obj['medical_code'] = prescription.project[b].project.medical_code
1714
                   obj['project_name'] = prescription.project[b].project.project_name
1714
                   obj['project_name'] = prescription.project[b].project.project_name
1715
                   obj['project'] = prescription.project[b].project
1715
                   obj['project'] = prescription.project[b].project
1716
+                 
1716
 
1717
 
1717
                 } else if (prescription.project[b].type == 3) {
1718
                 } else if (prescription.project[b].type == 3) {
1718
                   obj['statistical_classification'] = ''
1719
                   obj['statistical_classification'] = ''
1719
                   obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1720
                   obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1720
                   obj['project_name'] = prescription.project[b].good_info.good_name
1721
                   obj['project_name'] = prescription.project[b].good_info.good_name
1721
                   obj['good_info'] = prescription.project[b].good_info
1722
                   obj['good_info'] = prescription.project[b].good_info
1723
+                
1722
 
1724
 
1723
                 }
1725
                 }
1724
                 tempProject.push(obj)
1726
                 tempProject.push(obj)
1864
                     unit: prescription.project[b].unit,
1866
                     unit: prescription.project[b].unit,
1865
                     type: prescription.project[b].type,
1867
                     type: prescription.project[b].type,
1866
                     execution_state: 2,
1868
                     execution_state: 2,
1869
+                    
1867
 
1870
 
1868
                   }
1871
                   }
1869
 
1872
 
1873
                     obj['project_name'] = prescription.project[b].project.project_name
1876
                     obj['project_name'] = prescription.project[b].project.project_name
1874
                     obj['price'] = prescription.project[b].project.price
1877
                     obj['price'] = prescription.project[b].project.price
1875
                     obj['project'] = prescription.project[b].project
1878
                     obj['project'] = prescription.project[b].project
1879
+                    
1876
 
1880
 
1877
                   } else if (prescription.project[b].type == 3) {
1881
                   } else if (prescription.project[b].type == 3) {
1878
                     obj['statistical_classification'] = ''
1882
                     obj['statistical_classification'] = ''
1880
                     obj['project_name'] = prescription.project[b].good_info.good_name
1884
                     obj['project_name'] = prescription.project[b].good_info.good_name
1881
                     obj['price'] = prescription.project[b].good_info.packing_price
1885
                     obj['price'] = prescription.project[b].good_info.packing_price
1882
                     obj['good_info'] = prescription.project[b].good_info
1886
                     obj['good_info'] = prescription.project[b].good_info
1887
+                  
1883
                   }
1888
                   }
1884
                   tempProject.push(obj)
1889
                   tempProject.push(obj)
1885
                 }
1890
                 }
1935
 
1940
 
1936
             }
1941
             }
1937
           }
1942
           }
1938
-          console.log('~~~~~00000222222')
1943
+          console.log('~~~~~00000222222',this.prescriptions)
1939
           this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info, this.sick, this.diagnosis)
1944
           this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info, this.sick, this.diagnosis)
1940
         }
1945
         }
1941
       })
1946
       })
2161
                         unit: prescription.project[b].unit,
2166
                         unit: prescription.project[b].unit,
2162
                         type: prescription.project[b].type,
2167
                         type: prescription.project[b].type,
2163
                         execution_state: prescription.project[b].execution_state,
2168
                         execution_state: prescription.project[b].execution_state,
2169
+                       
2164
                       }
2170
                       }
2165
 
2171
 
2166
                       if (prescription.project[b].type == 2) {
2172
                       if (prescription.project[b].type == 2) {
2319
                           unit: prescription.project[b].unit,
2325
                           unit: prescription.project[b].unit,
2320
                           type: prescription.project[b].type,
2326
                           type: prescription.project[b].type,
2321
                           execution_state: 2,
2327
                           execution_state: 2,
2328
+                         
2322
 
2329
 
2323
                         }
2330
                         }
2324
 
2331
 
2703
                         unit: prescription.project[b].unit,
2710
                         unit: prescription.project[b].unit,
2704
                         type: prescription.project[b].type,
2711
                         type: prescription.project[b].type,
2705
                         execution_state: prescription.project[b].execution_state,
2712
                         execution_state: prescription.project[b].execution_state,
2706
-
2713
+                       
2707
                       }
2714
                       }
2708
 
2715
 
2709
                       if (prescription.project[b].type == 2) {
2716
                       if (prescription.project[b].type == 2) {
2853
                           unit: prescription.project[b].unit,
2860
                           unit: prescription.project[b].unit,
2854
                           type: prescription.project[b].type,
2861
                           type: prescription.project[b].type,
2855
                           execution_state: 2,
2862
                           execution_state: 2,
2856
-
2863
+                         
2857
                         }
2864
                         }
2858
 
2865
 
2859
                         if (prescription.project[b].type == 2) {
2866
                         if (prescription.project[b].type == 2) {
3216
                       medical_code: prescription.project[b].project.medical_code,
3223
                       medical_code: prescription.project[b].project.medical_code,
3217
                       unit: prescription.project[b].unit,
3224
                       unit: prescription.project[b].unit,
3218
                       type: prescription.project[b].type,
3225
                       type: prescription.project[b].type,
3219
-                      execution_state: prescription.project[b].execution_state
3220
-
3226
+                      execution_state: prescription.project[b].execution_state,
3227
+                  
3221
                     }
3228
                     }
3222
 
3229
 
3223
                     if (prescription.project[b].type == 2) {
3230
                     if (prescription.project[b].type == 2) {
3366
                         medical_code: prescription.project[b].project.medical_code,
3373
                         medical_code: prescription.project[b].project.medical_code,
3367
                         unit: prescription.project[b].unit,
3374
                         unit: prescription.project[b].unit,
3368
                         type: prescription.project[b].type,
3375
                         type: prescription.project[b].type,
3369
-                        execution_state: 2
3376
+                        execution_state: 2,
3377
+                       
3370
 
3378
 
3371
                       }
3379
                       }
3372
 
3380
 
3809
                         medical_code: prescription.project[b].project.medical_code,
3817
                         medical_code: prescription.project[b].project.medical_code,
3810
                         unit: prescription.project[b].unit,
3818
                         unit: prescription.project[b].unit,
3811
                         type: prescription.project[b].type,
3819
                         type: prescription.project[b].type,
3812
-                        execution_state: prescription.project[b].execution_state
3813
-
3820
+                        execution_state: prescription.project[b].execution_state,
3821
+                       
3814
                       }
3822
                       }
3815
 
3823
 
3816
                       if (prescription.project[b].type == 2) {
3824
                       if (prescription.project[b].type == 2) {
3818
                         obj['medical_code'] = prescription.project[b].project.medical_code
3826
                         obj['medical_code'] = prescription.project[b].project.medical_code
3819
                         obj['project_name'] = prescription.project[b].project.project_name
3827
                         obj['project_name'] = prescription.project[b].project.project_name
3820
                         obj['project'] = prescription.project[b].project
3828
                         obj['project'] = prescription.project[b].project
3829
+                      
3821
 
3830
 
3822
                       } else if (prescription.project[b].type == 3) {
3831
                       } else if (prescription.project[b].type == 3) {
3823
                         if (prescription.project[b].team_id > 0) {
3832
                         if (prescription.project[b].team_id > 0) {
3826
                         obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
3835
                         obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
3827
                         obj['project_name'] = prescription.project[b].good_info.good_name
3836
                         obj['project_name'] = prescription.project[b].good_info.good_name
3828
                         obj['good_info'] = prescription.project[b].good_info
3837
                         obj['good_info'] = prescription.project[b].good_info
3838
+                       
3829
 
3839
 
3830
                       }
3840
                       }
3831
                       tempProject.push(obj)
3841
                       tempProject.push(obj)
3969
                           unit: prescription.project[b].unit,
3979
                           unit: prescription.project[b].unit,
3970
                           type: prescription.project[b].type,
3980
                           type: prescription.project[b].type,
3971
                           execution_state: 2,
3981
                           execution_state: 2,
3982
+                          
3972
                         }
3983
                         }
3973
 
3984
 
3974
                         if (prescription.project[b].type == 2) {
3985
                         if (prescription.project[b].type == 2) {
4436
                         medical_code: prescription.project[b].project.medical_code,
4447
                         medical_code: prescription.project[b].project.medical_code,
4437
                         unit: prescription.project[b].unit,
4448
                         unit: prescription.project[b].unit,
4438
                         type: prescription.project[b].type,
4449
                         type: prescription.project[b].type,
4439
-                        execution_state: prescription.project[b].execution_state
4440
-
4450
+                        execution_state: prescription.project[b].execution_state,
4451
+                       
4441
                       }
4452
                       }
4442
 
4453
 
4443
                       if (prescription.project[b].type == 2) {
4454
                       if (prescription.project[b].type == 2) {
4596
                           medical_code: prescription.project[b].project.medical_code,
4607
                           medical_code: prescription.project[b].project.medical_code,
4597
                           unit: prescription.project[b].unit,
4608
                           unit: prescription.project[b].unit,
4598
                           type: prescription.project[b].type,
4609
                           type: prescription.project[b].type,
4599
-                          execution_state: 2
4600
-
4610
+                          execution_state: 2,
4611
+                         
4601
                         }
4612
                         }
4602
 
4613
 
4603
                         if (prescription.project[b].type == 2) {
4614
                         if (prescription.project[b].type == 2) {