| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | |
| | | import { useStore } from 'vuex'; |
| | | import { getDictionaryByCode } from '@/api/system/dictbiz'; |
| | | import { getalgorithmList, selectDeviceList } from '@/api/algorithm'; |
| | | import { getSmallImg,getShowImg } from '@/utils/util'; |
| | | import { useRouter } from 'vue-router'; |
| | | const store = useStore(); |
| | | const router = useRouter(); |
| | | const baseUrl = import.meta.env.VITE_APP_PICTURE_URL; |
| | | const showDetail = ref(false); |
| | |
| | | const jcoptions = ref([]); |
| | | const total = ref(0); |
| | | const loading = ref(true); |
| | | const userAreaCode = computed(() => store.getters.userInfo.detail.areaCode); |
| | | const params = ref({ |
| | | ai_type_key: '', |
| | | start_date: null, |
| | |
| | | }; |
| | | // 机巢查询 |
| | | const getDeviceList = () => { |
| | | selectDeviceList().then(res => { |
| | | console.log('userAreaCode',userAreaCode.value); |
| | | // { areaCode: userAreaCode.value } |
| | | selectDeviceList({ areaCode: userAreaCode.value }).then(res => { |
| | | jcoptions.value = res.data.data; |
| | | console.log('机巢数',jcoptions.value ); |
| | | |
| | | }); |
| | | }; |
| | | // 日期选择 |