From 74dd838d0308ccf3b194244888203a61ab05ea63 Mon Sep 17 00:00:00 2001 From: stone <827672943@qq.com> Date: Wed, 7 Jun 2023 16:15:52 +0800 Subject: [PATCH] 11 --- psdc-ui/src/views/system/device/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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`); }; /** 新增策略处理 */