<template>
	<el-drawer title="更多查询" v-model="visible" direction="ttb" :size="600" destroy-on-close @closed="$emit('closed')">
		<el-form :model="search" label-width="150px" style="padding: 10px">
			<el-form-item label="关键词">
				<el-input v-model="search.keyword" placeholder="关键词" clearable></el-input>
			</el-form-item>
			<el-form-item label="行业">
				<el-input v-model="search.keyword" placeholder="行业" clearable></el-input>
			</el-form-item>
			<el-form-item label="省份城市">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="成立年限">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="注册资本">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="企业状态">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="企业类型">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="资本类型">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="联系方式">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="参保人数">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="融资信息">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
			<el-form-item label="上市状态">
				<el-input v-model="search.keyword" placeholder="省份城市" clearable></el-input>
			</el-form-item>
		</el-form>
		<template #footer>
			<el-button type="primary" icon="el-icon-search" @click="submit()"></el-button>
		</template>
	</el-drawer>
</template>

<script>
export default {
	emits: ['success', 'closed', 'output', 'delete'],
	data() {
		return {
			visible: false,
			//表单数据
			search: {user: []},
		}
	},
	mounted() {
	},
	methods: {
		//显示
		open(){
			this.visible = true;
			return this
		},
		//表单提交方法
		submit(){
			this.visible = false;
			this.$emit('success', this.search)
		},
		//表单注入数据
		setData(data){
			data.page = 1;
			data.pagesize = 100;
			Object.assign(this.search, data)
		}
	}
}
</script>

<style scoped>
	.code {background: #848484;padding:15px;color: #fff;font-size: 12px;border-radius: 4px;}
	.el-row{padding: 5px 0;}
</style>