Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 month ago
parent
commit
5069fd73d7

+ 2 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue View File

@@ -254,6 +254,8 @@
254 254
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
255 255
                       <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
256 256
                         showValue="人造血管"></label-box>&nbsp;
257
+                        <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
258
+                        showValue="股静脉"></label-box>&nbsp;
257 259
                       其他:
258 260
                       <div style="display: inline-block;" 
259 261
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue View File

@@ -244,6 +244,8 @@
244 244
                   showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
245 245
                 <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') != -1 ? true : false"
246 246
                   showValue="人造血管"></label-box>&nbsp;
247
+                  <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') != -1 ? true : false"
248
+                  showValue="股静脉"></label-box>&nbsp;
247 249
                 其他:
248 250
                 <div style="display: inline-block;" 
249 251
                   v-if="predialysis.blood_access_part_opera_name.indexOf('内瘘') == -1 &&

+ 1 - 1
src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue View File

@@ -13,7 +13,7 @@
13 13
       >
14 14
     </template>
15 15
 
16
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215 || this.$store.getters.xt_user.org_id == 0">
16
+    <div class='dialysisPage' style="padding-top:40px;" >
17 17
       <hospital-batch-print :infos="infos"></hospital-batch-print>
18 18
     </div>
19 19
   </div>

+ 116 - 9
src/xt_pages/outpatientTool/components/allgather.vue View File

@@ -46,11 +46,6 @@
46 46
       <el-table-column align="center" prop="price" label="费用">
47 47
         <template slot-scope="scope">{{ scope.row.price.toFixed(2) }}</template>
48 48
       </el-table-column>
49
-      <el-table-column align="center" prop="sum" label="费用总额">
50
-        <template slot-scope="scope">
51
-          <div>{{ scope.row.sum.toFixed(2) }}</div>
52
-        </template>
53
-      </el-table-column>
54 49
 
55 50
     </el-table>
56 51
   </div>
@@ -147,7 +142,8 @@ export default {
147 142
         end_time: end_time,
148 143
         type: 0,
149 144
         keyword: this.keywords,
150
-        time_type: this.item_time_type
145
+        time_type: this.item_time_type,
146
+        s_type: 1,
151 147
       }
152 148
       GetSummaryDetail(params).then(response => {
153 149
         if (response.data.state == 0) {
@@ -163,7 +159,10 @@ export default {
163 159
           this.tableData = []
164 160
           this.all_table_data = []
165 161
 
166
-          let tempData = response.data
162
+          let tempDataTwo = response.data.Results
163
+          console.log(tempDataTwo)
164
+
165
+          let tempData = response.data.Patients
167 166
           tempPatientsTwo = tempData
168 167
 
169 168
           let infos = this.unique2(tempPatientsTwo)
@@ -186,10 +185,113 @@ export default {
186 185
 
187 186
             this.tableData.push(obj)
188 187
           }
189
-          for(let i = 0; i < this.tableData.length;i++){
190
-            this.tableData[i].sum = sum
188
+          if (tempDataTwo.length > 0){
189
+            let obj = {
190
+              'price': tempDataTwo[0].TotalMedicalFee,
191
+              'item_name': "医疗费总额"
192
+            }
193
+            this.tableData.push(obj)
194
+
195
+            let obj1 = {
196
+              'price': tempDataTwo[0].Fund,
197
+              'item_name': "基金支付总金额"
198
+            }
199
+            this.tableData.push(obj1)
200
+
201
+
202
+            let obj2 = {
203
+              'price': tempDataTwo[0].AcctPay,
204
+              'item_name': "个人账户支付总金额"
205
+            }
206
+            this.tableData.push(obj2)
207
+
208
+
209
+            let obj3 = {
210
+              'price': tempDataTwo[0].PsnPay,
211
+              'item_name': "个人自付总金额"
212
+            }
213
+            this.tableData.push(obj3)
214
+
215
+            let obj4 = {
216
+              'price': tempDataTwo[0].PoolFundPay,
217
+              'item_name': "基金统筹总金额"
218
+            }
219
+            this.tableData.push(obj4)
220
+
221
+
222
+            let obj5 = {
223
+              'price': tempDataTwo[0].DaE,
224
+              'item_name': "大额支付总金额"
225
+            }
226
+            this.tableData.push(obj5)
227
+
228
+
229
+            let obj6 = {
230
+              'price': tempDataTwo[0].XianXing,
231
+              'item_name': "先行自付总金额"
232
+            }
233
+            this.tableData.push(obj6)
234
+
235
+
236
+
237
+            let obj7 = {
238
+              'price': tempDataTwo[0].QuanZiFei,
239
+              'item_name': "全自费总金额"
240
+            }
241
+            this.tableData.push(obj7)
242
+
243
+            let obj8 = {
244
+              'price': tempDataTwo[0].YiLiaoJiuZhu,
245
+              'item_name': "医疗救助基金总额"
246
+            }
247
+            this.tableData.push(obj8)
248
+
249
+
250
+            let obj9 = {
251
+              'price': tempDataTwo[0].DaBing,
252
+              'item_name': "大病基金总额"
253
+            }
254
+            this.tableData.push(obj9)
255
+
256
+
257
+
258
+            let obj10 = {
259
+              'price': tempDataTwo[0].GongWuYuan,
260
+              'item_name': "公务员补助"
261
+            }
262
+            this.tableData.push(obj10)
263
+
264
+
265
+
266
+
267
+            let obj11 = {
268
+              'price': tempDataTwo[0].QiYe,
269
+              'item_name': "企业补充支付"
270
+            }
271
+            this.tableData.push(obj11)
272
+
273
+
274
+            let obj12= {
275
+              'price': tempDataTwo[0].QiTa,
276
+              'item_name': "其它支付"
277
+            }
278
+            this.tableData.push(obj12)
279
+
280
+
281
+
191 282
           }
192 283
 
284
+
285
+
286
+
287
+          let obj = {
288
+            'sum': 0,
289
+            'price': 0,
290
+            'cost_classify': infos[e].cost_classify,
291
+            'item_name': this.getName(infos[e].cost_classify)
292
+          }
293
+
294
+
193 295
           // for (let i = 0; i < tempPatientsThree.length; i++) {
194 296
           //   let sum = 0
195 297
           //   for (let b = 0; b < tempPatientsThree[i].length; b++) {
@@ -220,8 +322,13 @@ export default {
220 322
         return '耗材费'
221 323
       } else {
222 324
         var costClassify = getDictionaryDataConfig('system', 'cost_classify')
325
+        console.log(costClassify)
223 326
         var name = ''
224 327
         for (let i = 0; i < costClassify.length; i++) {
328
+          // console.log(cost_classify)
329
+          // console.log(costClassify[i].id)
330
+
331
+
225 332
           if (cost_classify == costClassify[i].id) {
226 333
             name = costClassify[i].name
227 334
           }