ExecutingQuestionCard.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <primary-question-card v-if="questionVO!==undefined"
  3. :question-v-o="questionVO"
  4. :cur-num="curNum"
  5. :total-num="totalNum">
  6. <template v-slot:button>
  7. <el-col :span="1">
  8. <el-button type="danger" icon="el-icon-check" circle @click="mockExecuteQuestion"/>
  9. </el-col>
  10. <el-col :span="1">
  11. <el-button type="primary" icon="el-icon-close" circle @click="mockPardonQuestion"/>
  12. </el-col>
  13. </template>
  14. </primary-question-card>
  15. </template>
  16. <script>
  17. import PrimaryQuestionCard from "@/components/QuestionCard/PrimaryQuestionCard";
  18. export default {
  19. name: "ExecutingQuestionCard",
  20. components: {
  21. PrimaryQuestionCard
  22. },
  23. props: {
  24. questionVO: Object,
  25. curNum: Number,
  26. totalNum: Number,
  27. },
  28. methods: {
  29. // 确认删除(处决)该题目
  30. // todo
  31. executeQuestion(){
  32. },
  33. mockExecuteQuestion(){
  34. },
  35. // 取消删除(赦免)该题目
  36. // todo
  37. pardonQuestion(){
  38. },
  39. mockPardonQuestion(){
  40. },
  41. },
  42. }
  43. </script>
  44. <style scoped>
  45. </style>