Commit 4cf6dae7 by 胡悦

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

2 parents aa3345c8 3c3135f6
......@@ -214,7 +214,7 @@ export default {
label: '用户名',
prop: 'nickName'
}, {
label: '权限',
label: '部门',
prop: 'department'
}, {
label: '手机号码',
......@@ -314,8 +314,8 @@ export default {
this.$parent.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户列表', '商户列表'])
},
goGroupDetail(row) {
console.log(row)
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户分组详情'], { groudId: row.id })
// console.log(row)
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户分组详情'], { groupId: row.id })
},
goBusinessDetail(row) {
this.detailVisible()
......
......@@ -112,7 +112,8 @@ export default {
column: [
{
label: '分组ID',
prop: 'id'
prop: 'id',
width: '80px'
},
{
label: '分组名称',
......@@ -124,7 +125,8 @@ export default {
},
{
label: '业务编号',
prop: 'businessCode'
prop: 'businessCode',
width: '100px'
},
{
label: '业务名称',
......
......@@ -119,7 +119,14 @@ export default {
},
watch: {
groupId(val) {
console.log(val)
this.getList()
},
dialogVisible_search(val) {
if (!val) {
this.eventBus.$emit('reset')
this.times = []
resetSearch(this.searchParams)
}
this.loadingGetList()
}
},
......@@ -161,7 +168,8 @@ export default {
column: [
{
label: '序号',
prop: 'id'
prop: 'id',
width: '80px'
},
{
label: '商户名称',
......@@ -202,15 +210,13 @@ export default {
},
mounted() {
this.$root.eventBus.$on('params', (params) => {
console.log(params)
this.groupId = params.groupId
// this.searchParams.groupId = params.groupId
})
this.loadingGetList()
this.getMerchantType()
this.eventBus = this.$root.eventBus
// this.$root.eventBus.$on('params', (params) => {
// this.searchParams.groupId = params.groupId
// })
},
methods: {
loadingGetList() {
......@@ -240,7 +246,9 @@ export default {
.req(params)
.then(res => {
console.log(res)
this.total = res.pagination.totalCount
if (res.pagination) {
this.total = res.pagination.totalCount
}
this.tableData.data = res.merchantGroupRelations
this.tableLoading = false
})
......@@ -285,14 +293,14 @@ export default {
// 高级搜索
handleSubmit_search() {
this.getList()
this.dialogVisible_search = !this.dialogVisible_search
},
// 重置搜索
searchReset() {
// this.$refs['searchParams'].resetFields()
this.eventBus.$emit('reset')
// this.times = []
this.times = []
resetSearch(this.searchParams)
console.log(this.getParams())
},
addDialog() {
this.addDialogVisible = !this.addDialogVisible
......@@ -312,7 +320,7 @@ export default {
}
},
merchantDetail(merchantId) {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户详情'], { merchantId: 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!