Commit 52830121 by cwq0219

修改

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