批量修改

This commit is contained in:
旺仔 2024-08-22 12:01:11 +08:00
parent f5c813998c
commit 73e6685f9c
17 changed files with 1287 additions and 1170 deletions

View File

@ -28,7 +28,3 @@ export const DeviceManageApi = {
return await request.delete({ url: `/test/device/delete?id=` + id }) return await request.delete({ url: `/test/device/delete?id=` + id })
}, },
} }
/** 防空作用域 **/
console.log(request)

View File

@ -10,7 +10,7 @@ export const DiagnosisTemplateApi = {
return await request.get({ url: `/org/org/getlist` }) return await request.get({ url: `/org/org/getlist` })
}, },
getDoctorList: async () => { getDoctorList: async () => {
return await request.get({ url: `/doctor/getlist` }) return await request.get({ url: `/doctor/getAlllist` })
}, },
getPage: async (params: any) => { getPage: async (params: any) => {
return await request.get({ url: `/test/reporttemplate/page`, params }) return await request.get({ url: `/test/reporttemplate/page`, params })
@ -28,7 +28,3 @@ export const DiagnosisTemplateApi = {
return await request.delete({ url: `/test/reporttemplate/delete?id=` + id }) return await request.delete({ url: `/test/reporttemplate/delete?id=` + id })
}, },
} }
/** 防空作用域 **/
console.log(request)

View File

@ -25,7 +25,3 @@ export const ExampartManageApi = {
return await request.delete({ url: `/test/exampart/delete?id=` + id }) return await request.delete({ url: `/test/exampart/delete?id=` + id })
}, },
} }
/** 防空作用域 **/
console.log(request)

View File

@ -16,7 +16,3 @@ export const IllnessCaseApi = {
return await request.get({ url: `/tblist/patientexamlist/pageIllnessCase`, params }) return await request.get({ url: `/tblist/patientexamlist/pageIllnessCase`, params })
} }
} }
/** 防空作用域 **/
console.log(request)

View File

@ -9,17 +9,10 @@ export const ReportPrintStatisticsApi = {
getDeviceList: async () => { getDeviceList: async () => {
return await request.get({ url: `/test/device/getlist` }) return await request.get({ url: `/test/device/getlist` })
}, },
getExamitemsList: async () => {
return await request.get({ url: `/examitems/examitems/getlist` })
},
getPage: async (params: any) => { getPage: async (params: any) => {
return await request.get({ url: `/tblist/patientexamlist/pageReportPrintStatistics`, params }) return await request.get({ url: `/tblist/patientexamlist/pageReportPrintStatistics`, params })
}, },
updateExamItemName: async (params: any) => { updateExamItemName: async (params: any) => {
return await request.put({ url: `/tblist/patientexamlist/updateExamItemName`, params }) return await request.put({ url: `/tblist/patientexamlist/updateExamItemName`, params })
} }
} }
/** 防空作用域 **/
console.log(request)

View File

@ -20,10 +20,5 @@ export const ReservationInfoApi = {
}, },
create: async (data: any) => { create: async (data: any) => {
return await request.post({ url: `/applyregistration/applyform/createReservationInfo`, data }) return await request.post({ url: `/applyregistration/applyform/createReservationInfo`, data })
}, }
} }
/** 防空作用域 **/
console.log(request)

View File

@ -4,7 +4,7 @@
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
size="small" size="default"
label-width="100px" label-width="100px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
@ -22,7 +22,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="7">
<el-form-item label="设备状态" prop="deviceStatus" class="item-style"> <el-form-item label="设备状态" prop="deviceStatus" class="item-style">
<el-radio-group v-model="formData.deviceStatus" class="item-width radio-group"> <el-radio-group v-model="formData.deviceStatus" class="item-width radio-group">
<el-radio value="1" style="margin-left: 12px; margin-right: 10px">有效</el-radio> <el-radio value="1" style="margin-left: 12px; margin-right: 10px">有效</el-radio>

View File

@ -4,15 +4,14 @@
<el-form <el-form
ref="queryFormRef" ref="queryFormRef"
:model="queryParams" :model="queryParams"
size="small" size="default"
label-width="68px" label-width="78px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
class="-mb-15px" class="-mb-15px"
> >
<el-row> <el-row>
<el-col :span="6" v-if="false"> <el-col :span="6" v-if="false">
<!-- Notes -->
<el-form-item <el-form-item
label="名称/类型/型号" label="名称/类型/型号"
prop="deviceDesc" prop="deviceDesc"
@ -27,8 +26,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="8">
<!-- Notes -->
<el-form-item label="科室" prop="departmentCode" class="item-style"> <el-form-item label="科室" prop="departmentCode" class="item-style">
<el-select <el-select
v-model="deviceDepartmentInfo" v-model="deviceDepartmentInfo"
@ -47,8 +45,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="8">
<!-- Notes -->
<el-form-item label="设备名称" prop="deviceName" class="item-style"> <el-form-item label="设备名称" prop="deviceName" class="item-style">
<el-input <el-input
v-model="queryParams.deviceName" v-model="queryParams.deviceName"
@ -58,8 +55,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="8">
<!-- Notes -->
<el-form-item label="设备类型" prop="deviceType" class="item-style"> <el-form-item label="设备类型" prop="deviceType" class="item-style">
<el-select <el-select
v-model="queryParams.deviceType" v-model="queryParams.deviceType"
@ -74,8 +70,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> </el-row>
<!-- Notes --> <el-row>
<el-col :span="8">
<el-form-item label="设备型号" prop="deviceModel" class="item-style"> <el-form-item label="设备型号" prop="deviceModel" class="item-style">
<el-input <el-input
v-model="queryParams.deviceModel" v-model="queryParams.deviceModel"
@ -85,32 +82,42 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :offset="10" :span="6" style="text-align: right">
<el-row> <el-button
<el-col :offset="18" :span="6"> @click="handleQuery"
<!-- Notes --> style="background-color: rgba(56, 119, 246, 1); color: rgba(255, 255, 255, 1)"
<el-form-item label-width="8px" class="item-style"> >
<el-button @click="handleQuery"> <Icon icon="ep:search" class="mr-5px" /> 搜索
<Icon icon="ep:search" class="mr-5px" /> 搜索 </el-button>
</el-button>
<el-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 64px">
<el-row>
<el-col :offset="18" :span="6" style="text-align: right">
<el-button
@click="openForm('create')"
style="background-color: rgb(28, 176, 117); color: rgb(255, 255, 255)"
>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-col>
</el-row>
</ContentWrap>
<ContentWrap class="mb-1px"> <ContentWrap class="mb-1px">
<el-table <el-table
v-loading="loading" v-loading="loading"
size="small" size="default"
border border
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
:data="list_devices" :data="list_devices"
height="max(53vh,80px)" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '40px', color: '#333333' }"
:row-style="{ height: '40px' }"
height="max(calc(100vh - 465px),80px)"
> >
<el-table-column type="index" label="序号" align="center" width="54px" /> <el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="科室" align="center" prop="deviceDepartment" /> <el-table-column label="科室" align="center" prop="deviceDepartment" />
@ -119,20 +126,24 @@
<el-table-column label="设备型号" align="center" prop="deviceModel" /> <el-table-column label="设备型号" align="center" prop="deviceModel" />
<el-table-column label="设备AET" align="center" prop="scheduledAET" /> <el-table-column label="设备AET" align="center" prop="scheduledAET" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right" width="180px">
<template #default="scope"> <template #default="scope">
<el-button link type="primary" @click="openForm('update', scope.row.id)"> <el-button
link
@click="openForm('update', scope.row.id)"
style="color: rgb(56, 119, 246)"
>
编辑 编辑
</el-button> </el-button>
<el-button link type="danger" @click="handleDelete(scope.row.id)"> 删除 </el-button> <el-button link @click="handleDelete(scope.row.id)" style="color: rgb(223, 65, 65)">
删除
</el-button>
</template> </template>
</el-table-column> </el-table-column>
<!-- 数据列 --> <!-- 数据列 -->
</el-table> </el-table>
<div style="display: flex; justify-content: center"> <div>
<Pagination <Pagination
small
size="small"
:total="total" :total="total"
v-model:page="queryParams.pageNo" v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize" v-model:limit="queryParams.pageSize"

