修改金豆为金币

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

@@ -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

View File

@@ -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