From fbb61549bf96e9e0910b676a5524b0760d29c4be Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 07 四月 2026 15:16:54 +0800
Subject: [PATCH] 测试完成
---
src/views/Satisfaction/sfstatistics/index.vue | 63 +++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/src/views/Satisfaction/sfstatistics/index.vue b/src/views/Satisfaction/sfstatistics/index.vue
new file mode 100644
index 0000000..96bda01
--- /dev/null
+++ b/src/views/Satisfaction/sfstatistics/index.vue
@@ -0,0 +1,63 @@
+<!-- StatisticsMain.vue -->
+<template>
+ <div class="statistics-main">
+ <el-tabs v-model="activeTab" @tab-click="handleTabChange">
+ <el-tab-pane label="闅忚缁熻" name="followup">
+ <followup-statistics
+ v-if="activeTab === 'followup'"
+ ref="followupRef"
+ />
+ </el-tab-pane>
+ <el-tab-pane label="婊℃剰搴︾粺璁�" name="satisfaction">
+ <satisfaction-statistics
+ v-if="activeTab === 'satisfaction'"
+ ref="satisfactionRef"
+ />
+ </el-tab-pane>
+ </el-tabs>
+ </div>
+</template>
+
+<script>
+import FollowupStatistics from './components/FollowupStatistics.vue';
+import SatisfactionStatistics from './components/SatisfactionStatistics.vue';
+
+export default {
+ name: 'StatisticsMain',
+ components: {
+ FollowupStatistics,
+ SatisfactionStatistics
+ },
+ data() {
+ return {
+ activeTab: 'followup'
+ };
+ },
+ methods: {
+ handleTabChange(tab) {
+ console.log('鍒囨崲鍒�:', tab.name);
+ }
+ }
+};
+</script>
+
+<style lang="scss" scoped>
+.statistics-main {
+ padding: 20px;
+ background: #fff;
+ min-height: calc(100vh - 84px);
+
+ ::v-deep .el-tabs__header {
+ margin-bottom: 20px;
+ }
+
+ ::v-deep .el-tabs__item {
+ font-size: 16px;
+ font-weight: 500;
+ }
+
+ ::v-deep .el-tabs__nav-wrap::after {
+ height: 1px;
+ }
+}
+</style>
--
Gitblit v1.9.3