修改组态
This commit is contained in:
@@ -105,13 +105,13 @@ const editd = (e: any) => {
|
||||
}
|
||||
// 设计
|
||||
const Aclick = (e: any) => {
|
||||
// window.open(window.location.origin + `/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=false`)
|
||||
const link = document.createElement("a"); //创建下载a标签
|
||||
link.target = `_blank`;
|
||||
link.href = `http://192.168.1.128:3001/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=false`;
|
||||
link.style.display = "none"; //默认隐藏元素
|
||||
document.body.appendChild(link); // body中添加元素
|
||||
link.click(); // 执行点击事件
|
||||
window.open(window.location.origin + `/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=false`)
|
||||
// const link = document.createElement("a"); //创建下载a标签
|
||||
// link.target = `_blank`;
|
||||
// link.href = `http://192.168.1.128:3001/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=false`;
|
||||
// link.style.display = "none"; //默认隐藏元素
|
||||
// document.body.appendChild(link); // body中添加元素
|
||||
// link.click(); // 执行点击事件
|
||||
}
|
||||
const shejid = (e: any) => { }
|
||||
// 删除
|
||||
@@ -146,13 +146,13 @@ const deleted = (e: any) => {
|
||||
}
|
||||
|
||||
const imgData = (e: any) => {
|
||||
// window.open(window.location.origin + `/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=true`)
|
||||
const link = document.createElement("a"); //创建下载a标签
|
||||
link.target = `_blank`;
|
||||
link.href = `http://192.168.1.128:3001/zutai/#/?id=${e.id}&&name=decodeURI(${e.name})&&flag=true`;
|
||||
link.style.display = "none"; //默认隐藏元素
|
||||
document.body.appendChild(link); // body中添加元素
|
||||
link.click(); // 执行点击事件
|
||||
window.open(window.location.origin + `/zutai/?id=${e.id}&&name=decodeURI(${e.name})&&flag=true`)
|
||||
// const link = document.createElement("a"); //创建下载a标签
|
||||
// link.target = `_blank`;
|
||||
// link.href = `http://192.168.1.128:3001/zutai/#/?id=${e.id}&&name=decodeURI(${e.name})&&flag=true`;
|
||||
// link.style.display = "none"; //默认隐藏元素
|
||||
// document.body.appendChild(link); // body中添加元素
|
||||
// link.click(); // 执行点击事件
|
||||
}
|
||||
|
||||
const onTableSizeChange = (val: number) => {
|
||||
|
||||
Reference in New Issue
Block a user