Browse Source

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

杨青 1 year ago
parent
commit
79ec875fec

+ 150 - 13
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -525,9 +525,9 @@
525 525
         </div>
526 526
       </div>
527 527
       
528
-      <!-- <div style="margin-left: 1050px; margin-bottom: 10px;">
528
+      <div style="margin-left: 1050px; margin-bottom: 10px;">
529 529
         <el-button type="primary" size="small" @click="toExport">导出</el-button>
530
-      </div> -->
530
+      </div>
531 531
 
532 532
       <el-table
533 533
         :row-style="{ color: '#303133' }"
@@ -2220,6 +2220,7 @@ export default {
2220 2220
         
2221 2221
          if(this.SchedualPatientsTableData!=null){
2222 2222
           for(let i=0;i<this.SchedualPatientsTableData.length;i++){
2223
+
2223 2224
              this.SchedualPatientsTableData[i].index = i + 1
2224 2225
              this.SchedualPatientsTableData[i].start_time_one = ""
2225 2226
              this.SchedualPatientsTableData[i].start_time_two = ""
@@ -2228,46 +2229,181 @@ export default {
2228 2229
              this.SchedualPatientsTableData[i].start_time_five = ""
2229 2230
              this.SchedualPatientsTableData[i].start_time_six = ""
2230 2231
              this.SchedualPatientsTableData[i].start_time_seven = ""
2232
+
2233
+             this.SchedualPatientsTableData[i].blood_press_one = ""
2234
+             this.SchedualPatientsTableData[i].blood_press_two = ""
2235
+             this.SchedualPatientsTableData[i].blood_press_three = ""
2236
+             this.SchedualPatientsTableData[i].blood_press_four = ""
2237
+             this.SchedualPatientsTableData[i].blood_press_five = ""
2238
+             this.SchedualPatientsTableData[i].blood_press_six = ""
2239
+             this.SchedualPatientsTableData[i].blood_press_seven = ""
2240
+
2241
+
2242
+             this.SchedualPatientsTableData[i].temperature_one = ""
2243
+             this.SchedualPatientsTableData[i].temperature_two = ""
2244
+             this.SchedualPatientsTableData[i].temperature_three = ""
2245
+             this.SchedualPatientsTableData[i].temperature_four = ""
2246
+             this.SchedualPatientsTableData[i].temperature_five = ""
2247
+             this.SchedualPatientsTableData[i].temperature_six = ""
2248
+             this.SchedualPatientsTableData[i].temperature_seven = ""
2249
+
2250
+             this.SchedualPatientsTableData[i].breathing_rate_one = ""
2251
+             this.SchedualPatientsTableData[i].breathing_rate_two = ""
2252
+             this.SchedualPatientsTableData[i].breathing_rate_three = ""
2253
+             this.SchedualPatientsTableData[i].breathing_rate_four = ""
2254
+             this.SchedualPatientsTableData[i].breathing_rate_five = ""
2255
+             this.SchedualPatientsTableData[i].breathing_rate_six = ""
2256
+             this.SchedualPatientsTableData[i].breathing_rate_seven = ""
2257
+
2258
+             this.SchedualPatientsTableData[i].pulse_frequency_one = ""
2259
+             this.SchedualPatientsTableData[i].pulse_frequency_two = ""
2260
+             this.SchedualPatientsTableData[i].pulse_frequency_three = ""
2261
+             this.SchedualPatientsTableData[i].pulse_frequency_four = ""
2262
+             this.SchedualPatientsTableData[i].pulse_frequency_five = ""
2263
+             this.SchedualPatientsTableData[i].pulse_frequency_six = ""
2264
+             this.SchedualPatientsTableData[i].pulse_frequency_seven = ""
2265
+
2266
+
2267
+
2268
+
2269
+
2231 2270
              if(this.SchedualPatientsTableData[i].monitoring_record!=null&&this.SchedualPatientsTableData[i].monitoring_record.length>0){
2232 2271
              
2233
-              if(this.SchedualPatientsTableData[i].monitoring_record.length ==1){
2272
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >=1){
2234 2273
                 if(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time!=undefined){
2235 2274
                 this.SchedualPatientsTableData[i].start_time_one =this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time) 
2236 2275
                }
2276
+               if(this.SchedualPatientsTableData[i].monitoring_record[0].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[0].diastolic_blood_pressure!=undefined ){
2277
+                this.SchedualPatientsTableData[i].blood_press_one = this.SchedualPatientsTableData[i].monitoring_record[0].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[0].diastolic_blood_pressure
2278
+               }
2279
+               if(this.SchedualPatientsTableData[i].monitoring_record[0].temperature!=undefined){
2280
+                this.SchedualPatientsTableData[i].temperature_one =   this.SchedualPatientsTableData[i].monitoring_record[0].temperature
2281
+               }
2282
+               if(this.SchedualPatientsTableData[i].monitoring_record[0].breathing_rate!=undefined){
2283
+                 this.SchedualPatientsTableData[i].breathing_rate_one = this.SchedualPatientsTableData[i].monitoring_record[0].breathing_rate
2284
+               }
2285
+
2286
+               if(this.SchedualPatientsTableData[i].monitoring_record[0].pulse_frequency!=undefined){
2287
+                this.SchedualPatientsTableData[i].pulse_frequency_one = this.SchedualPatientsTableData[i].monitoring_record[0].pulse_frequency
2288
+               }
2289
+               
2237 2290
               }
2238
-              if(this.SchedualPatientsTableData[i].monitoring_record.length ==2){
2291
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >=2){
2239 2292
                 if(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time!=undefined){
2240 2293
                 this.SchedualPatientsTableData[i].start_time_two = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time)
2241 2294
                }
2295
+               if(this.SchedualPatientsTableData[i].monitoring_record[1].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[1].diastolic_blood_pressure!=undefined ){
2296
+                this.SchedualPatientsTableData[i].blood_press_two = this.SchedualPatientsTableData[i].monitoring_record[1].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[1].diastolic_blood_pressure
2297
+               }
2298
+               if(this.SchedualPatientsTableData[i].monitoring_record[1].temperature!=undefined){
2299
+                this.SchedualPatientsTableData[i].temperature_two =   this.SchedualPatientsTableData[i].monitoring_record[1].temperature
2300
+               }
2301
+               if(this.SchedualPatientsTableData[i].monitoring_record[1].breathing_rate!=undefined){
2302
+                 this.SchedualPatientsTableData[i].breathing_rate_two = this.SchedualPatientsTableData[i].monitoring_record[1].breathing_rate
2303
+               }
2304
+               if(this.SchedualPatientsTableData[i].monitoring_record[1].pulse_frequency!=undefined){
2305
+                this.SchedualPatientsTableData[i].pulse_frequency_two = this.SchedualPatientsTableData[i].monitoring_record[1].pulse_frequency
2306
+               }
2242 2307
               }
2243 2308
 
2244
-              if(this.SchedualPatientsTableData[i].monitoring_record.length==3){
2309
+              if(this.SchedualPatientsTableData[i].monitoring_record.length>=3){
2245 2310
                 if(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time!=undefined){
2246 2311
                  this.SchedualPatientsTableData[i].start_time_three = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time) 
2247 2312
                }   
2313
+               if(this.SchedualPatientsTableData[i].monitoring_record[2].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[2].diastolic_blood_pressure!=undefined ){
2314
+                this.SchedualPatientsTableData[i].blood_press_three = this.SchedualPatientsTableData[i].monitoring_record[2].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[2].diastolic_blood_pressure
2315
+               }
2316
+               if(this.SchedualPatientsTableData[i].monitoring_record[2].temperature!=undefined){
2317
+                this.SchedualPatientsTableData[i].temperature_three =   this.SchedualPatientsTableData[i].monitoring_record[2].temperature
2318
+               }
2319
+
2320
+               if(this.SchedualPatientsTableData[i].monitoring_record[2].breathing_rate!=undefined){
2321
+                 this.SchedualPatientsTableData[i].breathing_rate_three = this.SchedualPatientsTableData[i].monitoring_record[2].breathing_rate
2322
+               }
2323
+               if(this.SchedualPatientsTableData[i].monitoring_record[2].pulse_frequency!=undefined){
2324
+                this.SchedualPatientsTableData[i].pulse_frequency_three= this.SchedualPatientsTableData[i].monitoring_record[2].pulse_frequency
2325
+               }
2248 2326
               }
2249 2327
               
2250
-              if(this.SchedualPatientsTableData[i].monitoring_record.length ==4){
2328
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >=4){
2251 2329
                 if(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time!=undefined){
2252 2330
                   this.SchedualPatientsTableData[i].start_time_four = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time)
2253 2331
                 }
2332
+                if(this.SchedualPatientsTableData[i].monitoring_record[3].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[3].diastolic_blood_pressure!=undefined ){
2333
+                this.SchedualPatientsTableData[i].blood_press_four = this.SchedualPatientsTableData[i].monitoring_record[3].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[3].diastolic_blood_pressure
2334
+               }
2335
+               if(this.SchedualPatientsTableData[i].monitoring_record[3].temperature!=undefined){
2336
+                this.SchedualPatientsTableData[i].temperature_four = this.SchedualPatientsTableData[i].monitoring_record[3].temperature
2337
+               }
2338
+
2339
+               if(this.SchedualPatientsTableData[i].monitoring_record[3].breathing_rate!=undefined){
2340
+                 this.SchedualPatientsTableData[i].breathing_rate_four = this.SchedualPatientsTableData[i].monitoring_record[3].breathing_rate
2341
+               }
2342
+               if(this.SchedualPatientsTableData[i].monitoring_record[3].pulse_frequency!=undefined){
2343
+                this.SchedualPatientsTableData[i].pulse_frequency_four= this.SchedualPatientsTableData[i].monitoring_record[3].pulse_frequency
2344
+               }
2254 2345
               }
2255 2346
             
2256
-              if(this.SchedualPatientsTableData[i].monitoring_record.length ==5){
2347
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >=5){
2257 2348
                 if(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time!=undefined){
2258 2349
                   this.SchedualPatientsTableData[i].start_time_five = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time) 
2259 2350
                 }
2351
+                if(this.SchedualPatientsTableData[i].monitoring_record[4].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[4].diastolic_blood_pressure!=undefined ){
2352
+                this.SchedualPatientsTableData[i].blood_press_five = this.SchedualPatientsTableData[i].monitoring_record[4].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[4].diastolic_blood_pressure
2353
+               }
2354
+               if(this.SchedualPatientsTableData[i].monitoring_record[4].temperature!=undefined){
2355
+                this.SchedualPatientsTableData[i].temperature_five =   this.SchedualPatientsTableData[i].monitoring_record[4].temperature
2356
+               }
2357
+
2358
+               if(this.SchedualPatientsTableData[i].monitoring_record[4].breathing_rate!=undefined){
2359
+                 this.SchedualPatientsTableData[i].breathing_rate_five = this.SchedualPatientsTableData[i].monitoring_record[4].breathing_rate
2360
+               }
2361
+
2362
+               if(this.SchedualPatientsTableData[i].monitoring_record[4].pulse_frequency!=undefined){
2363
+                this.SchedualPatientsTableData[i].pulse_frequency_five= this.SchedualPatientsTableData[i].monitoring_record[4].pulse_frequency
2364
+               }
2260 2365
               }
2261 2366
               
2262
-              if(this.SchedualPatientsTableData[i].monitoring_record.length ==6){
2367
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >=6){
2263 2368
                 if(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time!=undefined){
2264 2369
                 this.SchedualPatientsTableData[i].start_time_six = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time) 
2265 2370
                }
2371
+               if(this.SchedualPatientsTableData[i].monitoring_record[5].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[5].diastolic_blood_pressure!=undefined ){
2372
+                this.SchedualPatientsTableData[i].blood_press_six = this.SchedualPatientsTableData[i].monitoring_record[5].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[5].diastolic_blood_pressure
2373
+               }
2374
+
2375
+               if(this.SchedualPatientsTableData[i].monitoring_record[5].temperature!=undefined){
2376
+                this.SchedualPatientsTableData[i].temperature_six =   this.SchedualPatientsTableData[i].monitoring_record[5].temperature
2377
+               }
2378
+
2379
+               if(this.SchedualPatientsTableData[i].monitoring_record[5].breathing_rate!=undefined){
2380
+                 this.SchedualPatientsTableData[i].breathing_rate_six = this.SchedualPatientsTableData[i].monitoring_record[5].breathing_rate
2381
+               }
2382
+
2383
+               if(this.SchedualPatientsTableData[i].monitoring_record[5].pulse_frequency!=undefined){
2384
+                this.SchedualPatientsTableData[i].pulse_frequency_six= this.SchedualPatientsTableData[i].monitoring_record[5].pulse_frequency
2385
+               }
2386
+
2387
+
2266 2388
               }
