修改超声、影像、申请单列表界面

This commit is contained in:
lxd 2024-08-09 11:02:11 +08:00
parent 27d8222975
commit 9281dadf57
6 changed files with 31 additions and 28 deletions

View File

@ -172,11 +172,11 @@
> >
<el-table-column type="selection" width="55" /> <el-table-column type="selection" width="55" />
<el-table-column label="主键" align="center" prop="id" v-if="false" /> <el-table-column label="主键" align="center" prop="id" v-if="false" />
<el-table-column label="登记单号" align="center" prop="regId" width="100px" /> <el-table-column label="登记单号" align="center" prop="regId" width="150px" />
<el-table-column label="登记来源" align="center" prop="regSource" width="100px" /> <el-table-column label="登记来源" align="center" prop="regSource" width="80px" />
<el-table-column label="检查单号" align="center" prop="examId" /> <el-table-column label="检查单号" align="center" prop="examId" width="150px" />
<el-table-column label="患者姓名" align="center" prop="pname" width="100px" /> <el-table-column label="患者姓名" align="center" prop="pname" width="100px" />
<el-table-column label="性别" align="center" prop="gender" width="100px" /> <el-table-column label="性别" align="center" prop="gender" width="60px" />
<el-table-column <el-table-column
label="出生日期" label="出生日期"
align="center" align="center"
@ -192,10 +192,10 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="180px" width="180px"
/> />
<el-table-column label="检查项目名称" align="center" prop="examItemName" width="140px" /> <el-table-column label="检查项目名称" align="center" prop="examItemName" width="130px" />
<el-table-column label="检查设备ID" align="center" prop="deviceId" v-if="false" /> <el-table-column label="检查设备ID" align="center" prop="deviceId" v-if="false" />
<el-table-column label="检查设备" align="center" prop="deviceName" width="130px" /> <el-table-column label="检查设备" align="center" prop="deviceName" width="130px" />
<el-table-column label="联系电话" align="center" prop="contactTel" /> <el-table-column label="联系电话" align="center" prop="contactTel" width="120px"/>
<el-table-column <el-table-column
label="登记时间" label="登记时间"
align="center" align="center"
@ -230,7 +230,7 @@
<el-table-column label="检查项目代码" align="center" prop="examItemCode" v-if="false" /> <el-table-column label="检查项目代码" align="center" prop="examItemCode" v-if="false" />
<el-table-column label="机构ID" align="center" prop="orgId" v-if="false" /> <el-table-column label="机构ID" align="center" prop="orgId" v-if="false" />
<el-table-column label="分检医生" align="center" prop="sortDoctor" width="100px" /> <el-table-column label="分检医生" align="center" prop="sortDoctor" width="100px" />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right" width="180px">
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link
@ -271,7 +271,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
import download from '@/utils/download' import download from '@/utils/download'
import { ApplyformApi, ApplyformVO, UPFJApplyformVO } from '@/api/applyregistration/applyform' import { ApplyformApi, ApplyformVO, UPFJApplyformVO } from '@/api/applyregistration/applyform'
import ApplyformForm from './ApplyformForm.vue' import ApplyformForm from './ApplyformForm.vue'

View File

