Commit e53c7d58 by 李伟康

删除已开奖

1 parent 2917e384
...@@ -65,8 +65,7 @@ ...@@ -65,8 +65,7 @@
<div :class="`status status-${scope.scope.activityState}`"> <div :class="`status status-${scope.scope.activityState}`">
{{{ {{{
1:'已开始', 1:'已开始',
2:'已结束', 2:'已结束'
3:'已开奖'
}[scope.scope.activityState] || '--'}} }[scope.scope.activityState] || '--'}}
</div> </div>
</template> </template>
...@@ -132,7 +131,7 @@ export default { ...@@ -132,7 +131,7 @@ export default {
// { text: '未开始', id: '0' }, // { text: '未开始', id: '0' },
{ text: '已开始', id: '1' }, { text: '已开始', id: '1' },
{ text: '已结束', id: '2' }, { text: '已结束', id: '2' },
{ text: '已开奖', id: '3' }, // { text: '已开奖', id: '3' },
], ],
optionId: 'id', optionId: 'id',
optionLabel: 'text' optionLabel: 'text'
...@@ -277,7 +276,7 @@ export default { ...@@ -277,7 +276,7 @@ export default {
attrs: { attrs: {
type: 'text', type: 'text',
}, },
condition: row => row.activityState == 3, condition: row => row.activityState == 2,
listeners: { listeners: {
click: row => this.jumpDetail(row, 1) click: row => this.jumpDetail(row, 1)
} }
...@@ -293,11 +292,11 @@ export default { ...@@ -293,11 +292,11 @@ export default {
this.getSolitaireMerchantList() this.getSolitaireMerchantList()
}, },
methods: { methods: {
async getSolitaireMerchantList () { async getSolitaireMerchantList(){
const res = await this.$apis.solitaire.getSolitaireMerchantList() const res = await this.$apis.solitaire.getSolitaireMerchantList()
console.log(res) console.log(res)
this.searchFormData.find(e => e.name == 'merchantIdList').optionList = res this.searchFormData.find(e => e.name == 'merchantIdList').optionList = res
console.log(this.searchFormData) console.log( this.searchFormData)
}, },
getParams () { getParams () {
const searchForm = JSON.parse(JSON.stringify(this.searchForm)) const searchForm = JSON.parse(JSON.stringify(this.searchForm))
...@@ -445,7 +444,7 @@ export default { ...@@ -445,7 +444,7 @@ export default {
background: #f8b757; background: #f8b757;
} }
} }
.status-1 ,.status-3{ .status-1 {
&::before { &::before {
background: #4aca74; background: #4aca74;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!