Commit 4a9ad72e by 胡悦

合并

2 parents 2b061c86 52830121
......@@ -297,20 +297,14 @@ export default {
}
}
},
watch: {
merchantId(val) {
// 标记merchantId改变
this.IdChange = [1, 1, 1]
this.getBasicInfo()
}
},
mounted() {
this.hasLocation = false
this.$root.eventBus.$on('params', (params) => {
if (params.merchantId !== this.merchantId) {
this.activeName = 'first'
this.merchantId = params.merchantId
}
this.activeName = 'first'
this.merchantId = params.merchantId
// 标记merchantId改变
this.IdChange = [1, 1, 1]
this.getBasicInfo()
})
},
methods: {
......
<template>
<div class="default">
<div class="default businessGD">
<div class="m-b10">
<gl-button
class="newButton"
......@@ -13,6 +13,7 @@
>添加商户</gl-button>
</div>
<gl-table
class="m-b10"
:table="tableData"
v-loading="tableLoading">
<gl-table-column align="center" v-for="(i, index) in tableData.column" :key="index" :label='i.label' :prop='i.prop' :width='i.width' >
......@@ -115,9 +116,6 @@ export default {
CityArea
},
watch: {
groupId(val) {
this.getList()
},
dialogVisible_search(val) {
if (!val) {
this.eventBus.$emit('reset')
......@@ -206,6 +204,7 @@ export default {
mounted() {
this.$root.eventBus.$on('params', (params) => {
this.groupId = params.groupId
this.getList()
// this.searchParams.groupId = params.groupId
})
// this.loadingGetList()
......@@ -326,6 +325,10 @@ export default {
}
}
}
.businessGD a{
/* color: #0000FF; */
text-decoration:underline
}
// .tableImg{
// width: 36px;
// height: 36px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!