| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { platformLineUpPage, getPlatformGroupList } from '@/api' |
| | | export default { |
| | | data() { |
| | | return { |
| | | showDetail: false |
| | | showDetail: false, |
| | | capacity: 10, |
| | | page: 1, |
| | | platformGroupId: '', |
| | | platformGroupList: [] |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | this.getPlatformGroup() |
| | | this.initData() |
| | | }, |
| | | methods: { |
| | | handleDetail() { |
| | | this.showDetail = true |
| | | }, |
| | | getPlatformGroup() { |
| | | getPlatformGroupList().then(res => { |
| | | |
| | | }) |
| | | }, |
| | | initData(){ |
| | | const { page, capacity } = this |
| | | platformLineUpPage({ |
| | | capacity, page, model: {} |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |