| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <primary-question-card v-if="questionVO!==undefined"
- :question-v-o="questionVO"
- :cur-num="curNum"
- :total-num="totalNum">
- <template v-slot:button>
- <el-col :span="1">
- <el-button type="danger" icon="el-icon-check" circle @click="mockExecuteQuestion"/>
- </el-col>
- <el-col :span="1">
- <el-button type="primary" icon="el-icon-close" circle @click="mockPardonQuestion"/>
- </el-col>
- </template>
- </primary-question-card>
- </template>
- <script>
- import PrimaryQuestionCard from "@/components/QuestionCard/PrimaryQuestionCard";
- export default {
- name: "ExecutingQuestionCard",
- components: {
- PrimaryQuestionCard
- },
- props: {
- questionVO: Object,
- curNum: Number,
- totalNum: Number,
- },
- methods: {
- // 确认删除(处决)该题目
- // todo
- executeQuestion(){
- },
- mockExecuteQuestion(){
- },
- // 取消删除(赦免)该题目
- // todo
- pardonQuestion(){
- },
- mockPardonQuestion(){
- },
- },
- }
- </script>
- <style scoped>
- </style>
|