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

数据驾驶舱可新窗口打开

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