diff --git a/core/core-frontend/src/custom-component/v-query/Flat.vue b/core/core-frontend/src/custom-component/v-query/Flat.vue
new file mode 100644
index 0000000000..402a5b043a
--- /dev/null
+++ b/core/core-frontend/src/custom-component/v-query/Flat.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue
index bb23cbe19a..d91bc0cf95 100644
--- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue
+++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue
@@ -1784,6 +1784,7 @@ const parameterCompletion = ele => {
defaultNumValueEnd: null,
numValueEnd: null,
numValueStart: null,
+ displayFormat: 0,
timeRange: {
intervalType: 'none',
dynamicWindow: false,
@@ -3438,6 +3439,24 @@ defineExpose({
+
+
+ {{ t('common.display_formats') }}
+
+
+
+ {{ t('common.dropdown_display') }}
+ {{ t('common.tile_display') }}
+
+
+
{
return {
selectValue: '',
+ displayFormat: 0,
queryConditionWidth: 0,
resultMode: 0,
defaultValue: '',
@@ -657,6 +660,10 @@ const selectStyle = computed(() => {
return props.isConfig ? {} : { width: getCustomWidth() + 'px' }
})
+const selectStyleFlat = computed(() => {
+ return props.isConfig ? { width: '415px' } : { width: getCustomWidth() + 'px' }
+})
+
const mult = ref()
const single = ref()
@@ -734,6 +741,24 @@ const tagTextWidth = computed(() => {
return (getCustomWidth() - 65) / 2 - 20 + 'px'
})
+const activeItems = computed(() => {
+ return Array.isArray(selectValue.value) ? selectValue.value : [selectValue.value]
+})
+
+const handleItemClick = (item: any) => {
+ if (multiple.value) {
+ if (selectValue.value.includes(item)) {
+ selectValue.value = selectValue.value.filter(ele => ele !== item)
+ } else {
+ selectValue.value = [...selectValue.value, item]
+ }
+ } else {
+ selectValue.value = selectValue.value === item ? undefined : item
+ }
+
+ handleValueChange()
+}
+
const componentClick = () => {
mult.value?.blur()
single.value?.blur()
@@ -754,8 +779,18 @@ defineExpose({
+