diff --git a/psdc-ui/src/views/system/device/index.vue b/psdc-ui/src/views/system/device/index.vue index ba13443..617b7c4 100644 --- a/psdc-ui/src/views/system/device/index.vue +++ b/psdc-ui/src/views/system/device/index.vue @@ -300,7 +300,7 @@ const data = reactive({ timingList:[], queryParams: '', queryParams1: { - "deviceModel": "温度传感器" + "deviceModel": null }, sceneCode:null, dateRange:[], @@ -502,8 +502,9 @@ function cancel2() { /** 导出按钮操作 */ function handleExport() { - console.log(data.sceneCode) + data.queryParams1.deviceModel = data.sceneCode proxy.download("system/device/index/daochuDevs",{ + ...queryParams1.value },`device_${new Date().getTime()}.xlsx`); }; /** 新增策略处理 */