|
|
@ -28,6 +28,7 @@ |
|
|
|
v-model:currentPage="tableObject.currentPage" |
|
|
|
v-model:sort="tableObject.sort" |
|
|
|
> |
|
|
|
<!-- 请求参数 --> |
|
|
|
<template #reqBody="{row}"> |
|
|
|
<el-tooltip> |
|
|
|
<template #content> |
|
|
@ -38,6 +39,30 @@ |
|
|
|
<span class="ellipsis">{{row.reqBody}}</span> |
|
|
|
</el-tooltip> |
|
|
|
</template> |
|
|
|
<!-- 返回结果 --> |
|
|
|
<template #respBody="{row}"> |
|
|
|
<el-tooltip> |
|
|
|
<template #content> |
|
|
|
<div class="toolContent"> |
|
|
|
<pre>{{ JSON.parse(row.respBody.replace(/[\\]/g, '')) }}</pre> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<span class="ellipsis">{{row.respBody}}</span> |
|
|
|
</el-tooltip> |
|
|
|
</template> |
|
|
|
|
|
|
|
<!-- 错误信息 --> |
|
|
|
<template #errorMsg="{row}"> |
|
|
|
<el-tooltip> |
|
|
|
<template #content> |
|
|
|
<div class="toolContent"> |
|
|
|
<pre>{{ row.errorMsg }}</pre> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<span class="ellipsis">{{row.errorMsg}}</span> |
|
|
|
</el-tooltip> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template #number="{row}"> |
|
|
|
<el-button type="primary" link @click="openDetail(row, '序号', row.number)"> |
|
|
|
<span>{{ row.number }}</span> |
|
|
|