修改金豆为金币
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="payDiamond" label="钻石价格" width="100">
|
||||
</el-table-column>
|
||||
<el-table-column prop="money" label="金豆数量">
|
||||
<el-table-column prop="money" label="金币数量">
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column prop="wxGoodsId" label="微信道具id">
|
||||
@@ -28,7 +28,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="sort" label="排序">
|
||||
</el-table-column>
|
||||
<el-table-column prop="giveMoney" label="赠送金豆">
|
||||
<el-table-column prop="giveMoney" label="赠送金币">
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="180">
|
||||
<template slot-scope="scope">
|
||||
@@ -71,13 +71,13 @@
|
||||
<el-input style="width:50%;" v-model="payDiamond" placeholder="请输入钻石价格"></el-input>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">金豆数量:</span>
|
||||
<el-input style="width:50%;" v-model="money" placeholder="请输入金豆数量"></el-input>
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">金币数量:</span>
|
||||
<el-input style="width:50%;" v-model="money" placeholder="请输入金币数量"></el-input>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">赠送金豆:</span>
|
||||
<el-input style="width:50%;" v-model="giveMoney" placeholder="请输入赠送金豆"></el-input>
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">赠送金币:</span>
|
||||
<el-input style="width:50%;" v-model="giveMoney" placeholder="请输入赠送金币"></el-input>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">微信道具id:</span>
|
||||
@@ -199,7 +199,7 @@
|
||||
this.$notify({
|
||||
title: '提示',
|
||||
duration: 1800,
|
||||
message: '请输入金豆数量',
|
||||
message: '请输入金币数量',
|
||||
type: 'warning'
|
||||
});
|
||||
return
|
||||
@@ -208,7 +208,7 @@
|
||||
this.$notify({
|
||||
title: '提示',
|
||||
duration: 1800,
|
||||
message: '请输入赠送金豆',
|
||||
message: '请输入赠送金币',
|
||||
type: 'warning'
|
||||
});
|
||||
return
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<span v-if = "scope.row.payWay == 3">微信小程序</span>
|
||||
<span v-if = "scope.row.payWay == 4">支付宝</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 == 8">快手</span>
|
||||
</template>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="奖励类型" required>
|
||||
<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="9">大转盘抽奖次数</el-radio>
|
||||
</el-radio-group>
|
||||
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
},
|
||||
returnTypeName(type) {
|
||||
const $types = {
|
||||
1: "金豆",
|
||||
1: "金币",
|
||||
2: "现金红包",
|
||||
9: "大转盘抽奖次数",
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</td>
|
||||
<th>钱包</th>
|
||||
<td class="border-rt">
|
||||
{{qianbao.money}}金豆
|
||||
{{qianbao.money}}金币
|
||||
<el-button size="mini" :disabled="!isAuth('userList:updateQb')"
|
||||
style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)">
|
||||
修改</el-button>
|
||||
@@ -262,7 +262,7 @@
|
||||
<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="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">
|
||||
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ 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="title" label="标题" width="250"></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">
|
||||
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
|
||||
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
|
||||
@@ -658,7 +658,7 @@
|
||||
</el-pagination>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<!-- 不可提现添加金豆 -->
|
||||
<!-- 不可提现添加金币 -->
|
||||
<el-dialog :title="titles" :visible.sync="dialogFormVisible1" center>
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">修改模式:</span>
|
||||
@@ -668,9 +668,9 @@
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<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"
|
||||
placeholder="请输入金豆"></el-input>
|
||||
placeholder="请输入金币"></el-input>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px;" v-if="typeIndex==2">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">金额:</span>
|
||||
@@ -1134,7 +1134,7 @@
|
||||
rechargenone(index) {
|
||||
this.typeIndex = index
|
||||
if(index==1){
|
||||
this.titles = '修改金豆'
|
||||
this.titles = '修改金币'
|
||||
}else{
|
||||
this.titles = '修改收益'
|
||||
}
|
||||
@@ -1158,7 +1158,7 @@
|
||||
this.$notify({
|
||||
title: '提示',
|
||||
duration: 1800,
|
||||
message: '请输入金豆',
|
||||
message: '请输入金币',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</td>
|
||||
<th>钱包</th>
|
||||
<td class="border-rt">
|
||||
{{qianbao.money}}金豆
|
||||
{{qianbao.money}}金币
|
||||
<el-button size="mini" :disabled="!isAuth('userList:updateQb')"
|
||||
style="color: #4f9dec;background: #fff;border: none;" @click="rechargenone(1)">
|
||||
修改</el-button>
|
||||
@@ -262,7 +262,7 @@
|
||||
<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="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">
|
||||
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ 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="title" label="标题" width="250"></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">
|
||||
<span style="color: #009900;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
|
||||
<span style="color: #f56c6c;" v-else>- {{ scope.row.money }}</span>
|
||||
@@ -658,7 +658,7 @@
|
||||
</el-pagination>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<!-- 不可提现添加金豆 -->
|
||||
<!-- 不可提现添加金币 -->
|
||||
<el-dialog :title="titles" :visible.sync="dialogFormVisible1" center>
|
||||
<div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">修改模式:</span>
|
||||
@@ -668,9 +668,9 @@
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<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"
|
||||
placeholder="请输入金豆"></el-input>
|
||||
placeholder="请输入金币"></el-input>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px;" v-if="typeIndex==2">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">金额:</span>
|
||||
@@ -1134,7 +1134,7 @@
|
||||
rechargenone(index) {
|
||||
this.typeIndex = index
|
||||
if(index==1){
|
||||
this.titles = '修改金豆'
|
||||
this.titles = '修改金币'
|
||||
}else{
|
||||
this.titles = '修改收益'
|
||||
}
|
||||
@@ -1158,7 +1158,7 @@
|
||||
this.$notify({
|
||||
title: '提示',
|
||||
duration: 1800,
|
||||
message: '请输入金豆',
|
||||
message: '请输入金币',
|
||||
type: 'warning'
|
||||
})
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user