批量修改

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 })
},
}
/** 防空作用域 **/
console.log(request)

View File

@ -10,7 +10,7 @@ export const DiagnosisTemplateApi = {
return await request.get({ url: `/org/org/getlist` })
},
getDoctorList: async () => {
return await request.get({ url: `/doctor/getlist` })
return await request.get({ url: `/doctor/getAlllist` })
},
getPage: async (params: any) => {
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 })
},
}
/** 防空作用域 **/
console.log(request)

View File

@ -25,7 +25,3 @@ export const ExampartManageApi = {
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 })
}
}
/** 防空作用域 **/
console.log(request)

View File

@ -9,17 +9,10 @@ export const ReportPrintStatisticsApi = {
getDeviceList: async () => {
return await request.get({ url: `/test/device/getlist` })
},
getExamitemsList: async () => {
return await request.get({ url: `/examitems/examitems/getlist` })
},
getPage: async (params: any) => {
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 })
}
}
/** 防空作用域 **/
console.log(request)

View File

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

View File

@ -4,7 +4,7 @@
<el-form
ref="formRef"
:model="formData"
size="small"
size="default"
label-width="100px"
label-position="right"
label-suffix=""
@ -22,7 +22,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="7">
<el-form-item label="设备状态" prop="deviceStatus" class="item-style">
<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>

View File

@ -4,15 +4,14 @@
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="68px"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-15px"
>
<el-row>
<el-col :span="6" v-if="false">
<!-- Notes -->
<el-form-item
label="名称/类型/型号"
prop="deviceDesc"
@ -27,8 +26,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="6">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="科室" prop="departmentCode" class="item-style">
<el-select
v-model="deviceDepartmentInfo"
@ -47,8 +45,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="设备名称" prop="deviceName" class="item-style">
<el-input
v-model="queryParams.deviceName"
@ -58,8 +55,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="6">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="设备类型" prop="deviceType" class="item-style">
<el-select
v-model="queryParams.deviceType"
@ -74,8 +70,9 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<!-- Notes -->
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="设备型号" prop="deviceModel" class="item-style">
<el-input
v-model="queryParams.deviceModel"
@ -85,32 +82,42 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :offset="18" :span="6">
<!-- Notes -->
<el-form-item label-width="8px" class="item-style">
<el-button @click="handleQuery">
<Icon icon="ep:search" class="mr-5px" /> 搜索
</el-button>
<el-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
<el-col :offset="10" :span="6" 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 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">
<el-table
v-loading="loading"
size="small"
size="default"
border
:stripe="true"
:show-overflow-tooltip="true"
: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 label="科室" align="center" prop="deviceDepartment" />
@ -119,20 +126,24 @@
<el-table-column label="设备型号" align="center" prop="deviceModel" />
<el-table-column label="设备AET" align="center" prop="scheduledAET" />
<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">
<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 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>
</el-table-column>
<!-- 数据列 -->
</el-table>
<div style="display: flex; justify-content: center">
<div>
<Pagination
small
size="small"
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"

View File

