fix: 测试问题,统一修复。

This commit is contained in:
tianyongbao
2026-05-30 16:43:28 +08:00
parent 3a3d75e3b3
commit 925d65d47f
2 changed files with 23 additions and 4 deletions

View File

@@ -56,9 +56,9 @@
<el-table v-loading="loading" :data="sharingRecordList" :header-cell-style="{ 'text-align': 'center' }">
<el-table-column label="记录标题" align="center" prop="title" width="180">
<el-table-column label="记录标题" align="center" prop="title" width="180" show-overflow-tooltip="false">
<template #default="scope">
<ellipsis :value="scope.row.title" :length="15"></ellipsis>
<span class="title-wrap">{{ scope.row.title }}</span>
</template>
</el-table-column>
<el-table-column label="分润金额(元)" align="center" prop="amount" />
@@ -229,4 +229,12 @@ getAlertInfo()
.alertInfo{
margin-bottom: 20px;
}
.title-wrap {
display: inline-block;
width: 100%;
white-space: normal;
word-break: break-all;
line-height: 1.5;
}
</style>

View File

@@ -41,12 +41,23 @@
<el-table-column label="小程序用户名" align="center" prop="appUserName" />
<el-table-column label="客户手机号" align="center" prop="appUserTel" />
<el-table-column label="绑定用户" align="center" prop="userName" />
<el-table-column label="备注" align="center" prop="remark" width="120">
<!-- <el-table-column label="备注" align="center" prop="remark" width="120">
<template #default="scope">
<ellipsis :value="scope.row.remark" :length="12"></ellipsis>
</template>
</el-table-column> -->
<el-table-column label="添加人" align="center" prop="createBy" />
<el-table-column label="添加时间" align="center" prop="createTime" width="160">
<template #default="scope">
<span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}:{s}") }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
<el-table-column label="更新时间" align="center" prop="updateTime" width="160">
<template #default="scope">
<span>{{ parseTime(scope.row.updateTime, "{y}-{m}-{d} {h}:{i}:{s}") }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width" fixed="right">
<template #default="scope">
<el-button link type="primary" icon="Wallet" @click="handleDeviceData(scope.row)">设备数据</el-button>
<el-button link type="primary" icon="Tickets" @click="handleAlarmList(scope.row)">告警记录</el-button>