修改金豆为金币

This commit is contained in:
2024-12-12 14:44:03 +08:00
parent 04b435906f
commit f080db6c9a
6 changed files with 27 additions and 27 deletions

View File

@@ -19,7 +19,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="payDiamond" label="钻石价格" width="100"> <el-table-column prop="payDiamond" label="钻石价格" width="100">
</el-table-column> </el-table-column>
<el-table-column prop="money" label="金数量"> <el-table-column prop="money" label="金数量">
</el-table-column> </el-table-column>
<el-table-column prop="wxGoodsId" label="微信道具id"> <el-table-column prop="wxGoodsId" label="微信道具id">
@@ -28,7 +28,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="sort" label="排序"> <el-table-column prop="sort" label="排序">
</el-table-column> </el-table-column>
<el-table-column prop="giveMoney" label="赠送金"> <el-table-column prop="giveMoney" label="赠送金">
</el-table-column> </el-table-column>
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -71,13 +71,13 @@
<el-input style="width:50%;" v-model="payDiamond" placeholder="请输入钻石价格"></el-input> <el-input style="width:50%;" v-model="payDiamond" placeholder="请输入钻石价格"></el-input>
</div> </div>
<div style="margin-bottom: 10px;"> <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">数量</span> <span style="width: 200px;display: inline-block;text-align: right;">数量</span>
<el-input style="width:50%;" v-model="money" placeholder="请输入金数量"></el-input> <el-input style="width:50%;" v-model="money" placeholder="请输入金数量"></el-input>
</div> </div>
<div style="margin-bottom: 10px;"> <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">赠送金</span> <span style="width: 200px;display: inline-block;text-align: right;">赠送金</span>
<el-input style="width:50%;" v-model="giveMoney" placeholder="请输入赠送金"></el-input> <el-input style="width:50%;" v-model="giveMoney" placeholder="请输入赠送金"></el-input>
</div> </div>
<div style="margin-bottom: 10px;"> <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">微信道具id</span> <span style="width: 200px;display: inline-block;text-align: right;">微信道具id</span>
@@ -199,7 +199,7 @@
this.$notify({ this.$notify({
title: '提示', title: '提示',
duration: 1800, duration: 1800,
message: '请输入金数量', message: '请输入金数量',
type: 'warning' type: 'warning'
}); });
return return
@@ -208,7 +208,7 @@
this.$notify({ this.$notify({
title: '提示', title: '提示',
duration: 1800, duration: 1800,
message: '请输入赠送金', message: '请输入赠送金',
type: 'warning' type: 'warning'
}); });
return return

View File

@@ -88,7 +88,7 @@
<span v-if = "scope.row.payWay == 3">微信小程序</span> <span v-if = "scope.row.payWay == 3">微信小程序</span>
<span v-if = "scope.row.payWay == 4">支付宝</span> <span v-if = "scope.row.payWay == 4">支付宝</span>
<span v-if = "scope.row.payWay == 5">会员免费</span> <span v-if = "scope.row.payWay == 5">会员免费</span>
<span v-if = "scope.row.payWay == 6"></span> <span v-if = "scope.row.payWay == 6"></span>
<span v-if = "scope.row.payWay == 7">抖音</span> <span v-if = "scope.row.payWay == 7">抖音</span>
<span v-if = "scope.row.payWay == 8">快手</span> <span v-if = "scope.row.payWay == 8">快手</span>
</template> </template>

View File

@@ -14,7 +14,7 @@
</el-form-item> </el-form-item>
<el-form-item label="奖励类型" required> <el-form-item label="奖励类型" required>
<el-radio-group v-model="form.type"> <el-radio-group v-model="form.type">
<el-radio :label="1"></el-radio> <el-radio :label="1"></el-radio>
<el-radio :label="2">现金</el-radio> <el-radio :label="2">现金</el-radio>
<el-radio :label="9">大转盘抽奖次数</el-radio> <el-radio :label="9">大转盘抽奖次数</el-radio>
</el-radio-group> </el-radio-group>

View File