2267
-              if(this.SchedualPatientsTableData[i].monitoring_record.length == 7){
2389
+              if(this.SchedualPatientsTableData[i].monitoring_record.length >= 7){
2268 2390
                 if(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time!=undefined){
2269 2391
                  this.SchedualPatientsTableData[i].start_time_seven = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time) 
2270 2392
                }
2393
+               if(this.SchedualPatientsTableData[i].monitoring_record[6].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[6].diastolic_blood_pressure!=undefined ){
2394
+                this.SchedualPatientsTableData[i].blood_press_seven = this.SchedualPatientsTableData[i].monitoring_record[6].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[6].diastolic_blood_pressure
2395
+               }
2396
+               if(this.SchedualPatientsTableData[i].monitoring_record[6].temperature!=undefined){
2397
+                this.SchedualPatientsTableData[i].temperature_seven =   this.SchedualPatientsTableData[i].monitoring_record[6].temperature
2398
+               }
2399
+
2400
+               if(this.SchedualPatientsTableData[i].monitoring_record[6].breathing_rate!=undefined){
2401
+                 this.SchedualPatientsTableData[i].breathing_rate_seven = this.SchedualPatientsTableData[i].monitoring_record[6].breathing_rate
2402
+               }
2403
+
2404
+               if(this.SchedualPatientsTableData[i].monitoring_record[6].pulse_frequency!=undefined){
2405
+                this.SchedualPatientsTableData[i].pulse_frequency_seven= this.SchedualPatientsTableData[i].monitoring_record[6].pulse_frequency
2406
+               }
2271 2407
               }
