ll
liukangdong
2024-08-30 fbc625dea6117cb8724301d3a07d9071419f9715
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<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>