|
@@ -14,13 +14,13 @@
|
14
|
14
|
<el-option v-for="item in shiftOptions" :label="item.label" :value="item.value" :key="item.value"></el-option>
|
15
|
15
|
</el-select>
|
16
|
16
|
</div>
|
17
|
|
- <el-table :data="patients" :class="signAndWeighBoxPatients" style="width: 100%" border highlight-current-row :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)'}" max-height="300" @current-change="handleCurrentChange">
|
|
17
|
+ <el-table :data="patients" :class="signAndWeighBoxPatients" style="width: 100%" border highlight-current-row :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)'}" max-height="300" @current-change="handleCurrentChange">
|
18
|
18
|
<el-table-column type="index" label="序号" width="50px" align="center"></el-table-column>
|
19
|
19
|
<el-table-column prop="name" label="姓名" min-width="20" align="center">
|
20
|
20
|
<template slot-scope="scope">
|
21
|
21
|
{{scope.row.name}}({{scope.row.dialysis_no}})
|
22
|
|
- </template>
|
23
|
|
- </el-table-column>
|
|
22
|
+ </template>
|
|
23
|
+ </el-table-column>
|
24
|
24
|
|
25
|
25
|
<el-table-column prop="state" label="状态" min-width="30" align="center">
|
26
|
26
|
<template slot-scope="scope">
|
|
@@ -30,7 +30,7 @@
|
30
|
30
|
</template>
|
31
|
31
|
</el-table-column>
|
32
|
32
|
</el-table>
|
33
|
|
-
|
|
33
|
+
|
34
|
34
|
<el-table :data="schedules" :class="signAndWeighBoxPatients" style="width: 100%; margin:15px 0 0 0;" border highlight-current-row :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}">
|
35
|
35
|
<el-table-column prop="shift" label="班次" min-width="30" align="center"></el-table-column>
|
36
|
36
|
<el-table-column prop="arrange" label="排班" min-width="30" align="center" ></el-table-column>
|
|
@@ -49,7 +49,7 @@
|
49
|
49
|
<div class="inforTitle">
|
50
|
50
|
<el-button @click="change()" style="float:right;">修改</el-button>
|
51
|
51
|
<span class="name">姓名:{{weigh_form.name}} 透析号:{{weigh_form.dialysis_no}} </span>
|
52
|
|
- </div>
|
|
52
|
+ </div>
|
53
|
53
|
<div class="border"></div>
|
54
|
54
|
<div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
|
55
|
55
|
透前体重(kg): <el-input v-model="weigh_list.weight_before" :disabled="disa" style="width:200px"></el-input>
|
|
@@ -61,18 +61,18 @@
|
61
|
61
|
呼吸(次/分): <el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
62
|
62
|
血压(mmHg): <el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
63
|
63
|
</div>
|
64
|
|
- <div class="border"></div>
|
|
64
|
+ <div class="border"></div>
|
65
|
65
|
<div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
|
66
|
66
|
透后称重(kg): <el-input v-model="weigh_infor.weight_after" style="width:200px" :disabled="disa"></el-input>
|
67
|
67
|
干体重(kg): <el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input>
|
68
|
|
- </div>
|
|
68
|
+ </div>
|
69
|
69
|
<div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
|
70
|
70
|
体温(℃): <el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>
|
71
|
71
|
脉搏(次/分): <el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
|
72
|
72
|
呼吸(次/分): <el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
73
|
73
|
血压(mmHg): <el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
74
|
|
- </div>
|
75
|
|
-
|
|
74
|
+ </div>
|
|
75
|
+
|
76
|
76
|
<div class="border"></div>
|
77
|
77
|
<div v-if="show">
|
78
|
78
|
<el-row :gutter="20">
|
|
@@ -85,7 +85,7 @@
|
85
|
85
|
</el-form>
|
86
|
86
|
</el-col>
|
87
|
87
|
</el-row>
|
88
|
|
- </div>
|
|
88
|
+ </div>
|
89
|
89
|
</div>
|
90
|
90
|
</template>
|
91
|
91
|
|
|
@@ -197,9 +197,15 @@ export default {
|
197
|
197
|
this.patients = response.data.data.patients
|
198
|
198
|
console.log("排班数据是什么呢?")
|
199
|
199
|
console.log(this.patients)
|
|
200
|
+ for (let i = this.patients.length - 1; ; i--) {
|
|
201
|
+ if(this.patients[i].schedule.id == 0){
|
|
202
|
+ this.patients.splice(i, 1)
|
|
203
|
+ }
|
|
204
|
+ }
|
|
205
|
+
|
200
|
206
|
this.queryParams.schedule_type = response.data.data.schedule_type
|
201
|
207
|
this.querySignParams.date_time = response.data.data.today
|
202
|
|
-
|
|
208
|
+
|
203
|
209
|
if (this.queryParams.need_schedule_type === 1) {
|
204
|
210
|
var sl = this.schedules.length
|
205
|
211
|
for (let index = 0; index < sl; index++) {
|
|
@@ -250,7 +256,7 @@ export default {
|
250
|
256
|
this.fetchSignPatients()
|
251
|
257
|
},
|
252
|
258
|
handleCurrentChange(row, old) {
|
253
|
|
-
|
|
259
|
+
|
254
|
260
|
// this.weigh_form = {
|
255
|
261
|
// id:0,
|
256
|
262
|
// choose:false,
|
|
@@ -423,7 +429,7 @@ export default {
|
423
|
429
|
if(this.weigh_infor.weight_after == 0){
|
424
|
430
|
this.weigh_infor.weight_after = ""
|
425
|
431
|
}
|
426
|
|
-
|
|
432
|
+
|
427
|
433
|
this.weigh_infor.temperature = patientinfor.temperature
|
428
|
434
|
if(this.weigh_infor.temperature == 0){
|
429
|
435
|
this.weigh_infor.temperature = ""
|
|
@@ -509,7 +515,7 @@ export default {
|
509
|
515
|
params.breathing_rate = this.weigh_list.breathing_rate
|
510
|
516
|
params.systolic_blood_pressure = this.weigh_list.systolic_blood_pressure
|
511
|
517
|
params.diastolic_blood_pressure = this.weigh_list.diastolic_blood_pressure
|
512
|
|
-
|
|
518
|
+
|
513
|
519
|
//透后数据
|
514
|
520
|
params.weight_after = this.weigh_infor.weight_after
|
515
|
521
|
params.temperatureafter = this.weigh_infor.temperature
|
|
@@ -543,14 +549,14 @@ export default {
|
543
|
549
|
this.schedules[j].sign++
|
544
|
550
|
}
|
545
|
551
|
if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
|
546
|
|
-
|
|
552
|
+
|
547
|
553
|
this.schedules[j].before++
|
548
|
554
|
}
|
549
|
555
|
if(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0){
|
550
|
556
|
this.schedules[j].after++
|
551
|
557
|
}
|
552
|
558
|
}
|
553
|
|
- }
|
|
559
|
+ }
|
554
|
560
|
}
|
555
|
561
|
break
|
556
|
562
|
}
|