From 2bf5c3c0c897212858a5dcc44f36b5d14165fa70 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Wed, 7 Jun 2023 15:16:06 +0800 Subject: [PATCH] 11 --- psdc-ui/src/views/system/device/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/psdc-ui/src/views/system/device/index.vue b/psdc-ui/src/views/system/device/index.vue index 83f54df..fea35c5 100644 --- a/psdc-ui/src/views/system/device/index.vue +++ b/psdc-ui/src/views/system/device/index.vue @@ -5,7 +5,7 @@ - + @@ -303,7 +303,7 @@ const data = reactive({ "deviceId": 0, "deviceModel": "温度传感器" }, - sceneCode:'', + sceneCode:null, dateRange:[], }); const { queryParams1, form, rules } = toRefs(data); @@ -355,13 +355,13 @@ function handleQuery(){ } //重置按钮 function resetQuery(){ - data.sceneCode=0 + data.sceneCode=null currentPage.value=1 pageSize.value=10 getSbTab({ "deviceId":0, - "deviceModel":'', + "deviceModel":null, "pageNum": currentPage.value, @@ -506,7 +506,7 @@ function handleExport() { proxy.download("system/device/index/daochuDevs", { ...JSON.stringify({ "deviceId": 0, - "deviceModel": "温度传感器" + "deviceModel": null }), },`device_${new Date().getTime()}.xlsx`); };