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`); };