<template>
  <div class="activity-scheme">
    <div class="activity-scheme__header" v-if="isUpload">
      <el-button size="mini" type="primary">上传活动方案</el-button>
    </div>
    
    <el-table border size="mini">
      <el-table-column label="方案编号" />
      <el-table-column label="状态" />
      <el-table-column label="活动方案预览" />
      <el-table-column label="供应商店铺" />
      <el-table-column label="供应商公司" />
      <el-table-column label="创建人" />
      <el-table-column label="创建时间" />
      <el-table-column label="操作" v-if="!isUpload" />
    </el-table>
  </div>
</template>

<script>
export default {
  name:'ActivityScheme',
  props:['isUpload'],
  data(){
    return {}
  }
}
</script>

<style lang="scss" scoped>
.activity-scheme{

  &__header{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin:10px 0px;
  }
}
</style>
