|
@@ -51,80 +51,36 @@
|
51
|
51
|
<span class="button"><el-button @click="change()">修改</el-button></span>
|
52
|
52
|
</div>
|
53
|
53
|
<div class="border"></div>
|
54
|
|
-
|
55
|
|
- <el-row :gutter="20">
|
56
|
|
- <el-col :span="8">
|
57
|
|
- <el-form-item label="透前称重(kg):" label-width="100px">
|
58
|
|
- <el-input v-model="weigh_list.weight_before" :disabled="disa" ></el-input>
|
59
|
|
- </el-form-item>
|
60
|
|
- </el-col>
|
61
|
|
- <el-col :span="8">
|
62
|
|
- <el-form-item label="干体重(kg):" label-width="100px">
|
63
|
|
- <el-input v-model="weigh_list.dry_weight" :disabled="disa"></el-input>
|
64
|
|
- </el-form-item>
|
65
|
|
- </el-col>
|
66
|
|
- </el-row>
|
67
|
|
- <el-row :gutter="20">
|
68
|
|
- <el-col :span="4">
|
69
|
|
- <el-form-item label="体温(℃):" label-width="80px">
|
70
|
|
- <el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>
|
71
|
|
- </el-form-item>
|
72
|
|
- </el-col>
|
73
|
|
- <el-col :span="5">
|
74
|
|
- <el-form-item label="脉搏(次/分):" label-width="90px">
|
75
|
|
- <el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
|
76
|
|
- </el-form-item>
|
77
|
|
- </el-col>
|
78
|
|
- <el-col :span="5">
|
79
|
|
- <el-form-item label="呼吸(次/分):" label-width="100px">
|
80
|
|
- <el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
81
|
|
- </el-form-item>
|
82
|
|
- </el-col>
|
83
|
|
- <el-col :span="9">
|
84
|
|
- <el-form-item label="血压(mmHg):" label-width="100px">
|
85
|
|
- <el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
86
|
|
- <span> / </span>
|
87
|
|
- <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
88
|
|
- </el-form-item>
|
89
|
|
- </el-col>
|
90
|
|
- </el-row>
|
91
|
|
- <div class="border"></div>
|
92
|
|
- <el-row :gutter="20">
|
93
|
|
- <el-col :span="8">
|
94
|
|
- <el-form-item label="透后称重(kg):" label-width="100px">
|
95
|
|
- <el-input v-model="weigh_infor.weight_after" :disabled="disa"></el-input>
|
96
|
|
- </el-form-item>
|
97
|
|
- </el-col>
|
98
|
|
- <el-col :span="8">
|
99
|
|
- <el-form-item label="干体重(kg):" label-width="100px">
|
100
|
|
- <el-input v-model="weigh_list.dry_weight" :disabled="disa"></el-input>
|
101
|
|
- </el-form-item>
|
102
|
|
- </el-col>
|
|
54
|
+ <div style="margin-bottom:20px;color:rgb(96,96,96)">
|
|
55
|
+ 透前体重(kg): <el-input v-model="weigh_list.weight_before" :disabled="disa" style="width:200px"></el-input>
|
|
56
|
+ 干体重(kg): <el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input><br>
|
|
57
|
+ </div>
|
|
58
|
+ <div style="margin-bottom:12px;color:rgb(96,96,96)">
|
|
59
|
+ 体温(℃): <el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>
|
|
60
|
+ 脉搏(次/分): <el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
|
|
61
|
+ 呼吸(次/分): <el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
|
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
|
+ </div>
|
|
64
|
+ <div class="border"></div>
|
|
65
|
+ <div style="margin-bottom:20px;color:rgb(96,96,96)">
|
|
66
|
+ 透后称重(kg): <el-input v-model="weigh_infor.weight_after" style="width:200px" :disabled="disa"></el-input>
|
|
67
|
+ 干体重(kg): <el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input>
|
|
68
|
+ </div>
|
|
69
|
+ <div style="margin-bottom:12px;color:rgb(96,96,96)">
|
|
70
|
+ 体温(℃): <el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>
|
|
71
|
+ 脉搏(次/分): <el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
|
|
72
|
+ 呼吸(次/分): <el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
|
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
|
+ <!-- <el-row :gutter="20">
|
103
|
76
|
</el-row>
|
104
|
77
|
<el-row :gutter="20">
|
105
|
|
- <el-col :span="4">
|
106
|
|
- <el-form-item label="体温(℃):" label-width="80px">
|
107
|
|
- <el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>
|
108
|
|
- </el-form-item>
|
109
|
|
- </el-col>
|
110
|
78
|
<el-col :span="5">
|
111
|
79
|
<el-form-item label="脉搏(次/分):" label-width="90px">
|
112
|
80
|
<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
|
113
|
81
|
</el-form-item>
|
114
|
82
|
</el-col>
|
115
|
|
- <el-col :span="5">
|
116
|
|
- <el-form-item label="呼吸(次/分):" label-width="100px">
|
117
|
|
- <el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>
|
118
|
|
- </el-form-item>
|
119
|
|
- </el-col>
|
120
|
|
- <el-col :span="9">
|
121
|
|
- <el-form-item label="血压(mmHg):" label-width="100px">
|
122
|
|
- <el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
123
|
|
- <span> / </span>
|
124
|
|
- <el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
|
125
|
|
- </el-form-item>
|
126
|
|
- </el-col>
|
127
|
|
- </el-row>
|
|
83
|
+ </el-row> -->
|
128
|
84
|
|
129
|
85
|
<div class="border"></div>
|
130
|
86
|
<div v-if="show">
|
|
@@ -209,7 +165,7 @@ export default {
|
209
|
165
|
diastolic_blood_pressure: ''
|
210
|
166
|
},
|
211
|
167
|
shiftOptions: [
|
212
|
|
- { value: 0, label: '班次' },
|
|
168
|
+ { value: 0, label: '全部' },
|
213
|
169
|
{ value: 1, label: '上午' },
|
214
|
170
|
{ value: 2, label: '下午' },
|
215
|
171
|
{ value: 3, label: '晚上' }
|
|
@@ -248,6 +204,8 @@ export default {
|
248
|
204
|
this.patients = []
|
249
|
205
|
if (response.data.state === 1) {
|
250
|
206
|
this.patients = response.data.data.patients
|
|
207
|
+ console.log("排班数据是什么呢?")
|
|
208
|
+ console.log(this.patients)
|
251
|
209
|
this.queryParams.schedule_type = response.data.data.schedule_type
|
252
|
210
|
this.querySignParams.date_time = response.data.data.today
|
253
|
211
|
|
|
@@ -540,10 +498,14 @@ export default {
|
540
|
498
|
var sl = this.schedules.length
|
541
|
499
|
for(let j = 0; j < sl; j++){
|
542
|
500
|
if(this.schedules[j].type === this.patients[index].schedule.schedule_type){
|
543
|
|
- if(this.weigh_form.id > 0){
|
544
|
|
- this.schedules[j].sign++
|
|
501
|
+ // if(this.weigh_form.id>= 0){
|
|
502
|
+ // this.schedules[j].sign++
|
|
503
|
+ // }
|
|
504
|
+ if((signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0)||(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0)){
|
|
505
|
+ this.schedules[j].sign++
|
545
|
506
|
}
|
546
|
507
|
if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
|
|
508
|
+
|
547
|
509
|
this.schedules[j].before++
|
548
|
510
|
}
|
549
|
511
|
if(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0){
|