Преглед изворни кода

11月14日 库存扣减更新

XMLWAN пре 3 година
родитељ
комит
5071a0f0d3

+ 2 - 2
src/xt_pages/data/components/consumables.vue Прегледај датотеку

72
           size="small"
72
           size="small"
73
         >下载日志
73
         >下载日志
74
         </el-button>
74
         </el-button>
75
-        <!-- <el-button
75
+        <el-button
76
           style="margin-left:10px;"
76
           style="margin-left:10px;"
77
           @click="exportList()"
77
           @click="exportList()"
78
           class="filter-item"
78
           class="filter-item"
79
           type="primary"
79
           type="primary"
80
           size="small"
80
           size="small"
81
         >点击导出
81
         >点击导出
82
-        </el-button> -->
82
+        </el-button>
83
       </div>
83
       </div>
84
 
84
 
85
     <el-table
85
     <el-table

+ 2 - 2
src/xt_pages/data/components/drugs.vue Прегледај датотеку

65
           size="small"
65
           size="small"
66
         >下载日志
66
         >下载日志
67
         </el-button>
67
         </el-button>
68
-       <!-- <el-button
68
+       <el-button
69
           style="margin-left:10px;"
69
           style="margin-left:10px;"
70
           @click="exportList()"
70
           @click="exportList()"
71
           class="filter-item"
71
           class="filter-item"
72
           type="primary"
72
           type="primary"
73
           size="small"
73
           size="small"
74
         >点击导出
74
         >点击导出
75
-        </el-button> -->
75
+        </el-button>
76
       </div>
76
       </div>
77
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
77
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
78
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
78
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"

+ 2 - 2
src/xt_pages/data/components/project.vue Прегледај датотеку

61
           size="small"
61
           size="small"
62
         >下载日志
62
         >下载日志
63
         </el-button>
63
         </el-button>
64
-        <!-- <el-button
64
+        <el-button
65
           style="margin-left:10px;"
65
           style="margin-left:10px;"
66
           @click="exportList()"
66
           @click="exportList()"
67
           class="filter-item"
67
           class="filter-item"
68
           type="primary"
68
           type="primary"
69
           size="small"
69
           size="small"
70
         >点击导出
70
         >点击导出
71
-        </el-button> -->
71
+        </el-button>
72
       </div>
72
       </div>
73
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"  @selection-change="handleSelectionChange">
73
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"  @selection-change="handleSelectionChange">
74
             <el-table-column
74
             <el-table-column

+ 1 - 3
src/xt_pages/data/printTemplate/schedulePrint.vue Прегледај датотеку

62
         style="margin-left: 100px;margin-right: 100px;text-align: center"
62
         style="margin-left: 100px;margin-right: 100px;text-align: center"
63
         >
63
         >
64
         <div
64
         <div
65
-            @click="imgClick('https://kuyi.shengws.com/tempSchedule2.jpg')"
65
+          @click="imgClick('https://kuyi.shengws.com/tempSchedule2.jpg')"
66
         >
66
         >
67
             <el-tooltip
67
             <el-tooltip
68
             class="item"
68
             class="item"
82
         </el-col>
82
         </el-col>
83
     </el-row>
83
     </el-row>
84
    
84
    
85
-
86
-
87
       <el-image-viewer
85
       <el-image-viewer
88
         v-if="showViewer"
86
         v-if="showViewer"
89
         :on-close="closeViewer"
87
         :on-close="closeViewer"

+ 4 - 3
src/xt_pages/hospitalStation/components/deskPrescription.vue Прегледај датотеку

2225
               }
2225
               }
2226
             }
2226
             }
2227
             if (index == 1) {
2227
             if (index == 1) {
2228
-              console.log(this.prescriptions)
2229
-
2228
+              
2230
               // for (let i = 0; i < this.prescriptions.length; i++) {
2229
               // for (let i = 0; i < this.prescriptions.length; i++) {
2231
               //   for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2230
               //   for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2232
               //     if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2231
               //     if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2265
                 department: this.departmentValue,
2264
                 department: this.departmentValue,
2266
                 record_date: this.record_date,
2265
                 record_date: this.record_date,
2267
                 his_patient_id: this.hisPatientInfo.id,
2266
                 his_patient_id: this.hisPatientInfo.id,
2268
-                reg_type: this.register_type
2267
+                reg_type: this.register_type,
2269
               }
2268
               }
2270
 
2269
 
