多体系建设信息化条统-前端
zhouwx
3 days ago d4325ae343f7bfdaa8bc56b3ab72598d0072437e
src/views/menuPage.vue
@@ -71,13 +71,11 @@
            </div>
          </div>
          <p class="system-desc">{{ system.description }}</p>
          <a
              href="#"
          <div
              class="system-link"
              @click.stop="handleSystemLinkClick(system.id)"
          >
            进入系统 <el-icon><Right /></el-icon>
          </a>
        </div>
        </div>
      </section>
    </div>
@@ -199,6 +197,16 @@
  }
}
const debounce = (func, wait) => {
  let timeout
  return (...args) => {
    clearTimeout(timeout)
    timeout = setTimeout(() => {
      func(...args)
    }, wait)
  }
}
const handleSystemLinkClick = (systemId) => {
  if(systemId == 1){
    router.push({ path: "/menuIndex"});
@@ -207,6 +215,12 @@
  }
}
// const debouncedSubmit = ref(debounce(submitHandle, 500))
// const handleSystemLinkClick = (id) => {
//   debouncedSubmit.value(id)
// }
function getInfo() {
  reviewRef.value.openDialog('view',userInfo.value)
}