|
|
@ -131,6 +131,12 @@ |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="210"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span |
|
|
|
v-if="scope.row.patientStatus >= '300'" |
|
|
|
style="color: #1890ff; padding-right: 8px" |
|
|
|
class="operation-details" |
|
|
|
@click="handleCall(scope.row,'310')" |
|
|
|
>叫号</span> |
|
|
|
<span |
|
|
|
style="color: #1890ff; padding-right: 8px" |
|
|
|
class="operation-details" |
|
|
@ -301,6 +307,24 @@ export default { |
|
|
|
reFresh() { |
|
|
|
this.pageCurrentChangeHandle(this.page) |
|
|
|
}, |
|
|
|
// 叫号 |
|
|
|
async handleCall(scopeRow, status) { |
|
|
|
this.patientId = scopeRow.patientId |
|
|
|
const risNo = scopeRow.risNo |
|
|
|
const examItemId = scopeRow.zlProjectList.length ? scopeRow.zlProjectList[0].id : '' |
|
|
|
const { data: res } = await this.$http.get('/zlCall/callByPatient', { |
|
|
|
params: { |
|
|
|
patientId: this.patientId, |
|
|
|
examItemId: examItemId, |
|
|
|
status: status, |
|
|
|
risNo: risNo |
|
|
|
} |
|
|
|
}) |
|
|
|
if (res.code === 0) { |
|
|
|
} else { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 展示列表项目列 |
|
|
|
getYLProject(list) { |
|
|
|
if (!list.length) { |
|
|
|