| | |
| | | </div> |
| | | </template> |
| | | <script setup> |
| | | import { pxToRem } from '@/utils/rem'; |
| | | import { Search } from '@element-plus/icons-vue'; |
| | | import CommonTitle from '@/components/CommonTitle.vue'; |
| | | import { getDeviceInfoNum } from '@/api/home/machineNest.js' |
| | | import router from '@/router/'; |
| | | |
| | | import { useStore } from 'vuex'; |
| | | const searchText = ref('') |
| | | const list = ref([ |
| | | { name: '执行中', value: 89, color: '#FFA768' }, |
| | | { name: '在线', value: 100, color: '#8EFFAC' }, |
| | |
| | | console.log(res); |
| | | }); |
| | | } |
| | | const store = useStore(); |
| | | |
| | | // 单个机巢详情 |
| | | const signMachineNestClick = () => { |
| | | router.push({ |
| | | path: '/signMachineNest', |
| | | query: { |
| | | id: '123' // 这里可以传递你需要的参数 |
| | | } |
| | | store.commit('setSingleUavHome', { |
| | | id: '123' |
| | | }); |
| | | } |
| | | |