提交 15349817 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 修复仪表板查询组件是日期样式

上级 879d2841
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论