|
|
@ -21,6 +21,8 @@ |
|
|
|
v-model="dataForm.itemId" |
|
|
|
style="margin:0 15px" |
|
|
|
placeholder="请选择" |
|
|
|
filterable |
|
|
|
:remote-method="queryProjects" |
|
|
|
size="small" |
|
|
|
@change="getDataListInitial" |
|
|
|
> |
|
|
@ -43,7 +45,7 @@ |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button type="primary" icon="el-icon-edit" size="small" @click="changeOrder">改约</el-button> |
|
|
|
<el-button v-print="'#multipleTable'" type="primary" icon="el-icon-edit" size="small">打印</el-button> |
|
|
|
<el-button v-print="printObj" type="primary" icon="el-icon-edit" size="small">打印</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="scheduled-patient-content"> |
|
|
@ -56,8 +58,8 @@ |
|
|
|
:cell-class-name="tableCellClassName" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="50px" /> |
|
|
|
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="150px" /> |
|
|
|
<el-table-column class-name="hidden" type="selection" width="50px" /> |
|
|
|
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" min-width="150px" /> |
|
|
|
<el-table-column prop="jzNumber" label="就诊号" header-align="center" align="center" width="150px" /> |
|
|
|
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="150px" /> |
|
|
|
<el-table-column label="负责医生" header-align="center" align="center" width="150px"> |
|
|
@ -191,7 +193,12 @@ export default { |
|
|
|
// 用一个字符串来保存当前双击的是哪一个单元格 |
|
|
|
currentCell: null, |
|
|
|
// 当前患者 |
|
|
|
curPatient: null |
|
|
|
curPatient: null, |
|
|
|
// 打印 |
|
|
|
printObj: { |
|
|
|
id: 'multipleTable', |
|
|
|
extraHead: '<style>#printId { width: 100%; !important; } #multipleTable .hidden { display: none } <style>' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
@ -208,8 +215,10 @@ export default { |
|
|
|
this.getDataListInitial() |
|
|
|
}, |
|
|
|
// 获取全部项目 |
|
|
|
queryProjects() { |
|
|
|
this.$http.get('/patient/getZlItemDict', { params: { isAppoint: 1 }}).then(data => { |
|
|
|
queryProjects(value) { |
|
|
|
this.$http.get('/patient/getZlItemDict', { |
|
|
|
params: { isAppoint: 1, itemName: value } |
|
|
|
}).then(data => { |
|
|
|
this.projects = data.data.data |
|
|
|
this.projects.unshift({ |
|
|
|
caseName: '', |
|
|
@ -362,4 +371,8 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
#multipleTable .hidden { display: none } |
|
|
|
//::v-deep .hidden { |
|
|
|
// display: none !important |
|
|
|
//} |
|
|
|
</style> |
|
|
|