Merge pull request #7245 from dataease/pr@dev_one_dot_x
Pr@dev one dot x
This commit is contained in:
commit
bc5b773afd
@ -2064,7 +2064,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
filedList() {
|
filedList() {
|
||||||
return [...this.dimension, ...this.quota]
|
return [...this.dimension, ...this.quota].filter(ele => ele.id !== 'count')
|
||||||
},
|
},
|
||||||
obj() {
|
obj() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -16,15 +16,16 @@
|
|||||||
slot="footer"
|
slot="footer"
|
||||||
class="dialog-footer"
|
class="dialog-footer"
|
||||||
>
|
>
|
||||||
<el-button
|
<de-btn
|
||||||
|
secondary
|
||||||
@click="closeFilter"
|
@click="closeFilter"
|
||||||
>{{ $t('chart.cancel') }}
|
>{{ $t('chart.cancel') }}
|
||||||
</el-button>
|
</de-btn>
|
||||||
<el-button
|
<de-btn
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="changeFilter"
|
@click="changeFilter"
|
||||||
>{{ $t('chart.confirm') }}
|
>{{ $t('chart.confirm') }}
|
||||||
</el-button>
|
</de-btn>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
@ -105,13 +106,13 @@ export default {
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.filter-tree-cont {
|
.filter-tree-cont {
|
||||||
.tree-cont {
|
.tree-cont {
|
||||||
height: 200px;
|
min-height: 67px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid var(--deBorderBase, #DCDFE6);
|
border: 1px solid var(--deBorderBase, #DCDFE6);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
max-height: 500px;
|
||||||
.content {
|
.content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -350,8 +350,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.showTextArea = true
|
this.showTextArea = true
|
||||||
},
|
},
|
||||||
filterTypeChange() {
|
filterTypeChange(val) {
|
||||||
this.item.term = ''
|
this.item.term = val === 'logic' ? 'eq' : ''
|
||||||
this.item.value = ''
|
this.item.value = ''
|
||||||
this.initEnumOptions()
|
this.initEnumOptions()
|
||||||
},
|
},
|
||||||
@ -389,7 +389,7 @@ export default {
|
|||||||
filterType: 'logic',
|
filterType: 'logic',
|
||||||
enumValue: '',
|
enumValue: '',
|
||||||
value: '',
|
value: '',
|
||||||
term: ''
|
term: 'eq'
|
||||||
})
|
})
|
||||||
this.filterListInit(deType)
|
this.filterListInit(deType)
|
||||||
this.checklist = []
|
this.checklist = []
|
||||||
|
|||||||
@ -136,6 +136,9 @@ export default {
|
|||||||
} else if (node.indeterminate_number_map[key] > 0) {
|
} else if (node.indeterminate_number_map[key] > 0) {
|
||||||
node.check_all_map[key] = false
|
node.check_all_map[key] = false
|
||||||
node.indeterminate_map[key] = true
|
node.indeterminate_map[key] = true
|
||||||
|
} else {
|
||||||
|
node.check_all_map[key] = false
|
||||||
|
node.indeterminate_map[key] = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user