|
|
|
|
@ -203,7 +203,6 @@ |
|
|
|
|
<el-table |
|
|
|
|
v-loading="loading" |
|
|
|
|
:data="caseList" |
|
|
|
|
border |
|
|
|
|
height="calc(100vh - 415px)" |
|
|
|
|
@row-dblclick="handleView" |
|
|
|
|
> |
|
|
|
|
@ -1078,7 +1077,9 @@ export default { |
|
|
|
|
handleTimeSectionUpdate(row) { |
|
|
|
|
this.reset(); |
|
|
|
|
postReportInfo({ report_id: row.id }).then((response) => { |
|
|
|
|
this.fetchTimeSlots(response.data.exam_rooms[0].id); |
|
|
|
|
if (response.code === 200 && response.data && response.data.exam_rooms.length > 0) { |
|
|
|
|
this.fetchTimeSlots(response.data.exam_rooms[0].id); |
|
|
|
|
} |
|
|
|
|
this.form = response.data || {}; |
|
|
|
|
this.open = true; |
|
|
|
|
this.title = "修改预约时间"; |
|
|
|
|
@ -1118,8 +1119,10 @@ export default { |
|
|
|
|
if (response.code === 200) { |
|
|
|
|
this.$modal.msgSuccess("新增成功"); |
|
|
|
|
this.open = false; |
|
|
|
|
if (response.data && response.data.id) { |
|
|
|
|
this.handleView(response.data); |
|
|
|
|
if (response.data && response.data.report_id) { |
|
|
|
|
postReportInfo({ report_id: response.data.report_id }).then((response) => { |
|
|
|
|
this.handleView(response.data); |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
this.getList(); |
|
|
|
|
} |
|
|
|
|
|