diff --git a/src/views/mall/product/device/DeviceForm.vue b/src/views/mall/product/device/DeviceForm.vue index 7d89e739..040a60b0 100644 --- a/src/views/mall/product/device/DeviceForm.vue +++ b/src/views/mall/product/device/DeviceForm.vue @@ -24,12 +24,21 @@ 上传广告图 + 上传广告视频 广告图链接 + + + @@ -51,7 +60,7 @@ diff --git a/src/views/mall/statistics/devicelog/index.vue b/src/views/mall/statistics/devicelog/index.vue index d5e5ed02..8a268380 100644 --- a/src/views/mall/statistics/devicelog/index.vue +++ b/src/views/mall/statistics/devicelog/index.vue @@ -36,13 +36,20 @@ /> - + clearable + filterable + placeholder="请选择设备" + > + + ([]) + +/** 加载设备下拉 */ +const loadDeviceOptions = async () => { + try { + deviceOptions.value = (await DeviceApi.getDeviceListSimpleByUser()) || [] + } catch { + deviceOptions.value = [] + } +} /** 查询列表 */ const getList = async () => { @@ -232,6 +250,7 @@ const handleExport = async () => { /** 初始化 **/ onMounted(() => { + loadDeviceOptions() getList() })