<template>
  <ele-modal title="" :visible.sync="visible">
    <el-form inline>
      <el-form-item label="任务名称">
        <el-input></el-input>
      </el-form-item>
      <el-form-item label="创建时间">
        <el-date-picker type="daterange"></el-date-picker>
      </el-form-item>
    </el-form>
    <ele-pro-table :columns="columns" :datasource="[]" cache-key="otherMission">
    </ele-pro-table>
  </ele-modal>
</template>

<script>
  export default {
    data () {
      return {
        visible: false,
        columns: [
          {
            label: '开始时间',
            prop: 'aa'
          },
          {
            label: '任务名称',
            prop: 'aa'
          },
          {
            label: '创建人',
            prop: 'aa'
          },
          {
            label: '完成时间',
            prop: 'aa'
          },
          {
            label: '执行周期',
            prop: 'aa'
          }
        ]
      };
    },
    methods: {
      open () {
        this.visible = true;
      }
    }
  };
</script>
