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