@ -488,7 +488,7 @@ const newSrc = ref('')
/** 打开弹窗 */ /** 打开弹窗 */
const open = async (id: number, orgid: string, regid: string) => { const open = async (id: number, orgid: string, regid: string) => {
resetForm() resetForm()
const Src = `/public/dicom/dicomViewPc1.html?t=${new Date().getTime()}` const Src = `/dicom/dicomViewPc1.html?t=${new Date().getTime()}`
newSrc.value = Src newSrc.value = Src
console.log('orgid' + orgid) console.log('orgid' + orgid)

View File

@ -156,7 +156,7 @@
/> />
<el-table-column label="上级机构的机构名称" align="center" prop="highLevelOrgName" /> <el-table-column label="上级机构的机构名称" align="center" prop="highLevelOrgName" />
<el-table-column label="机构logo的URL" align="center" prop="orgLogoUrl" v-if="false"/> <el-table-column label="机构logo的URL" align="center" prop="orgLogoUrl" v-if="false"/>
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right" width="350px">
<template #default="scope"> <template #default="scope">
<el-button <el-button
link link

View File

@ -284,10 +284,10 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="主键" align="center" prop="id" v-if="false" /> <el-table-column label="主键" align="center" prop="id" v-if="false" />
<el-table-column label="检查ID" align="center" prop="examId" /> <el-table-column label="检查单号" align="center" prop="examId" width="140px" />
<el-table-column label="患者姓名" align="center" prop="pname" /> <el-table-column label="患者姓名" align="center" prop="pname" />
<el-table-column label="性别" align="center" prop="gender" /> <el-table-column label="性别" align="center" prop="gender" />
<el-table-column label="出生日期" align="center" prop="birthday" /> <el-table-column label="出生日期" align="center" prop="birthday" v-if="false"/>
<el-table-column <el-table-column
label="检查日期" label="检查日期"
align="center" align="center"
@ -296,10 +296,10 @@
width="180px" width="180px"
/> />
<el-table-column label="设备类型" align="center" prop="deviceType" /> <el-table-column label="设备类型" align="center" prop="deviceType" />
<el-table-column label="Se/Im" align="center" prop="seDc" /> <el-table-column label="Se/Im" align="center" prop="seDc" width="80px"/>
<el-table-column label="检查项目名称" align="center" prop="examItemName" /> <el-table-column label="检查项目名称" align="center" prop="examItemName" width="180px"/>
<el-table-column label="报告状态" align="center" prop="reportstatus"> <el-table-column label="报告状态" align="center" prop="reportstatus" width="100px">
<template #default="scope"> <template #default="scope">
<el-tag :type="scope.row.reportstatus === '已审核' ? 'danger' : 'success'"> <el-tag :type="scope.row.reportstatus === '已审核' ? 'danger' : 'success'">
<span style="">{{ scope.row.reportstatus }}</span> <span style="">{{ scope.row.reportstatus }}</span>
@ -321,7 +321,7 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="180px" width="180px"
/> />
<el-table-column label="机构名称" align="center" prop="orgName" /> <el-table-column label="机构名称" align="center" prop="orgName" width="180px"/>
<el-table-column label="机构ID" align="center" prop="orgId" v-if="false" /> <el-table-column label="机构ID" align="center" prop="orgId" v-if="false" />
<el-table-column <el-table-column
label="上级判读机构id列表orgid1,orgid2,orgid3" label="上级判读机构id列表orgid1,orgid2,orgid3"
@ -365,7 +365,7 @@
width="180px" width="180px"
v-if="false" v-if="false"
/> />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right">
<template #default="scope"> <template #default="scope">
<el-button <el-button
size="small" size="small"

View File

@ -274,10 +274,10 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="主键" align="center" prop="id" v-if="false"/> <el-table-column label="主键" align="center" prop="id" v-if="false"/>
<el-table-column label="检查ID" align="center" prop="examId" /> <el-table-column label="检查单号" align="center" prop="examId" width="140px"/>
<el-table-column label="患者姓名" align="center" prop="pname" /> <el-table-column label="患者姓名" align="center" prop="pname" />
<el-table-column label="性别" align="center" prop="gender" /> <el-table-column label="性别" align="center" prop="gender" />
<el-table-column label="出生日期" align="center" prop="birthday" /> <el-table-column label="出生日期" align="center" prop="birthday" v-if="false"/>
<el-table-column <el-table-column
label="检查日期" label="检查日期"
align="center" align="center"
@ -286,10 +286,10 @@
width="180px" width="180px"
/> />
<el-table-column label="设备类型" align="center" prop="deviceType" /> <el-table-column label="设备类型" align="center" prop="deviceType" />
<el-table-column label="Se/Im" align="center" prop="seDc" /> <el-table-column label="Se/Im" align="center" prop="seDc" width="80px" />
<el-table-column label="检查项目名称" align="center" prop="examItemName" /> <el-table-column label="检查项目名称" align="center" prop="examItemName" width="160px" />
<el-table-column label="报告状态" align="center" prop="reportstatus" > <el-table-column label="报告状态" align="center" prop="reportstatus" width="100px">
<template #default="scope"> <template #default="scope">
<el-tag :type="scope.row.reportstatus === '已审核' ? 'danger':'success'"> <el-tag :type="scope.row.reportstatus === '已审核' ? 'danger':'success'">
<span style="">{{ scope.row.reportstatus }}</span> <span style="">{{ scope.row.reportstatus }}</span>
@ -311,7 +311,7 @@
:formatter="dateFormatter" :formatter="dateFormatter"
width="180px" width="180px"
/> />
<el-table-column label="机构名称" align="center" prop="orgName" /> <el-table-column label="机构名称" align="center" prop="orgName" width="180px"/>
<el-table-column label="机构ID" align="center" prop="orgId" v-if="false"/> <el-table-column label="机构ID" align="center" prop="orgId" v-if="false"/>
<el-table-column label="上级判读机构id列表orgid1,orgid2,orgid3" align="center" prop="highLevelOrgId" v-if="false" /> <el-table-column label="上级判读机构id列表orgid1,orgid2,orgid3" align="center" prop="highLevelOrgId" v-if="false" />
<el-table-column <el-table-column
@ -350,7 +350,7 @@
width="180px" width="180px"
v-if="false" v-if="false"
/> />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center" fixed="right">
<template #default="scope"> <template #default="scope">
<el-button <el-button
size="small" size="small"

View File

@ -69,7 +69,7 @@
</el-tabs> </el-tabs>
</div> </div>
<div class="my-middle"> <div class="my-middle">
<!--用户信息区域--> <!--用户信息区域 "-->
<el-tabs <el-tabs
v-model="activeName" v-model="activeName"
@ -737,10 +737,11 @@ const upimagedeleteor = async () => {
} }
// //
const handleTabChange = async () => { const handleTabChange = async () => {
if (activeName.value == 'report') { if (activeName.value == 'report') {
if (applyFormVO.value.reportstatus == '已分析' || applyFormVO.value.reportstatus == '已审核') { if (applyFormVO.value.reportstatus == '已分析' || applyFormVO.value.reportstatus == '已审核') {
showDiv() showDiv()
if (reportimages.value.length === 0) { if (reportimages.value.length ==0 ) {
const imageslist = await ultrasoniccomApi.getimageslist(orgId.value, regId.value, '1') const imageslist = await ultrasoniccomApi.getimageslist(orgId.value, regId.value, '1')
console.log(imageslist) console.log(imageslist)
reportimages.value = imageslist reportimages.value = imageslist
@ -750,6 +751,8 @@ const handleTabChange = async () => {
} }
} }
} }
// //
function hideDiv() { function hideDiv() {
var div = document.getElementById('printMe') var div = document.getElementById('printMe')
@ -885,7 +888,7 @@ const open = async (id: number, orgid: string, regid: string) => {
formLoading.value = true formLoading.value = true
try { try {
// //
const dd = await ultrasoniccomApi.getreporttemplatelist('', String(fordevicemValue.value), '') const dd = await ultrasoniccomApi.getreporttemplatelist(orgid, String(fordevicemValue.value), '')
treeData.value = dd treeData.value = dd
console.log('返回值1' + dd) console.log('返回值1' + dd)
console.log('返回值2' + treeData.value) console.log('返回值2' + treeData.value)
@ -901,7 +904,7 @@ const open = async (id: number, orgid: string, regid: string) => {
// //
getlogininfo() getlogininfo()
} finally { } finally {
formLoading.value = false formLoading.value = false
} }