33 lines
637 B
Vue
33 lines
637 B
Vue
<template>
|
|
<div>
|
|
<SearchForm :schemas="searchFormSchema"></SearchForm>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import SearchForm from '@/components/search-form'
|
|
export default {
|
|
components: {
|
|
SearchForm,
|
|
},
|
|
data() {
|
|
return {
|
|
searchFormSchema: [
|
|
{
|
|
field: 'base',
|
|
label: '基地',
|
|
components: 'ApiSelect',
|
|
componentProps: {
|
|
api: async () => {
|
|
// const { data } = await getAgriculturalBasic()
|
|
return {}
|
|
},
|
|
labelField: 'name',
|
|
valueField: 'id',
|
|
},
|
|
},
|
|
],
|
|
}
|
|
},
|
|
}
|
|
</script>
|