Browse Source

接口调用信息管理返回结果\错误信息 展示形式改成请求参数一样

hella_online_20240911
yufei_wang 3 months ago
parent
commit
0702dbc580
  1. 25
      src/views/wms/agvManage/interfaceInfo/index.vue

25
src/views/wms/agvManage/interfaceInfo/index.vue

@ -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>

Loading…
Cancel
Save