Commit 6e4c331a by qinjianhui

fix: 问题修改

parent 1491ec0f
...@@ -259,9 +259,16 @@ ...@@ -259,9 +259,16 @@
{{ detail.orderStatusTxt }} {{ detail.orderStatusTxt }}
</span> </span>
</p> </p>
<p class="item" style="width:100%;display:flex"> <p
class="item"
style="width: 100%; display: flex"
>
<span class="label">工单内容</span> <span class="label">工单内容</span>
<span style="flex:1;display: inline-block;" class="value" v-html="detail.content"></span> <span
style="flex: 1; display: inline-block"
class="value"
v-html="detail.content"
></span>
</p> </p>
</div> </div>
<div <div
...@@ -272,7 +279,10 @@ ...@@ -272,7 +279,10 @@
</div> </div>
<div class="record"> <div class="record">
<div class="title">沟通记录</div> <div class="title">沟通记录</div>
<ul class="chat_content" v-if="chatRecord.length > 0"> <ul
class="chat_content"
v-if="chatRecord.length > 0"
>
<li <li
v-for="(item, index) in chatRecord" v-for="(item, index) in chatRecord"
:key="index" :key="index"
...@@ -284,7 +294,9 @@ ...@@ -284,7 +294,9 @@
<div class="chat_user_time"> <div class="chat_user_time">
{{ {{
item.createTime item.createTime
}}&nbsp;&nbsp;&nbsp;&nbsp;{{ item.sendUserName }} }}&nbsp;&nbsp;&nbsp;&nbsp;{{
item.sendUserName
}}
</div> </div>
<div class="chat_text"> <div class="chat_text">
{{ item.msg }} {{ item.msg }}
...@@ -729,12 +741,15 @@ export default { ...@@ -729,12 +741,15 @@ export default {
async showDetail(item) { async showDetail(item) {
this.currentRowId = item.id this.currentRowId = item.id
this.detail = item this.detail = item
axios.get( axios
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`).then((res) => { .get(
if (res.code === 200) { `platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`,
this.chatRecord = res.data )
} .then((res) => {
}) if (res.code === 200) {
this.chatRecord = res.data
}
})
this.detailVisible = true this.detailVisible = true
this.textarea = '' this.textarea = ''
}, },
...@@ -973,4 +988,28 @@ export default { ...@@ -973,4 +988,28 @@ export default {
justify-content: center; justify-content: center;
padding: 20px 0; padding: 20px 0;
} }
.detail_list {
&::v-deep {
table {
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
text-align: center;
width: 100% !important;
border-spacing: 0;
}
table th {
border-left: 1px solid #000000;
border-top: 1px solid #000000;
padding: 6px;
}
table td {
border-left: 1px solid #000000;
border-top: 1px solid #000000;
padding: 6px;
height: 20px;
}
}
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment