|
@@ -3,17 +3,16 @@
|
|
|
<template #header>
|
|
|
<div style="text-align: center">
|
|
|
统计日期:
|
|
|
- <!-- <span v-if="reportFirst.kssj" style="color: #fc6c34;">
|
|
|
- {{ reportFirst.kssj }} 至 {{ reportFirst.jssj }}
|
|
|
- </span> -->
|
|
|
- <span style="color: #fc6c34;">当前</span>
|
|
|
+ <span v-if="kssj2" style="color: #fc6c34;">
|
|
|
+ {{ kssj2 }} 至 {{ jssj2 }}
|
|
|
+ </span>
|
|
|
+ <span v-else style="color: #fc6c34;">当前</span>
|
|
|
统计机构名称:<span style="color: #fc6c34;">长沙泰和医院</span>
|
|
|
指标名称: <span style="color: #fc6c34;">{{ reportInfo2.reportName }}</span>
|
|
|
统计结果描述: <span style="color: #fc6c34;">{{ reportInfo2.overview }}{{ reportInfo2.unit }}</span>
|
|
|
- <span style="color: #3742fa;"> {{ reportInfo2.fstName }}: </span>
|
|
|
+ 其中<span style="color: #3742fa;"> {{ reportInfo2.fstName }}: </span>
|
|
|
<span style="color: #fc6c34;">{{ reportInfo2.fstValue }}{{ reportInfo2.unit }}</span>
|
|
|
</div>
|
|
|
- <el-button type="primary" style="margin-left: 10px;">返回</el-button>
|
|
|
</template>
|
|
|
<template #aside>
|
|
|
<el-table :data="reportData" :height="tableHeight" highlight-current-row row-key="childKey" stripe border
|
|
@@ -68,11 +67,15 @@ const param2 = ref({})
|
|
|
|
|
|
const x2Name = ref('')
|
|
|
const y2Name = ref('')
|
|
|
+const kssj2 = ref('')
|
|
|
+const jssj2 = ref('')
|
|
|
|
|
|
reportData.value = props.reportSecond.data
|
|
|
reportInfo2.value = props.reportSecond.row
|
|
|
tableData.value = props.reportSecond.tableInfo
|
|
|
param2.value = props.reportSecond.params
|
|
|
+kssj2.value = props.reportSecond.kssj
|
|
|
+jssj2.value = props.reportSecond.jssj
|
|
|
|
|
|
const showSecondPst = () => {
|
|
|
let barTitle = reportInfo2.value.reportName
|
|
@@ -122,6 +125,8 @@ const reportThirdInfo = (row) => {
|
|
|
titleChart.value = res.title
|
|
|
thirdDrawer.value = true
|
|
|
reportThird.value.row = reportInfo2.value
|
|
|
+ reportThird.value.kssj = kssj2.value
|
|
|
+ reportThird.value.jssj = jssj2.value
|
|
|
reportThird.value.params = clone(params)
|
|
|
})
|
|
|
}
|