|
@@ -163,9 +163,10 @@ const formatMoney = (value: number) => {
|
|
|
<el-table-column v-for="col in state.tableData.columns" :key="col.prop" :prop="col.prop" :label="col.label" :width="col.width" show-overflow-tooltip>
|
|
<el-table-column v-for="col in state.tableData.columns" :key="col.prop" :prop="col.prop" :label="col.label" :width="col.width" show-overflow-tooltip>
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<template v-if="col.prop === 'stationId'">
|
|
<template v-if="col.prop === 'stationId'">
|
|
|
- <div class="station-cell">
|
|
|
|
|
- <span class="station-id">{{ row.stationId }}</span>
|
|
|
|
|
|
|
+ <div class="station-name-cell">
|
|
|
<span class="station-name">{{ row.stationName }}</span>
|
|
<span class="station-name">{{ row.stationName }}</span>
|
|
|
|
|
+ <span class="station-divider"></span>
|
|
|
|
|
+ <span class="station-id">{{ row.stationId }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="col.prop === 'status'">
|
|
<template v-else-if="col.prop === 'status'">
|
|
@@ -212,21 +213,27 @@ const formatMoney = (value: number) => {
|
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.station-cell {
|
|
|
|
|
|
|
+.station-name-cell {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- line-height: 1.6;
|
|
|
|
|
-
|
|
|
|
|
- .station-id {
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
- color: #909399;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 4px;
|
|
|
|
|
|
|
|
.station-name {
|
|
.station-name {
|
|
|
- font-size: 14px;
|
|
|
|
|
- color: #303133;
|
|
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .station-divider {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 1px;
|
|
|
|
|
+ background: var(--el-border-color-light);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .station-id {
|
|
|
|
|
+ color: var(--el-text-color-secondary);
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.pagination-container {
|
|
.pagination-container {
|