|
|
|
|
@ -2,11 +2,11 @@
|
|
|
|
|
<div>
|
|
|
|
|
<div class="head">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-form-item v-if="org_list">
|
|
|
|
|
<el-tag class="ml-2" type="success" style="margin-right: 20px;">机构名称</el-tag>
|
|
|
|
|
<el-select filterable v-model="searchInfo.orgId" placeholder="请选择体检机构" clearable>
|
|
|
|
|
<el-option v-for="(item, index) in org_list" :key="index" :label="item.org_name"
|
|
|
|
|
:value="item.id" />
|
|
|
|
|
<el-select filterable v-model="searchInfo.hospitalCode" placeholder="请选择体检机构" clearable>
|
|
|
|
|
<el-option v-for="(item, index) in org_list" :key="index" :label="item.hospitalName"
|
|
|
|
|
:value="item.hospitalCode" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
@ -32,14 +32,14 @@
|
|
|
|
|
<el-table-column prop="genderName" label="性别" />
|
|
|
|
|
<el-table-column prop="examTypeName" label="体检类型" />
|
|
|
|
|
<el-table-column prop="created_at" label="创建时间" />
|
|
|
|
|
<!-- <el-table-column label="报告" width="100">
|
|
|
|
|
<el-table-column label="报告" width="100">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span v-if="scope.row.report_file">
|
|
|
|
|
<a target="_blank" :href="BaseFileUrl+scope.row.report_file">查看报告</a>
|
|
|
|
|
<span v-if="scope.row.pdf_url">
|
|
|
|
|
<a target="_blank" :href="scope.row.pdf_url">查看报告</a>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else style="color: #ccc;">暂无报告</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="详情" width="100">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-button type="primary" style="margin-left: 20px;" size="small"
|
|
|
|
|
@ -80,7 +80,7 @@
|
|
|
|
|
import {
|
|
|
|
|
GetHealthOrganizationEnableList,
|
|
|
|
|
PingTaiPushGetList,
|
|
|
|
|
PingTaiPushGetDetail
|
|
|
|
|
PingTaiPushGetDetail,GetPingTaiOrgList
|
|
|
|
|
} from '@/api/api.js'
|
|
|
|
|
let BaseFileUrl = import.meta.env.VITE_APP_FILE
|
|
|
|
|
let loading = ref(false)
|
|
|
|
|
@ -90,7 +90,7 @@
|
|
|
|
|
let total = 0 //总数量
|
|
|
|
|
let searchInfo = ref({
|
|
|
|
|
dateRange: [],
|
|
|
|
|
orgId: '',
|
|
|
|
|
hospitalCode: '',
|
|
|
|
|
})
|
|
|
|
|
let Info = ref({});
|
|
|
|
|
let detailDialogVisible = ref(false)
|
|
|
|
|
@ -138,12 +138,10 @@
|
|
|
|
|
}
|
|
|
|
|
let org_list = ref([]) //机构列表
|
|
|
|
|
const getHealthOrganizationEnableList = () => {
|
|
|
|
|
GetHealthOrganizationEnableList().then(res => {
|
|
|
|
|
GetPingTaiOrgList().then(res => {
|
|
|
|
|
if (res.status) {
|
|
|
|
|
org_list.value = res.data
|
|
|
|
|
if (res.data.length == 1) {
|
|
|
|
|
searchInfo.value.orgId = res.data[0].id
|
|
|
|
|
}
|
|
|
|
|
org_list.value = res.data.list
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
ElMessage.error(res.msg)
|
|
|
|
|
}
|
|
|
|
|
|