林颖晨 2 years ago
parent 1bc0972821
commit 74dd838d03
  1. 5
      psdc-ui/src/views/system/device/index.vue

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

Loading…
Cancel
Save