修改组态

This commit is contained in:
GGJ
2024-10-08 20:57:39 +08:00
parent 54ad4aaa15
commit 01f0cd7871
2 changed files with 15 additions and 15 deletions

View File

@@ -106,7 +106,7 @@ const open = ref((row: any) => {
dialogVisible.value = true
if (row.title == '新增项目') {
form.name = ''
form.projectIds = ['71e570df7e1cd3e37635c505deb19ee2']
form.projectIds = []
form.orderBy = '100'
form.remark = ''
} else {

View File

@@ -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) => {