|
|
@ -20,9 +20,9 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
import { PageWrapper } from '@/components/Page'; |
|
|
|
import { BasicTable, useTable } from '@/components/Table'; |
|
|
|
import { list, removeByIds } from './api'; |
|
|
|
import { list, removeByIds,getDeviceStationList } from './api'; |
|
|
|
import { formSchemas, columns } from './data'; |
|
|
|
import {getStationList,getHangzhouRegions} from '@/api/common/index' |
|
|
|
import {getHangzhouRegions} from '@/api/common/index' |
|
|
|
defineOptions({ name: 'device' }); |
|
|
|
|
|
|
|
const [registerTable, { reload }] = useTable({ |
|
|
@ -59,7 +59,7 @@ |
|
|
|
//详情,跳转 |
|
|
|
//下拉框 |
|
|
|
const getStationOptions =async()=>{ |
|
|
|
const res = await getStationList() |
|
|
|
const res = await getDeviceStationList() |
|
|
|
formSchemas[1].componentProps.options = res |
|
|
|
} |
|
|
|
const getHangzhouOptions =async()=>{ |
|
|
|