| | |
| | | <div class="head-container"> |
| | | <el-card class="box-card"> |
| | | <div slot="header"> |
| | | <el-select v-model="projectId" filterable clearable placeholder="请先选择所属项目" style="width:100%" class="filter-item" @change="getTaskDatas"> |
| | | <el-select v-model="projectId" filterable clearable placeholder="请先选择所属项目" style="width:100%" class="filter-item" @change="changer"> |
| | | <el-option |
| | | v-for="item in projectDatas" |
| | | :key="item.id" |
| | |
| | | return |
| | | } |
| | | }, |
| | | changer() { |
| | | this.getTaskDatas() |
| | | this.crud.data = [] |
| | | this.taskDatas = [] |
| | | }, |
| | | checkEndTime(time) { |
| | | if (time > this.planEndTime || time < this.planStartTime) { |
| | | this.form.taskEndDate = null |