diff --git a/core/core-frontend/src/custom-component/v-query/DynamicTimeForViewFilter.vue b/core/core-frontend/src/custom-component/v-query/DynamicTimeForViewFilter.vue new file mode 100644 index 0000000000..367ffff853 --- /dev/null +++ b/core/core-frontend/src/custom-component/v-query/DynamicTimeForViewFilter.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/core/core-frontend/src/views/chart/components/editor/filter/FilterTree.vue b/core/core-frontend/src/views/chart/components/editor/filter/FilterTree.vue index 9ff39d2afd..6b063baa82 100644 --- a/core/core-frontend/src/views/chart/components/editor/filter/FilterTree.vue +++ b/core/core-frontend/src/views/chart/components/editor/filter/FilterTree.vue @@ -1,7 +1,7 @@ + + + + + 时间粒度 + + + + + + + + 相对当前 + + + + + + + + + + + + + + + + + + + + 预览 + + + + + + + + diff --git a/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue new file mode 100644 index 0000000000..2b71a5a76a --- /dev/null +++ b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue @@ -0,0 +1,244 @@ + + + + + + + + + {{ logic === 'or' ? 'OR' : 'AND' }} + + + + {{ logic === 'or' ? 'OR' : 'AND' }} + + + + + + + AND + OR + + + + + + + + + + + + + del(idx, item.child)" + @addCondReal="(type, logic) => add(type, item.child, logic)" + :logic="item.logic" + @removeRelationList="removeRelationList(index)" + :relationList="item.child" + > + + + + + + + {{ t('auth.add_condition') }} + + + + {{ t('auth.add_relationship') }} + + + + + + + diff --git a/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/FilterFiled.vue b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/FilterFiled.vue new file mode 100644 index 0000000000..ff5e4e35b6 --- /dev/null +++ b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/FilterFiled.vue @@ -0,0 +1,1192 @@ + + + + + + {{ t('auth.filter_fields') }} + + + + + + + + + + + + + + + + + + + {{ ele.name }} + + + + + + + + {{ t('auth.screen_method') }} + + + + + + + 时间类型 + + + + + + {{ t('auth.fixed_value') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ i }} + + + + + + {{ t('auth.select_all') }} + + + + + {{ t('auth.added') }}{{ checklist.length }} + + + + {{ t('auth.manual_input') }} + + + + + + + + {{ t('auth.close') }} + + + {{ t('auth.add') }} + + + + + + + + + + + {{ i }} + + + + + + + + + + {{ t('auth.sure') }} + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/RowAuth.vue b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/RowAuth.vue new file mode 100644 index 0000000000..540af3aa56 --- /dev/null +++ b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/RowAuth.vue @@ -0,0 +1,375 @@ + + + + + del(idx)" + @addCondReal="addCondReal" + @removeRelationList="removeRelationList" + @changeAndOrDfs="type => changeAndOrDfs(relationList, type)" + :relationList="relationList" + v-model:logic="logic" + /> + + + + + + + + + + diff --git a/de-xpack b/de-xpack index 11b651cfa7..11240f0a32 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 11b651cfa73e22195c36887672539a6a7ee0dddc +Subproject commit 11240f0a32fc1916409c82580e79fb17bb7988eb