|
|
@ -57,7 +57,12 @@ const props = defineProps({ |
|
|
|
type: Array, |
|
|
|
required: false, |
|
|
|
default: [] |
|
|
|
} |
|
|
|
}, |
|
|
|
formClassNames:{ |
|
|
|
type: Array, |
|
|
|
required: false, |
|
|
|
default: [] |
|
|
|
}, |
|
|
|
}) |
|
|
|
|
|
|
|
const emit = defineEmits(['search', 'reset','onInput','onChange','searchTableSuccess']) |
|
|
@ -280,6 +285,7 @@ defineExpose({setFormValues}) // 提供 open 方法,用于打开弹窗 |
|
|
|
:label-width="labelWidth" |
|
|
|
:schema="newSchema" |
|
|
|
class="-mb-15px search" |
|
|
|
:class="formClassNames" |
|
|
|
hide-required-asterisk |
|
|
|
@register="register" |
|
|
|
@onInput="onInput" |
|
|
@ -338,6 +344,11 @@ defineExpose({setFormValues}) // 提供 open 方法,用于打开弹窗 |
|
|
|
margin-right: 1%; |
|
|
|
width: 20%; |
|
|
|
} |
|
|
|
.dateSearch ::v-deep(.el-form-item) { |
|
|
|
margin-right: 1%; |
|
|
|
min-width: 20%; |
|
|
|
width: auto; |
|
|
|
} |
|
|
|
.search ::v-deep(.el-form-item:nth-last-child(1)) { |
|
|
|
margin-right: 0px; |
|
|
|
width: auto; |
|
|
|