| | |
| | | <script> |
| | | import CompProblemAddOrUpd from './CompProblemAddOrUpd.vue'; |
| | | import taskApi from '@/api/fysp/taskApi'; |
| | | import problemApi from '@/api/fysp/problemApi'; |
| | | import { useCloned } from '@vueuse/core'; |
| | | import dayjs from 'dayjs'; |
| | | export default { |
| | |
| | | }, |
| | | // 根据子任务获取里面的问题列表 |
| | | getProBySubtask(subtask) { |
| | | return taskApi.getProBySubtask(subtask.stGuid).then((pros) => { |
| | | return problemApi.getProBySubtask(subtask.stGuid).then((pros) => { |
| | | if (pros) { |
| | | pros.forEach((pro) => { |
| | | if (pro.ptguid == this.deepCopyPro.ptguid) { |