Commit d89d0bf0 by 胡悦

groupId

1 parent 43fefa7d
......@@ -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: '',
......@@ -202,7 +202,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()
......@@ -232,7 +232,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!