<template>
|
<div class="main_app">
|
<div class="mb20 main_header">
|
<div class="platgroup_tabs">
|
<div
|
class="tab"
|
:class="{ active: activeGroup.id === item.id }"
|
@click="platgroupClick(item)"
|
v-for="(item, i) in PlatGroupList"
|
:key="i"
|
>
|
{{ item.name }}
|
</div>
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
import {
|
getPlatformGroupList
|
} from '@/api'
|
export default {
|
data () {
|
return {
|
filters: {},
|
PlatGroupList: [],
|
|
isShowSet: false, // 月台配置
|
setParam: {},
|
isShowDetail: false, // 运单详情
|
detail: {}
|
}
|
},
|
created () {
|
this.getPlatGroupList()
|
},
|
methods: {
|
getPlatGroupList () {
|
getPlatformGroupList({
|
queryData: 1,
|
queryType: 1
|
}).then(res => {
|
this.PlatGroupList = res || []
|
})
|
},
|
getList () { },
|
clear () { }
|
}
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
.platform_list {
|
.item {
|
padding: 16px 24px;
|
border-radius: 2px;
|
border: 2px solid #cccccc;
|
margin-bottom: 12px;
|
.head {
|
display: flex;
|
justify-content: space-between;
|
.name {
|
font-size: 16px;
|
}
|
.status {
|
flex: 1;
|
margin-left: 50px;
|
span {
|
margin-right: 30px;
|
}
|
}
|
}
|
.info {
|
margin-top: 10px;
|
border: 1px solid #999999;
|
padding: 6px 8px;
|
border-radius: 2px;
|
margin-bottom: 10px;
|
.line {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-bottom: 6px;
|
.left {
|
.plate {
|
border: 1px solid #4969f6;
|
border-radius: 2px;
|
padding: 0 5px;
|
}
|
}
|
.right {
|
display: flex;
|
align-items: center;
|
}
|
}
|
}
|
}
|
}
|
|
/* */
|
.set_modal {
|
.title {
|
font-size: 16px;
|
font-weight: 600;
|
margin-bottom: 16px;
|
}
|
.list {
|
display: flex;
|
justify-content: space-between;
|
flex-wrap: wrap;
|
.item {
|
cursor: pointer;
|
width: 30%;
|
height: 32px;
|
background-color: #d9d9d9;
|
border: 1px solid #4d99a7;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
border-radius: 6px;
|
margin-bottom: 12px;
|
}
|
}
|
}
|
</style>
|