<template>
  <el-row>
    <el-col :span="6">
      <span>表名:</span>
      <el-input style="width:70%" clearable size="small" placeholder="请输入" v-model="search.tableName"></el-input>
    </el-col>
    <el-col :span="6">
      <span>文件名:</span>
      <el-input style="width:70%" clearable size="small" placeholder="请输入" v-model="search.fileName"></el-input>
    </el-col>
    <el-col :span="6">
      <span>转换状态:</span>
      <el-select size="small" clearable placeholder="请选择" v-model="search.statusType">
        <el-option label="全部" value=""></el-option>
        <el-option label="转换成功" value="0"></el-option>
        <el-option label="转换失败" value="1"></el-option>
      </el-select>
    </el-col>
    <el-col :span="6">
      <el-button size="small" type="primary" icon="el-icon-search" @click="searchClick(1)">搜索</el-button>
      <el-button size="small" type="info" icon="el-icon-refresh" @click="searchClick(2)">重置</el-button>
    </el-col>
  </el-row>
</template>
<script>
  export default {
    props: {
      search: {
        type: Object,
        default: () => {},
      },
    },
    data() {
      return {

      };
    },
    methods: {
      searchClick(val) {
        this.$emit('searchClick', val)
      }
    }
  };

</script>
<style lang="scss" scoped>
</style>
