|
@@ -209,8 +209,9 @@
|
|
<div class="flex flex-row justify-between items-center">
|
|
<div class="flex flex-row justify-between items-center">
|
|
<div>
|
|
<div>
|
|
<span style="font-size: 14px; font-weight: bold">{{ Findex + 1 + '.' }}大题名称:</span>
|
|
<span style="font-size: 14px; font-weight: bold">{{ Findex + 1 + '.' }}大题名称:</span>
|
|
- <span class="ml-2"
|
|
|
|
- >{{ item.name }} <EditOutlined @click="handleEditQuestion(item, Findex)"
|
|
|
|
|
|
+ <span class="ml-2">
|
|
|
|
+ {{ item.name }}
|
|
|
|
+ <EditOutlined @click="handleEditQuestion(item, Findex)"
|
|
/></span>
|
|
/></span>
|
|
<a style="margin-left: 12px" @click="handleDeleteQuestion(Findex)">删除</a>
|
|
<a style="margin-left: 12px" @click="handleDeleteQuestion(Findex)">删除</a>
|
|
</div>
|
|
</div>
|
|
@@ -233,14 +234,15 @@
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
@click="handleCreateSubject(null, false, Findex)"
|
|
@click="handleCreateSubject(null, false, Findex)"
|
|
- >新增小题</a-button
|
|
|
|
>
|
|
>
|
|
|
|
+ 新增小题
|
|
|
|
+ </a-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template #action="{ record, index: indexs }">
|
|
<template #action="{ record, index: indexs }">
|
|
<div class="flex flex-row justify-between">
|
|
<div class="flex flex-row justify-between">
|
|
- <a type="link" @click="handleEdit(record, index, indexs)"> 编辑 </a>
|
|
|
|
- <a type="link" @click="handleDeleteItem(index, indexs)"> 删除 </a>
|
|
|
|
|
|
+ <a type="link" @click="handleEdit(record, Findex, indexs)"> 编辑 </a>
|
|
|
|
+ <a type="link" @click="handleDeleteItem(Findex, indexs)"> 删除 </a>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</Table>
|
|
</Table>
|