超声影像添加打回按钮
This commit is contained in:
parent
58b7bccc23
commit
86db8b0b72
@ -126,5 +126,10 @@ export const PatientexamlistApi = {
|
||||
// 更新危急值标识
|
||||
Updatetblistwarning: async (id: String, type: string) => {
|
||||
return await request.get({ url: `/tblist/patientexamlist/Updatetblistwarning?id=${id}&&type=${type}` })
|
||||
}
|
||||
},
|
||||
|
||||
// 打回检查
|
||||
withdrawPatientExam: async (data: any) => {
|
||||
return await request.post({ url: `/tblist/patientexamlist/withdraw` , data })
|
||||
},
|
||||
}
|
||||
|
@ -258,7 +258,7 @@
|
||||
width="180px"
|
||||
v-if="false"
|
||||
/>
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<el-table-column label="操作" align="center" fixed="right" min-width="230">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
@ -270,6 +270,16 @@
|
||||
>
|
||||
申请
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
size="small"
|
||||
type="danger"
|
||||
@click="withdraw(scope.row.examId, scope.row.regId)"
|
||||
v-hasPermi="['tblist:patientexamlist:query']"
|
||||
v-if=" scope.row.reportstatus === '已审核' "
|
||||
>
|
||||
打回
|
||||
</el-button>
|
||||
<el-button link type="danger" @click.stop="collect(scope.row.id, scope.row.isFavourite)">
|
||||
<el-icon v-if="scope.row.isFavourite === '1'"><StarFilled /></el-icon>
|
||||
<el-icon v-else><Star /></el-icon>
|
||||
@ -388,6 +398,20 @@ function handleEdit(row, isLoaded: string) {
|
||||
}
|
||||
}
|
||||
|
||||
// 打回
|
||||
const withdraw = async (examId, regId) => {
|
||||
// 二次确认
|
||||
await message.confirm('确认打回吗?')
|
||||
// 打回
|
||||
const data = {
|
||||
examId: examId,
|
||||
regId: regId
|
||||
}
|
||||
await PatientexamlistApi.withdrawPatientExam(data)
|
||||
message.success(t('操作成功!'))
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
/** aaaaa **/
|
||||
const examDate_picker = ref(null)
|
||||
const examDate_radio = ref(null)
|
||||
|
@ -260,7 +260,7 @@
|
||||
width="180px"
|
||||
v-if="false"
|
||||
/>
|
||||
<el-table-column label="操作" align="center" fixed="right">
|
||||
<el-table-column label="操作" align="center" fixed="right" min-width="160">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
@ -272,6 +272,16 @@
|
||||
>
|
||||
申请
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
size="small"
|
||||
type="danger"
|
||||
@click="withdraw(scope.row.examId, scope.row.regId)"
|
||||
v-hasPermi="['tblist:patientexamlist:query']"
|
||||
v-if=" scope.row.reportstatus === '已审核' "
|
||||
>
|
||||
打回
|
||||
</el-button>
|
||||
<el-button link type="danger" @click="collect(scope.row.id, scope.row.isFavourite)">
|
||||
<el-icon v-if="scope.row.isFavourite === '1'"><StarFilled /></el-icon>
|
||||
<el-icon v-else><Star /></el-icon>
|
||||
@ -362,6 +372,20 @@ function handleEdit(row) {
|
||||
}
|
||||
}
|
||||
|
||||
// 打回
|
||||
const withdraw = async (examId, regId) => {
|
||||
// 二次确认
|
||||
await message.confirm('确认打回吗?')
|
||||
// 打回
|
||||
const data = {
|
||||
examId: examId,
|
||||
regId: regId
|
||||
}
|
||||
await PatientexamlistApi.withdrawPatientExam(data)
|
||||
message.success(t('操作成功!'))
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
/** aaaaa **/
|
||||
const examDate_picker = ref(null)
|
||||
const examDate_radio = ref(null)
|
||||
|
Loading…
Reference in New Issue
Block a user