View File

@ -4,7 +4,7 @@
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
size="small" size="default"
label-width="70px" label-width="70px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
@ -50,23 +50,6 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12">
<el-form-item label="机构" prop="orgId" class="item-style">
<el-select
v-model="formData.orgId"
placeholder="请选择机构"
clearable
class="item-width"
>
<el-option
v-for="item in orgList"
:key="item.orgID"
:label="item.orgName"
:value="item.orgID"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="医生" prop="privateDoctorId" class="item-style"> <el-form-item label="医生" prop="privateDoctorId" class="item-style">
<el-select <el-select
@ -84,6 +67,23 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="机构" prop="orgId" class="item-style">
<el-select
v-model="formData.orgId"
placeholder="请选择机构"
clearable
class="item-width"
>
<el-option
v-for="item in orgList"
:key="item.orgID"
:label="item.orgName"
:value="item.orgID"
/>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
@ -194,7 +194,6 @@ onMounted(async () => {
console.log(dateFormatter) console.log(dateFormatter)
console.log(message) console.log(message)
console.log(t) console.log(t)
console.log(DiagnosisTemplateApi)
console.log(formData0) console.log(formData0)
//console.log(null) //console.log(null)

View File

@ -4,15 +4,14 @@
<el-form <el-form
ref="queryFormRef" ref="queryFormRef"
:model="queryParams" :model="queryParams"
size="small" size="default"
label-width="68px" label-width="78px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
class="-mb-15px" class="-mb-15px"
> >
<el-row> <el-row>
<el-col :span="8"> <el-col :span="9">
<!-- Notes -->
<el-form-item label="节点" prop="templateName" class="item-style"> <el-form-item label="节点" prop="templateName" class="item-style">
<el-input <el-input
v-model="queryParams.templateName" v-model="queryParams.templateName"
@ -23,61 +22,76 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<!-- Notes -->
<el-form-item label="模板类型" prop="templateLimitsType" class="item-style"> <el-form-item label="模板类型" prop="templateLimitsType" class="item-style">
<el-radio-group <el-radio-group
v-model="queryParams.templateLimitsType" v-model="queryParams.templateLimitsType"
class="item-width radio-group" class="item-width radio-group"
> >
<el-radio value="all" style="margin-left: 12px; margin-right: 20px">全部</el-radio> <el-radio value="all" style="margin-left: 15px; margin-right: 25px">全部</el-radio>
<el-radio value="public" style="margin-right: 20px">公共</el-radio> <el-radio value="public" style="margin-right: 25px">公共</el-radio>
<el-radio value="private" style="margin-right: 4px">私有</el-radio> <el-radio value="private" style="margin-right: 4px">私有</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="9" style="text-align: right">
<!-- Notes --> <el-button
<el-form-item class="item-style"> @click="handleQuery"
<el-button @click="handleQuery"> style="background-color: rgba(56, 119, 246, 1); color: rgba(255, 255, 255, 1)"
<Icon icon="ep:search" class="mr-5px" /> 搜索 >
</el-button> <Icon icon="ep:search" class="mr-5px" /> 搜索
<el-button type="primary" plain @click="openForm('create')"> </el-button>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 64px">
<el-row>
<el-col :offset="15" :span="9" style="text-align: right">
<el-button
@click="openForm('create')"
style="background-color: rgb(28, 176, 117); color: rgb(255, 255, 255)"
>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-col>
</el-row>
</ContentWrap>
<ContentWrap class="mb-1px"> <ContentWrap class="mb-1px">
<el-table <el-table
v-loading="loading" v-loading="loading"
size="small" size="default"
border border
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
:data="list_templates" :data="list_templates"
height="max(53vh,80px)" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '40px', color: '#333333' }"
:row-style="{ height: '40px' }"
height="max(calc(100vh - 422px),80px)"
> >
<el-table-column type="index" label="序号" align="center" width="50px" /> <el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="节点" align="center" prop="templateName" /> <el-table-column label="节点" align="center" prop="templateName" />
<el-table-column label="所见" align="center" prop="examDescription" /> <el-table-column label="所见" align="center" prop="examDescription" />
<el-table-column label="所得" align="center" prop="diagResults" /> <el-table-column label="所得" align="center" prop="diagResults" />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right" width="180px">
<template #default="scope"> <template #default="scope">
<el-button link type="primary" @click="openForm('update', scope.row.id)"> <el-button
link
@click="openForm('update', scope.row.id)"
style="color: rgb(56, 119, 246)"
>
编辑 编辑
</el-button> </el-button>
<el-button link type="danger" @click="handleDelete(scope.row.id)"> 删除 </el-button> <el-button link @click="handleDelete(scope.row.id)" style="color: rgb(223, 65, 65)">
删除
</el-button>
</template> </template>
</el-table-column> </el-table-column>
<!-- 数据列 --> <!-- 数据列 -->
</el-table> </el-table>
<div style="display: flex; justify-content: center"> <div>
<Pagination <Pagination
small
size="small"
:total="total" :total="total"
v-model:page="queryParams.pageNo" v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize" v-model:limit="queryParams.pageSize"
@ -173,8 +187,6 @@ console.log(dateFormatter)
console.log(download) console.log(download)
console.log(message) console.log(message)
console.log(t) console.log(t)
console.log(DiagnosisTemplateApi)
console.log(DiagnosisTemplateForm)
console.log(queryParams0) console.log(queryParams0)
//console.log(null) //console.log(null)

View File

@ -4,11 +4,11 @@
<el-form <el-form
ref="formRef" ref="formRef"
:model="formData" :model="formData"
size="small" size="default"
label-width="100px" label-width="100px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
class="-ml-30px" class="-ml-2px"
v-loading="formLoading" v-loading="formLoading"
> >
<el-row> <el-row>
@ -16,7 +16,7 @@
<el-form-item label="检查部位编码" prop="examPartCode" class="item-style"> <el-form-item label="检查部位编码" prop="examPartCode" class="item-style">
<el-input <el-input
v-model="formData.examPartCode" v-model="formData.examPartCode"
placeholder="请输入检查部位编码" placeholder="请输入编码"
clearable clearable
class="item-width" class="item-width"
/> />
@ -28,7 +28,7 @@
<el-form-item label="检查部位名称" prop="examPartName" class="item-style"> <el-form-item label="检查部位名称" prop="examPartName" class="item-style">
<el-input <el-input
v-model="formData.examPartName" v-model="formData.examPartName"
placeholder="请输入检查部位名称" placeholder="请输入名称"
clearable clearable
class="item-width" class="item-width"
/> />

View File

@ -4,15 +4,14 @@
<el-form <el-form
ref="queryFormRef" ref="queryFormRef"
:model="queryParams" :model="queryParams"
size="small" size="default"
label-width="90px" label-width="106px"
label-position="right" label-position="right"
label-suffix="" label-suffix=""
class="-mb-15px" class="-mb-15px"
> >
<el-row> <el-row>
<el-col :span="8"> <el-col :span="9">
<!-- Notes -->
<el-form-item label="检查部位名称" prop="examPartName" class="item-style"> <el-form-item label="检查部位名称" prop="examPartName" class="item-style">
<el-input <el-input
v-model="queryParams.examPartName" v-model="queryParams.examPartName"
@ -22,8 +21,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="9">
<!-- Notes -->
<el-form-item label="检查部位编码" prop="examPartCode" class="item-style"> <el-form-item label="检查部位编码" prop="examPartCode" class="item-style">
<el-input <el-input
v-model="queryParams.examPartCode" v-model="queryParams.examPartCode"
@ -33,48 +31,65 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="6" style="text-align: right">
<el-form-item label="" label-width="42px" class="item-style"> <el-button
<el-button @click="handleQuery"> @click="handleQuery"
<Icon icon="ep:search" class="mr-5px" /> 搜索 style="background-color: rgba(56, 119, 246, 1); color: rgba(255, 255, 255, 1)"
</el-button> >
<el-button type="primary" plain @click="openForm('create')"> <Icon icon="ep:search" class="mr-5px" /> 搜索
<Icon icon="ep:plus" class="mr-5px" /> 新增 </el-button>
</el-button>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 64px">
<el-row>
<el-col :offset="18" :span="6" style="text-align: right">
<el-button
@click="openForm('create')"
style="background-color: rgb(28, 176, 117); color: rgb(255, 255, 255)"
>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-col>
</el-row>
</ContentWrap>
<ContentWrap class="mb-1px"> <ContentWrap class="mb-1px">
<el-table <el-table
v-loading="loading" v-loading="loading"
size="small" size="default"
border border
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
:data="list_examparts" :data="list_examparts"
height="max(53vh,80px)" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '40px', color: '#333333' }"
:row-style="{ height: '40px' }"
height="max(calc(100vh - 423px),80px)"
> >
<el-table-column type="index" label="序号" align="center" width="54px" /> <el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="检查部位编码" align="center" prop="examPartCode" /> <el-table-column label="检查部位编码" align="center" prop="examPartCode" />
<el-table-column label="检查部位名称" align="center" prop="examPartName" /> <el-table-column label="检查部位名称" align="center" prop="examPartName" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right" width="180px">
<template #default="scope"> <template #default="scope">
<el-button link type="primary" @click="openForm('update', scope.row.id)"> <el-button
link
@click="openForm('update', scope.row.id)"
style="color: rgb(56, 119, 246)"
>
编辑 编辑
</el-button> </el-button>
<el-button link type="danger" @click="handleDelete(scope.row.id)"> 删除 </el-button> <el-button link @click="handleDelete(scope.row.id)" style="color: rgb(223, 65, 65)">
删除
</el-button>
</template> </template>
</el-table-column> </el-table-column>
<!-- 数据列 --> <!-- 数据列 -->
</el-table> </el-table>
<div style="display: flex; justify-content: center"> <div>
<Pagination <Pagination
small
size="small"
:total="total" :total="total"
v-model:page="queryParams.pageNo" v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize" v-model:limit="queryParams.pageSize"

