Commit 5eecfc7d by cwq0219
2 parents aff8392a 8a082888
......@@ -229,7 +229,7 @@ export default {
if (query !== '') {
this.loading = true
const params = {}
// params.groupId = 1
params.groupId = this.groupId
params.searchWrod = query
params.method = groupDetailMethods.SearchList
request.req(params).then(res => {
......@@ -249,8 +249,8 @@ export default {
if (query !== '') {
this.childLoading = true
const params = {}
params.groupId = 1
params.merchantId = 11
params.groupId = this.groupId
params.merchantId = this.addForm.merchant
params.searchWrod = query
params.method = groupDetailMethods.SearchChildList
request.req(params).then(res => {
......
......@@ -129,7 +129,7 @@ export default {
// searchCondition: {},
groupId: '',
searchParams: {
groupId: '',
// groupId: '',
merchantName: '',
merchantId: '',
merchantType: '',
......@@ -203,7 +203,7 @@ export default {
mounted() {
this.$root.eventBus.$on('params', (params) => {
this.groupId = params.groupId
this.searchParams.groupId = params.groupId
// this.searchParams.groupId = params.groupId
})
this.loadingGetList()
this.getMerchantType()
......@@ -233,7 +233,7 @@ export default {
this.searchParams.endTime = this.times[1].format('yyyy-MM-dd HH:mm:ss')
}
const params = this.getParams()
params.groupId = 1
params.groupId = this.groupId
params.method = groupDetailMethods.Search
console.log(params)
request
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!