This commit is contained in:
熊成强 2020-11-17 15:41:25 +08:00
parent 9b67a1a999
commit 9e18137be8
2 changed files with 25 additions and 4 deletions

View File

@ -31,6 +31,18 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<div>
<el-button
@click="handlePush(scope.row)"
type="text"
size="small">
查看详情
</el-button>
</div>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<dialog-depart <dialog-depart
@ -77,6 +89,15 @@ export default {
this.handleDetailReq() this.handleDetailReq()
}, },
methods: { methods: {
handlePush (item) {
console.log('item: ', item.recordId)
this.$router.push({
name: 'assessment-performance',
query: {
id: item.recordId
}
})
},
// //
handleBack () { handleBack () {
this.$router.go(-1) this.$router.go(-1)

View File

@ -124,7 +124,7 @@ export default {
}, },
// //
option: { option: {
color: ['#3398DB'], color: ['#409EFF'],
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
axisPointer: { axisPointer: {
@ -154,9 +154,9 @@ export default {
], ],
series: [ series: [
{ {
barWidth: 20,
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: '60%',
data: [] data: []
} }
] ]
@ -164,7 +164,7 @@ export default {
key: 0, key: 0,
// //
levelOption: { levelOption: {
color: ['#3398DB'], color: ['#409EFF'],
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
axisPointer: { axisPointer: {
@ -194,9 +194,9 @@ export default {
], ],
series: [ series: [
{ {
barWidth: 20,
name: '直接访问', name: '直接访问',
type: 'bar', type: 'bar',
barWidth: '60%',
data: [] data: []
} }
] ]