mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 13:58:26 +08:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
@@ -529,9 +529,6 @@ export default {
|
||||
view.yaxis.splice(1, view.yaxis.length)
|
||||
}
|
||||
}
|
||||
if (view.type.startsWith('text') || view.type.startsWith('gauge')) {
|
||||
view.xaxis = []
|
||||
}
|
||||
if (view.type === 'line' && trigger === 'chart') {
|
||||
view.customAttr.size.lineArea = false
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<el-col ref="container" v-loading="dataLoading" style="width: 100%;height:100%">
|
||||
<span>{{ table.name }}</span>
|
||||
<ux-grid
|
||||
id="dsData"
|
||||
ref="plxTable"
|
||||
size="mini"
|
||||
style="width: 100%;"
|
||||
@@ -59,6 +60,7 @@ export default {
|
||||
// })()
|
||||
// }
|
||||
// this.height = window.innerHeight / 3
|
||||
this.height = document.getElementById('dsData').parentNode.offsetHeight - 16 - 14 - 5
|
||||
this.initData()
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
>
|
||||
<el-row style="display: flex;align-items: center;justify-content: center;">
|
||||
<el-col :span="6">
|
||||
<p class="table-name-css">{{ table.name }}</p>
|
||||
<p class="table-name-css" :title="table.name">{{ table.name }}</p>
|
||||
<el-select v-model="union.sourceTableFieldId" :placeholder="$t('dataset.pls_slc_union_field')" filterable clearable size="mini">
|
||||
<el-option
|
||||
v-for="item in sourceFieldOption"
|
||||
@@ -93,7 +93,9 @@
|
||||
trigger="click"
|
||||
>
|
||||
<dataset-group-selector :mode="1" @getTable="getTable" />
|
||||
<el-button slot="reference" size="mini">{{ targetTable.name || $t('dataset.pls_slc_union_table') }}</el-button>
|
||||
<el-button slot="reference" size="mini" style="width: 100%;">
|
||||
<p class="table-name-css" :title="targetTable.name || $t('dataset.pls_slc_union_table')">{{ targetTable.name || $t('dataset.pls_slc_union_table') }}</p>
|
||||
</el-button>
|
||||
</el-popover>
|
||||
|
||||
<el-select v-model="union.targetTableFieldId" :placeholder="$t('dataset.pls_slc_union_field')" filterable clearable size="mini">
|
||||
@@ -282,6 +284,9 @@ export default {
|
||||
<style scoped>
|
||||
.table-name-css{
|
||||
margin: 4px 2px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.union-relation-css{
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user