This commit is contained in:
77
2024-04-13 00:16:38 +08:00
parent 9f5fbb145a
commit 1d78b41bcc
2 changed files with 8 additions and 3 deletions

View File

@@ -35,7 +35,12 @@
<!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column :label="'发送人'+systemName+'号'" align="center" prop="fromUsercode" />
<el-table-column :label="'接收人'+systemName+'号'" align="center" prop="toUsercode" />
<el-table-column label="内容" align="center" prop="content" show-overflow-tooltip/>
<el-table-column label="内容" align="center" prop="content">
<template v-slot="scope">
<span v-if="scope.row.type === 1">{{scope.row.content}}</span>
<image-preview v-if="scope.row.type === 3 && scope.row.content" :src="scope.row.content" height="45px" width="45px" />
</template>
</el-table-column>
<el-table-column label="时间" align="center" prop="createTime" />
<el-table-column label="链路号" align="center" prop="traceId" />
</el-table>

View File

@@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://124.222.254.188:9779/prod-api`,
// target: `http://localhost:8080`,
target: `http://124.222.254.188:9779/prod-api`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''