diff --git a/core/core-frontend/src/components/visualization/LinkJumpSet.vue b/core/core-frontend/src/components/visualization/LinkJumpSet.vue index f61dd67b3d..24537eeffc 100644 --- a/core/core-frontend/src/components/visualization/LinkJumpSet.vue +++ b/core/core-frontend/src/components/visualization/LinkJumpSet.vue @@ -913,7 +913,7 @@ defineExpose({ } .item-dimension:hover { - border: 1px solid var(--blue-500, #3370ff); + border: 1px solid var(--ed-color-primary, #3370ff); background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1)); } 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/core/core-frontend/src/views/template/component/DeTemplateList.vue b/core/core-frontend/src/views/template/component/DeTemplateList.vue index a2b215bb1d..550a5e4f56 100644 --- a/core/core-frontend/src/views/template/component/DeTemplateList.vue +++ b/core/core-frontend/src/views/template/component/DeTemplateList.vue @@ -205,8 +205,8 @@ defineExpose({ } li.select { - background: var(--deWhiteHover, #e0eaff) !important; - color: var(--TextActive, #3370ff) !important; + background: var(--ed-color-primary-1a, #e0eaff) !important; + color: var(--ed-color-primary, #3370ff) !important; } .de-btn-fix { diff --git a/de-xpack b/de-xpack index ae2888958e..11240f0a32 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit ae2888958efe511c787b2ad8a9d21eafe9c4f6fb +Subproject commit 11240f0a32fc1916409c82580e79fb17bb7988eb