<template>
    <div id="needSearchInfo">
        <el-row>
            <el-col :span="24" class="info">
                <el-col :span="12">
                    <span>筛选条件：</span>
                    <el-select v-model="region" >
                        <el-option label="未授信" value="0"></el-option>
                        <el-option label="已授信" value="1"></el-option>
                    </el-select>
                </el-col>
                <el-col :span="5" class="btn">
                    <el-button type="primary" @click="clickBtn()" >查询</el-button>
                </el-col>
            </el-col>
        </el-row>
    </div>
</template>

<script>
  export default {
    name: 'needSearchInfo',
    props: {},
    components: {},
    data: () => ({
      region: '0',
    }),
    created() {},
    computed: {},
    methods: {
      clickBtn() {
        this.$emit('clickBtn',this.region);
      },
    },
  };
</script>

<style lang="less" scoped>
    .info {
        padding: 15px 0;
    }
    .info .input {
        padding: 6px 0;
    }
    .info .btn {
        text-align: center;
    }

    /deep/.el-button {
        color: #fff;
        background-color: red;
        border-color: red;
    }
    /deep/.el-input__inner {
        height: 30px;
        line-height: 30px;
    }
</style>
