<template>
  <section class="content">
    <!-- 表单 -->
    <el-form
      ref="resetEcsFormSearch"
      :inline="!advanceSearch"
      :model="model"
      :advance-search="advanceSearch"
      :label-position="labelPosition"
      :label-width="advanceSearch ? labelWidth : 'auto'"
    >
      <slot />
    </el-form>

    <div
      style="width: 100%; border-bottom: 1px solid #ddd; margin: 10px 0;"
    ></div>
  </section>
</template>
<script>
export default {
  name: "EcsFormSearch",
  props: {
    model: Object,
    advanceSearch: {
      type: Boolean,
      default: false
    },
    labelPosition: {
      type: String,
      default: "left"
    },
    labelWidth: {
      type: String,
      default: "100px"
    }
  },
  data() {
    return {
      // inline: true,
      // formLabelWidth: ""
    };
  }
};
</script>

<style scoped></style>
