| | |
| | | <!-- Tab切换区域 --> |
| | | <div class="tab-section"> |
| | | <el-tabs v-model="activeTab" @tab-click="handleTabClick"> |
| | | <el-tab-pane |
| | | label="综合统计" |
| | | v-if="orgname == '丽水市中医院'" |
| | | name="combined" |
| | | > |
| | | <CombinedFollowUp |
| | | ref="combinedFollowUp" |
| | | :query-params="queryParams" |
| | | :flat-array-hospit="flatArrayhospit" |
| | | :flat-array-dept="flatArraydept" |
| | | :options="options" |
| | | :orgname="orgname" |
| | | @view-details="viewDetails" |
| | | /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="首次随访" name="first"> |
| | | <FirstFollowUp |
| | | ref="firstFollowUp" |
| | |
| | | <ChartDialog |
| | | :visible="chartDialogVisible" |
| | | :data="chartData" |
| | | :statisticaltype="queryParams.statisticaltype" |
| | | :active-tab="activeTab" |
| | | @close="chartDialogVisible = false" |
| | | /> |
| | |
| | | import ChartDialog from "./components/ChartDialog.vue"; |
| | | import DetailDialog from "./components/DetailDialog.vue"; |
| | | import TimelyRateDialog from "./components/TimelyRateDialog.vue"; |
| | | |
| | | import CombinedFollowUp from "./components/CombinedFollowUp.vue"; |
| | | import { getSfStatisticsHyperlink } from "@/api/AiCentre/index"; |
| | | |
| | | export default { |
| | |
| | | ChartDialog, |
| | | DetailDialog, |
| | | TimelyRateDialog, |
| | | CombinedFollowUp, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | serviceType: [2], |
| | | dateRange: this.getLastMonthRange(), |
| | | dateRangecy: [], |
| | | statisticaltype: 1, |
| | | statisticaltype: |
| | | localStorage.getItem("orgname") == "缙云县人民医院" || |
| | | localStorage.getItem("orgname") == "景宁畲族自治县人民医院" |
| | | ? 2 |
| | | : 1, |
| | | leavehospitaldistrictcodes: ["all"], |
| | | deptcodes: [], |
| | | deptcodes: ["all"], |
| | | }, |
| | | pickerOptions: { |
| | | shortcuts: [ |
| | |
| | | case "continued": |
| | | this.$refs.continuedCare.loadData(); |
| | | break; |
| | | case "combined": |
| | | this.$refs.combinedFollowUp.loadData(); |
| | | break; |
| | | } |
| | | }, |
| | | |
| | |
| | | case "continued": |
| | | await this.$refs.continuedCare.exportTable(); |
| | | break; |
| | | case "combined": |
| | | await this.$refs.combinedFollowUp.exportTable(); |
| | | break; |
| | | } |
| | | }, |
| | | |
| | |
| | | return this.$refs.secondFollowUp.tableData; |
| | | case "continued": |
| | | return this.$refs.continuedCare.tableData; |
| | | case "combined": |
| | | return this.$refs.combinedFollowUp.tableData; |
| | | default: |
| | | return []; |
| | | } |
| | |
| | | obj.deptcodes = [row.deptcode]; |
| | | obj.leavehospitaldistrictcodes = []; |
| | | } |
| | | obj.endTime = this.queryParams.endTime; |
| | | obj.startTime = this.queryParams.startTime; |
| | | if (this.queryParams.endTime) { |
| | | obj.endTime = this.queryParams.endTime; |
| | | obj.startTime = this.queryParams.startTime; |
| | | } else { |
| | | obj.startTime = this.parseTime(this.queryParams.dateRange[0]); |
| | | obj.endTime = this.parseTime(this.queryParams.dateRange[1]); |
| | | } |
| | | |
| | | obj.statisticaltype = this.queryParams.statisticaltype; |
| | | |
| | | getSfStatisticsHyperlink(obj).then((response) => { |