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