<template>
  <el-form ref="form" :model="form" label-width="100px" class="view-AerospaceCompileFrom">
    <p>基本信息</p>
    <el-form-item label="任务名称">
      <el-input v-model="form.taskName"></el-input>
    </el-form-item>
    <el-row>
      <el-col :span="12">
        <el-form-item label="任务时间">
          <el-date-picker type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-M-d" v-model="form.taskTime" placeholder="选择日期"> </el-date-picker>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="任务时长"> <el-input v-model="form.taskLength"></el-input> </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="飞行环境">
          <el-input v-model="form.flightEnvironment"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="任务类型">
          <el-input v-model="form.taskType"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="任务飞机数量">
          <el-input v-model="form.taskNumber"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="任务地点">
          <el-input v-model="form.taskSite"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-form-item label="任务描述">
      <el-input type="textarea" v-model="form.taskDescribe"></el-input>
    </el-form-item>
    <div class="btn-box"><el-button type="primary">保存</el-button></div>
  </el-form>
</template>

<script>
export default {
  name: 'basicInformation',
  components: {},
  data() {
    // 这里存放数据
    return {
      form: {
        taskName: '实弹训练',
        taskTime: ['2023-08-01', '2023-09-02'],
        taskLength: '80',
        flightEnvironment: '沙漠',
        taskType: '打靶',
        status: '',
        taskNumber: '5',
        taskSite: '沙漠',
        taskDescribe: '云海'
      }
    }
  },
  mounted() {},
  methods: {}
}
</script>

<style lang="scss">
@import './index.scss';
</style>
