影像片子模版名称做成配置

This commit is contained in:
lxd 2024-12-14 17:54:02 +08:00
parent 70bc854b80
commit 500cb31c64

View File

@ -5,7 +5,7 @@
<h2 class="ml-6px">{{ orgInfo?.orgName }}</h2>
</el-col>
<el-col :span="12">
<h2 style="text-align: right" class="mr-6px">CT检查报告单</h2>
<h2 style="text-align: right" class="mr-6px">{{reportname}}</h2>
</el-col>
</el-row>
<hr />
@ -77,7 +77,8 @@
import { formatDate } from '@/utils/formatTime'
import { getUserProfile } from '@/api/system/user/profile'
import { ReportPrintStatisticsApi } from '@/api/applyregistration/reportPrintStatistics'
import * as ConfigApi from '@/api/infra/config'//
const reportname=ref('检查报告单')
defineOptions({ name: 'ReportInfoCT' })
/*
* 李传洋
@ -150,7 +151,11 @@ onMounted(async () => {
{
orgInfo.value=infoParams.extraInfo;
}
const config= await ConfigApi.getConfigKey('name.report')
if(config)
{
reportname.value=config
}
})
/** 导出内容 **/