2272 2408
            
2273 2409
             
@@ -2278,10 +2414,11 @@ export default {
2278 2414
           
2279 2415
          }
2280 2416
          console.log("监测统计",this.SchedualPatientsTableData)
2281
-         const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间']]
2282
-         const header = ['','','','','','','','','','','','1','2','3','4','5','6','7']
2283
-         const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1']
2284
-          const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one','start_time_one']
2417
+        
2418
+         const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间','','','','','','','透中血压','','','','','','','体温','','','','','','','呼吸','','','','','','','脉搏','','','','','','']]
2419
+         const header = ['','','','','','','','','','','','','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次',]
2420
+         const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1','T1:Z1','AA1:AG1','AH1:AN1','AO1:AU1']
2421
+        const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_two','start_time_three','start_time_four','start_time_five','start_time_six','start_time_seven','blood_press_one','blood_press_two','blood_press_three','blood_press_four','blood_press_five','blood_press_six','blood_press_seven','temperature_one','temperature_two','temperature_three','temperature_four','temperature_five','temperature_six','temperature_seven','breathing_rate_one','breathing_rate_two','breathing_rate_three','breathing_rate_four','breathing_rate_five','breathing_rate_six','breathing_rate_seven','pulse_frequency_one','pulse_frequency_two','pulse_frequency_three','pulse_frequency_four','pulse_frequency_five','pulse_frequency_six','pulse_frequency_seven']
2285 2422
      
