| | |
| | | <template> |
| | | <div class="main_app"> |
| | | <div class="main_app" style="overflow-y: auto;height: calc(100% - 100px);"> |
| | | <div class="mb20 main_header"> |
| | | <div class="platgroup_tabs"> |
| | | <div class="tab" :class="{ active: activeGroup.id === item.id }" @click="platgroupClick(item)" |
| | |
| | | detail: {}, |
| | | isShowQueuing: false, |
| | | timer: null, |
| | | timer2: null, |
| | | |
| | | loadingOpen: false, |
| | | loadingFinish: false, |
| | | } |
| | | }, |
| | | created() { |
| | | setInterval(() => { |
| | | this.timer2 = setInterval(() => { |
| | | this.getPlatGroupList() |
| | | }, 1000 * 20) |
| | | this.getPlatGroupList() |
| | | }, |
| | | beforeDestroy() { |
| | | if (this.timer2) { |
| | | clearInterval(this.timer2) |
| | | } |
| | | if (this.timer) { |
| | | clearInterval(this.timer) |
| | | } |
| | | }, |
| | | methods: { |
| | | handleWork(item) { |
| | | this.loadingOpen = true |