|
|
@@ -16,14 +16,13 @@
|
|
|
<span style=" white-space: pre-line; word-wrap: break-word; line-height: 1.6; display: block; text-align: left; padding: 2px 4px;">
|
|
|
{{ record?.queJson ? formatQueJson(record.queJson) : '' }}
|
|
|
</span>
|
|
|
- <!-- 按钮:无需额外样式,自然靠最右侧 -->
|
|
|
- <button @click="record && handleOpenModal(record, 'view')" class="action-btn">
|
|
|
+ <button @click="record && handleOpenModal(record, 'view')" class="action-btn" title="查看问题详情">
|
|
|
<SvgIcon name="view" />
|
|
|
</button>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
- <button @click="handleOpenModal(record, 'edit')" class="action-btn">
|
|
|
+ <button @click="handleOpenModal(record, 'edit')" class="action-btn" title="编辑该问题">
|
|
|
<SvgIcon name="edit" />
|
|
|
</button>
|
|
|
<!-- 删除按钮 -->
|
|
|
@@ -36,7 +35,7 @@
|
|
|
@cancel="handleCancel"
|
|
|
placement="top"
|
|
|
>
|
|
|
- <button class="action-btn">
|
|
|
+ <button class="action-btn" title="删除该问题">
|
|
|
<SvgIcon name="delete" />
|
|
|
</button>
|
|
|
</Popconfirm>
|
|
|
@@ -49,11 +48,11 @@
|
|
|
@cancel="handleCancel"
|
|
|
placement="top"
|
|
|
>
|
|
|
- <button class="action-btn">
|
|
|
+ <button class="action-btn" title="标记该问题为已解决">
|
|
|
<SvgIcon name="resolved" />
|
|
|
</button>
|
|
|
</Popconfirm>
|
|
|
- <button @click="handleGoToPage(record)" class="action-btn">
|
|
|
+ <button @click="handleGoToPage(record)" class="action-btn" title="监测详情">
|
|
|
<SvgIcon name="details" />
|
|
|
</button>
|
|
|
</template>
|
|
|
@@ -70,13 +69,13 @@
|
|
|
{{ record?.queJson ? formatQueJson(record.queJson) : '' }}
|
|
|
</span>
|
|
|
<!-- 按钮:无需额外样式,自然靠最右侧 -->
|
|
|
- <button @click="record && handleOpenModal(record, 'view')" class="action-btn">
|
|
|
+ <button @click="record && handleOpenModal(record, 'view')" class="action-btn" title="查看问题详情">
|
|
|
<SvgIcon name="view" />
|
|
|
</button>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
- <button @click="handleOpenModal(record, 'view')" class="action-btn">
|
|
|
+ <button @click="handleOpenModal(record, 'view')" class="action-btn" title="问题详情">
|
|
|
<SvgIcon name="details" />
|
|
|
</button>
|
|
|
</template>
|