|
@@ -14,9 +14,11 @@
|
|
|
<div class="message" v-for="(msg, index) in data.msg">
|
|
<div class="message" v-for="(msg, index) in data.msg">
|
|
|
<a-divider v-if="index !== 0" />
|
|
<a-divider v-if="index !== 0" />
|
|
|
<div class="head">
|
|
<div class="head">
|
|
|
- <a-avatar :size="40">
|
|
|
|
|
- <img :src="data.userInfo[msg.uuid]?.avatar ?? ''" />
|
|
|
|
|
|
|
+ <a-avatar>
|
|
|
|
|
+ <IconUser v-if="!data.userInfo[msg.uuid]?.avatar" />
|
|
|
|
|
+ <img alt="" :src="data.userInfo[msg.uuid]?.avatar" v-else />
|
|
|
</a-avatar>
|
|
</a-avatar>
|
|
|
|
|
+
|
|
|
<div class="right">
|
|
<div class="right">
|
|
|
<div class="username">
|
|
<div class="username">
|
|
|
{{ data.userInfo[msg.uuid]?.username }}
|
|
{{ data.userInfo[msg.uuid]?.username }}
|
|
@@ -195,6 +197,7 @@ const getOrderDetail = async () => {
|
|
|
info.value = [
|
|
info.value = [
|
|
|
{ label: '工单标题', value: res.data.title },
|
|
{ label: '工单标题', value: res.data.title },
|
|
|
{ label: '工单ID', value: res.data.id },
|
|
{ label: '工单ID', value: res.data.id },
|
|
|
|
|
+ { label: '发起人', value: res.data.userInfo[res.data.create_user]?.username},
|
|
|
{ label: '通知邮箱', value: res.data.email },
|
|
{ label: '通知邮箱', value: res.data.email },
|
|
|
{ label: '创建时间', value: stramptoTime(res.data.create_time) },
|
|
{ label: '创建时间', value: stramptoTime(res.data.create_time) },
|
|
|
{ label: '最后更新时间', value: stramptoTime(res.data.update_time) },
|
|
{ label: '最后更新时间', value: stramptoTime(res.data.update_time) },
|
|
@@ -259,6 +262,7 @@ const stramptoTime = (time) => {
|
|
|
.message {
|
|
.message {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
|
|
|
|
.head {
|
|
.head {
|
|
|
display: flex;
|
|
display: flex;
|