Merge pull request #7245 from dataease/pr@dev_one_dot_x

Pr@dev one dot x
This commit is contained in:
dataeaseShu 2023-12-21 11:06:50 +08:00 committed by GitHub
commit bc5b773afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 10 deletions

View File

@ -2064,7 +2064,7 @@ export default {
},
computed: {
filedList() {
return [...this.dimension, ...this.quota]
return [...this.dimension, ...this.quota].filter(ele => ele.id !== 'count')
},
obj() {
return {

View File

@ -16,15 +16,16 @@
slot="footer"
class="dialog-footer"
>
<el-button
<de-btn
secondary
@click="closeFilter"
>{{ $t('chart.cancel') }}
</el-button>
<el-button
</de-btn>
<de-btn
type="primary"
@click="changeFilter"
>{{ $t('chart.confirm') }}
</el-button>
</de-btn>
</div>
</el-dialog>
</template>
@ -105,13 +106,13 @@ export default {
<style lang="scss">
.filter-tree-cont {
.tree-cont {
height: 200px;
min-height: 67px;
width: 100%;
padding: 16px;
border-radius: 4px;
border: 1px solid var(--deBorderBase, #DCDFE6);
overflow: auto;
max-height: 500px;
.content {
height: 100%;
width: 100%;

View File

@ -350,8 +350,8 @@ export default {
}
this.showTextArea = true
},
filterTypeChange() {
this.item.term = ''
filterTypeChange(val) {
this.item.term = val === 'logic' ? 'eq' : ''
this.item.value = ''
this.initEnumOptions()
},
@ -389,7 +389,7 @@ export default {
filterType: 'logic',
enumValue: '',
value: '',
term: ''
term: 'eq'
})
this.filterListInit(deType)
this.checklist = []

View File

@ -136,6 +136,9 @@ export default {
} else if (node.indeterminate_number_map[key] > 0) {
node.check_all_map[key] = false
node.indeterminate_map[key] = true
} else {
node.check_all_map[key] = false
node.indeterminate_map[key] = false
}
}
}