From 416eb6356e6fca5d633597bba18958ae664ad6c6 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Fri, 15 Mar 2024 17:20:21 +0800
Subject: [PATCH] fix: 走航报告下载修改
---
src/views/dailyreport/index.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/dailyreport/index.vue b/src/views/dailyreport/index.vue
index c4cec12..1eb87b7 100644
--- a/src/views/dailyreport/index.vue
+++ b/src/views/dailyreport/index.vue
@@ -48,9 +48,11 @@
<el-select
v-if="equipChoose1==='car'"
v-model="carInput"
+ collapse-tags
+ multiple
clearable
placeholder="������������������"
- style="width: 180px;display: inline-block"
+ style="width: 280px;display: inline-block"
>
<el-option
v-for="(item,index) in carMac"
@@ -844,7 +846,7 @@
}],
carInput2: '', // ������������������������������
carMac: [], // ���������mac������
- carInput: '', // ������������������������������
+ carInput: [], // ������������������������������
areaInput3: '', // ������������
value1: [new Date(), new Date()], // ������������������
value2: [new Date(), new Date()], // ������������1
@@ -1176,13 +1178,13 @@
},
// ���������������������
selectExport () {
- console.log(this.cityChoose)
+ console.log(this.carInput)
this.selectTime = this.newTime(this.value1)
if (this.cityChoose && this.equipChoose1 && this.selectTime[1]) {
// ���������������or���������
- var mac = ''
+ var mac = null
if (this.equipChoose1 === 'car') {
- mac = this.carInput
+ mac = this.carInput.join(',')
} else {
mac = this.planSelect
}
@@ -1940,9 +1942,9 @@
width: 0;
}
.dailyTop{
- width: 80%;
+ text-align: center;
margin:auto;
- padding: 1%;
+ padding: 10px 0;
margin-bottom: 3%;
}
.dailyDown{
--
Gitblit v1.8.0