2286 2423
          const data = this.formatJson(filterVal, this.SchedualPatientsTableData) 
2287 2424
          const filename = '监测数据'

+ 5 - 7
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -23,7 +23,7 @@
23 23
           org_id == 10138 ||
24 24
           org_id == 9504 ||
25 25
           org_id == 10028 ||
26
-          org_id == 10278
26
+          org_id == 10278 || org_id == 0
27 27
         "
28 28
       >
29 29
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
@@ -31,10 +31,10 @@
31 31
           :info="info"
32 32
           :paramsObj="paramsObj"
33 33
           :balanceAccounts="balanceAccounts"
34
-          v-if="org_id == 10138 || org_id == 0 || org_id == 10278  "
34
+          v-if="org_id == 10138 || org_id == 10278  "
35 35
         ></printThree>
36 36
         <printFour
37
-          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088"
37
+          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 || org_id == 0 "
38 38
           :info="info"
39 39
           :paramsObj="paramsObj"
40 40
           :balanceAccounts="balanceAccounts"
@@ -483,8 +483,7 @@
483 483
                   console.log("this.num", this.num);
484 484
                 }
485 485
               });
486
-            } else
487
-              if (this.org_id == 10028) {
486
+            } else if (this.org_id == 10028 ||  this.org_id == 0  || this.org_id == 9504) {
488 487
               getPrivateExpenses(params).then((response) => {
489 488
                 if (response.data.state == 0) {
490 489
                   // this.$message.error(response.data.msg)
@@ -528,8 +527,7 @@
528 527
                   console.log(111, this.balanceAccounts);
529 528
                 }
530 529
               });
531
-            } else
532
-            {
530
+            } else {
533 531
               getPrivateExpensesOrder(params).then((response) => {
534 532
                 if (response.data.state == 0) {
535 533
                   // this.$message.error(response.data.msg)

+ 15 - 14
src/xt_pages/outpatientCharges/statementTemplate/printFour.vue View File

@@ -32,55 +32,55 @@
32 32
                       <div style="width:20%;">
33 33
                           <div class="chargeUl" v-if="info.bed_cost_total > 0">
34 34
                               <p style="width:50%;">床位费</p>
35
-                              <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total:0}}元</p>
35
+                              <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total.toFixed(2):0}}元</p>
36 36
                           </div>
