Commit d03146d5 authored by liuzhaoh's avatar liuzhaoh

测试问题处理

parent f62a2d55
...@@ -292,7 +292,7 @@ const onImportFile = () => { ...@@ -292,7 +292,7 @@ const onImportFile = () => {
}; };
// 导出 // 导出
const onExportFile = () => { const onExportFile = () => {
const url = "/exportDeviceAndSignal"; const url = "/exportDeviceAndSignal" + `?customerId=${getToken("customerId")}&deviceName=${encodeURIComponent(formInline.deviceName)}&dusterName=${encodeURIComponent(formInline.dusterName)}&deviceTypeId=${encodeURIComponent(formInline.deviceTypeId)}&productionLineId=${encodeURIComponent(formInline.productionLineId)}`;
const params = {}; const params = {};
exportFile("get", url, params).then((res) => { exportFile("get", url, params).then((res) => {
const blob = res; const blob = res;
...@@ -316,7 +316,7 @@ const onExportFile = () => { ...@@ -316,7 +316,7 @@ const onExportFile = () => {
// 模板下载 // 模板下载
const onDownloadTemplate = () => { const onDownloadTemplate = () => {
window.open( window.open(
"https://visimg.bmetech.com/stone/img/1748601781457/设备数据.xlsx" "http://visimg.bmetech.com/stone/img/1751950181533/设备数据.xlsx"
); );
return; return;
axios axios
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment