批量修改

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,9 +9,6 @@ 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 })
},
@ -19,7 +16,3 @@ export const ReportPrintStatisticsApi = {
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">
<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-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
</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">
<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-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
</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">
<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-button type="primary" plain @click="openForm('create')">
<Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button>
</el-form-item>
</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,13 +1,11 @@
<template>
<div>
<el-row>
<el-col :span="24">
<el-card shadow="never" style="margin-bottom: 4px">
<ContentWrap>
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="68px"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-15px"
@ -34,7 +32,6 @@
</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"
@ -46,7 +43,6 @@
</el-form-item>
</el-col>
<el-col :span="3">
<!-- Notes -->
<el-form-item
label=""
label-width="0px"
@ -63,12 +59,9 @@
</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-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>
@ -78,7 +71,6 @@
</el-row>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="影像设备" prop="deviceName" class="item-style">
<el-select
v-model="queryParams.deviceName"
@ -96,7 +88,6 @@
</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"
@ -112,7 +103,6 @@
</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>
@ -125,7 +115,6 @@
</el-row>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="检查部位" prop="examItemName" class="item-style">
<el-select
v-model="queryParams.examItemName"
@ -143,7 +132,6 @@
</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"
@ -161,7 +149,6 @@
</el-row>
<el-row>
<el-col :span="8">
<!-- Notes -->
<el-form-item label="患者姓名" prop="pname" class="item-style">
<el-input
v-model="queryParams.pname"
@ -172,7 +159,6 @@
</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"
@ -185,91 +171,126 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:offset="4"
:span="8"
style="text-align: left; padding-left: 10px; margin-bottom: 6px"
<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)"
>
<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">
</ContentWrap>
<ContentWrap class="mb-1px">
<el-table
v-loading="loading"
size="small"
size="default"
border
fit
:stripe="true"
:show-overflow-tooltip="true"
:data="list_IllnessCase"
height="max(45vh,330px)"
@row-click="handleRowClick"
: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="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="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="90px"
width="110px"
/>
<el-table-column
label="检查日期"
align="center"
prop="examDate"
:formatter="dateFormatter2"
width="90px"
width="110px"
/>
<el-table-column
label="检查部位"
header-align="center"
prop="examItemName"
width="160px"
min-width="260px"
/>
<el-table-column
label="影像设备"
header-align="center"
prop="deviceName"
width="160px"
min-width="260px"
/>
<el-table-column label="阴性阳性" align="center" prop="diagFlag">
<el-table-column
label="阴性阳性"
align="center"
prop="diagFlag"
fixed="right"
width="100px"
>
<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>
<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 style="display: flex; justify-content: center">
<div>
<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">
</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
}
/** 钩子方法 **/

View File

@ -1,19 +1,17 @@
<template>
<div>
<el-row>
<el-col :span="9">
<el-card shadow="never" style="min-height: 460px; height: 100%">
<ContentWrap>
<el-form
ref="queryFormRef"
:model="queryParams"
size="small"
label-width="64px"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="mb-2px -ml-14px"
class="-mb-15px"
>
<el-row>
<el-col :span="24">
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="queryParams.regId"
@ -23,9 +21,7 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-col :span="8">
<el-form-item label="检查号" prop="examId" class="item-style">
<el-input
v-model="queryParams.examId"
@ -35,9 +31,7 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-col :span="5">
<el-form-item label="检查日期" prop="examDate_ge" class="item-style date-picker">
<el-date-picker
v-model="queryParams.examDate_ge"
@ -48,7 +42,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="11">
<el-col :span="3">
<el-form-item
label=""
label-width="0px"
@ -66,7 +60,7 @@
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-col :span="8">
<el-form-item label="影像设备" prop="deviceName" class="item-style">
<el-select
v-model="queryParams.deviceName"
@ -83,9 +77,7 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-col :span="8">
<el-form-item label="患者姓名" prop="pname" class="item-style">
<el-input
v-model="queryParams.pname"
@ -95,97 +87,148 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div style="text-align: right" class="item-style">
<el-button @click="handleQuery">
<Icon icon="ep:search" class="mr-2px" /> 搜索
<el-col :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-button type="primary" plain v-if="false">
<Icon icon="ep:printer" class="mr-2px" /> 打印
</el-button>
</div>
</el-col>
</el-row>
</el-form>
</ContentWrap>
<ContentWrap style="height: 64px" v-show="false">
<el-row>
<el-col :offset="16" :span="8" style="text-align: right">
<el-button
@click="handlePrint"
style="background-color: rgb(28, 176, 117); color: rgb(255, 255, 255)"
>
<Icon icon="ep:printer" class="mr-5px" /> 打印
</el-button>
</el-col>
</el-row>
</ContentWrap>
<ContentWrap class="mb-1px">
<el-table
ref="infoTableRef"
v-loading="loading"
size="small"
size="default"
border
:stripe="true"
:show-overflow-tooltip="true"
:data="list_infos"
height="max(calc(100vh - 460px),280px)"
@row-click="handleRowClick"
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '40px', color: '#333333' }"
:row-style="{ height: '40px' }"
height="max(calc(100vh - 465px),100px)"
>
<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 type="selection" align="center" width="44px" />
<el-table-column label="序号" align="center" width="54px">
<template #default="scope"> {{ scope.$index + 1 }} </template>
</el-table-column>
<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="90px"
width="110px"
/>
<el-table-column
label="检查日期"
align="center"
prop="examDate"
:formatter="dateFormatter2"
width="90px"
width="110px"
/>
<el-table-column
label="检查项目"
header-align="center"
prop="examItemName"
width="160px"
min-width="260px"
/>
<el-table-column
label="影像设备"
header-align="center"
prop="deviceName"
width="160px"
min-width="260px"
/>
<el-table-column label="阴性阳性" align="center" prop="diagFlag">
<el-table-column
label="阴性阳性"
align="center"
prop="diagFlag"
fixed="right"
width="100px"
>
<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>
<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 style="display: flex; justify-content: center">
<div>
<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="15">
<el-tabs v-model="activeTabName" type="border-card" style="height: 100%" class="ml-1">
</ContentWrap>
<el-drawer v-model="activeDrawer" direction="rtl" :with-header="false" size="74%">
<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; height: 100%">
<el-tab-pane label="诊断信息" name="diagnosisInfo">
<el-form
ref="infoFormRef"
:model="infoParams"
size="small"
label-width="64px"
size="default"
label-width="74px"
label-position="right"
label-suffix=""
class="mb-20px -ml-4px"
class="mb-20px -ml-10px"
>
<el-row>
<el-col :span="13">
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="infoParams.regId"
@ -195,7 +238,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="11">
<el-col :span="8">
<el-form-item label="检查号" prop="examId" class="item-style">
<el-input
v-model="infoParams.examId"
@ -205,76 +248,7 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-form-item label="姓名" prop="pname" class="item-style">
<el-input
v-model="infoParams.pname"
clearable
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="infoParams.gender"
placeholder=""
clearable
:disabled="diagnosisInfo_readonly"
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-form-item label="出生日期" prop="birthday" class="item-style date-picker">
<el-date-picker
v-model="infoParams.birthday"
type="date"
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="年龄" class="item-style">
<el-input
v-model="age"
clearable
:readonly="diagnosisInfo_readonly"
class="item-width"
>
<template #append></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-form-item label="送检科室" prop="billDoctorDepartment" class="item-style">
<el-input
v-model="infoParams.billDoctorDepartment"
clearable
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="11" v-if="false">
<el-form-item label="申请医生" prop="it_14" class="item-style">
<el-input clearable :readonly="true" class="item-width" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-col :span="8">
<el-form-item
label="检查日期"
prop="applicationDate"
@ -290,7 +264,67 @@
</el-col>
</el-row>
<el-row>
<el-col :span="13">
<el-col :span="8">
<el-form-item label="姓名" prop="pname" class="item-style">
<el-input
v-model="infoParams.pname"
clearable
:readonly="diagnosisInfo_readonly"
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="infoParams.gender"
placeholder=""
clearable
:disabled="diagnosisInfo_readonly"
class="item-width"
>
<el-option label="男" value="男" />
<el-option label="女" value="女" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="年龄" class="item-style">
<el-input
v-model="age"
clearable
:readonly="diagnosisInfo_readonly"
class="item-width"
>
<template #append>
<span style="width: 1px"></span>
</template>
</el-input>
</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"
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="送检科室" prop="billDoctorDepartment" class="item-style">
<el-input
v-model="infoParams.billDoctorDepartment"
clearable
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="检查项目" class="item-style">
<el-input
v-model="examItemNameEdit"
@ -300,20 +334,27 @@
/>
</el-form-item>
</el-col>
<el-col :span="11" v-show="examItemNameEditShow">
<el-button class="ml-10px -mr-8px" type="primary" @click="examItemNameEdit_save">
<el-col :span="8" v-show="examItemNameEditShow">
<el-button class="ml-10px -mr-6px" type="primary" @click="examItemNameEdit_save">
保存
</el-button>
<el-button @click="examItemNameEdit_reset"> 重置 </el-button>
</el-col>
</el-row>
<el-row>
<el-col :span="11" v-if="false">
<el-form-item label="申请医生" prop="it_14" class="item-style">
<el-input clearable :readonly="true" class="item-width" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="所见" prop="examDescription" class="item-style">
<el-input
v-model="infoParams.examDescription"
type="textarea"
:autosize="{ minRows: 6, maxRows: 9 }"
:autosize="{ minRows: 5, maxRows: 9 }"
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
@ -326,7 +367,7 @@
<el-input
v-model="infoParams.diagResults"
type="textarea"
:autosize="{ minRows: 6, maxRows: 9 }"
:autosize="{ minRows: 5, maxRows: 9 }"
:readonly="diagnosisInfo_readonly"
class="item-width"
/>
@ -387,13 +428,9 @@
<p>医生签名{{ infoParams.reviewDoctor }}</p>
</div>
</div>
<el-divider />
<div>
<el-button
type="primary"
style="width: 100px; float: right"
class="ignore-print"
v-print="'printMe'"
<el-divider class="ignore-print" />
<div style="text-align: center; margin-top: 10px; margin-bottom: 12px">
<el-button type="primary" style="width: 90px" class="ignore-print" v-print="'printMe'"
>打印</el-button
>
</div>
@ -476,11 +513,11 @@
</div>
</div>
</div>
<el-divider />
<div>
<el-divider class="ignore-print" />
<div style="text-align: center; margin-top: 10px; margin-bottom: 12px">
<el-button
type="primary"
style="width: 100px; float: right"
style="width: 90px"
class="ignore-print"
v-print="'printMe2'"
>打印</el-button
@ -489,8 +526,7 @@
</div>
</el-tab-pane>
</el-tabs>
</el-col>
</el-row>
</el-drawer>
<!-- 可参考内容 -->
</div>
</template>
@ -511,10 +547,12 @@ defineOptions({ name: 'ReportPrintStatistics' })
/** 组件引用 **/
const queryFormRef = ref()
const infoFormRef = ref()
const infoTableRef = ref()
/** 数据结构 **/
const message = useMessage()
const { t } = useI18n()
const activeDrawer = ref(false)
const activeTabName = ref('diagnosisInfo')
const reportInfoType = ref('') //usct
const diagnosisInfo_readonly = ref(true)
@ -657,12 +695,12 @@ const getList = async () => {
}
}
const handleQuery = () => {
const handleQuery = async () => {
queryParams.value.pageNo = 1
getList()
}
const handleRowClick = (row) => {
const handleRowClick = async (row) => {
resetDiagnosisInfo()
if (row) {
infoParams.value = row
@ -674,6 +712,12 @@ const handleRowClick = (row) => {
loadimage(row.orgId, row.regId)
} else reportInfoType.value = 'ct'
}
activeTabName.value = 'diagnosisInfo'
activeDrawer.value = true
}
const handlePrint = async () => {
console.log(infoTableRef.value.getSelectionRows())
}
/** 钩子方法 **/
@ -704,7 +748,7 @@ console.log(infoParams0)
}
.item-style {
margin-bottom: 6px;
margin-bottom: 8px;
}
.item-width {

View File

@ -1,21 +1,31 @@
<template>
<div>
<el-row>
<el-col :span="10">
<el-card shadow="never" v-loading="formLoading" style="min-height: 540px; height: 76vh">
<ContentWrap
v-loading="formLoading"
style="min-height: 550px; height: max(calc(100vh - 195px), 550px)"
>
<el-form
ref="infoFormRef"
:model="infoParams"
size="small"
label-width="68px"
size="default"
label-width="78px"
label-position="right"
label-suffix=""
class="-mb-10px"
class="-mb-7px"
:disabled="infoFormRef_disabled"
>
<el-row>
<el-col :span="13">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="申请单号" class="item-style">
<el-input
v-model="examIdFirst"
placeholder="申请单号"
:disabled="true"
class="item-width"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记号" prop="regId" class="item-style">
<el-input
v-model="infoParams.regId"
@ -25,8 +35,7 @@
/>
</el-form-item>
</el-col>
<el-col :span="11">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="患者来源" prop="regSource" class="item-style">
<el-select
v-model="infoParams.regSource"
@ -42,21 +51,7 @@
</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-col :span="8">
<el-form-item label="姓名" prop="pname" class="item-style">
<el-input
v-model="infoParams.pname"
@ -66,10 +61,7 @@
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="性别" prop="gender" class="item-style">
<el-select
v-model="infoParams.gender"
@ -82,21 +74,7 @@
</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-col :span="8">
<el-form-item label="出生日期" prop="birthday" class="item-style date-picker">
<el-date-picker
v-model="infoParams.birthday"
@ -107,40 +85,36 @@
/>
</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="请选择检查设备"
<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"
@change="deviceInfo_change"
>
<el-option
v-for="item in deviceList"
:key="item.deviceId"
:label="item.deviceName"
:value="item"
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="24">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="开单科室" prop="billDoctorDepartment" class="item-style">
<el-select
v-model="infoParams.billDoctorDepartment"
@ -159,28 +133,26 @@
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<!-- Notes -->
<el-form-item label="开单医生" prop="billgDoctor" class="item-style">
<el-col :span="8">
<el-form-item label="检查设备" prop="deviceId" class="item-style">
<el-select
v-model="infoParams.billgDoctor"
placeholder="请选择开单医生"
v-model="deviceInfo"
value-key="deviceId"
placeholder="请选择检查设备"
clearable
class="item-width"
@change="deviceInfo_change"
>
<el-option
v-for="item in doctorList"
:key="item.doctorID"
:label="item.doctorName"
:value="item.doctorName"
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="13">
<!-- Notes -->
<el-col :span="8">
<el-form-item label="开单时间" prop="regDate" class="item-style date-picker">
<el-date-picker
v-model="infoParams.regDate"
@ -191,16 +163,36 @@
/>
</el-form-item>
</el-col>
<el-col :span="11" v-if="false">
<!-- Notes -->
</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 v-if="false">
<el-col :span="24">
<!-- Notes -->
<el-row>
<el-col :span="24" v-if="false">
<el-form-item label="诊断" prop="it_14" class="item-style">
<el-input
placeholder="请输入诊断"
@ -211,52 +203,16 @@
</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">
<div
style="
border: 1px solid silver;
background-color: #f5f7fa;
margin-top: 8px;
padding: 2px 18px;
"
>
<el-scrollbar>
<el-checkbox-group
v-model="infoParams.examItems"
@ -266,8 +222,8 @@
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-height: 410px;
height: 64vh;
min-height: 200px;
height: 27vh;
"
>
<el-checkbox
@ -275,13 +231,42 @@
:key="item.examItemCode"
:label="item.examItemName"
:value="{ examItemCode: item.examItemCode, examItemName: item.examItemName }"
style="margin-right: 15px; margin-bottom: -8px"
style="margin-right: 15px; margin-bottom: -6px"
/>
</el-checkbox-group>
</el-scrollbar>
</el-card>
</el-col>
</el-row>
</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="待分析" />
@ -92,10 +91,18 @@
<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);"
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 @click="resetQuery" style=""
><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button
>
<!-- <el-button
type="primary"
plain
@ -108,19 +115,31 @@
</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>
@ -227,7 +246,7 @@
<template #default="scope">
<el-button
link
style="color: rgb(56, 119, 246);"
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"
@ -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="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);"
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="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>
@ -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('数据同步失败')
}
}
/** 搜索按钮操作 */