[去掉所有console和替换所有积分换成贡献值]
This commit is contained in:
@@ -73,7 +73,6 @@
|
||||
// 获取添加银行前置条件
|
||||
getAccountsCreate() {
|
||||
accountsCreate().then(res => {
|
||||
console.log(res)
|
||||
this.banks = res.banks
|
||||
}).catch(err => {
|
||||
this.$refs.uToast.show({
|
||||
@@ -86,7 +85,6 @@
|
||||
// 编辑前置
|
||||
getAccountsCreateEdit() {
|
||||
accountsCreateEdit(this.bank_account_id).then(res => {
|
||||
console.log(res)
|
||||
this.banks = res.banks
|
||||
this.no = res.info.no
|
||||
this.name = res.info.name
|
||||
@@ -104,7 +102,6 @@
|
||||
},
|
||||
// 选择银行
|
||||
selectBank(e) {
|
||||
console.log(e[0])
|
||||
this.selectBankObj = e[0]
|
||||
this.bank_id = e[0].value
|
||||
},
|
||||
@@ -158,7 +155,6 @@
|
||||
}
|
||||
if (this.bank_account_id) {
|
||||
data.bank_account_id = this.bank_account_id
|
||||
console.log(data)
|
||||
this.withdrawsAccountsEdits(data)
|
||||
} else {
|
||||
this.withdrawsAccounts(data)
|
||||
|
||||
@@ -73,7 +73,6 @@
|
||||
page: this.page
|
||||
}
|
||||
withdrawsAccountsList(data).then(res => {
|
||||
console.log(res)
|
||||
this.lists = this.lists.concat(res.data)
|
||||
this.has_more = res.page.has_more
|
||||
uni.setStorageSync('refresh', false)
|
||||
@@ -107,7 +106,6 @@
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
withdrawsAccountsDelete(id).then(res => {
|
||||
console.log(res)
|
||||
that.lists.splice(index, 1)
|
||||
if (that.lists.length === 0) {
|
||||
uni.navigateBack({})
|
||||
@@ -132,7 +130,6 @@
|
||||
// }
|
||||
// let pages = getCurrentPages()
|
||||
// let prevPage = pages[pages.length - 2]
|
||||
// console.log(bankInfo)
|
||||
// prevPage._data.bankInfo = bankInfo
|
||||
// uni.navigateBack() //返回上一页面
|
||||
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
// 输入提现通证金额
|
||||
inputNum(e) {
|
||||
let number = Number(e.detail.value)
|
||||
console.log(number, this.balance)
|
||||
if (number <= Number(this.balance)) {
|
||||
this.total = Number(e.detail.value) * this.cost
|
||||
} else {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<view :class="['pay_type_item',cointype==='0'?'pay_type_item_select':'']" @click="selectCoinType('0')">已发放</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="record-title">当前积分个数</view>
|
||||
<view class="record-title">当前贡献值个数</view>
|
||||
<view class="record-money">{{score || '0.00'}} <span>个</span></view>
|
||||
</view>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 无列表 -->
|
||||
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何积分记录 ~ " />
|
||||
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何贡献值记录 ~ " />
|
||||
|
||||
<!-- <u-toast ref="uToast" /> -->
|
||||
<u-toast ref="uToast" />
|
||||
|
||||
@@ -140,7 +140,6 @@
|
||||
success: (res) => {
|
||||
switch (res.tapIndex) {
|
||||
case 0:
|
||||
console.log('提现了,')
|
||||
this.$Router.push({
|
||||
name: 'Extract'
|
||||
})
|
||||
|
||||
@@ -58,11 +58,9 @@
|
||||
this.reset()
|
||||
uni.setStorageSync('refresh',false)
|
||||
}else{
|
||||
console.log('没有更多更新')
|
||||
}
|
||||
},
|
||||
onReachBottom() {
|
||||
console.log('chudi.....')
|
||||
if(this.has_more){
|
||||
this.page = this.page+1
|
||||
this.getlog()
|
||||
@@ -80,7 +78,6 @@
|
||||
page:this.page
|
||||
}
|
||||
accountCashs(data).then(res => {
|
||||
console.log(res)
|
||||
this.logs = this.logs.concat(res.lists.data)
|
||||
this.cash = res.cash
|
||||
this.has_more = res.lists.page.has_more
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<!-- <view class="record-title">积分个数</view>
|
||||
<!-- <view class="record-title">贡献值个数</view>
|
||||
<view class="record-money"><span>¥</span>{{account || '0.00'}}</view> -->
|
||||
</view>
|
||||
|
||||
@@ -108,7 +108,6 @@
|
||||
date: this.date,
|
||||
}
|
||||
withdrawsIndexLists(data).then(res => {
|
||||
console.log(res)
|
||||
this.account = res.all
|
||||
this.lists = this.lists.concat(res.lists.data)
|
||||
this.has_next_page = res.lists.page.has_more
|
||||
|
||||
Reference in New Issue
Block a user