37 37
                           <div class="chargeUl" v-if="info.operation_cost_total > 0">
38 38
                               <p style="width:50%;">手术费</p>
39
-                              <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total:0}}元</p>
39
+                              <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total.toFixed(2):0}}元</p>
40 40
                           </div>
41 41
                           <div class="chargeUl" v-if="info.other_cost_total > 0">
42 42
                               <p style="width:50%;">其他费</p>
43
-                              <p style="width:50%;">{{info.other_cost_total?info.other_cost_total:0}}元</p>
43
+                              <p style="width:50%;">{{info.other_cost_total?info.other_cost_total.toFixed(2):0}}元</p>
44 44
                           </div>
45 45
                           <div class="chargeUl" v-if="info.material_cost_total > 0">
46 46
                               <p style="width:50%;">材料费</p>
47
-                              <p style="width:50%;">{{info.material_cost_total?info.material_cost_total:0}}元</p>
47
+                              <p style="width:50%;">{{info.material_cost_total?info.material_cost_total.toFixed(2):0}}元</p>
48 48
                           </div>
49 49
                           <div class="chargeUl" v-if="info.western_medicine_cost_total > 0">
50 50
                               <p style="width:50%;">西药费</p>
51
-                              <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total:0}}元</p>
51
+                              <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total.toFixed(2):0}}元</p>
52 52
                           </div>
53 53
                           <div class="chargeUl" v-if="info.chinese_traditional_medicine_cost_total > 0">
54 54
                               <p style="width:50%;">中成费</p>
55
-                              <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total:0}}元</p>
55
+                              <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total.toFixed(2):0}}元</p>
56 56
                           </div>
57 57
                           <div class="chargeUl" v-if="info.check_cost_total > 0">
58 58
                               <p style="width:50%;">检查费</p>
59
-                              <p style="width:50%;">{{info.check_cost_total?info.check_cost_total:0}}元</p>
59
+                              <p style="width:50%;">{{info.check_cost_total?info.check_cost_total.toFixed(2):0}}元</p>
60 60
                           </div>
61 61
                           <div class="chargeUl" v-if="info.laboratory_cost_total > 0">
62 62
                               <p style="width:50%;">化验费</p>
63
-                              <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total:0}}元</p>
63
+                              <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total.toFixed(2):0}}元</p>
64 64
                           </div>
65 65
                           <div class="chargeUl" v-if="info.treat_cost_total > 0">
66 66
                               <p style="width:50%;">治疗费</p>
67
-                              <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total:0}}元</p>
67
+                              <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total.toFixed(2):0}}元</p>
68 68
                           </div>
69 69
                           <div class="chargeUl" style="border-top:1px solid #000;">
70 70
                               <p style="width:50%;">费用合计</p>
71
-                              <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
71
+                              <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt.toFixed(2):0}}元</p>
72 72
                           </div>
73 73
                           <div class="chargeUl" style="border-top:1px solid #000;">
74 74
                               <p style="width:50%;">记账支付</p>