@ -4,7 +4,7 @@
<el-form
ref="formRef"
:model="formData"
size="small"
size="default"
label-width="70px"
label-position="right"
label-suffix=""
@ -50,23 +50,6 @@
</el-col>
</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-form-item label="医生" prop="privateDoctorId" class="item-style">
<el-select
@ -84,6 +67,23 @@
</el-select>
</el-form-item>
</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-form>
@ -194,7 +194,6 @@ onMounted(async () => {
console.log(dateFormatter)
console.log(message)
console.log(t)
console.log(DiagnosisTemplateApi)
console.log(formData0)
//console.log(null)

View File

@ -4,15 +4,14 @@
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="68px"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-15px"
>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-col :span="9">
<el-form-item label="节点" prop="templateName" class="item-style">
<el-input
v-model="queryParams.templateName"
@ -23,61 +22,76 @@
</el-form-item>
</el-col>
<el-col :span="6">
<!-- Notes -->
<el-form-item label="模板类型" prop="templateLimitsType" class="item-style">
<el-radio-group
v-model="queryParams.templateLimitsType"
class="item-width radio-group"
>
<el-radio value="all" style="margin-left: 12px; margin-right: 20px">全部</el-radio>
<el-radio value="public" style="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: 25px">公共</el-radio>
<el-radio value="private" style="margin-right: 4px">私有</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="10">
<!-- Notes -->
<el-form-item class="item-style">
<el-button @click="handleQuery">
<Icon icon="ep:search" class="mr-5px" /> 搜索
</el-button>
<el-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
<el-col :span="9" 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 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">
<el-table
v-loading="loading"
size="small"
size="default"
border
:stripe="true"
:show-overflow-tooltip="true"
: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="examDescription" />
<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">
<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 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>
</el-table-column>
<!-- 数据列 -->
</el-table>
<div style="display: flex; justify-content: center">
<div>
<Pagination
small
size="small"
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@ -173,8 +187,6 @@ console.log(dateFormatter)
console.log(download)
console.log(message)
console.log(t)
console.log(DiagnosisTemplateApi)
console.log(DiagnosisTemplateForm)
console.log(queryParams0)
//console.log(null)

View File

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

View File

@ -4,15 +4,14 @@
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="90px"
size="default"
label-width="106px"
label-position="right"
label-suffix=""
class="-mb-15px"
>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-col :span="9">
<el-form-item label="检查部位名称" prop="examPartName" class="item-style">
<el-input
v-model="queryParams.examPartName"
@ -22,8 +21,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="8">
<!-- Notes -->
<el-col :span="9">
<el-form-item label="检查部位编码" prop="examPartCode" class="item-style">
<el-input
v-model="queryParams.examPartCode"
@ -33,48 +31,65 @@
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="" label-width="42px" class="item-style">
<el-button @click="handleQuery">
<Icon icon="ep:search" class="mr-5px" /> 搜索
</el-button>
<el-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
<el-col :span="6" 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 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">
<el-table
v-loading="loading"
size="small"
size="default"
border
:stripe="true"
:show-overflow-tooltip="true"
: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 label="检查部位编码" align="center" prop="examPartCode" />
<el-table-column label="检查部位名称" align="center" prop="examPartName" />
<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">
<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 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>
</el-table-column>
<!-- 数据列 -->
</el-table>
<div style="display: flex; justify-content: center">
<div>
<Pagination
small
size="small"
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"

View File

@ -1,275 +1,296 @@
<template>
<div>
<el-row>
<el-col :span="24">
<el-card shadow="never" style="margin-bottom: 4px">
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="68px"
label-position="right"
label-suffix=""
class="-mb-15px"
>
<el-row>
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="queryParams.regId"
placeholder="请输入登记号"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="检查号" prop="examId" class="item-style">
<el-input
v-model="queryParams.examId"
placeholder="请输入检查号"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="5">
<!-- Notes -->
<el-form-item label="检查日期" prop="examDate_ge" class="item-style date-picker">
<el-date-picker
v-model="queryParams.examDate_ge"
type="date"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="开始日期"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="3">
<!-- Notes -->
<el-form-item
label=""
label-width="0px"
prop="examDate_le"
class="item-style date-picker"
>
<el-date-picker
v-model="queryParams.examDate_le"
type="date"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="结束日期"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="7" v-if="false">
<!-- Notes -->
<el-form-item label="患者来源" prop="regSource" class="item-style">
<el-radio-group class="item-width radio-group">
<el-radio value="全部" style="margin-left: 6px; margin-right: 16px"
>全部</el-radio
>
<el-radio value="门诊" style="margin-right: 16px">门诊</el-radio>
<el-radio value="住院" style="margin-right: 16px">住院</el-radio>
<el-radio value="体检" 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="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"
<ContentWrap>
<el-form
ref="queryFormRef"
:model="queryParams"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-15px"
>
<el-row>
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="queryParams.regId"
placeholder="请输入登记号"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="检查号" prop="examId" class="item-style">
<el-input
v-model="queryParams.examId"
placeholder="请输入检查号"
clearable
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="检查日期" prop="examDate_ge" class="item-style date-picker">
<el-date-picker
v-model="queryParams.examDate_ge"
type="date"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="开始日期"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="3">
<el-form-item
label=""
label-width="0px"
prop="examDate_le"
class="item-style date-picker"
>
<el-date-picker
v-model="queryParams.examDate_le"
type="date"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="结束日期"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="7" v-if="false">
<el-form-item label="患者来源" prop="regSource" class="item-style">
<el-radio-group class="item-width radio-group">
<el-radio value="全部" style="margin-left: 6px; margin-right: 16px">全部</el-radio>
<el-radio value="门诊" style="margin-right: 16px">门诊</el-radio>
<el-radio value="住院" style="margin-right: 16px">住院</el-radio>
<el-radio value="体检" style="margin-right: 4px">体检</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="影像设备" prop="deviceName" class="item-style">
<el-select
v-model="queryParams.deviceName"
placeholder="请选择影像设备"
clearable
class="item-width"
>
<el-button @click="handleQuery">
<Icon icon="ep:search" class="mr-5px" /> 搜索
</el-button>
</el-col>
</el-row>
</el-form>
</el-card>
</el-col>
</el-row>
<el-row>
<el-col :span="16">
<el-card shadow="never" style="min-height: 400px">
<el-table
v-loading="loading"
size="small"
border
fit
:stripe="true"
:show-overflow-tooltip="true"
:data="list_IllnessCase"
height="max(45vh,330px)"
@row-click="handleRowClick"
>
<el-table-column type="index" label="序号" align="center" width="54px" />
<el-table-column label="登记号" align="center" prop="regId" width="120px" />
<el-table-column label="检查号" align="center" prop="examId" width="120px" />
<el-table-column label="患者姓名" align="center" prop="pname" width="100px" />
<el-table-column label="性别" align="center" prop="gender" width="48px" />
<el-table-column
label="出生日期"
align="center"
prop="birthday"
:formatter="dateFormatter2"
width="90px"
/>
<el-table-column
label="检查日期"
align="center"
prop="examDate"
:formatter="dateFormatter2"
width="90px"
/>
<el-table-column
label="检查部位"
header-align="center"
prop="examItemName"
width="160px"
/>
<el-table-column
label="影像设备"
header-align="center"
prop="deviceName"
width="160px"
/>
<el-table-column label="阴性阳性" align="center" prop="diagFlag">
<template #default="scope">
<el-tag v-if="scope.row.diagFlag == '0'">阴性</el-tag>
<el-tag v-else-if="scope.row.diagFlag == '1'">阳性</el-tag>
<el-tag v-else-if="scope.row.diagFlag == '2'">重大阳性</el-tag>
<el-tag type="danger" v-else>暂无</el-tag>
</template>
</el-table-column>
<!-- 数据列 -->
</el-table>
<div style="display: flex; justify-content: center">
<Pagination
small
size="small"
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
</div>
</el-card>
</el-col>
<el-col :span="8">
<el-card shadow="never" style="height: 100%" class="ml-1">
<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">
<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">
<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">
<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">
<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">
<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">
<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-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-col :span="24">
<el-form-item label="检查描述" class="item-style">
@ -298,9 +319,9 @@
</el-row>
</el-form>
</el-scrollbar>
</el-card>
</el-col>
</el-row>
</el-tab-pane>
</el-tabs>
</el-drawer>
<!-- 可参考内容 -->
</div>
</template>
@ -323,6 +344,8 @@ const queryFormRef = ref()
/** 数据结构 **/
const message = useMessage()
const { t } = useI18n()
const activeDrawer = ref(false)
const activeTabName = ref('diagnosisInfo')
const diagnosisDesc = ref('')
const examitemsDesc = ref('')
const deviceList = ref<any[]>([])
@ -368,8 +391,6 @@ const getList = async () => {
loading.value = true
try {
const data = await IllnessCaseApi.getPage(queryParams.value)
console.log('---------------------')
console.log(data.list)
list_IllnessCase.value = data.list
total.value = data.total
} finally {
@ -385,6 +406,7 @@ const handleQuery = async () => {
const handleRowClick = async (row) => {
examitemsDesc.value = row ? row.examDescription : ''
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>
<div>
<el-row>
<el-col :span="10">
<el-card shadow="never" v-loading="formLoading" style="min-height: 540px; height: 76vh">
<el-form
ref="infoFormRef"
:model="infoParams"
size="small"
label-width="68px"
label-position="right"
label-suffix=""
class="-mb-10px"
:disabled="infoFormRef_disabled"
>
<el-row>
<el-col :span="13">
<!-- Notes -->
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="infoParams.regId"
placeholder="请输入登记号"
clearable
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"
<ContentWrap
v-loading="formLoading"
style="min-height: 550px; height: max(calc(100vh - 195px), 550px)"
>
<el-form
ref="infoFormRef"
:model="infoParams"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-7px"
:disabled="infoFormRef_disabled"
>
<el-row>
<el-col :span="8">
<el-form-item label="申请单号" class="item-style">
<el-input
v-model="examIdFirst"
placeholder="申请单号"
:disabled="true"
class="item-width"
/>
</el-checkbox-group>
</el-scrollbar>
</el-card>
</el-col>
</el-row>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<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>
</template>
@ -478,9 +463,6 @@ console.log(infoParams0)
.el-form-item__label {
white-space: nowrap;
}
.card-right {
height: 100%;
}
.item-style {
margin-bottom: 8px;

View File

@ -1,5 +1,5 @@
<template>
<ContentWrap style="height: 145px;">
<ContentWrap style="height: 145px">
<!-- 搜索工作栏 影像工作站-->
<el-form
class="-mb-15px"
@ -50,7 +50,6 @@
clearable
class="!w-160px"
>
<el-option label="待分检" value="待分检" />
<el-option label="已分检" value="已分检" />
<el-option label="已分析" value="已分析" />
<el-option label="待分析" value="待分析" />
@ -90,13 +89,21 @@
</el-col>
</el-form>
<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 @click="resetQuery" style=""><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
<!-- <el-button
<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 @click="resetQuery" style=""
><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button
>
<!-- <el-button
type="primary"
plain
@click="openForm('create')"
@ -105,22 +112,34 @@
>
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> -->
</el-form-item>
</el-form-item>
</ContentWrap>
<ContentWrap style="height: 65px;">
<ContentWrap style="height: 65px">
<el-form-item>
<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"
: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-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-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
@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>
</ContentWrap>
@ -132,8 +151,8 @@
:stripe="true"
:show-overflow-tooltip="true"
@row-dblclick="handleEdit"
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px',color:'#333333' }"
:row-style="{height:'56px'}"
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px', color: '#333333' }"
:row-style="{ height: '56px' }"
>
<el-table-column type="index" width="50px" />
<el-table-column label="" width="100px">
@ -226,8 +245,8 @@
<el-table-column label="操作" align="center" fixed="right">
<template #default="scope">
<el-button
link
style="color: rgb(56, 119, 246);"
link
style="color: rgb(56, 119, 246)"
size="small"
type="primary"
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
@ -286,7 +305,7 @@ const queryParams = reactive({
deviceType: '',
seDc: undefined,
examItemName: undefined,
reportstatus: undefined,
reportstatus: '',
applicationDate: [],
uploadDate: [],
orgName: undefined,
@ -385,9 +404,21 @@ const getList = async () => {
}
const dicomDataSync = async () => {
await PatientexamlistApi.dicomDataSync()
message.success('同步成功')
const data = await PatientexamlistApi.dicomDataSync()
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 () => {
await PatientexamlistApi.dicomDataRefresh()

View File

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