Commit 2917e384 by 李伟康

增加已开奖

1 parent 61132f07
......@@ -65,7 +65,8 @@
<div :class="`status status-${scope.scope.activityState}`">
{{{
1:'已开始',
2:'已结束'
2:'已结束',
3:'已开奖'
}[scope.scope.activityState] || '--'}}
</div>
</template>
......@@ -131,7 +132,7 @@ export default {
// { text: '未开始', id: '0' },
{ text: '已开始', id: '1' },
{ text: '已结束', id: '2' },
// { text: '已开奖', id: '3' },
{ text: '已开奖', id: '3' },
],
optionId: 'id',
optionLabel: 'text'
......@@ -292,11 +293,11 @@ export default {
this.getSolitaireMerchantList()
},
methods: {
async getSolitaireMerchantList(){
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)
console.log(this.searchFormData)
},
getParams () {
const searchForm = JSON.parse(JSON.stringify(this.searchForm))
......@@ -444,7 +445,7 @@ export default {
background: #f8b757;
}
}
.status-1 {
.status-1 ,.status-3{
&::before {
background: #4aca74;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!