|
@@ -73,7 +73,11 @@ export default {
|
|
|
this.loading = true
|
|
|
const { code, returnData } = await this.getQueryList(SERVICE_ID.bagDetailId, this.dataContent)
|
|
|
if (code == 0 && returnData && returnData.length) {
|
|
|
- this.messageList = [...returnData]
|
|
|
+ // this.messageList = [...returnData]
|
|
|
+ this.messageList = returnData.map(message => ({
|
|
|
+ ...message,
|
|
|
+ readTime: message.readTime ? `${message.readTime.replace('T', ' ')}(广州)` : '(北京)'
|
|
|
+ }))
|
|
|
this.loading = false
|
|
|
} else {
|
|
|
this.loading = false
|
|
@@ -88,7 +92,7 @@ export default {
|
|
|
const xlsxDatas = [['Date & Time', 'Message']]
|
|
|
xlsxDatas.push(
|
|
|
...this.messageList.map(message => [
|
|
|
- message.flightDate,
|
|
|
+ message.readTime,
|
|
|
message.sourceData.replaceAll(/[\\r\\n]{2,}/g, '\n').replaceAll('\\', '')
|
|
|
])
|
|
|
)
|
|
@@ -198,7 +202,8 @@ export default {
|
|
|
box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.29);
|
|
|
margin-bottom: 12px;
|
|
|
> .message-date {
|
|
|
- width: 180px;
|
|
|
+ // width: 180px;
|
|
|
+ width: 200px;
|
|
|
height: 26px;
|
|
|
line-height: 14px;
|
|
|
font-size: 14px;
|