2271
               for (let i = 0; i < this.prescriptions.length; i++) {
2270
               for (let i = 0; i < this.prescriptions.length; i++) {
2300
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2299
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2301
                 }
2300
                 }
2302
               }
2301
               }
2302
+            
2303
               let data = {
2303
               let data = {
2304
                 'prescriptions': this.prescriptions
2304
                 'prescriptions': this.prescriptions
2305
               }
2305
               }
2319
               //   }
2319
               //   }
2320
               // })
2320
               // })
2321
               if (num == 0) {
2321
               if (num == 0) {
2322
+
2322
                 createHisPrescription(data, params).then(response => {
2323
                 createHisPrescription(data, params).then(response => {
2323
                   if (response.data.state == 1) {
2324
                   if (response.data.state == 1) {
2324
                     this.$emit('change', this.patientInfo.id)
2325
                     this.$emit('change', this.patientInfo.id)

+ 2 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

2261
                 department: this.departmentValue,
2261
                 department: this.departmentValue,
2262
                 record_date: this.record_date,
2262
                 record_date: this.record_date,
2263
                 his_patient_id: this.hisPatientInfo.id,
2263
                 his_patient_id: this.hisPatientInfo.id,
2264
-                reg_type: this.register_type
2264
+                reg_type: this.register_type,
2265
               }
2265
               }
2266
 
2266
 
2267
               for (let i = 0; i < this.prescriptions.length; i++) {
2267
               for (let i = 0; i < this.prescriptions.length; i++) {
2296
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2296
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2297
                 }
2297
                 }
2298
               }
2298
               }
2299
+            
2299
               let data = {
2300
               let data = {
2300
                 'prescriptions': this.prescriptions
2301
                 'prescriptions': this.prescriptions
2301
               }
2302
               }

+ 2 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Прегледај датотеку

940
               department: this.departmentValue,
940
               department: this.departmentValue,
941
               record_date: this.record_date,
941
               record_date: this.record_date,
942
               his_patient_id: this.hisPatientInfo.id,
942
               his_patient_id: this.hisPatientInfo.id,
943
-              reg_type: this.register_type
943
+              reg_type: this.register_type,
944
             }
944
             }
945
 
945
 
946
             for (let i = 0; i < this.prescriptions.length; i++) {
946
             for (let i = 0; i < this.prescriptions.length; i++) {
981
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
981
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
982
               }
982
               }
983
             }
983
             }
984
+            
984
             let data = {
985
             let data = {
985
               'prescriptions': this.prescriptions
986
               'prescriptions': this.prescriptions
986
             }
987
             }

+ 2 - 2
src/xt_pages/stock/stockPrint.vue Прегледај датотеку

45
                                       <span v-if="getWareInfo(item.xt_warehouse_info)>0">{{getWareInfo(item.xt_warehouse_info)}}{{item.packing_unit}}</span>
45
                                       <span v-if="getWareInfo(item.xt_warehouse_info)>0">{{getWareInfo(item.xt_warehouse_info)}}{{item.packing_unit}}</span>
46
                                    </td>
46
                                    </td>
47
                                    <td v-if="end_time == ''">
47
                                    <td v-if="end_time == ''">
48
-                                      <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779">
48
+                                      <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10290">
49
                                         <span>
49
                                         <span>
50
                                           {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info) + getCancelSotckInfo(item.cancel_stock_info)}}
50
                                           {{getWareInfo(item.xt_warehouse_info) - getOverFlushInfo(item.xt_warehouse_info) + getCancelSotckInfo(item.cancel_stock_info)}}
51
                                         </span>
51
                                         </span>
58
                                    </td>
58
                                    </td>
59
                                   
59
                                   
60
                                    <td v-if="end_time == ''">
60
                                    <td v-if="end_time == ''">
61
-                                     <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779">
61
+                                     <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10290">
62
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
62
                                         {{getOverFlushInfo(item.xt_warehouse_info)}}
63
                                      </span>
63
                                      </span>
64
                                      <span v-else>
64
                                      <span v-else>

+ 4 - 4
src/xt_pages/stock/stockQuery.vue Прегледај датотеку

108
        </el-table-column>
108
        </el-table-column>
109
        <el-table-column label="出库数量" align="center" v-if="showOne">
109
        <el-table-column label="出库数量" align="center" v-if="showOne">
110
          <template slot-scope="scope">
110
          <template slot-scope="scope">
111
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id ==  10088 || org_id == 10191 || org_id == 9919 || org_id == 10265 || org_id == 10164">
111
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id ==  10088 || org_id == 10191 || org_id == 9919 || org_id == 10265 || org_id == 10164 || org_id ==10290 ">
112
             <!-- <span>
