新增奖池线统计
This commit is contained in:
@@ -21,16 +21,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<button id="btnAdd" class="btn btn-default" @click="btnAdd">
|
||||
<button class="btn btn-default" @click="btnAdd">
|
||||
<i class="glyphicon glyphicon-plus-sign"></i>新增
|
||||
</button>
|
||||
<button id="btnDeploy" class="btn btn-default" @click="btnDeploy">
|
||||
<button class="btn btn-default" @click="btnDeploy">
|
||||
<i class="glyphicon glyphicon-plus-sign"></i>发布
|
||||
</button>
|
||||
<button id="btnDeployed" class="btn btn-default" @click="btnDeployed">
|
||||
<button class="btn btn-default" @click="btnDeployed">
|
||||
<i class="glyphicon glyphicon-plus-sign"></i>已发布奖池
|
||||
</button>
|
||||
<button id="btnSearch" class="btn btn-default" @click="btnSearch">
|
||||
<button class="btn btn-default" @click="btnSearch">
|
||||
<i class="glyphicon glyphicon-search"></i>查询
|
||||
</button>
|
||||
</div>
|
||||
@@ -249,7 +249,7 @@ export default {
|
||||
formatter: function (val, row, index) {
|
||||
let value = 0;
|
||||
if (val) {
|
||||
value = (val / 1000 * 100).toFixed(4);
|
||||
value = (val / 1000 * 100).toFixed(6);
|
||||
}
|
||||
return value + '%';
|
||||
}
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
formatter: function (val, row, index) {
|
||||
let value = 0;
|
||||
if (val) {
|
||||
value = (val / 1000 * 100).toFixed(4);
|
||||
value = (val / 1000 * 100).toFixed(6);
|
||||
}
|
||||
return value + '%';
|
||||
}
|
||||
@@ -408,7 +408,7 @@ export default {
|
||||
$('#poolLevel').val(poolLevel);
|
||||
$("#poolNum").val(poolNum);
|
||||
$("#ratio").val(ratio);
|
||||
$("#showRatio").val(showRatio);
|
||||
$("#showRatio").val(parseFloat(showRatio) / 1000);
|
||||
$("#itemIndex").val(itemIndex);
|
||||
$("#itemOrder").val(itemOrder);
|
||||
$("#editModal").modal('show');
|
||||
@@ -423,7 +423,7 @@ export default {
|
||||
poolLevel: 1,
|
||||
poolNum: $('#poolNum').val(),
|
||||
ratio: $('#ratio').val(),
|
||||
showRatio: $('#showRatio').val(),
|
||||
showRatio: parseFloat($('#showRatio').val()) * 1000,
|
||||
itemIndex: $('#itemIndex').val(),
|
||||
itemOrder: $('#itemOrder').val()
|
||||
};
|
||||
|
Reference in New Issue
Block a user