|
|
@@ -1,11 +1,12 @@
|
|
|
<template>
|
|
|
-
|
|
|
<div class="layout_container">
|
|
|
<header>
|
|
|
<el-date-picker v-model="month" :clearable="false" placeholder="出院日期" style="width: 110px"
|
|
|
type="month"></el-date-picker>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <el-button type="primary" icon="Search" @click="getAnalyzedSheets">检索</el-button>
|
|
|
+ <el-button type="primary" icon="Search" @click="getAnalyzedSheets(false)">检索(省质控)</el-button>
|
|
|
+ <el-button type="success" icon="Search" @click="getAnalyzedSheets(true)">检索(HQMS)</el-button>
|
|
|
+ <el-divider direction="vertical" />
|
|
|
<el-button type="primary" icon="Download" @click="exportExcel">导出csv</el-button>
|
|
|
</header>
|
|
|
<div class="layout_main layout_el-table">
|
|
|
@@ -102,7 +103,7 @@ const handleCurrentChange = (val) => {
|
|
|
currentPage.value = val
|
|
|
}
|
|
|
|
|
|
-const getAnalyzedSheets = () => {
|
|
|
+const getAnalyzedSheets = (isHqms) => {
|
|
|
if (!month.value) {
|
|
|
ElMessage({
|
|
|
message: '请先选择出院日期',
|
|
|
@@ -113,7 +114,7 @@ const getAnalyzedSheets = () => {
|
|
|
return
|
|
|
}
|
|
|
month.value = formatMonth(month.value)
|
|
|
- fetchSheets(month.value).then((res) => {
|
|
|
+ fetchSheets(month.value, isHqms).then((res) => {
|
|
|
sheets.value = res
|
|
|
})
|
|
|
}
|