| | |
| | | * @Author : yuan |
| | | * @Date : 2026-01-06 09:47:09 |
| | | * @LastEditors : yuan |
| | | * @LastEditTime : 2026-01-07 15:01:16 |
| | | * @LastEditTime : 2026-01-22 15:00:07 |
| | | * @FilePath : \applications\drone-command\src\page\index\sidebar\sidebarItem.vue |
| | | * @Description : |
| | | * Copyright 2026 OBKoro1, All Rights Reserved. |
| | |
| | | import { mapGetters } from 'vuex'; |
| | | import { validatenull } from 'utils/validate'; |
| | | import website from '@/config/website'; |
| | | import {saveOperationLog} from '@ztzf/apis' |
| | | |
| | | export default { |
| | | name: 'sidebarItem', |
| | |
| | | return item.meta.roles ? item.meta.roles.includes(this.roles) : true; |
| | | }, |
| | | open(item) { |
| | | saveOperationLog({ |
| | | requestUri: item[this.pathKey], |
| | | title: item.name, |
| | | type: 0 |
| | | }) |
| | | |
| | | this.$router.push({ |
| | | path: item[this.pathKey], |
| | | query: item[this.queryKey], |