| | |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="任务算法:" v-if="isExpand" class="taskAlgorithm"> |
| | | <TaskAlgorithmBusiness :setWidth="186" :showAlgorithm="true" @algorithmChange="algorithmChange" /> |
| | | <TaskAlgorithmBusiness :setWidth="162" :showAlgorithm="true" @algorithmChange="algorithmChange" /> |
| | | </el-form-item> |
| | | <el-form-item label="所属部门:" v-if="isExpand"> |
| | | <el-select |
| | |
| | | </div> |
| | | </template> |
| | | <script setup> |
| | | // import { pxToRem } from '@/utils/rem' |
| | | import { pxToRem } from '@/utils/rem' |
| | | import { ElMessage } from 'element-plus' |
| | | import { deptsByAreaCode } from '@/api/job/task' |
| | | import TaskAlgorithmBusiness from './TaskAlgorithmBusiness.vue' |
| | |
| | | const end = dayjs(val[1]) |
| | | const diff = end.diff(start, 'day') |
| | | |
| | | if (diff > 30) { |
| | | ElMessage.warning('日期范围不能超过30天') |
| | | if (diff > 31) { |
| | | ElMessage.warning('日期范围不能超过31天') |
| | | dateRange.value = [] |
| | | return |
| | | } |
| | |
| | | <style lang="scss"> |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | .taskAlgorithm { |
| | | :deep() { |
| | | .task-algorithm > div { |
| | | width: 233px !important; |
| | | } |
| | | } |
| | | } |
| | | // .taskAlgorithm { |
| | | // :deep() { |
| | | // .task-algorithm > div { |
| | | // width: 233px !important; |
| | | // } |
| | | // } |
| | | // } |
| | | .search-box-test { |
| | | transition: all 0.3s; |
| | | |