Commit 47c5ec24 by 胡悦

Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-merchant-data

2 parents 1ca7fc7c b53c5906
......@@ -63,10 +63,10 @@
<gl-table-column align="center" v-for="(i, index) in groupTableData.column" :key="index" :label='i.label' :prop='i.prop' >
<template slot-scope="scope">
<template v-if='i.prop === "groupName"'>
{{groupTableData.data[scope.scope.$index][i.prop] === '云商' ? 1 : 2}}
<a href="#" @click="goGroupDetail(scope.scope.row)">{{groupTableData.data[scope.scope.$index][i.prop]}}</a>
</template>
<template v-else>
{{22222222222222}}
{{groupTableData.data[scope.scope.$index][i.prop]}}
</template>
</template>
</gl-table-column>
......@@ -279,6 +279,10 @@ export default {
back() {
this.$parent.to(['商户数据平台', '商户数据平台', '商户数据平台', '业务管理', '业务管理列表'])
},
goGroupDetail(row) {
console.log(row.merchantId)
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户详情'], { merchantId: row.merchantId })
},
// 切换tab
handleClick(tab, event) {
// console.log(tab, event)
......@@ -384,6 +388,9 @@ export default {
.detail {
margin: 12px;
}
.detail a{
color: #0000FF;
}
.detail-row {
line-height: 36px;
}
......
......@@ -134,7 +134,7 @@ export default {
label: '详情',
type: 'text',
callback: (index, rows) => {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '业务管理', '商户详情'], { merchantId: rows[index].merchantId })
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '业务管理', '*商户详情'], { merchantId: rows[index].merchantId })
}
}]
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!