Commit 41ae6c79 41ae6c7999cafa17a2d356f1647f1a216d02143b by zhanghao

commit

1 parent 460c53e7
......@@ -5,6 +5,7 @@
<el-table
:data="bizDataCounts"
border
@row-click="myRowClick"
style="width: 100%"
:header-cell-style="{background: 'deepskyblue', color: 'snow'}">
<el-table-column
......@@ -71,6 +72,15 @@
type: 'error'
});
})
},
myRowClick(row, column, event) {
const {href} = this.$router.resolve({ name:'bizDataResponse', query:
{ name: this.name,
bizdata: row.bizData,
beginDate: this.beginDate,
endDate: this.endDate,
type: this.type}})
window.open(href, '_blank')
}
}
}
......
......@@ -5,6 +5,7 @@
<el-table
:data="methodCounts"
border
@row-click="myRowClick"
style="width: 100%"
:header-cell-style="{background: 'deepskyblue', color: 'snow'}">
<el-table-column
......@@ -69,6 +70,14 @@
type: 'error'
});
})
},
myRowClick(row, column, event) {
const {href} = this.$router.resolve({ name:'bizDataCount', query:
{ name: row.method,
beginDate: this.beginDate,
endDate: this.endDate,
type: this.type}})
window.open(href, '_blank')
}
}
}
......