-
-
- 数据列表
-
-
-
-
-
-
+
+
-
-
-
-
+
+ {{ item.label }}
+
+
+
+
-
diff --git a/web/src/management/pages/analysis/components/DataTable.vue b/web/src/management/pages/analysis/components/DataTable.vue
index 4ad07baf..5c0e047d 100644
--- a/web/src/management/pages/analysis/components/DataTable.vue
+++ b/web/src/management/pages/analysis/components/DataTable.vue
@@ -17,22 +17,23 @@
minWidth="200"
>
-
-
+
+
{{ scope.column.label.replace(/ /g, '') }}
-
-
+
+
{{ getContent(scope.row[scope.column.property]) }}
@@ -44,6 +45,7 @@
popper-style="text-align: center;"
:virtual-ref="popoverVirtualRef"
placement="top"
+ width="400"
trigger="hover"
virtual-triggering
:content="popoverContent"
@@ -62,6 +64,10 @@ const props = defineProps({
},
mainTableLoading: {
type: Boolean
+ },
+ tableMinHeight: {
+ type: String,
+ default: '620px'
}
})
const popoverRefMap = ref({})
@@ -94,15 +100,18 @@ const onPopoverRefOver = (scope, type) => {
position: relative;
width: 100%;
padding-bottom: 20px;
- min-height: 620px;
+ min-height: v-bind('tableMinHeight');
background: #fff;
padding: 10px 20px;
+
.table-border {
box-sizing: border-box;
text-align: center;
}
+
:deep(.el-table__header) {
width: 100%;
+
.thead-cell .el-table__cell {
.cell {
height: 24px;
@@ -111,10 +120,16 @@ const onPopoverRefOver = (scope, type) => {
}
}
}
+
.table-row-cell {
- white-space: nowrap; /* 禁止自动换行 */
- overflow: hidden; /* 超出部分隐藏 */
- text-overflow: ellipsis; /* 显示省略号 */
+ max-width: 100%;
+ display: inline-block;
+ white-space: nowrap;
+ /* 禁止自动换行 */
+ overflow: hidden;
+ /* 超出部分隐藏 */
+ text-overflow: ellipsis;
+ /* 显示省略号 */
}
}
diff --git a/web/src/management/pages/analysis/components/StatisticsItem.vue b/web/src/management/pages/analysis/components/StatisticsItem.vue
new file mode 100644
index 00000000..ddd14c3e
--- /dev/null
+++ b/web/src/management/pages/analysis/components/StatisticsItem.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
{{ questionTypeDesc }}
+
+
+
+
+
+
+
+
diff --git a/web/src/management/pages/analysis/pages/DataTablePage.vue b/web/src/management/pages/analysis/pages/DataTablePage.vue
new file mode 100644
index 00000000..d24ddac3
--- /dev/null
+++ b/web/src/management/pages/analysis/pages/DataTablePage.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/src/management/pages/analysis/pages/SeparateStatisticsPage.vue b/web/src/management/pages/analysis/pages/SeparateStatisticsPage.vue
new file mode 100644
index 00000000..90485242
--- /dev/null
+++ b/web/src/management/pages/analysis/pages/SeparateStatisticsPage.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/src/management/pages/list/components/BaseList.vue b/web/src/management/pages/list/components/BaseList.vue
index a476c92b..fa1ff189 100644
--- a/web/src/management/pages/list/components/BaseList.vue
+++ b/web/src/management/pages/list/components/BaseList.vue
@@ -139,7 +139,7 @@ import {
noSearchDataConfig,
selectOptionsDict,
buttonOptionsDict
-} from '../config'
+} from '@/management/config/listConfig'
const store = useStore()
const router = useRouter()
diff --git a/web/src/management/pages/list/components/SpaceList.vue b/web/src/management/pages/list/components/SpaceList.vue
index e642f84f..a9237e96 100644
--- a/web/src/management/pages/list/components/SpaceList.vue
+++ b/web/src/management/pages/list/components/SpaceList.vue
@@ -75,7 +75,7 @@ import { useStore } from 'vuex'
import { ElMessageBox } from 'element-plus'
import 'element-plus/theme-chalk/src/message-box.scss'
import { get, map } from 'lodash-es'
-import { spaceListConfig } from '../config'
+import { spaceListConfig } from '@/management/config/listConfig'
import SpaceModify from './SpaceModify.vue'
import { UserRole } from '@/management/utils/types/workSpace'
diff --git a/web/src/management/pages/list/components/StateModule.vue b/web/src/management/pages/list/components/StateModule.vue
index 01fa7696..ecbae312 100644
--- a/web/src/management/pages/list/components/StateModule.vue
+++ b/web/src/management/pages/list/components/StateModule.vue
@@ -6,7 +6,7 @@