Commit 7c7f4524 by 李伟康

提交

1 parent c59eefa7
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
/** /**
* 分页查询群接龙中奖明细列表 * 分页查询群接龙中奖明细列表
*/ */
getSolitaireAewardList(params) { getSolitaireAewardList (params) {
params.method = 'marketing.api.activityRedEnvelope.relay.lottery.record.page' params.method = 'marketing.api.activityRedEnvelope.relay.lottery.record.page'
return http({ return http({
url, url,
...@@ -99,5 +99,15 @@ export default { ...@@ -99,5 +99,15 @@ export default {
data: params data: params
}) })
}, },
/** 查询接龙活动渠道来源 */
getSolitaireMerchantList (params = {}) {
params.method = 'marketing.api.activityRedEnvelope.relay.lottery.merchants'
params.pageSize = 9999
params.pageNum = 1
return http({
url,
data: params
})
},
} }
\ No newline at end of file \ No newline at end of file
...@@ -148,8 +148,8 @@ export default { ...@@ -148,8 +148,8 @@ export default {
}, },
noFilter: false, noFilter: false,
optionList: [], optionList: [],
optionId: 'value', optionId: 'merchantId',
optionLabel: 'label' optionLabel: 'merchantName'
}, },
{ {
label: '创建时间', label: '创建时间',
...@@ -290,8 +290,15 @@ export default { ...@@ -290,8 +290,15 @@ export default {
} }
}, },
mounted () { mounted () {
this.getSolitaireMerchantList()
}, },
methods: { methods: {
async getSolitaireMerchantList(){
const res = await this.$apis.solitaire.getSolitaireMerchantList()
console.log(res)
this.searchFormData.find(e => e.name == 'merchantIdList').optionList = res
console.log( this.searchFormData)
},
getParams () { getParams () {
const searchForm = JSON.parse(JSON.stringify(this.searchForm)) const searchForm = JSON.parse(JSON.stringify(this.searchForm))
if (searchForm.createTime) { if (searchForm.createTime) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!