Commit 6e4c331a by qinjianhui

fix: 问题修改

parent 1491ec0f
......@@ -259,9 +259,16 @@
{{ detail.orderStatusTxt }}
</span>
</p>
<p class="item" style="width:100%;display:flex">
<p
class="item"
style="width: 100%; display: flex"
>
<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>
</div>
<div
......@@ -272,7 +279,10 @@
</div>
<div class="record">
<div class="title">沟通记录</div>
<ul class="chat_content" v-if="chatRecord.length > 0">
<ul
class="chat_content"
v-if="chatRecord.length > 0"
>
<li
v-for="(item, index) in chatRecord"
:key="index"
......@@ -284,7 +294,9 @@
<div class="chat_user_time">
{{
item.createTime
}}&nbsp;&nbsp;&nbsp;&nbsp;{{ item.sendUserName }}
}}&nbsp;&nbsp;&nbsp;&nbsp;{{
item.sendUserName
}}
</div>
<div class="chat_text">
{{ item.msg }}
......@@ -729,12 +741,15 @@ export default {
async showDetail(item) {
this.currentRowId = item.id
this.detail = item
axios.get(
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`).then((res) => {
if (res.code === 200) {
this.chatRecord = res.data
}
})
axios
.get(
`platform/platformWorkOrderChat/getByWorkOrder?workOrderId=${item.id}`,
)
.then((res) => {
if (res.code === 200) {
this.chatRecord = res.data
}
})
this.detailVisible = true
this.textarea = ''
},
......@@ -973,4 +988,28 @@ export default {
justify-content: center;
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>
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