Selaa lähdekoodia

Merge branch 'develop' of gitadmin/tuoheng_lc_web into release

tags/v1.1.0^2
zhangtao 1 vuosi sitten
vanhempi
commit
982198035e
7 muutettua tiedostoa jossa 24 lisäystä ja 11 poistoa
  1. BIN
      src/assets/images/airport.png
  2. BIN
      src/assets/images/airportChecked.png
  3. BIN
      src/assets/images/airportUnchecked.png
  4. BIN
      src/assets/images/listChecked.png
  5. BIN
      src/assets/images/listUnchecked.png
  6. +8
    -4
      src/views/dashboard/components/AirInfo.vue
  7. +16
    -7
      src/views/dashboard/components/OneMap.vue

BIN
src/assets/images/airport.png Näytä tiedosto

Before After
Width: 52  |  Height: 38  |  Size: 3.5KB Width: 52  |  Height: 38  |  Size: 3.4KB

BIN
src/assets/images/airportChecked.png Näytä tiedosto

Before After
Width: 20  |  Height: 20  |  Size: 853B Width: 20  |  Height: 20  |  Size: 571B

BIN
src/assets/images/airportUnchecked.png Näytä tiedosto

Before After
Width: 20  |  Height: 20  |  Size: 907B Width: 20  |  Height: 20  |  Size: 536B

BIN
src/assets/images/listChecked.png Näytä tiedosto

Before After
Width: 20  |  Height: 20  |  Size: 341B Width: 20  |  Height: 20  |  Size: 302B

BIN
src/assets/images/listUnchecked.png Näytä tiedosto

Before After
Width: 20  |  Height: 20  |  Size: 340B Width: 20  |  Height: 20  |  Size: 310B

+ 8
- 4
src/views/dashboard/components/AirInfo.vue Näytä tiedosto

@@ -3,16 +3,16 @@
<table>
<tr>
<th class="title">机场名称:</th>
<th>{{ detail.name }}</th>
<td>{{ detail.name }}</td>

</tr>
<tr>
<th class="title">机场状态:</th>
<th>{{ status }}</th>
<td> {{ status }}</td>
</tr>
<tr>
<th class="title">可选挂载:</th>
<th>{{ mountedName }}</th>
<td>{{ mountedName }}</td>
</tr>
</table>
<div class="deviceInfo">
@@ -181,6 +181,9 @@ th {
color: white;
font-weight: 400;
}
td{
padding-left:10px;
}
.deviceInfo {
margin-top: 5px;
width: 100%;
@@ -188,6 +191,7 @@ th {
background: #2c2c2c;
display: flex;
justify-content: space-between;
padding:0 25px;
.item {
color: white;
display: flex;
@@ -209,7 +213,7 @@ th {
}
}
.monitorList {
margin-top: 10px;
margin-top: 5px;
display: flex;
justify-content: space-around;
.innerMonitor {

+ 16
- 7
src/views/dashboard/components/OneMap.vue Näytä tiedosto

@@ -64,6 +64,7 @@
</li>
</ul>
<n-pagination

v-model:page="page"
:page-count="pageCount"
:page-slot="7"
@@ -232,7 +233,8 @@ export default {
airportSelected: true,
problemLayerList: [],
airportPopupShow: false,
lastSevenDateList: []
lastSevenDateList: [],
paginationShow: false
})
watch(
() => data.page,
@@ -569,8 +571,8 @@ export default {
geometry: new Point(fromLonLat([problem.lng, problem.lat]))
})
let icon
switch (iitem.code) {
switch (iitem.type) {
case '002000':
icon = problemSpot_icon
break
@@ -628,6 +630,11 @@ export default {
data.taskList = res.data.records

data.pageCount = res.data.pages
if (data.pageCount == 1) {
data.paginationShow = false
} else {
data.paginationShow = true
}
data.taskList.map((item, index) => {
const arr = item.executionStartTime.split(/[ ]+/) // 以空格分开
item.date = arr[0]
@@ -872,12 +879,14 @@ export default {
padding: 10px 19px;
ul {
li {
padding: 5px 2px;
margin-bottom: 3px;
padding: 0 2px;

height:24px;
margin-bottom:10px;
div {
float: left;
height: 100%;
height: 30px;
height:100%;
}
}
}

Loading…
Peruuta
Tallenna