|
@ -41,6 +41,7 @@ |
|
|
tooltip-effect="dark" |
|
|
tooltip-effect="dark" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
:cell-class-name="tableCellClassName" |
|
|
:cell-class-name="tableCellClassName" |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
@row-dblclick="dbclick" |
|
|
@row-dblclick="dbclick" |
|
|
> |
|
|
> |
|
|
<el-table-column type="selection" width="50px" /> |
|
|
<el-table-column type="selection" width="50px" /> |
|
@ -70,7 +71,13 @@ |
|
|
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page" @current-change="pageCurrentChangeHandle" /> |
|
|
<el-pagination background layout="total,prev, pager, next" :total="total" :current-page.sync="page" @current-change="pageCurrentChangeHandle" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<re-dialog :projects="selectedProjects" :is-show="reDialogShow" @close="closeReDialog" /> |
|
|
|
|
|
|
|
|
<re-dialog |
|
|
|
|
|
:patient-list="patientList" |
|
|
|
|
|
:projects="selectedProjects" |
|
|
|
|
|
:is-show="reDialogShow" |
|
|
|
|
|
@close="closeReDialog" |
|
|
|
|
|
@saveAppoint="saveAppoint" |
|
|
|
|
|
/> |
|
|
<u-b-m-order ref="ubmOrder" :patient-info="patientInfo" :is-show="ubmShow" @editSuccess="editSuccess" @close="closeUbmDialog" /> |
|
|
<u-b-m-order ref="ubmOrder" :patient-info="patientInfo" :is-show="ubmShow" @editSuccess="editSuccess" @close="closeUbmDialog" /> |
|
|
<detail-view |
|
|
<detail-view |
|
|
v-if="detailViewVisible" |
|
|
v-if="detailViewVisible" |
|
@ -143,9 +150,7 @@ export default { |
|
|
}], |
|
|
}], |
|
|
projects: [], |
|
|
projects: [], |
|
|
selectedProjects: [], |
|
|
selectedProjects: [], |
|
|
doctorList: [], |
|
|
|
|
|
operaList: [], |
|
|
|
|
|
currentRow: {}, |
|
|
|
|
|
|
|
|
patientList: [], |
|
|
// 用一个字符串来保存当前双击的是哪一个单元格 |
|
|
// 用一个字符串来保存当前双击的是哪一个单元格 |
|
|
currentCell: null |
|
|
currentCell: null |
|
|
} |
|
|
} |
|
@ -174,12 +179,20 @@ export default { |
|
|
closeReDialog(val) { |
|
|
closeReDialog(val) { |
|
|
this.reDialogShow = val |
|
|
this.reDialogShow = val |
|
|
}, |
|
|
}, |
|
|
|
|
|
saveAppoint() { |
|
|
|
|
|
this.getDataList() |
|
|
|
|
|
this.closeReDialog() |
|
|
|
|
|
}, |
|
|
closeUbmDialog(val) { |
|
|
closeUbmDialog(val) { |
|
|
this.ubmShow = val |
|
|
this.ubmShow = val |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 改约成功后刷新列表 |
|
|
editSuccess() { |
|
|
editSuccess() { |
|
|
this.getDataListInitial() |
|
|
this.getDataListInitial() |
|
|
}, |
|
|
}, |
|
|
|
|
|
handleSelectionChange(val) { |
|
|
|
|
|
this.patientList = val |
|
|
|
|
|
}, |
|
|
// 给单元格绑定横向和竖向的index,这样就能确定是哪一个单元格 |
|
|
// 给单元格绑定横向和竖向的index,这样就能确定是哪一个单元格 |
|
|
tableCellClassName({ row, column, rowIndex, columnIndex }) { |
|
|
tableCellClassName({ row, column, rowIndex, columnIndex }) { |
|
|
row.index = rowIndex |
|
|
row.index = rowIndex |
|
@ -199,7 +212,6 @@ export default { |
|
|
editOpera(scopeRow) { |
|
|
editOpera(scopeRow) { |
|
|
this.patientInfo = scopeRow |
|
|
this.patientInfo = scopeRow |
|
|
this.$refs.ubmOrder.form.patient = this.patientInfo.patientName |
|
|
this.$refs.ubmOrder.form.patient = this.patientInfo.patientName |
|
|
this.currentRow = scopeRow |
|
|
|
|
|
this.ubmShow = true |
|
|
this.ubmShow = true |
|
|
}, |
|
|
}, |
|
|
// 取消预约 |
|
|
// 取消预约 |
|
|