From 5b0bdb380c1a88428c1758b7cad87b3c80bdc71c Mon Sep 17 00:00:00 2001
From: mll <1874467086>
Date: Wed, 4 Feb 2026 17:02:36 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E5=BA=A6=E6=90=9C=E7=B4=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../LowDesign/src/LowReport/index.vue | 55 +++++++++++++++++--
1 file changed, 51 insertions(+), 4 deletions(-)
diff --git a/src/components/LowDesign/src/LowReport/index.vue b/src/components/LowDesign/src/LowReport/index.vue
index 625f8ad..2389472 100644
--- a/src/components/LowDesign/src/LowReport/index.vue
+++ b/src/components/LowDesign/src/LowReport/index.vue
@@ -67,8 +67,34 @@
:column="scope.column"
>
+ groupbylisy
+
+
+
+
+
-
+
+
+
+
+
+ 维度搜索
+
+
@@ -108,7 +134,9 @@ const isInit = ref(false)
const tableOption = ref({})
const tableData = ref([])
-const tableSearch = ref({})
+const tableSearch = ref({
+ 'Group by':[]
+})
const tablePage = ref({ currentPage: 1, pageSize: 100, total: 0 })
const tableSelect = ref([])
const tableSort = ref({ column: '', order: '' })
@@ -121,7 +149,7 @@ const timeRange=ref([])
const amountFieds=ref({})
const amountObj=ref({})
const crudRef = ref()
-
+const dimensionFields=ref({})
const exportLoading = ref(false)
const permissions =
wsCache.get(CACHE_KEY.USER).lideeYunjipermissions?.[route.meta.menuDataId as string] || false
@@ -195,6 +223,10 @@ const initTable = async () => {
index==0?amountFieds.value.fistField=config.prop:''
amountFieds.value[item.isAmount]=config
}
+ if(item.isDimension=='Y'){
+ dimensionFields.value[config.prop]=config
+ }
+
if (item.queryMode == 'RANGE') config.searchRange = true
if (['Integer', 'BigInt', 'BigDecimal'].includes(item.fieldType)) config.type = 'number'
else if (item.fieldType == 'Date') {
@@ -229,11 +261,26 @@ const initTable = async () => {
if (item.queryMode == 'NE') config.searchLabel = `${config.label} !=`
tableOption.value.column[item.fieldCode] = config
})
+ //if(!!Object.keys(dimensionFields.value).length){
+ // tableOption.value.column['groupbylisy'] = {
+ // hide:true,
+ // prop: 'groupbylisy',
+ // label: '维度',
+ // type: 'input',
+ // overHidden: true,
+ // isExport: false,
+ // sortable: false,
+ // search: true
+ // }
+ //}
+
isInit.value = true
searchChange()
initTableLayout()
}
-
+const searchDimension=()=>{
+ searchChange()
+}
const initTableLayout = () => {
if (tableOption.value.height != 'auto' && tableOption.value.height !== undefined) return