|
@@ -60,6 +60,8 @@
|
60
|
60
|
</div>
|
61
|
61
|
</div>
|
62
|
62
|
|
|
63
|
+
|
|
64
|
+
|
63
|
65
|
<el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="130px">
|
64
|
66
|
|
65
|
67
|
<p style="margin: 10px 0 10px 13px;" v-if="doubleReview.creater != 0">{{getFirstCheckDesc()}} </p>
|
|
@@ -119,6 +121,7 @@ export default {
|
119
|
121
|
created_time: 0,
|
120
|
122
|
updated_time: 0,
|
121
|
123
|
check_time:0,
|
|
124
|
+ first_check_time:0,
|
122
|
125
|
},
|
123
|
126
|
check_time:new Date(),
|
124
|
127
|
check_time_str:'',
|
|
@@ -176,6 +179,7 @@ export default {
|
176
|
179
|
this.doubleReview.updated_time = this.record.updated_time;
|
177
|
180
|
this.doubleReview.modifier = this.record.modifier;
|
178
|
181
|
this.doubleReview.check_time = this.record.check_time;
|
|
182
|
+ this.doubleReview.first_check_time = this.record.first_check_time;
|
179
|
183
|
|
180
|
184
|
}
|
181
|
185
|
|
|
@@ -200,9 +204,7 @@ export default {
|
200
|
204
|
this.check_time_str = parseTime(time, "{y}-{m}-{d} {h}:{i}" +":00");
|
201
|
205
|
},
|
202
|
206
|
selectCheckTimeAction: function() {
|
203
|
|
- if(this.record.modifier == 0) {
|
204
|
207
|
this.$refs.start_time_picker.open();
|
205
|
|
- }
|
206
|
208
|
},
|
207
|
209
|
checkInf: function() {},
|
208
|
210
|
// initData(doubleReview, patient, doctor) {
|
|
@@ -225,11 +227,12 @@ export default {
|
225
|
227
|
return false;
|
226
|
228
|
} else {
|
227
|
229
|
Toast.success("提交成功");
|
228
|
|
- this.doubleReview.created_time =
|
229
|
|
- response.data.data.doubleCheck.created_time;
|
|
230
|
+
|
230
|
231
|
this.doubleReview.creater = response.data.data.doubleCheck.creater;
|
231
|
232
|
this.doubleReview.check_time =
|
232
|
233
|
response.data.data.doubleCheck.check_time;
|
|
234
|
+ this.doubleReview.first_check_time =
|
|
235
|
+ response.data.data.doubleCheck.first_check_time;
|
233
|
236
|
this.doubleReview.modifier = response.data.data.doubleCheck.modifier;
|
234
|
237
|
|
235
|
238
|
for (const key in response.data.data.doubleCheck) {
|
|
@@ -244,7 +247,7 @@ export default {
|
244
|
247
|
},
|
245
|
248
|
getFirstCheckDesc: function() {
|
246
|
249
|
let time = uParseTime(
|
247
|
|
- this.doubleReview.created_time,
|
|
250
|
+ this.doubleReview.first_check_time,
|
248
|
251
|
"{y}-{m}-{d} {h}:{i}"
|
249
|
252
|
);
|
250
|
253
|
if (this.doubleReview.creater <= 0) {
|
|
@@ -277,7 +280,7 @@ export default {
|
277
|
280
|
getScondCheckDesc: function() {
|
278
|
281
|
let time = uParseTime(
|
279
|
282
|
this.doubleReview.check_time,
|
280
|
|
- "{y}-{m}-{d} {h}:{i}"+":00"
|
|
283
|
+ "{y}-{m}-{d} {h}:{i}"
|
281
|
284
|
);
|
282
|
285
|
if (this.doubleReview.modifier <= 0) {
|
283
|
286
|
return "";
|