幸运数字修改配置
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
|
||||
<div class="inquire">
|
||||
<span>当天奖池金币</span>
|
||||
<span>增加金币</span>
|
||||
<!-- @input="handleInput" -->
|
||||
<el-input
|
||||
v-model="editData.configAddJackpot"
|
||||
@@ -30,6 +30,25 @@
|
||||
disabled
|
||||
></el-input>
|
||||
</div>
|
||||
<div class="inquire">
|
||||
<span>目前用户累计金币</span>
|
||||
<!-- @input="handleInput" -->
|
||||
<el-input
|
||||
v-model="editData.jackpot"
|
||||
placeholder=""
|
||||
class="input"
|
||||
disabled
|
||||
></el-input>
|
||||
</div>
|
||||
<div class="inquire">
|
||||
<span>目前总金币</span>
|
||||
<!-- @input="handleInput" -->
|
||||
<el-input
|
||||
:placeholder="Number(editData.jackpot)+Number(editData.configAddJackpot)"
|
||||
class="input"
|
||||
disabled
|
||||
></el-input>
|
||||
</div>
|
||||
<div class="inquire">
|
||||
<span>平台抽成</span>
|
||||
<!-- @input="handleInput" -->
|
||||
@@ -56,7 +75,7 @@
|
||||
<span
|
||||
style="display: inline-block; margin-right: 20px"
|
||||
class="col-sm-2 control-label"
|
||||
>当天奖池金币</span
|
||||
>增加金币</span
|
||||
>
|
||||
<el-input
|
||||
v-model="editData.configAddJackpot"
|
||||
@@ -133,7 +152,8 @@ export default {
|
||||
configAddJackpot: 0,
|
||||
jackpotRatio: 0,
|
||||
partitionId: undefined,
|
||||
luckyNumber:0
|
||||
luckyNumber:0,
|
||||
jackpot:0
|
||||
});
|
||||
const editDialog = ref(false);
|
||||
const butClick = ref(false);
|
||||
@@ -144,7 +164,8 @@ export default {
|
||||
if (res.code == 200) {
|
||||
editData.configAddJackpot = res.data.configAddJackpot;
|
||||
editData.luckyNumber = res.data.luckyNumber;
|
||||
editData.jackpotRatio = Number(1 - res.data.jackpotRatio).toFixed(2);
|
||||
editData.jackpot = res.data.jackpot;
|
||||
editData.jackpotRatio = res.data.jackpotRatio;
|
||||
} else {
|
||||
ElMessage.error(res.message);
|
||||
}
|
||||
@@ -159,7 +180,7 @@ export default {
|
||||
// editData.jackpotRatio = Number(1 - editData.jackpotRatio).toFixed(2);
|
||||
let obj = {
|
||||
partitionId : formData.partitionId,
|
||||
jackpotRatio : Number(1 - editData.jackpotRatio).toFixed(2),
|
||||
jackpotRatio : editData.jackpotRatio,
|
||||
configAddJackpot: editData.configAddJackpot,
|
||||
luckyNumber: editData.luckyNumber,
|
||||
};
|
||||
@@ -206,7 +227,7 @@ export default {
|
||||
margin-bottom: 20px;
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 110px;
|
||||
width: 130px;
|
||||
margin-right: 10px;
|
||||
// text-align: right;
|
||||
}
|
||||
|
Reference in New Issue
Block a user