diff --git a/admin/src/api/land_plant.ts b/admin/src/api/land_plant.ts
index 38c4455d..048f0a41 100644
--- a/admin/src/api/land_plant.ts
+++ b/admin/src/api/land_plant.ts
@@ -33,4 +33,9 @@ export function apiLandPlantDelete(params: any) {
// 土地种植表详情
export function apiLandPlantDetail(params: any) {
return request.get({ url: '/land.land_plant/detail', params })
+}
+
+// 种植溯源信息
+export function apiSuyuanDetail(params: any) {
+ return request.get({ url: '/land.land_plant/suyuan', params })
}
\ No newline at end of file
diff --git a/admin/src/views/device/detail.vue b/admin/src/views/device/detail.vue
index f787e660..f1c4d057 100644
--- a/admin/src/views/device/detail.vue
+++ b/admin/src/views/device/detail.vue
@@ -12,37 +12,37 @@
所属土地:
-
ID:{{ deviceData.device.land_id }} / 名称:{{ deviceData.device.land_title }}
+
ID:{{ deviceData.device.land_id }} / 名称:{{ deviceData.device.land_title }}
所属产品:
-
ID:{{ deviceData.device.product_id }} / 名称:{{ deviceData.device.land_title }}
+
ID:{{ deviceData.device.product_id }} / 名称:{{ deviceData.device.land_title }}
设备名称:
-
{{ deviceData.device.name }}
+
{{ deviceData.device.name }}
设备编码:
-
{{ deviceData.device.code }}
+
{{ deviceData.device.code }}
设备类型:
-
设备状态:
-
是否在线:
-
diff --git a/admin/src/views/land_plant/index.vue b/admin/src/views/land_plant/index.vue
index b877ea4b..841ee5b3 100644
--- a/admin/src/views/land_plant/index.vue
+++ b/admin/src/views/land_plant/index.vue
@@ -104,18 +104,21 @@
编辑
溯源信息
-
+
种植图片
-
+
+
+
+
+
+
+
+
品类信息
+
+
+ 商品名称:{{ suyuanData.categoryData.kind }}
+
+
+ 收获日期:{{ suyuanData.categoryData.harvest_date }} 天
+
+
+ 生长周期:{{ suyuanData.categoryData.group_day }}
+
+
+ 生产地址:{{ suyuanData.categoryData.land_address }}
+
+
+
+
{{ suyuanData.landActionType[index] }}
+
+
+ {{ data.item ?? '' }}:{{ data.value ?? '' }}
+
+
+
+
+