| | |
| | | <CompProblemCard |
| | | :key="i" |
| | | v-for="(p, i) in curProList" |
| | | :index="i + 1" |
| | | :index="i" |
| | | :problem="p" |
| | | :subtask="curSubtask.data" |
| | | :topTask="topTask" |
| | | @submit="updateSubtask" |
| | | @check="handleProblemCheck" |
| | | @delete="handleProblemDelete" |
| | | ></CompProblemCard> |
| | | </div> |
| | | <el-empty v-else description="暂无问题" v-loading="mainLoading" /> |
| | |
| | | this.curSubtask.data.changeNum = status.changeNum; |
| | | this.curSubtask.data.changeCheckedNum = status.changeCheckedNum; |
| | | this.curSubtask.type = ProCheckProxy.getSubtaskType(this.curSubtask.data); |
| | | }, |
| | | // 删除问题 |
| | | handleProblemDelete(index) { |
| | | this.curProList.splice(index, 1); |
| | | } |
| | | }, |
| | | mounted() {} |