75
-                              <p style="width:50%;">{{info.hifp_pay?info.hifp_pay:0}}元</p>
75
+                              <p style="width:50%;">{{info.hifp_pay?info.hifp_pay.toFixed(2):0}}元</p>
76 76
                           </div>
77 77
                           <div class="chargeUl" style="border-top:1px solid #000;">
78 78
                               <p style="width:50%;">个人账号</p>
79
-                              <p style="width:50%;">{{info.acct_pay?info.acct_pay:0}}元</p>
79
+                              <p style="width:50%;">{{info.acct_pay?info.acct_pay.toFixed(2):0}}元</p>
80 80
                           </div>
81 81
                           <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
82 82
                               <p style="width:50%;">现金支付</p>
83
-                              <p style="width:50%;">{{info.psn_pay?info.psn_pay:0}}元</p>
83
+                              <p style="width:50%;">{{info.psn_pay?info.psn_pay.toFixed(2):0}}元</p>
84 84
                           </div>
85 85
                       </div>
86 86
                       <div style="width:80%;max-height:500px;">
@@ -171,7 +171,7 @@
171 171
                               <span v-if="item.type == 2">治疗费</span>
172 172
                               <span v-if="item.type == 3">耗材费</span>
173 173
                             </p>
174
-                            <p style="width:50%;">{{item.total?item.total:0}}元</p>
174
+                            <p style="width:50%;">{{item.total?item.total.toFixed(2):0}}元</p>
175 175
                         </div>
176 176
                         <div class="chargeUl" style="border-top:1px solid #000;">
177 177
                             <p style="width:50%;">费用合计</p>
@@ -408,6 +408,7 @@ export default {
408 408
       }else{
409 409
         this.page = 1
410 410
         this.pageArr = []
411
+
411 412
         if(this.balanceAccounts.order_info.length <= 13){
412 413
             this.page = 1
413 414
             this.pageArr.push(this.balanceAccounts.order_info.length)

+ 1 - 1
src/xt_pages/outpatientTool/components/detailStatistics.vue View File

@@ -48,7 +48,7 @@
48 48
         </el-date-picker>
49 49
         <el-button type="primary" size="small" @click="toPrint">打印</el-button>
50 50
 
51
-        <el-button type="primary" size="small" @click="toExport">导出</el-button>
51
+        <!-- <el-button type="primary" size="small" @click="toExport">导出</el-button> -->
52 52
 
53 53
       </div>
54 54
       <div></div>

+ 21 - 3
src/xt_pages/role/admin.vue View File

@@ -57,15 +57,24 @@
57 57
           size="small"
58 58
           icon="el-icon-circle-plus-outline"
59 59
           style="float:left"
60
-          @click="toTestThree">创建合同</el-button> -->
60
+          @click="toTestThree">创建合同</el-button>
61 61
 
62
-          <!-- <el-button
62
+          <el-button
63 63
           type="primary"
64 64
           size="small"
65 65
           icon="el-icon-circle-plus-outline"
66 66
           style="float:left"
67 67
           @click="toTestSeven">添加合同签署人</el-button> -->
68 68
 
69
+         
70
+         <!-- <el-button
71
+          type="primary"
72
+          size="small"
73
+          icon="el-icon-circle-plus-outline"
74
+          style="float:left"
75
+          @click="toTestNight">后台签署</el-button> -->
76
+          
77
+
69 78
           <!-- <el-button   type="primary"
70 79
           size="small"
71 80
           icon="el-icon-circle-plus-outline"
@@ -227,7 +236,7 @@
227 236
 </template>
228 237
 
229 238
 <script>
230
-import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight } from "@/api/role/admin";
239
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight } from "@/api/role/admin";
231 240
 import { getRoles } from "@/api/role/role";
232 241
 
233 242
 import { parseTime } from "@/utils";
@@ -581,6 +590,15 @@ export default {
581 590
            this.$message.success("保存")
582 591
         }
583 592
       })
593
+    },
594
+    toTestNight(){
595
+      toTestNight().then(response=>{
596
+        if(response.data.state == 1){
597
+          var sign =  response.data.data.sign
598
+          console.log("sign",sign)
599
+          this.$message.success("保存")
600
+        }
601
+      })
584 602
     }
585 603
   },
586 604
   watch: {