forked from github/dataease
fix: 修复仪表板查询组件是日期样式
This commit is contained in:
parent
879d284145
commit
15349817b6
@ -9,6 +9,7 @@
|
||||
:is="config.component"
|
||||
v-if="config.type==='custom'"
|
||||
:id="'component' + config.id"
|
||||
class="component-custom"
|
||||
:style="getComponentStyleDefault(config.style)"
|
||||
:out-style="config.style"
|
||||
:element="config"
|
||||
@ -99,4 +100,9 @@ export default {
|
||||
.gap_class{
|
||||
padding:3px;
|
||||
}
|
||||
.component-custom {
|
||||
outline: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
@ -8,6 +8,7 @@
|
||||
:start-placeholder="options.attrs.startPlaceholder"
|
||||
:end-placeholder="options.attrs.endPlaceholder"
|
||||
:placeholder="options.attrs.placeholder"
|
||||
style="min-height: 36px;"
|
||||
@change="dateChange"
|
||||
/>
|
||||
</template>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<el-input
|
||||
v-if="options!== null && options.attrs!==null"
|
||||
v-model="options.value"
|
||||
v-model="values"
|
||||
resize="vertical"
|
||||
:placeholder="options.attrs.placeholder"
|
||||
@keyup.enter.native="search"
|
||||
@ -46,7 +46,7 @@ export default {
|
||||
setCondition() {
|
||||
const param = {
|
||||
component: this.element,
|
||||
value: !this.options.value ? [] : Array.isArray(this.options.value) ? this.options.value : [this.options.value],
|
||||
value: !this.values ? [] : Array.isArray(this.values) ? this.values : [this.values],
|
||||
operator: this.operator
|
||||
}
|
||||
this.inDraw && this.$store.commit('addViewFilter', param)
|
||||
|
@ -628,7 +628,7 @@ export default {
|
||||
min-width: 230px !important;
|
||||
max-width: 260px !important;
|
||||
height: 100%;
|
||||
min-height: 390px;
|
||||
min-height: 100px;
|
||||
padding: 5px;
|
||||
border: none;
|
||||
padding-bottom: 20px !important;
|
||||
|
Loading…
Reference in New Issue
Block a user