<script setup name="search">
import SubmitBtn from '@com/SubmitBtn.vue'
import { onMounted, reactive, ref } from 'vue'

const queryForm = reactive({
	mode: 0
})
/**执行 */
const emits = defineEmits(['submit'])
const funSubmit = async () => {
	emits('submit', queryForm)
}
</script>
<template>
	<div class="pl-[20px] flex items-center h-[80px] relative">
		<div class="absolute top-[-7px] left-[20px] text-[#838383] text-[14px]">操作面板</div>
		<el-form class="whitespace-nowrap" :inline="true" :model="queryForm">
			<el-form-item label="合并方式" class="!mb-0">
				<el-select v-model="queryForm.mode">
					<el-option :value="0" label="多表单台"></el-option>
					<el-option :value="1" label="单表多台"></el-option>
				</el-select>
			</el-form-item>
			<el-form-item class="!mb-0">
				<submit-btn v-prevdbclick:5000="funSubmit" desc="执行"></submit-btn>
			</el-form-item>
		</el-form>
	</div>
</template>