@@ -104,7 +104,7 @@ export default {
}, },
returnTypeName(type) { returnTypeName(type) {
const $types = { const $types = {
1: "金", 1: "金",
2: "现金红包", 2: "现金红包",
9: "大转盘抽奖次数", 9: "大转盘抽奖次数",
}; };

View File

@@ -47,7 +47,7 @@
</td> </td>
<th>钱包</th> <th>钱包</th>
<td class="border-rt"> <td class="border-rt">
{{qianbao.money}} {{qianbao.money}}
<el-button size="mini" :disabled="!isAuth('userList:updateQb')" <el-button size="mini" :disabled="!isAuth('userList:updateQb')"
style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)"> style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)">
修改</el-button> 修改</el-button>
@@ -262,7 +262,7 @@
<el-table-column prop="id" label="编号" width="100"></el-table-column> <el-table-column prop="id" label="编号" width="100"></el-table-column>
<el-table-column prop="title" label="标题" width="250"></el-table-column> <el-table-column prop="title" label="标题" width="250"></el-table-column>
<el-table-column prop="content" label="内容"></el-table-column> <el-table-column prop="content" label="内容"></el-table-column>
<el-table-column prop="money" label="金" width="100"> <el-table-column prop="money" label="金" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span> <span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span> <span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
@@ -282,7 +282,7 @@
<el-table-column prop="id" label="编号" width="100"></el-table-column> <el-table-column prop="id" label="编号" width="100"></el-table-column>
<el-table-column prop="title" label="标题" width="250"></el-table-column> <el-table-column prop="title" label="标题" width="250"></el-table-column>
<el-table-column prop="content" label="内容"></el-table-column> <el-table-column prop="content" label="内容"></el-table-column>
<el-table-column prop="money" label="金" width="100"> <el-table-column prop="money" label="金" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span> <span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span> <span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
@@ -658,7 +658,7 @@
</el-pagination> </el-pagination>
</div> </div>
</el-tab-pane> </el-tab-pane>
<!-- 不可提现添加金 --> <!-- 不可提现添加金 -->
<el-dialog :title="titles" :visible.sync="dialogFormVisible1" center> <el-dialog :title="titles" :visible.sync="dialogFormVisible1" center>
<div style="margin-bottom: 10px;"> <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">修改模式</span> <span style="width: 200px;display: inline-block;text-align: right;">修改模式</span>
@@ -668,9 +668,9 @@
</el-radio-group> </el-radio-group>
</div> </div>
<div style="margin-bottom: 10px;" v-if="typeIndex==1"> <div style="margin-bottom: 10px;" v-if="typeIndex==1">
<span style="width: 200px;display: inline-block;text-align: right;"></span> <span style="width: 200px;display: inline-block;text-align: right;"></span>
<el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false" <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
placeholder="请输入金"></el-input> placeholder="请输入金"></el-input>
</div> </div>
<div style="margin-bottom: 10px;" v-if="typeIndex==2"> <div style="margin-bottom: 10px;" v-if="typeIndex==2">
<span style="width: 200px;display: inline-block;text-align: right;">金额</span> <span style="width: 200px;display: inline-block;text-align: right;">金额</span>
@@ -1134,7 +1134,7 @@
rechargenone(index) { rechargenone(index) {
this.typeIndex = index this.typeIndex = index
if(index==1){ if(index==1){
this.titles = '修改金' this.titles = '修改金'
}else{ }else{
this.titles = '修改收益' this.titles = '修改收益'
} }
@@ -1158,7 +1158,7 @@
this.$notify({ this.$notify({
title: '提示', title: '提示',
duration: 1800, duration: 1800,
message: '请输入金', message: '请输入金',
type: 'warning' type: 'warning'
}) })
return return

View File

@@ -47,7 +47,7 @@
</td> </td>
<th>钱包</th> <th>钱包</th>
<td class="border-rt"> <td class="border-rt">
{{qianbao.money}} {{qianbao.money}}
<el-button size="mini" :disabled="!isAuth('userList:updateQb')" <el-button size="mini" :disabled="!isAuth('userList:updateQb')"
style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)"> style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)">
修改</el-button> 修改</el-button>
@@ -262,7 +262,7 @@
<el-table-column prop="id" label="编号" width="100"></el-table-column> <el-table-column prop="id" label="编号" width="100"></el-table-column>
<el-table-column prop="title" label="标题" width="250"></el-table-column> <el-table-column prop="title" label="标题" width="250"></el-table-column>
<el-table-column prop="content" label="内容"></el-table-column> <el-table-column prop="content" label="内容"></el-table-column>
<el-table-column prop="money" label="金" width="100"> <el-table-column prop="money" label="金" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span> <span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span> <span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
@@ -282,7 +282,7 @@
<el-table-column prop="id" label="编号" width="100"></el-table-column> <el-table-column prop="id" label="编号" width="100"></el-table-column>
<el-table-column prop="title" label="标题" width="250"></el-table-column> <el-table-column prop="title" label="标题" width="250"></el-table-column>
<el-table-column prop="content" label="内容"></el-table-column> <el-table-column prop="content" label="内容"></el-table-column>
<el-table-column prop="money" label="金" width="100"> <el-table-column prop="money" label="金" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span> <span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span> <span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
@@ -658,7 +658,7 @@
</el-pagination> </el-pagination>
</div> </div>
</el-tab-pane> </el-tab-pane>
<!-- 不可提现添加金 --> <!-- 不可提现添加金 -->
<el-dialog :title="titles" :visible.sync="dialogFormVisible1" center> <el-dialog :title="titles" :visible.sync="dialogFormVisible1" center>
<div style="margin-bottom: 10px;"> <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">修改模式</span> <span style="width: 200px;display: inline-block;text-align: right;">修改模式</span>
@@ -668,9 +668,9 @@
</el-radio-group> </el-radio-group>
</div> </div>
<div style="margin-bottom: 10px;" v-if="typeIndex==1"> <div style="margin-bottom: 10px;" v-if="typeIndex==1">
<span style="width: 200px;display: inline-block;text-align: right;"></span> <span style="width: 200px;display: inline-block;text-align: right;"></span>
<el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false" <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
placeholder="请输入金"></el-input> placeholder="请输入金"></el-input>
</div> </div>
<div style="margin-bottom: 10px;" v-if="typeIndex==2"> <div style="margin-bottom: 10px;" v-if="typeIndex==2">
<span style="width: 200px;display: inline-block;text-align: right;">金额</span> <span style="width: 200px;display: inline-block;text-align: right;">金额</span>
@@ -1134,7 +1134,7 @@
rechargenone(index) { rechargenone(index) {
this.typeIndex = index this.typeIndex = index
if(index==1){ if(index==1){
this.titles = '修改金' this.titles = '修改金'
}else{ }else{
this.titles = '修改收益' this.titles = '修改收益'
} }
@@ -1158,7 +1158,7 @@
this.$notify({ this.$notify({
title: '提示', title: '提示',
duration: 1800, duration: 1800,
message: '请输入金', message: '请输入金',
type: 'warning' type: 'warning'
}) })
return return