|
@@ -99,24 +99,24 @@
|
|
|
<!-- 进行中状态:显示答题按钮 + 查看题目按钮 -->
|
|
<!-- 进行中状态:显示答题按钮 + 查看题目按钮 -->
|
|
|
<template v-if="scope.row.status === '1'">
|
|
<template v-if="scope.row.status === '1'">
|
|
|
<el-tooltip content="答题" placement="top">
|
|
<el-tooltip content="答题" placement="top">
|
|
|
- <el-button type="warning" size="small" icon="Edit" @click="handleStartSurvey(scope.row)" />
|
|
|
|
|
|
|
+ <el-button type="warning" link size="small" icon="Edit" @click="handleStartSurvey(scope.row)" />
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
<el-tooltip content="查看题目" placement="top">
|
|
<el-tooltip content="查看题目" placement="top">
|
|
|
- <el-button type="primary" size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
|
|
|
|
+ <el-button type="primary" link size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 已结束状态:只显示查看题目按钮 -->
|
|
<!-- 已结束状态:只显示查看题目按钮 -->
|
|
|
<template v-if="scope.row.status === '2'">
|
|
<template v-if="scope.row.status === '2'">
|
|
|
<el-tooltip content="查看题目" placement="top">
|
|
<el-tooltip content="查看题目" placement="top">
|
|
|
- <el-button type="primary" size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
|
|
|
|
+ <el-button type="primary" link size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 其他状态:显示查看题目按钮 -->
|
|
<!-- 其他状态:显示查看题目按钮 -->
|
|
|
<template v-if="scope.row.status !== '1' && scope.row.status !== '2'">
|
|
<template v-if="scope.row.status !== '1' && scope.row.status !== '2'">
|
|
|
<el-tooltip content="查看题目" placement="top">
|
|
<el-tooltip content="查看题目" placement="top">
|
|
|
- <el-button type="primary" size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
|
|
|
|
+ <el-button type="primary" link size="small" icon="View" @click="handleQuestionManage(scope.row)" />
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|