112
             <!-- <span>
113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114
             </span> -->
114
             </span> -->
122
       
122
       
123
         <el-table-column label="剩余库存量" align="center" v-if="showThree">
123
         <el-table-column label="剩余库存量" align="center" v-if="showThree">
124
          <template slot-scope="scope">
124
          <template slot-scope="scope">
125
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088 || org_id == 10191 || org_id == 9919 || org_id == 10265 || org_id == 10164">
125
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088 || org_id == 10191 || org_id == 9919 || org_id == 10265 || org_id == 10164 || org_id == 10290">
126
             {{getOverFlushInfo(scope.row.xt_warehouse_info)}}
126
             {{getOverFlushInfo(scope.row.xt_warehouse_info)}}
127
           </span>
127
           </span>
128
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
128
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
367
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
367
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
368
 
368
 
369
           if(this.end_time == ""){
369
           if(this.end_time == ""){
370
-            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191 || this.org_id == 9919  || this.org_id == 10265 || this.org_id ==10164){
370
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191 || this.org_id == 9919  || this.org_id == 10265 || this.org_id ==10164 || this.org_id == 10290){
371
               this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
371
               this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
372
             }else{
372
             }else{
373
               this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
373
               this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
374
             }
374
             }
375
             
375
             
376
-            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191 || this.org_id == 9919 || this.org_id == 10265 || this.org_id == 10164){
376
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191 || this.org_id == 9919 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 10290){
377
                 this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
377
                 this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
378
             }else{
378
             }else{
379
               this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
379
               this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)

+ 113 - 3
src/xt_pages/workforce/scheduleTablePrintOne.vue Прегледај датотеку

153
                 <td style="min-width:50px;">
153
                 <td style="min-width:50px;">
154
                     <span v-if="item.Sun_M.patient_id">
154
                     <span v-if="item.Sun_M.patient_id">
155
                         <div>{{ item.Sun_M.patient }}</div>
155
                         <div>{{ item.Sun_M.patient }}</div>
156
-                        <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }} FX80</div>
156
+                        <div v-if="item.Sun_M.mode_name != 'HD'">{{ item.Sun_M.mode_name }} </div>
157
+                        <div>{{getDialyzer(item.Sun_M.patient_id,item.Sun_M.mode_name)}}</div>
157
                     </span>
158
                     </span>
158
                 </td>
159
                 </td>
159
                 <td style="min-width:50px;">
160
                 <td style="min-width:50px;">
160
                     <span v-if="item.Sun_A.patient_id">
161
                     <span v-if="item.Sun_A.patient_id">
161
                         <div>{{ item.Sun_A.patient }}</div>
162
                         <div>{{ item.Sun_A.patient }}</div>
162
-                        <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }} FX80</div>
163
+                        <div v-if="item.Sun_A.mode_name != 'HD'">{{ item.Sun_A.mode_name }} </div>
164
+                        <div>{{getDialyzer(item.Sun_A.patient_id, item.Sun_A.mode_name)}}</div>
163
                     </span>
165
                     </span>
164
                 </td>
166
                 </td>
165
                 <td style="min-width:50px;">
167
                 <td style="min-width:50px;">
166
                     <span v-if="item.Sun_N.patient_id">
168
                     <span v-if="item.Sun_N.patient_id">
167
                         <div>{{ item.Sun_N.patient }}</div>
169
                         <div>{{ item.Sun_N.patient }}</div>
168
-                        <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }} FX80</div>
170
+                        <div v-if="item.Sun_N.mode_name != 'HD'">{{ item.Sun_N.mode_name }} </div>
171
+                        <div>{{getDialyzer(item.Sun_N.patient_id,item.Sun_N.mode_name)}}</div>
169
                     </span>
172
                     </span>
170
                 </td>
173
                 </td>
171
                 <td>{{item.total}}</td>
174
                 <td>{{item.total}}</td>