View File

@ -1,275 +1,296 @@
<template> <template>
<div> <div>
<el-row> <ContentWrap>
<el-col :span="24"> <el-form
<el-card shadow="never" style="margin-bottom: 4px"> ref="queryFormRef"
<el-form :model="queryParams"
ref="queryFormRef" size="default"
:model="queryParams" label-width="78px"
size="small" label-position="right"
label-width="68px" label-suffix=""
label-position="right" class="-mb-15px"
label-suffix="" >
class="-mb-15px" <el-row>
> <el-col :span="8">
<el-row> <el-form-item label="登记号" prop="regId" class="item-style">
<el-col :span="8"> <el-input
<el-form-item label="登记号" prop="regId" class="item-style"> v-model="queryParams.regId"
<el-input placeholder="请输入登记号"
v-model="queryParams.regId" clearable
placeholder="请输入登记号" class="item-width"
clearable />
class="item-width" </el-form-item>
/> </el-col>
</el-form-item> <el-col :span="8">
</el-col> <el-form-item label="检查号" prop="examId" class="item-style">
<el-col :span="8"> <el-input
<el-form-item label="检查号" prop="examId" class="item-style"> v-model="queryParams.examId"
<el-input placeholder="请输入检查号"
v-model="queryParams.examId" clearable
placeholder="请输入检查号" class="item-width"
clearable />
class="item-width" </el-form-item>
/> </el-col>
</el-form-item> <el-col :span="5">
</el-col> <el-form-item label="检查日期" prop="examDate_ge" class="item-style date-picker">
<el-col :span="5"> <el-date-picker
<!-- Notes --> v-model="queryParams.examDate_ge"
<el-form-item label="检查日期" prop="examDate_ge" class="item-style date-picker"> type="date"
<el-date-picker value-format="YYYY-MM-DD HH:mm:ss"
v-model="queryParams.examDate_ge" placeholder="开始日期"
type="date" class="item-width"
value-format="YYYY-MM-DD HH:mm:ss" />
placeholder="开始日期" </el-form-item>
class="item-width" </el-col>
/> <el-col :span="3">
</el-form-item> <el-form-item
</el-col> label=""
<el-col :span="3"> label-width="0px"
<!-- Notes --> prop="examDate_le"
<el-form-item class="item-style date-picker"
label="" >
label-width="0px" <el-date-picker
prop="examDate_le" v-model="queryParams.examDate_le"
class="item-style date-picker" type="date"
> value-format="YYYY-MM-DD HH:mm:ss"
<el-date-picker placeholder="结束日期"
v-model="queryParams.examDate_le" class="item-width"
type="date" />
value-format="YYYY-MM-DD HH:mm:ss" </el-form-item>
placeholder="结束日期" </el-col>
class="item-width" <el-col :span="7" v-if="false">
/> <el-form-item label="患者来源" prop="regSource" class="item-style">
</el-form-item> <el-radio-group class="item-width radio-group">
</el-col> <el-radio value="全部" style="margin-left: 6px; margin-right: 16px">全部</el-radio>
<el-col :span="7" v-if="false"> <el-radio value="门诊" style="margin-right: 16px">门诊</el-radio>
<!-- Notes --> <el-radio value="住院" style="margin-right: 16px">住院</el-radio>
<el-form-item label="患者来源" prop="regSource" class="item-style"> <el-radio value="体检" style="margin-right: 4px">体检</el-radio>
<el-radio-group class="item-width radio-group"> </el-radio-group>
<el-radio value="全部" style="margin-left: 6px; margin-right: 16px" </el-form-item>
>全部</el-radio </el-col>
> </el-row>
<el-radio value="门诊" style="margin-right: 16px">门诊</el-radio> <el-row>
<el-radio value="住院" style="margin-right: 16px">住院</el-radio> <el-col :span="8">
<el-radio value="体检" style="margin-right: 4px">体检</el-radio> <el-form-item label="影像设备" prop="deviceName" class="item-style">
</el-radio-group> <el-select
</el-form-item> v-model="queryParams.deviceName"
</el-col> placeholder="请选择影像设备"
</el-row> clearable
<el-row> class="item-width"
<el-col :span="8">
<!-- Notes -->
<el-form-item label="影像设备" prop="deviceName" class="item-style">
<el-select
v-model="queryParams.deviceName"
placeholder="请选择影像设备"
clearable
class="item-width"
>
<el-option
v-for="item in deviceList"
:key="item.deviceId"
:label="item.deviceName"
:value="item.deviceName"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="设备类型" prop="deviceType" class="item-style">
<el-select
v-model="queryParams.deviceType"
placeholder="请选择设备类型"
clearable
class="item-width"
>
<el-option label="DR" value="DR" />
<el-option label="CT" value="CT" />
<el-option label="MR" value="MR" />
<el-option label="超声" value="超声" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="阴性阳性" prop="diagFlag" class="item-style">
<el-radio-group v-model="queryParams.diagFlag" class="item-width radio-group">
<el-radio value="" style="margin-left: 12px; margin-right: 18px">全部</el-radio>
<el-radio value="0" style="margin-right: 18px">阴性</el-radio>
<el-radio value="1" style="margin-right: 18px">阳性</el-radio>
<el-radio value="2" style="margin-right: 4px">重大阳性</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="检查部位" prop="examItemName" class="item-style">
<el-select
v-model="queryParams.examItemName"
placeholder="请选择检查部位"
clearable
class="item-width"
>
<el-option
v-for="item in examitemsList"
:key="item.examItemCode"
:label="item.examItemName"
:value="item.examItemName"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="报告状态" prop="reportstatus" class="item-style">
<el-select
v-model="queryParams.reportstatus"
placeholder="请选择报告状态"
clearable
class="item-width"
>
<el-option label="已分检" value="已分检" />
<el-option label="待分析" value="待分析" />
<el-option label="已分析" value="已分析" />
<el-option label="已审核" value="已审核" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="患者姓名" prop="pname" class="item-style">
<el-input
v-model="queryParams.pname"
placeholder="请输入患者姓名"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="4">
<!-- Notes -->
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="queryParams.gender"
placeholder="请选择性别"
clearable
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
<el-col
:offset="4"
:span="8"
style="text-align: left; padding-left: 10px; margin-bottom: 6px"
> >
<el-button @click="handleQuery"> <el-option
<Icon icon="ep:search" class="mr-5px" /> 搜索 v-for="item in deviceList"
</el-button> :key="item.deviceId"
</el-col> :label="item.deviceName"
</el-row> :value="item.deviceName"
</el-form> />
</el-card> </el-select>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row> <el-col :span="8">
<el-col :span="16"> <el-form-item label="设备类型" prop="deviceType" class="item-style">
<el-card shadow="never" style="min-height: 400px"> <el-select
<el-table v-model="queryParams.deviceType"
v-loading="loading" placeholder="请选择设备类型"
size="small" clearable
border class="item-width"
fit >
:stripe="true" <el-option label="DR" value="DR" />
:show-overflow-tooltip="true" <el-option label="CT" value="CT" />
:data="list_IllnessCase" <el-option label="MR" value="MR" />
height="max(45vh,330px)" <el-option label="超声" value="超声" />
@row-click="handleRowClick" </el-select>
> </el-form-item>
<el-table-column type="index" label="序号" align="center" width="54px" /> </el-col>
<el-table-column label="登记号" align="center" prop="regId" width="120px" /> <el-col :span="8">
<el-table-column label="检查号" align="center" prop="examId" width="120px" /> <el-form-item label="阴性阳性" prop="diagFlag" class="item-style">
<el-table-column label="患者姓名" align="center" prop="pname" width="100px" /> <el-radio-group v-model="queryParams.diagFlag" class="item-width radio-group">
<el-table-column label="性别" align="center" prop="gender" width="48px" /> <el-radio value="" style="margin-left: 12px; margin-right: 18px">全部</el-radio>
<el-table-column <el-radio value="0" style="margin-right: 18px">阴性</el-radio>
label="出生日期" <el-radio value="1" style="margin-right: 18px">阳性</el-radio>
align="center" <el-radio value="2" style="margin-right: 4px">重大阳性</el-radio>
prop="birthday" </el-radio-group>
:formatter="dateFormatter2" </el-form-item>
width="90px" </el-col>
/> </el-row>
<el-table-column <el-row>
label="检查日期" <el-col :span="8">
align="center" <el-form-item label="检查部位" prop="examItemName" class="item-style">
prop="examDate" <el-select
:formatter="dateFormatter2" v-model="queryParams.examItemName"
width="90px" placeholder="请选择检查部位"
/> clearable
<el-table-column class="item-width"
label="检查部位" >
header-align="center" <el-option
prop="examItemName" v-for="item in examitemsList"
width="160px" :key="item.examItemCode"
/> :label="item.examItemName"
<el-table-column :value="item.examItemName"
label="影像设备" />
header-align="center" </el-select>
prop="deviceName" </el-form-item>
width="160px" </el-col>
/> <el-col :span="8">
<el-table-column label="阴性阳性" align="center" prop="diagFlag"> <el-form-item label="报告状态" prop="reportstatus" class="item-style">
<template #default="scope"> <el-select
<el-tag v-if="scope.row.diagFlag == '0'">阴性</el-tag> v-model="queryParams.reportstatus"
<el-tag v-else-if="scope.row.diagFlag == '1'">阳性</el-tag> placeholder="请选择报告状态"
<el-tag v-else-if="scope.row.diagFlag == '2'">重大阳性</el-tag> clearable
<el-tag type="danger" v-else>暂无</el-tag> class="item-width"
</template> >
</el-table-column> <el-option label="已分检" value="已分检" />
<!-- 数据列 --> <el-option label="待分析" value="待分析" />
</el-table> <el-option label="已分析" value="已分析" />
<div style="display: flex; justify-content: center"> <el-option label="已审核" value="已审核" />
<Pagination </el-select>
small </el-form-item>
size="small" </el-col>
:total="total" </el-row>
v-model:page="queryParams.pageNo" <el-row>
v-model:limit="queryParams.pageSize" <el-col :span="8">
@pagination="getList" <el-form-item label="患者姓名" prop="pname" class="item-style">
/> <el-input
</div> v-model="queryParams.pname"
</el-card> placeholder="请输入患者姓名"
</el-col> clearable
<el-col :span="8"> class="item-width"
<el-card shadow="never" style="height: 100%" class="ml-1"> />
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="queryParams.gender"
placeholder="请选择性别"
clearable
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
<el-col :offset="4" :span="8" style="text-align: right">
<el-button
@click="handleQuery"
style="background-color: rgba(56, 119, 246, 1); color: rgba(255, 255, 255, 1)"
>
<Icon icon="ep:search" class="mr-5px" /> 搜索
</el-button>
</el-col>
</el-row>
</el-form>
</ContentWrap>
<ContentWrap class="mb-1px">
<el-table
v-loading="loading"
size="default"
border
:stripe="true"
:show-overflow-tooltip="true"
:data="list_IllnessCase"
:header-cell-style="{
background: 'rgb(235, 241, 250)',
height: '40px',
color: '#333333'
}"
:row-style="{ height: '40px' }"
height="max(calc(100vh - 464px),100px)"
>
<el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="登记号" align="center" prop="regId" width="240px" />
<el-table-column label="检查号" align="center" prop="examId" width="240px" />
<el-table-column label="患者姓名" align="center" prop="pname" width="130px" />
<el-table-column label="性别" align="center" prop="gender" width="54px" />
<el-table-column
label="出生日期"
align="center"
prop="birthday"
:formatter="dateFormatter2"
width="110px"
/>
<el-table-column
label="检查日期"
align="center"
prop="examDate"
:formatter="dateFormatter2"
width="110px"
/>
<el-table-column
label="检查部位"
header-align="center"
prop="examItemName"
min-width="260px"
/>
<el-table-column
label="影像设备"
header-align="center"
prop="deviceName"
min-width="260px"
/>
<el-table-column
label="阴性阳性"
align="center"
prop="diagFlag"
fixed="right"
width="100px"
>
<template #default="scope">
<el-tag v-if="scope.row.diagFlag == '0'" effect="plain" style="width: 74px"
>阴性</el-tag
>
<el-tag
v-else-if="scope.row.diagFlag == '1'"
effect="plain"
type="danger"
style="width: 74px"
>阳性</el-tag
>
<el-tag
v-else-if="scope.row.diagFlag == '2'"
effect="plain"
type="warning"
style="width: 74px"
>重大阳性</el-tag
>
<el-tag v-else effect="plain" type="info" style="width: 74px">暂无</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="60px">
<template #default="scope">
<el-button link @click="handleRowClick(scope.row)" style="color: rgb(56, 119, 246)">
查看
</el-button>
</template>
</el-table-column>
<!-- 数据列 -->
</el-table>
<div>
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
</div>
</ContentWrap>
<el-drawer v-model="activeDrawer" direction="rtl" :with-header="false" size="42%">
<div style="position: relative; z-index: 100">
<el-button
link
@click="activeDrawer = false"
style="position: absolute; top: 3px; right: 1px"
>
<Icon icon="ep:close" />
</el-button>
</div>
<el-tabs v-model="activeTabName" style="margin-top: -8px">
<el-tab-pane label="诊断信息" name="diagnosisInfo">
<el-scrollbar> <el-scrollbar>
<el-form size="small" label-width="68px" label-position="top" label-suffix=""> <el-form size="default" label-width="78px" label-position="top" label-suffix="">
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="检查描述" class="item-style"> <el-form-item label="检查描述" class="item-style">
@ -298,9 +319,9 @@
</el-row> </el-row>
</el-form> </el-form>
</el-scrollbar> </el-scrollbar>
</el-card> </el-tab-pane>
</el-col> </el-tabs>
</el-row> </el-drawer>
<!-- 可参考内容 --> <!-- 可参考内容 -->
</div> </div>
</template> </template>
@ -323,6 +344,8 @@ const queryFormRef = ref()
/** 数据结构 **/ /** 数据结构 **/
const message = useMessage() const message = useMessage()
const { t } = useI18n() const { t } = useI18n()
const activeDrawer = ref(false)
const activeTabName = ref('diagnosisInfo')
const diagnosisDesc = ref('') const diagnosisDesc = ref('')
const examitemsDesc = ref('') const examitemsDesc = ref('')
const deviceList = ref<any[]>([]) const deviceList = ref<any[]>([])
@ -368,8 +391,6 @@ const getList = async () => {
loading.value = true loading.value = true
try { try {
const data = await IllnessCaseApi.getPage(queryParams.value) const data = await IllnessCaseApi.getPage(queryParams.value)
console.log('---------------------')
console.log(data.list)
list_IllnessCase.value = data.list list_IllnessCase.value = data.list
total.value = data.total total.value = data.total
} finally { } finally {
@ -385,6 +406,7 @@ const handleQuery = async () => {
const handleRowClick = async (row) => { const handleRowClick = async (row) => {
examitemsDesc.value = row ? row.examDescription : '' examitemsDesc.value = row ? row.examDescription : ''
diagnosisDesc.value = row ? row.diagResults : '' diagnosisDesc.value = row ? row.diagResults : ''
activeDrawer.value = true
} }
/** 钩子方法 **/ /** 钩子方法 **/

File diff suppressed because it is too large Load Diff

View File

@ -1,287 +1,272 @@
<template> <template>
<div> <div>
<el-row> <ContentWrap
<el-col :span="10"> v-loading="formLoading"
<el-card shadow="never" v-loading="formLoading" style="min-height: 540px; height: 76vh"> style="min-height: 550px; height: max(calc(100vh - 195px), 550px)"
<el-form >
ref="infoFormRef" <el-form
:model="infoParams" ref="infoFormRef"
size="small" :model="infoParams"
label-width="68px" size="default"
label-position="right" label-width="78px"
label-suffix="" label-position="right"
class="-mb-10px" label-suffix=""
:disabled="infoFormRef_disabled" class="-mb-7px"
> :disabled="infoFormRef_disabled"
<el-row> >
<el-col :span="13"> <el-row>
<!-- Notes --> <el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style"> <el-form-item label="申请单号" class="item-style">
<el-input <el-input
v-model="infoParams.regId" v-model="examIdFirst"
placeholder="请输入登记号" placeholder="申请单号"
clearable :disabled="true"
class="item-width" class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="11">
<!-- Notes -->
<el-form-item label="患者来源" prop="regSource" class="item-style">
<el-select
v-model="infoParams.regSource"
placeholder="请选择患者来源"
clearable
class="item-width"
>
<el-option label="门诊" value="门诊" />
<el-option label="住院" value="住院" />
<el-option label="体检" value="体检" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<!-- Notes -->
<el-form-item label="申请单号" class="item-style">
<el-input
v-model="examIdFirst"
placeholder="申请单号"
:disabled="true"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="姓名" prop="pname" class="item-style">
<el-input
v-model="infoParams.pname"
placeholder="请输入姓名"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<!-- Notes -->
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="infoParams.gender"
placeholder="请选择性别"
clearable
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="14">
<!-- Notes -->
<el-form-item label="联系电话" prop="contactTel" class="item-style">
<el-input
v-model="infoParams.contactTel"
placeholder="请输入联系电话"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<!-- Notes -->
<el-form-item label="出生日期" prop="birthday" class="item-style date-picker">
<el-date-picker
v-model="infoParams.birthday"
type="date"
value-format="x"
placeholder="请选择出生日期"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="11" v-if="false">
<!-- Notes -->
<el-form-item label="年龄" prop="it_6" class="item-style">
<el-input placeholder="请输入年龄" clearable class="item-width">
<template #append></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="检查设备" prop="deviceId" class="item-style">
<el-select
v-model="deviceInfo"
value-key="deviceId"
placeholder="请选择检查设备"
clearable
class="item-width"
@change="deviceInfo_change"
>
<el-option
v-for="item in deviceList"
:key="item.deviceId"
:label="item.deviceName"
:value="item"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="开单科室" prop="billDoctorDepartment" class="item-style">
<el-select
v-model="infoParams.billDoctorDepartment"
placeholder="请选择开单科室"
clearable
class="item-width"
>
<el-option
v-for="item in departmentList"
:key="item.departmentCode"
:label="item.departmentName"
:value="item.departmentName"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="开单医生" prop="billgDoctor" class="item-style">
<el-select
v-model="infoParams.billgDoctor"
placeholder="请选择开单医生"
clearable
class="item-width"
>
<el-option
v-for="item in doctorList"
:key="item.doctorID"
:label="item.doctorName"
:value="item.doctorName"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<!-- Notes -->
<el-form-item label="开单时间" prop="regDate" class="item-style date-picker">
<el-date-picker
v-model="infoParams.regDate"
type="datetime"
value-format="x"
placeholder="请选择开单时间"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="11" v-if="false">
<!-- Notes -->
<el-form-item label="床号" prop="it_12" class="item-style">
<el-input placeholder="请输入床号" clearable class="item-width" />
</el-form-item>
</el-col>
</el-row>
<el-row v-if="false">
<el-col :span="24">
<!-- Notes -->
<el-form-item label="诊断" prop="it_14" class="item-style">
<el-input
placeholder="请输入诊断"
type="textarea"
:autosize="{ minRows: 4 }"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="备注" prop="remark" class="item-style">
<el-input
v-model="infoParams.remark"
placeholder="请输入备注"
type="textarea"
:autosize="{ minRows: 7 }"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-row>
<el-col
:span="24"
style="text-align: center; margin-left: 8px; margin-top: 16px; margin-bottom: 10px"
>
<el-button type="primary" size="small" v-show="btnAdd_show" @click="btnAdd_click">
<Icon icon="ep:plus" class="mr-10px" /> 新增
</el-button>
<el-button
type="primary"
size="small"
v-show="btnSubmit_show"
@click="btnSubmit_click"
>
<Icon icon="ep:check" class="mr-10px" /> 保存
</el-button>
<el-button
type="default"
size="small"
v-show="btnCancel_show"
@click="btnCancel_click"
>
<Icon icon="ep:close" class="mr-10px" /> 取消
</el-button>
</el-col>
</el-row>
</el-card>
</el-col>
<el-col :span="14">
<el-card shadow="never" class="card-right ml-2">
<el-scrollbar>
<el-checkbox-group
v-model="infoParams.examItems"
v-loading="formLoading"
:disabled="infoFormRef_disabled"
style="
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-height: 410px;
height: 64vh;
"
>
<el-checkbox
v-for="item in examitemsList"
:key="item.examItemCode"
:label="item.examItemName"
:value="{ examItemCode: item.examItemCode, examItemName: item.examItemName }"
style="margin-right: 15px; margin-bottom: -8px"
/> />
</el-checkbox-group> </el-form-item>
</el-scrollbar> </el-col>
</el-card> <el-col :span="8">
</el-col> <el-form-item label="登记号" prop="regId" class="item-style">
</el-row> <el-input
v-model="infoParams.regId"
placeholder="请输入登记号"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="患者来源" prop="regSource" class="item-style">
<el-select
v-model="infoParams.regSource"
placeholder="请选择患者来源"
clearable
class="item-width"
>
<el-option label="门诊" value="门诊" />
<el-option label="住院" value="住院" />
<el-option label="体检" value="体检" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="姓名" prop="pname" class="item-style">
<el-input
v-model="infoParams.pname"
placeholder="请输入姓名"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="infoParams.gender"
placeholder="请选择性别"
clearable
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="出生日期" prop="birthday" class="item-style date-picker">
<el-date-picker
v-model="infoParams.birthday"
type="date"
value-format="x"
placeholder="请选择出生日期"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="联系电话" prop="contactTel" class="item-style">
<el-input
v-model="infoParams.contactTel"
placeholder="请输入联系电话"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="开单医生" prop="billgDoctor" class="item-style">
<el-select
v-model="infoParams.billgDoctor"
placeholder="请选择开单医生"
clearable
class="item-width"
>
<el-option
v-for="item in doctorList"
:key="item.doctorID"
:label="item.doctorName"
:value="item.doctorName"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="开单科室" prop="billDoctorDepartment" class="item-style">
<el-select
v-model="infoParams.billDoctorDepartment"
placeholder="请选择开单科室"
clearable
class="item-width"
>
<el-option
v-for="item in departmentList"
:key="item.departmentCode"
:label="item.departmentName"
:value="item.departmentName"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="检查设备" prop="deviceId" class="item-style">
<el-select
v-model="deviceInfo"
value-key="deviceId"
placeholder="请选择检查设备"
clearable
class="item-width"
@change="deviceInfo_change"
>
<el-option
v-for="item in deviceList"
:key="item.deviceId"
:label="item.deviceName"
:value="item"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="开单时间" prop="regDate" class="item-style date-picker">
<el-date-picker
v-model="infoParams.regDate"
type="datetime"
value-format="x"
placeholder="请选择开单时间"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="备注" prop="remark" class="item-style">
<el-input
v-model="infoParams.remark"
placeholder="请输入备注"
type="textarea"
:autosize="{ minRows: 5 }"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8" v-if="false">
<el-form-item label="年龄" prop="it_6" class="item-style">
<el-input placeholder="请输入年龄" clearable class="item-width">
<template #append></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8" v-if="false">
<el-form-item label="床号" prop="it_12" class="item-style">
<el-input placeholder="请输入床号" clearable class="item-width" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24" v-if="false">
<el-form-item label="诊断" prop="it_14" class="item-style">
<el-input
placeholder="请输入诊断"
type="textarea"
:autosize="{ minRows: 4 }"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
style="
border: 1px solid silver;
background-color: #f5f7fa;
margin-top: 8px;
padding: 2px 18px;
"
>
<el-scrollbar>
<el-checkbox-group
v-model="infoParams.examItems"
v-loading="formLoading"
:disabled="infoFormRef_disabled"
style="
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-height: 200px;
height: 27vh;
"
>
<el-checkbox
v-for="item in examitemsList"
:key="item.examItemCode"
:label="item.examItemName"
:value="{ examItemCode: item.examItemCode, examItemName: item.examItemName }"
style="margin-right: 15px; margin-bottom: -6px"
/>
</el-checkbox-group>
</el-scrollbar>
</div>
<div style="text-align: center; margin-top: 12px">
<el-button
type="primary"
size="default"
v-show="btnAdd_show"
style="width: 80px"
@click="btnAdd_click"
>
新增
</el-button>
<el-button
type="primary"
size="default"
v-show="btnSubmit_show"
style="width: 80px"
@click="btnSubmit_click"
>
保存
</el-button>
<el-button
type="default"
size="default"
v-show="btnCancel_show"
style="width: 80px"
@click="btnCancel_click"
>
取消
</el-button>
</div>
</ContentWrap>
</div> </div>
</template> </template>
@ -478,9 +463,6 @@ console.log(infoParams0)
.el-form-item__label { .el-form-item__label {
white-space: nowrap; white-space: nowrap;
} }
.card-right {
height: 100%;
}
.item-style { .item-style {
margin-bottom: 8px; margin-bottom: 8px;

View File

@ -1,5 +1,5 @@
<template> <template>
<ContentWrap style="height: 145px;"> <ContentWrap style="height: 145px">
<!-- 搜索工作栏 影像工作站--> <!-- 搜索工作栏 影像工作站-->
<el-form <el-form
class="-mb-15px" class="-mb-15px"
@ -50,7 +50,6 @@
clearable clearable
class="!w-160px" class="!w-160px"
> >
<el-option label="待分检" value="待分检" />
<el-option label="已分检" value="已分检" /> <el-option label="已分检" value="已分检" />
<el-option label="已分析" value="已分析" /> <el-option label="已分析" value="已分析" />
<el-option label="待分析" value="待分析" /> <el-option label="待分析" value="待分析" />
@ -90,13 +89,21 @@
</el-col> </el-col>
</el-form> </el-form>
<el-form-item> <el-form-item>
<el-button <el-button
@click="handleQuery" @click="handleQuery"
style="margin-right: 0px; margin-left: auto; background-color: rgba(56, 119, 246, 1);font-size: 14px; color: rgba(255, 255, 255, 1);" style="
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button margin-right: 0px;
> margin-left: auto;
<el-button @click="resetQuery" style=""><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button> background-color: rgba(56, 119, 246, 1);
<!-- <el-button font-size: 14px;
color: rgba(255, 255, 255, 1);
"
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
>
<el-button @click="resetQuery" style=""
><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button
>
<!-- <el-button
type="primary" type="primary"
plain plain
@click="openForm('create')" @click="openForm('create')"
@ -105,22 +112,34 @@
> >
<Icon icon="ep:plus" class="mr-5px" /> 新增 <Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> --> </el-button> -->
</el-form-item> </el-form-item>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 65px;"> <ContentWrap style="height: 65px">
<el-form-item> <el-form-item>
<el-button <el-button
style="margin-right: 0px; margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);" style="
margin-right: 0px;
margin-left: auto;
background-color: rgb(56, 119, 246);
font-size: 14px;
color: rgb(255, 255, 255);
"
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['tblist:patientexamlist:export']" v-hasPermi="['tblist:patientexamlist:export']"
> >
<Icon icon="ep:download" class="mr-5px" /> 导出 <Icon icon="ep:download" class="mr-5px" /> 导出
</el-button> </el-button>
<el-button @click="dicomDataSync" style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button> <el-button
<el-button @click="dicomDataRefresh" @click="dicomDataSync"
style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);" ><Icon icon="ep:refresh" class="mr-5px" /> 刷新</el-button style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button
>
<el-button
@click="dicomDataRefresh"
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
><Icon icon="ep:refresh" class="mr-5px" /> 刷新</el-button
> >
</el-form-item> </el-form-item>
</ContentWrap> </ContentWrap>
@ -132,8 +151,8 @@
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
@row-dblclick="handleEdit" @row-dblclick="handleEdit"
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px',color:'#333333' }" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px', color: '#333333' }"
:row-style="{height:'56px'}" :row-style="{ height: '56px' }"
> >
<el-table-column type="index" width="50px" /> <el-table-column type="index" width="50px" />
<el-table-column label="" width="100px"> <el-table-column label="" width="100px">
@ -226,8 +245,8 @@
<el-table-column label="操作" align="center" fixed="right"> <el-table-column label="操作" align="center" fixed="right">
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link
style="color: rgb(56, 119, 246);" style="color: rgb(56, 119, 246)"
size="small" size="small"
type="primary" type="primary"
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)" @click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
@ -286,7 +305,7 @@ const queryParams = reactive({
deviceType: '', deviceType: '',
seDc: undefined, seDc: undefined,
examItemName: undefined, examItemName: undefined,
reportstatus: undefined, reportstatus: '',
applicationDate: [], applicationDate: [],
uploadDate: [], uploadDate: [],
orgName: undefined, orgName: undefined,
@ -385,9 +404,21 @@ const getList = async () => {
} }
const dicomDataSync = async () => { const dicomDataSync = async () => {
await PatientexamlistApi.dicomDataSync() const data = await PatientexamlistApi.dicomDataSync()
message.success('同步成功') if (data.code == 'success') {
if (data.syncItems == '0') {
message.info('暂无可同步数据')
} else {
queryParams.reportstatus = '待分析'
examDate_radio_value.value = 0
examDate_radio_change()
message.success('数据同步成功')
}
} else {
message.error('数据同步失败')
}
} }
// //
const dicomDataRefresh = async () => { const dicomDataRefresh = async () => {
await PatientexamlistApi.dicomDataRefresh() await PatientexamlistApi.dicomDataRefresh()

View File

@ -1,5 +1,5 @@
<template> <template>
<ContentWrap style="height: 145px;"> <ContentWrap style="height: 145px">
<!-- 搜索工作栏 超声工作站--> <!-- 搜索工作栏 超声工作站-->
<el-form <el-form
class="-mb-15px" class="-mb-15px"
@ -23,7 +23,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="4">
<el-form-item label="患者姓名" prop="pName"> <el-form-item label="患者姓名" prop="pName">
<el-input <el-input
v-model="queryParams.pname" v-model="queryParams.pname"
@ -44,9 +44,9 @@
clearable clearable
class="!w-160px" class="!w-160px"
> >
<el-option label="待分检" value="待分检" />
<el-option label="已分检" value="已分检" /> <el-option label="已分检" value="已分检" />
<el-option label="已分析" value="已分析" /> <el-option label="已分析" value="已分析" />
<el-option label="待分析" value="待分析" />
<el-option label="已审核" value="已审核" /> <el-option label="已审核" value="已审核" />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -99,11 +99,21 @@
</el-row> </el-row>
</el-form> </el-form>
<el-form-item> <el-form-item>
<el-button @click="handleQuery" style=" margin-right: 0px; margin-left: auto; background-color: rgba(56, 119, 246, 1);font-size: 14px; color: rgba(255, 255, 255, 1);"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button> <el-button
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button> @click="handleQuery"
</el-form-item> style="
margin-right: 0px;
margin-left: auto;
background-color: rgba(56, 119, 246, 1);
font-size: 14px;
color: rgba(255, 255, 255, 1);
"
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
>
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
</el-form-item>
</ContentWrap> </ContentWrap>
<ContentWrap style="height: 65px;"> <ContentWrap style="height: 65px">
<el-form-item> <el-form-item>
<!-- <el-button <!-- <el-button
type="primary" type="primary"
@ -115,17 +125,25 @@
<Icon icon="ep:plus" class="mr-5px" /> 新增 <Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> --> </el-button> -->
<el-button <el-button
style="margin-right: 0px; margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);" style="
@click="handleExport" margin-right: 0px;
:loading="exportLoading" margin-left: auto;
v-hasPermi="['tblist:patientexamlist:export']" background-color: rgb(56, 119, 246);
> font-size: 14px;
<Icon icon="ep:download" class="mr-5px" /> 导出 color: rgb(255, 255, 255);
</el-button> "
<el-button @click="dicomDataSync" style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button> @click="handleExport"
:loading="exportLoading"
v-hasPermi="['tblist:patientexamlist:export']"
>
<Icon icon="ep:download" class="mr-5px" /> 导出
</el-button>
<el-button
@click="dicomDataSync"
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button
>
</el-form-item> </el-form-item>
</ContentWrap> </ContentWrap>
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
@ -135,8 +153,8 @@
:stripe="true" :stripe="true"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
@row-dblclick="handleEdit" @row-dblclick="handleEdit"
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' ,color:'#333333'}" :header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px', color: '#333333' }"
:row-style="{height:'56px'}" :row-style="{ height: '56px' }"
> >
<el-table-column type="index" width="50px" /> <el-table-column type="index" width="50px" />
<el-table-column label="" width="100px"> <el-table-column label="" width="100px">
@ -234,7 +252,7 @@
type="primary" type="primary"
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)" @click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
v-hasPermi="['tblist:patientexamlist:query']" v-hasPermi="['tblist:patientexamlist:query']"
style="color: rgb(56, 119, 246);" style="color: rgb(56, 119, 246)"
> >
申请 申请
</el-button> </el-button>
@ -291,7 +309,7 @@ const queryParams = reactive({
deviceType: '', deviceType: '',
seDc: undefined, seDc: undefined,
examItemName: undefined, examItemName: undefined,
reportstatus: undefined, reportstatus: '',
applicationDate: [], applicationDate: [],
uploadDate: [], uploadDate: [],
orgName: undefined, orgName: undefined,
@ -388,8 +406,19 @@ const getList = async () => {
} }
const dicomDataSync = async () => { const dicomDataSync = async () => {
await PatientexamlistApi.dicomDataSync() const data = await PatientexamlistApi.dicomDataSync()
message.success('同步成功') if (data.code == 'success') {
if (data.syncItems == '0') {
message.info('暂无可同步数据')
} else {
queryParams.reportstatus = '待分析'
examDate_radio_value.value = 0
examDate_radio_change()
message.success('数据同步成功')
}
} else {
message.error('数据同步失败')
}
} }
/** 搜索按钮操作 */ /** 搜索按钮操作 */