<template>
  <el-row>
    <el-col :span="6">
      <!-- <div class="grid-content bg-purple"> -->
      <span>操作人:</span>
      <el-input style="width:70%" clearable size="small" placeholder="请输入" v-model="search.operatorChn"></el-input>
      <!-- </div> -->
    </el-col>
    <el-col :span="10">
      <!-- <div class="grid-content bg-purple">
        <span>操作时间:</span>

        <el-date-picker style="width:70%" size="small" v-model="search.time" type="datetimerange" range-separator="至"
          start-placeholder="开始日期" end-placeholder="结束日期">
        </el-date-picker>
      </div> -->
    </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>
