diff --git a/admin/src/api/product.ts b/admin/src/api/product.ts
index bcd692c0..a03fcd1e 100644
--- a/admin/src/api/product.ts
+++ b/admin/src/api/product.ts
@@ -17,7 +17,7 @@ export function apiProductLists(params: any) {
// 监测设备列表
export function apiDeviceLists(params: any) {
- return request.get({ url: '/device.device/lists', params })
+ return request.get({ url: '/device.device/datas', params })
}
diff --git a/admin/src/views/land/bind.vue b/admin/src/views/land/bind.vue
index dff045c4..fda8498f 100644
--- a/admin/src/views/land/bind.vue
+++ b/admin/src/views/land/bind.vue
@@ -101,10 +101,10 @@ const { optionsData } = useDictOptions<{
const loading = ref(false)
-const queryProduct = async (land_id: string) => {
+const queryProduct = async (query: string) => {
loading.value = true
const productList = await apiProductLists({
- land_id: land_id ?? ''
+ name: query ?? ''
})
optionsData.product = productList
loading.value = false
diff --git a/admin/src/views/product/bind.vue b/admin/src/views/product/bind.vue
index 9d16adec..e57d9e0b 100644
--- a/admin/src/views/product/bind.vue
+++ b/admin/src/views/product/bind.vue
@@ -32,10 +32,10 @@
:loading="loading"
>
@@ -45,6 +45,7 @@