|
|
|
@ -8,7 +8,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div :style="'display: block;'"> |
|
|
|
<div style=" |
|
|
|
<div |
|
|
|
style=" |
|
|
|
background-color: #fff; |
|
|
|
padding: 15px; |
|
|
|
border-radius: 8px; |
|
|
|
@ -17,104 +18,223 @@ |
|
|
|
margin-bottom: 10px; |
|
|
|
height: 35px; |
|
|
|
margin-top: 7px; |
|
|
|
"> |
|
|
|
" |
|
|
|
> |
|
|
|
<div class="query"> |
|
|
|
<span>体检单位:</span> |
|
|
|
<el-input placeholder="请选择体检单位" v-model="patientRegister.query.cusOrgOCX" style="width: 240px" size="small" |
|
|
|
disabled> |
|
|
|
<el-button slot="append" icon="el-icon-search" @click="report.dialogCusOrgOCX = true" |
|
|
|
style="font-size: 20px"></el-button> |
|
|
|
<el-input |
|
|
|
placeholder="请选择体检单位" |
|
|
|
v-model="patientRegister.query.cusOrgOCX" |
|
|
|
style="width: 240px" |
|
|
|
size="small" |
|
|
|
disabled |
|
|
|
> |
|
|
|
<el-button |
|
|
|
slot="append" |
|
|
|
icon="el-icon-search" |
|
|
|
@click="report.dialogCusOrgOCX = true" |
|
|
|
style="font-size: 20px" |
|
|
|
></el-button> |
|
|
|
</el-input> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<span>报表格式:</span> |
|
|
|
<el-select v-model="format" placeholder="请选择" style="width: 80px" @change="changeValue" size="small"> |
|
|
|
<el-select |
|
|
|
v-model="format" |
|
|
|
placeholder="请选择" |
|
|
|
style="width: 80px" |
|
|
|
@change="changeValue" |
|
|
|
size="small" |
|
|
|
> |
|
|
|
<el-option label="标准格式" value="0" /> |
|
|
|
<el-option label="精简格式" value="1" /> |
|
|
|
<el-option label="Word格式" value="2" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<el-button @click="btnQuery" size="small" class="commonbutton">查询</el-button> |
|
|
|
<el-button @click="btnQuery" size="small" class="commonbutton" |
|
|
|
>查询</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<el-button size="small" class="commonbutton" :disabled="format == 2" @click="handleExport">导出excel</el-button> |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
class="commonbutton" |
|
|
|
:disabled="format == 2" |
|
|
|
@click="handleExport" |
|
|
|
>导出excel</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div class="query"> |
|
|
|
<el-button size="small" class="commonbutton" :disabled="format == 2" @click="onPrint">打印</el-button> |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
class="commonbutton" |
|
|
|
:disabled="format == 2" |
|
|
|
@click="onPrint" |
|
|
|
>打印</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-show="format == 0" ref="imageDom0"> |
|
|
|
<div style="background-color: #fff; padding: 15px; border-radius: 8px"> |
|
|
|
<el-table border :height="flag |
|
|
|
? window.pageHeight < 600 |
|
|
|
? 415 |
|
|
|
: window.pageHeight - 185 - 20 |
|
|
|
: '' |
|
|
|
" :data="tableData" id="standardTableData" ref="standardTableData" style="width: 100%" |
|
|
|
:header-cell-class-name="headerStyle"> |
|
|
|
<div |
|
|
|
style="background-color: #fff; padding: 15px; border-radius: 8px" |
|
|
|
> |
|
|
|
<el-table |
|
|
|
border |
|
|
|
:height=" |
|
|
|
flag |
|
|
|
? window.pageHeight < 600 |
|
|
|
? 415 |
|
|
|
: window.pageHeight - 185 - 20 |
|
|
|
: '' |
|
|
|
" |
|
|
|
:data="tableData" |
|
|
|
id="standardTableData" |
|
|
|
ref="standardTableData" |
|
|
|
style="width: 100%" |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
> |
|
|
|
<el-table-column :label="reportTitle"> |
|
|
|
<el-table-column :label="`单位: ${customerOrgName||''} 体检次数 ${medicalTimes||''} 开始月份: ${startMonth||''} 结束月份: ${endMonth||''}`"> |
|
|
|
<el-table-column |
|
|
|
:label="`单位: ${customerOrgName || ''} 体检次数 ${ |
|
|
|
medicalTimes || '' |
|
|
|
} 开始月份: ${startMonth || ''} 结束月份: ${ |
|
|
|
endMonth || '' |
|
|
|
}`" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-table :data="scope.row.patientRegisterPositiveReports.details" border show-summary |
|
|
|
:summary-method="summarizeRegisterCounts" :header-cell-class-name="headerStyle"> |
|
|
|
<el-table |
|
|
|
:data="scope.row.patientRegisterPositiveReports.details" |
|
|
|
border |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCounts" |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
> |
|
|
|
<el-table-column label="人员阳性结果清单"> |
|
|
|
<el-table-column :label="`${startDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${endDate||''} |
|
|
|
体检人员共计: |
|
|
|
${sumMedicalNumber|| ''} |
|
|
|
其中男: |
|
|
|
${maleMedicalNumber} |
|
|
|
女: |
|
|
|
${femaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${otherMedicalNumber} |
|
|
|
`"> |
|
|
|
<el-table-column prop="patientNo" label="档案号" width="120" /> |
|
|
|
<el-table-column prop="patientName" label="姓名" width="120" /> |
|
|
|
<el-table-column prop="sexName" label="性别" width="50" /> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
prop="patientNo" |
|
|
|
label="档案号" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="patientName" |
|
|
|
label="姓名" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="sexName" |
|
|
|
label="性别" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column prop="age" label="年龄" width="80" /> |
|
|
|
<el-table-column prop="medicalTimes" label="次数" width="50" /> |
|
|
|
<el-table-column prop="mobileTelephone" label="手机号码" width="120" /> |
|
|
|
<el-table-column prop="diagnosisNames" label="诊断名称" /> |
|
|
|
<el-table-column |
|
|
|
prop="medicalTimes" |
|
|
|
label="次数" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="mobileTelephone" |
|
|
|
label="手机号码" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="diagnosisNames" |
|
|
|
label="诊断名称" |
|
|
|
/> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<el-table :data="scope.row.positivePatientRegisterReportStandards" border |
|
|
|
:header-cell-class-name="headerStyle" style="margin-top: 15px"> |
|
|
|
<el-table |
|
|
|
:data=" |
|
|
|
scope.row.positivePatientRegisterReportStandards.details |
|
|
|
" |
|
|
|
border |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
style="margin-top: 15px" |
|
|
|
> |
|
|
|
<el-table-column label="阳性结果人员清单"> |
|
|
|
<el-table-column :label="`${startDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${endDate||''} |
|
|
|
体检人员共计: |
|
|
|
${sumMedicalNumber} |
|
|
|
其中男: |
|
|
|
${maleMedicalNumber} |
|
|
|
女: |
|
|
|
${femaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${otherMedicalNumber} |
|
|
|
`"> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<template slot-scope="scopes"> |
|
|
|
<el-table :data="scopes.row.patientRegisters" border show-summary |
|
|
|
:summary-method="summarizeRegisterCounts"> |
|
|
|
<el-table-column :label="scopes.row.diagnosisName"> |
|
|
|
<el-table-column label="部门名称" prop="departmentName"></el-table-column> |
|
|
|
<el-table-column label="姓名" prop="patientName"></el-table-column> |
|
|
|
<el-table-column label="性别" prop="sexName"></el-table-column> |
|
|
|
<el-table |
|
|
|
:data="scopes.row.patientRegisters" |
|
|
|
border |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCounts" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
:label="scopes.row.diagnosisName" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
label="部门名称" |
|
|
|
prop="departmentName" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="姓名" |
|
|
|
prop="patientName" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="性别" |
|
|
|
prop="sexName" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column prop="age" label="年龄"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="patientRegisterNo" label="条码号"> |
|
|
|
<el-table-column |
|
|
|
prop="patientRegisterNo" |
|
|
|
label="条码号" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="patientNo" label="档案号"> |
|
|
|
<el-table-column |
|
|
|
prop="patientNo" |
|
|
|
label="档案号" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="medicalTimes" label="体检次数"> |
|
|
|
<el-table-column |
|
|
|
prop="medicalTimes" |
|
|
|
label="体检次数" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="telephone" label="电话"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="mobileTelephone" label="手机号"> |
|
|
|
<el-table-column |
|
|
|
prop="mobileTelephone" |
|
|
|
label="手机号" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -123,26 +243,41 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<el-table :data="scope.row.diseaseCountStatisticsReports" border :header-cell-class-name="headerStyle" |
|
|
|
show-summary :summary-method="summarizeRegisterCount" style="margin-top: 15px"> |
|
|
|
<el-table |
|
|
|
:data="scope.row.diseaseCountStatisticsReports.details" |
|
|
|
border |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCount" |
|
|
|
style="margin-top: 15px" |
|
|
|
> |
|
|
|
<el-table-column label="疾病人数统计"> |
|
|
|
<el-table-column :label="`${startDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${endDate||''} |
|
|
|
体检人员共计: |
|
|
|
${sumMedicalNumber} |
|
|
|
其中男: |
|
|
|
${maleMedicalNumber} |
|
|
|
女: |
|
|
|
${femaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${otherMedicalNumber} |
|
|
|
`"> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<el-table-column label="序号" type="index"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="diagnosisName" label="疾病" /> |
|
|
|
<el-table-column prop="patientCount" label="人数" /> |
|
|
|
<el-table-column prop="percentage" label="占总检人员百分比" /> |
|
|
|
<el-table-column |
|
|
|
prop="percentage" |
|
|
|
label="占总检人员百分比" |
|
|
|
/> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -153,88 +288,169 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-show="format == 1" ref="imageDom1"> |
|
|
|
<div style="background-color: #fff; padding: 15px; border-radius: 8px"> |
|
|
|
<el-table border :height="flag |
|
|
|
? window.pageHeight < 600 |
|
|
|
? 415 |
|
|
|
: window.pageHeight - 185 - 20 |
|
|
|
: '' |
|
|
|
" :data="reducetableData" id="reducetableData" ref="reducetableData" style="width: 100%" |
|
|
|
:header-cell-class-name="headerStyle"> |
|
|
|
<div |
|
|
|
style="background-color: #fff; padding: 15px; border-radius: 8px" |
|
|
|
> |
|
|
|
<el-table |
|
|
|
border |
|
|
|
:height=" |
|
|
|
flag |
|
|
|
? window.pageHeight < 600 |
|
|
|
? 415 |
|
|
|
: window.pageHeight - 185 - 20 |
|
|
|
: '' |
|
|
|
" |
|
|
|
:data="reducetableData" |
|
|
|
id="reducetableData" |
|
|
|
ref="reducetableData" |
|
|
|
style="width: 100%" |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
> |
|
|
|
<el-table-column :label="reducereportTitle"> |
|
|
|
<el-table-column :label="`单位: ${customerOrgName||''} 体检次数 ${medicalTimes||''} 开始月份: ${startMonth||''} 结束月份: ${endMonth||''}`"> |
|
|
|
<el-table-column |
|
|
|
:label="`单位: ${customerOrgName || ''} 体检次数 ${ |
|
|
|
medicalTimes || '' |
|
|
|
} 开始月份: ${startMonth || ''} 结束月份: ${ |
|
|
|
endMonth || '' |
|
|
|
}`" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-table :data="scope.row.patientRegisterPositiveReports.details" border show-summary |
|
|
|
:summary-method="summarizeRegisterCounts" :header-cell-class-name="headerStyle"> |
|
|
|
<el-table |
|
|
|
:data="scope.row.patientRegisterPositiveReports.details" |
|
|
|
border |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCounts" |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
> |
|
|
|
<el-table-column label="人员阳性结果清单"> |
|
|
|
<el-table-column :label="`${reducestartDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${reduceendDate||''} |
|
|
|
体检人员共计: |
|
|
|
${reducesumMedicalNumber} |
|
|
|
其中男: |
|
|
|
${reducemaleMedicalNumber} |
|
|
|
女: |
|
|
|
${reducefemaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${reduceotherMedicalNumber} |
|
|
|
`"> |
|
|
|
<el-table-column prop="patientNo" label="档案号" width="120" /> |
|
|
|
<el-table-column prop="patientName" label="姓名" width="120" /> |
|
|
|
<el-table-column prop="sexName" label="性别" width="50" /> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<el-table-column |
|
|
|
prop="patientNo" |
|
|
|
label="档案号" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="patientName" |
|
|
|
label="姓名" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="sexName" |
|
|
|
label="性别" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column prop="age" label="年龄" width="80" /> |
|
|
|
<el-table-column prop="medicalTimes" label="次数" width="50" /> |
|
|
|
<el-table-column prop="mobileTelephone" label="手机号码" width="120" /> |
|
|
|
<el-table-column prop="diagnosisNames" label="诊断名称" /> |
|
|
|
<el-table-column |
|
|
|
prop="medicalTimes" |
|
|
|
label="次数" |
|
|
|
width="50" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="mobileTelephone" |
|
|
|
label="手机号码" |
|
|
|
width="120" |
|
|
|
/> |
|
|
|
<el-table-column |
|
|
|
prop="diagnosisNames" |
|
|
|
label="诊断名称" |
|
|
|
/> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<el-table :data="scope.row.positivePatientRegisterReportReduces" border |
|
|
|
:header-cell-class-name="headerStyle" show-summary :summary-method="summarizeRegisterCount" |
|
|
|
style="margin-top: 15px"> |
|
|
|
<el-table |
|
|
|
:data=" |
|
|
|
scope.row.positivePatientRegisterReportReduces.details |
|
|
|
" |
|
|
|
border |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCount" |
|
|
|
style="margin-top: 15px" |
|
|
|
> |
|
|
|
<el-table-column label="阳性结果人员清单"> |
|
|
|
<el-table-column :label="`${reducestartDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${reduceendDate||''} |
|
|
|
体检人员共计: |
|
|
|
${reducesumMedicalNumber} |
|
|
|
其中男: |
|
|
|
${reducemaleMedicalNumber} |
|
|
|
女: |
|
|
|
${reducefemaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${reduceotherMedicalNumber} |
|
|
|
`"> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<el-table-column label="序号" type="index"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="diagnosisName" label="诊断" /> |
|
|
|
<el-table-column prop="patientCount" label="人数" /> |
|
|
|
<el-table-column prop="percentage" label="占总检人员百分比" /> |
|
|
|
<el-table-column |
|
|
|
prop="percentage" |
|
|
|
label="占总检人员百分比" |
|
|
|
/> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<el-table :data="scope.row.diseaseCountStatisticsReports" border :header-cell-class-name="headerStyle" |
|
|
|
show-summary :summary-method="summarizeRegisterCount" style="margin-top: 15px"> |
|
|
|
<el-table |
|
|
|
:data="scope.row.diseaseCountStatisticsReports.details" |
|
|
|
border |
|
|
|
:header-cell-class-name="headerStyle" |
|
|
|
show-summary |
|
|
|
:summary-method="summarizeRegisterCount" |
|
|
|
style="margin-top: 15px" |
|
|
|
> |
|
|
|
<el-table-column label="疾病人数统计"> |
|
|
|
<el-table-column :label="`${reducestartDate||''} |
|
|
|
<el-table-column |
|
|
|
:label="`${ |
|
|
|
scope.row.patientRegisterPositiveReports |
|
|
|
.startDate || '' |
|
|
|
} |
|
|
|
至 |
|
|
|
${reduceendDate||''} |
|
|
|
体检人员共计: |
|
|
|
${reducesumMedicalNumber} |
|
|
|
其中男: |
|
|
|
${reducemaleMedicalNumber} |
|
|
|
女: |
|
|
|
${reducefemaleMedicalNumber} |
|
|
|
其他: |
|
|
|
${reduceotherMedicalNumber} |
|
|
|
`"> |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.endDate || |
|
|
|
'' |
|
|
|
} |
|
|
|
男性: |
|
|
|
${scope.row.patientRegisterPositiveReports.maleCount} |
|
|
|
女性: |
|
|
|
${ |
|
|
|
scope.row.patientRegisterPositiveReports.femaleCount |
|
|
|
} |
|
|
|
`" |
|
|
|
> |
|
|
|
<el-table-column label="序号" type="index"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="diagnosisName" label="疾病" /> |
|
|
|
<el-table-column prop="patientCount" label="人数" /> |
|
|
|
<el-table-column prop="percentage" label="占总检人员百分比" /> |
|
|
|
<el-table-column |
|
|
|
prop="percentage" |
|
|
|
label="占总检人员百分比" |
|
|
|
/> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -245,11 +461,16 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-show="format == 2" ref="imageDom2"> |
|
|
|
<div style="background-color: #fff; padding: 15px; border-radius: 8px"> |
|
|
|
<div :style="'display: flex;justify-content: center;align-items: center;height:' + |
|
|
|
(window.pageHeight < 600 ? 415 : window.pageHeight - 185 - 20) + |
|
|
|
'px;' |
|
|
|
"> |
|
|
|
<div |
|
|
|
style="background-color: #fff; padding: 15px; border-radius: 8px" |
|
|
|
> |
|
|
|
<div |
|
|
|
:style=" |
|
|
|
'display: flex;justify-content: center;align-items: center;height:' + |
|
|
|
(window.pageHeight < 600 ? 415 : window.pageHeight - 185 - 20) + |
|
|
|
'px;' |
|
|
|
" |
|
|
|
> |
|
|
|
<div v-show="reportUrl == ''">无数据</div> |
|
|
|
<a :href="reportUrl" v-show="reportUrl != ''"> |
|
|
|
<el-button>下载Word报表</el-button> |
|
|
|
@ -260,9 +481,18 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--通用选单位、体检次数、分组的控件--> |
|
|
|
<el-dialog title="体检单位选择" :visible.sync="report.dialogCusOrgOCX" :close-on-click-modal="false" width="880px" |
|
|
|
height="600px"> |
|
|
|
<CusOrgOCX :useCustomerOrg="true" :initDateType="'creationTime'" :isUnit="true" /> |
|
|
|
<el-dialog |
|
|
|
title="体检单位选择" |
|
|
|
:visible.sync="report.dialogCusOrgOCX" |
|
|
|
:close-on-click-modal="false" |
|
|
|
width="880px" |
|
|
|
height="600px" |
|
|
|
> |
|
|
|
<CusOrgOCX |
|
|
|
:useCustomerOrg="true" |
|
|
|
:initDateType="'creationTime'" |
|
|
|
:isUnit="true" |
|
|
|
/> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -342,8 +572,8 @@ export default { |
|
|
|
e.dateType == "summaryDate" |
|
|
|
? "3" |
|
|
|
: e.dateType == "medicalStartDate" |
|
|
|
? "2" |
|
|
|
: "1", |
|
|
|
? "2" |
|
|
|
: "1", |
|
|
|
}; |
|
|
|
|
|
|
|
if (e.customerOrgId) { |
|
|
|
@ -412,7 +642,9 @@ export default { |
|
|
|
body |
|
|
|
).then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
const sysConfig = JSON.parse(window.sessionStorage.getItem('sysConfig')) |
|
|
|
const sysConfig = JSON.parse( |
|
|
|
window.sessionStorage.getItem("sysConfig") |
|
|
|
); |
|
|
|
this.reportUrl = sysConfig.apiurl + res.data.reportUrl; |
|
|
|
} |
|
|
|
}); |
|
|
|
@ -483,16 +715,18 @@ export default { |
|
|
|
let index = 3; |
|
|
|
let list = []; |
|
|
|
list.push(index); |
|
|
|
index += this.tableData[0].patientRegisterPositiveReports.length + 7; |
|
|
|
index += this.tableData[0].patientRegisterPositiveReports.details.length + 7; |
|
|
|
list.push(index); |
|
|
|
for ( |
|
|
|
let i = 0; |
|
|
|
i < |
|
|
|
this.tableData[0].positivePatientRegisterReportStandards.length - 1; |
|
|
|
this.tableData[0].positivePatientRegisterReportStandards.details |
|
|
|
.length - |
|
|
|
1; |
|
|
|
i++ |
|
|
|
) { |
|
|
|
index += |
|
|
|
this.tableData[0].positivePatientRegisterReportStandards[i] |
|
|
|
this.tableData[0].positivePatientRegisterReportStandards.details[i] |
|
|
|
.patientRegisters.length + 4; |
|
|
|
list.push(index); |
|
|
|
} |
|
|
|
@ -595,9 +829,9 @@ page-break-before: avoid;}}`, // 去除页眉页脚 |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .el-icon-search:before { |
|
|
|
color: #00F; |
|
|
|
color: #00f; |
|
|
|
} |
|
|
|
.query:last-child{ |
|
|
|
.query:last-child { |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
</style> |