ll
liukangdong
2025-03-12 c80a7698101d3a27f5e40fe83ba1302758c55dd5
admin/src/views/platform/index.vue
@@ -1,5 +1,5 @@
<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)"
@@ -202,17 +202,26 @@
      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