| | |
| | | <el-input class="ztzf-input" v-model="searchForm.name" placeholder="请输入任务/机巢名称"></el-input> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="itemchild">日期选择:</div> |
| | | <el-date-picker |
| | | popper-class="custom-date-picker" |
| | | class="ztzf-date-picker" |
| | | class="ztzf-date-picker tasktimer" |
| | | v-model="taskData" |
| | | type="daterange" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | type="date" |
| | | placeholder="请选择日期" |
| | | value-format="YYYY-MM-DD" |
| | | :disabled-date="disabledDate" |
| | | /> |
| | | </div> |
| | | <div class="item"> |
| | |
| | | </div> |
| | | <div class="item"> |
| | | <div class="itemchild">关联算法:</div> |
| | | <TaskAlgorithmBusiness :setWidth="200" :showAlgorithm="true" @algorithmChange="algorithmChange" /> |
| | | <TaskAlgorithmBusiness :setWidth="220" :showAlgorithm="true" @algorithmChange="algorithmChange" /> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="itemchild">任务描述:</div> |
| | |
| | | return |
| | | } |
| | | |
| | | searchForm.begin_time = `${taskData.value[0]} 00:00:00` |
| | | searchForm.end_time = `${taskData.value[1]} 23:59:59` |
| | | searchForm.begin_time = `${taskData.value} 00:00:00` |
| | | searchForm.end_time = `${taskData.value} 23:59:59` |
| | | searchForm.execute_time_arr = timeSlot.value ? [timeSlot.value] : [] |
| | | createTask(searchForm).then(res => { |
| | | if (res.data.code === 0) { |