| | |
| | | </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> |
| | |
| | | } |
| | | } |
| | | |
| | | 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"}); |
| | |
| | | } |
| | | } |
| | | |
| | | // const debouncedSubmit = ref(debounce(submitHandle, 500)) |
| | | |
| | | // const handleSystemLinkClick = (id) => { |
| | | // debouncedSubmit.value(id) |
| | | // } |
| | | |
| | | function getInfo() { |
| | | reviewRef.value.openDialog('view',userInfo.value) |
| | | } |