Commit 5a9e7eb7 authored by ww-xxy's avatar ww-xxy

数据驾驶舱可新窗口打开

parent dd777f3c
......@@ -233,7 +233,6 @@
},
{
title: "操作",
dataIndex: "操作",
scopedSlots: {
customRender: "操作",
},
......@@ -314,14 +313,17 @@
item.type = obj[keys];
}
});
item.status == 1?item.status= '':item.status= ''
});
} else {
let datas = this.$_.cloneDeep(
await getImpossible({
...this.queryform,
page: 1,
size: -1
})
);
this.btnLoading = false
data = datas.data.data
if (!data.length) return;
for (let item of data) {
......@@ -330,11 +332,21 @@
item.type = obj[key];
}
});
item.status == 1?item.status= '':item.status= ''
}
}
const tHeader = []
const filterVal = []
this.tablecolumns.forEach(v=>{
if(v.dataIndex){
tHeader.push(v.title)
filterVal.push(v.dataIndex)
}
})
export2Excel(
this.tHeader,
this.filterVal,
tHeader,
filterVal,
data,
"办不成事报表" + this.$moment().format("YYYYMMDDHHmmss")
);
......
......@@ -183,7 +183,13 @@ export default {
},
// 查看数据
handleCkeck(path) {
this.$router.push(path);
if(path.indexOf('http')>-1){
alert(path)
window.open(path)
}else{
this.$router.push(path);
}
},
// pushRouter1() {
// // 易政秀报表
......
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