修复单线比问题
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<label for="poolGroup" class="col-sm-3 control-label">奖池分组:</label>
|
||||
<div class="col-sm-4">
|
||||
<select name="poolGroup" id="searchPoolGroup" data-btn-class="btn-warning" class="form-control">
|
||||
<option value="">全部</option>
|
||||
<option value="1">基础奖池</option>
|
||||
<option value="2">高级奖池</option>
|
||||
</select>
|
||||
@@ -318,12 +319,12 @@ export default {
|
||||
poolGroup: $('#poolGroup').val()
|
||||
}).then(res => {
|
||||
let data = res.data;
|
||||
$('#giftCount').val(data.giftCount);
|
||||
$('#giftValue').val(data.giftValue);
|
||||
$('#rewardLineCount').val(data.rewardLineCount);
|
||||
$('#rewardLineNum').val(data.rewardLineNum);
|
||||
$('#totalGiftValue').val(data.totalGiftValue);
|
||||
$('#singleLineRatio').val(data.singleLineRatio + '%');
|
||||
$('#giftCount').html(data.giftCount);
|
||||
$('#giftValue').html(data.giftValue);
|
||||
$('#rewardLineCount').html(data.rewardLineCount);
|
||||
$('#rewardLineNum').html(data.rewardLineNum);
|
||||
$('#totalGiftValue').html(data.totalGiftValue);
|
||||
$('#singleLineRatio').html(data.singleLineRatio.toFixed(6) + '%');
|
||||
});
|
||||
},
|
||||
showReward(rewardId) {
|
||||
@@ -439,6 +440,9 @@ export default {
|
||||
this.showPoolItemCount();
|
||||
}
|
||||
},
|
||||
unmounted() {
|
||||
$('#table').bootstrapTable('destroy');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user