Commit 7c7f4524 by 李伟康

提交

1 parent c59eefa7
......@@ -72,7 +72,7 @@ export default {
/**
* 分页查询群接龙中奖明细列表
*/
getSolitaireAewardList(params) {
getSolitaireAewardList (params) {
params.method = 'marketing.api.activityRedEnvelope.relay.lottery.record.page'
return http({
url,
......@@ -99,5 +99,15 @@ export default {
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
......@@ -148,8 +148,8 @@ export default {
},
noFilter: false,
optionList: [],
optionId: 'value',
optionLabel: 'label'
optionId: 'merchantId',
optionLabel: 'merchantName'
},
{
label: '创建时间',
......@@ -290,8 +290,15 @@ export default {
}
},
mounted () {
this.getSolitaireMerchantList()
},
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 () {
const searchForm = JSON.parse(JSON.stringify(this.searchForm))
if (searchForm.createTime) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!