851
              if(response.data.state ==1){
854
              if(response.data.state ==1){
852
                var solution = response.data.data.solution
855
                var solution = response.data.data.solution
853
                console.log("solution",solution)
856
                console.log("solution",solution)
857
+               for(let i=0;i<solution.length;i++){
858
+                 if(solution[i].mode_id == 1){
859
+                    solution[i].mode_name = "HD"
860
+                 }
861
+                 if(solution[i].mode_id == 2){
862
+                    solution[i].mode_name = "HDF"
863
+                 }
864
+                 if(solution[i].mode_id == 3){
865
+                    solution[i].mode_name = "HD+HP"
866
+                 }
867
+                 if(solution[i].mode_id == 4){
868
+                    solution[i].mode_name = "HP"
869
+                 }
870
+                 if(solution[i].mode_id == 5){
871
+                    solution[i].mode_name = "HF"
872
+                 }
873
+                 if(solution[i].mode_id == 6){
874
+                    solution[i].mode_name = "SCUF"
875
+                 }
876
+                 if(solution[i].mode_id == 7){
877
+                    solution[i].mode_name = "IUF"
878
+                 }
879
+                 if(solution[i].mode_id == 8){
880
+                    solution[i].mode_name = "HFHD"
881
+                 }
882
+                 if(solution[i].mode_id == 9){
883
+                    solution[i].mode_name = "HFHD+HP"
884
+                 }
885
+                 if(solution[i].mode_id == 10){
886
+                    solution[i].mode_name = "PHF"
887
+                 }
888
+                 if(solution[i].mode_id == 11){
889
+                    solution[i].mode_name = "HFR"
890
+                 }
891
+                 if(solution[i].mode_id == 12){
892
+                    solution[i].mode_name = "HDF+HP"
893
+                 }
894
+                 if(solution[i].mode_id == 13){
895
+                    solution[i].mode_name = "CRRT"
896
+                 }
897
+                 if(solution[i].mode_id == 14){
898
+                    solution[i].mode_name = "腹水回输"
899
+                 }
900
+                 if(solution[i].mode_id == 19){
901
+                    solution[i].mode_name = "IUF+HD"
902
+                 }
903
+                 if(solution[i].mode_id == 20){
904
+                    solution[i].mode_name = "UF"
905
+                 }
906
+                 if(solution[i].mode_id == 21){
907
+                    solution[i].mode_name = "HD+"
908
+                 }
909
+                 if(solution[i].mode_id == 18){
910
+                    solution[i].mode_name = "SCUF"
911
+                 }
912
+                 if(solution[i].mode_id == 19){
913
+                    solution[i].mode_name = "SCUF"
914
+                 }
915
+                 if(solution[i].mode_id == 20){
916
+                    solution[i].mode_name = "SCUF"
917
+                 }
918
+                 if(solution[i].mode_id == 21){
919
+                    solution[i].mode_name = "HD+"
920
+                 }
921
+                 if(solution[i].mode_id == 22){
922
+                    solution[i].mode_name = "血浆胆红素吸附+HDF"
923
+                 }
924
+                 if(solution[i].mode_id == 23){
925
+                    solution[i].mode_name = "血浆胆红素吸附"
926
+                 }
927
+                 if(solution[i].mode_id == 24){
928
+                    solution[i].mode_name = "I-HDF"
929
+                 }
930
+                 if(solution[i].mode_id == 25){
931
+                    solution[i].mode_name = "HD高通"
932
+                 }
933
+                 if(solution[i].mode_id == 26){
934
+                    solution[i].mode_name = "CVVH"
935
+                 }
936
+                 if(solution[i].mode_id == 27){
937
+                    solution[i].mode_name = "CVVH"
938
+                 }
939
+                 if(solution[i].mode_id == 28){
940
+                    solution[i].mode_name = "CVVHDF"
941
+                 }
942
+                 if(solution[i].mode_id == 29){
943
+                    solution[i].mode_name = "PE"
944
+                 }
945
+               }
854
                this.solutionList = solution
946
                this.solutionList = solution
855
              }  
947
              }  
856
           })  
948
           })  
949
+        },
950
+        getDialyzer(patient_id,mode){
951
+          var diazers = ""
952
+          for(let i=0;i<this.solutionList.length;i++){
953
+            if(patient_id == this.solutionList[i].patient_id && mode == this.solutionList[i].mode_name){
954
+               if(this.solutionList[i].dialyzer_perfusion_apparatus!=""){
955
+                 diazers = this.solutionList[i].dialyzer_perfusion_apparatus
956
+               }else{
957
+                 diazers = this.solutionList[i].dialysis_dialyszers
958
+                 if(this.solutionList[i].dialysis_dialyszers == ""){
959
+                    diazers = this.solutionList[i].dialysis_irrigation
960
+                 }
961
+               
962
+               }
963
+               
964
+            }
965
+          }
966
+          return diazers
857
         }
967
         }
858
     }
968
     }
859
 }
969
 }