Commit a1346f6e by cwq0219
2 parents 7dec7994 7c77b6d7
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
label: '详情', label: '详情',
type: 'text', type: 'text',
callback: (index, row) => { callback: (index, row) => {
this.detail(row) this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户分组详情'], { groupId: row.id })
} }
} }
] ]
......
...@@ -149,6 +149,7 @@ export default { ...@@ -149,6 +149,7 @@ export default {
return { return {
// searchCondition: {}, // searchCondition: {},
searchParams: { searchParams: {
groupId: null,
merchantName: '', merchantName: '',
merchantId: null, merchantId: null,
merchantType: null, merchantType: null,
...@@ -247,6 +248,9 @@ export default { ...@@ -247,6 +248,9 @@ export default {
this.getList() this.getList()
this.getMerchantType() this.getMerchantType()
this.eventBus = new Vue() this.eventBus = new Vue()
this.$root.eventBus.$on('params', (params) => {
this.searchParams.groupId = params.groupId
})
}, },
methods: { methods: {
loadingGetList() { loadingGetList() {
...@@ -341,7 +345,7 @@ export default { ...@@ -341,7 +345,7 @@ export default {
} }
}, },
merchantDetail(merchantId) { merchantDetail(merchantId) {
console.log(merchantId) this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户详情'], { merchantId: merchantId })
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!