| | |
| | | import { ref, reactive, watch, computed, onMounted } from 'vue'; |
| | | import { ElMessageBox, ElNotification, ElMessage } from 'element-plus'; |
| | | import taskApi from '@/api/fysp/taskApi'; |
| | | import TaskProxy from '../TaskProxy'; |
| | | |
| | | onMounted(() => { |
| | | // if (props.height) { |
| | |
| | | dayTask: Object |
| | | }); |
| | | |
| | | const emit = defineEmits(['delete']); |
| | | const emit = defineEmits(['submit', 'delete']); |
| | | |
| | | const scrollHeight = ref('14vh'); |
| | | |
| | |
| | | fail('未选择监管场景'); |
| | | } else { |
| | | success(); |
| | | // 将任务执行人格式化并传递 |
| | | const param = TaskProxy.getExecutors(v.value.executor, executors.value) |
| | | emit('submit', param) |
| | | } |
| | | } |
| | | |