|
|
@ -6,6 +6,7 @@ import { AiFillRead } from 'vue-icons-plus/ai' |
|
|
|
import axios from 'axios' |
|
|
|
import moment from 'moment' |
|
|
|
import API from '@/util/http.js' |
|
|
|
|
|
|
|
const defaultTime = [ |
|
|
|
new Date(2000, 1, 1, 0, 0, 0), |
|
|
|
new Date(2000, 2, 1, 23, 59, 59), |
|
|
@ -19,7 +20,8 @@ const selectData = ref({ |
|
|
|
}) |
|
|
|
|
|
|
|
const permanentBeans = ref(0) |
|
|
|
const beanNum = ref(0) |
|
|
|
// const beanNum = ref(0) |
|
|
|
const num = ref(0) |
|
|
|
const money = ref(0) |
|
|
|
|
|
|
|
//获取当齐全条件的金豆总数 |
|
|
@ -33,7 +35,8 @@ const getTotalBeans = async () => { |
|
|
|
}) |
|
|
|
if (result.code == 200) { |
|
|
|
permanentBeans.value = result.data.permanentBean |
|
|
|
beanNum.value = result.data.beanNum |
|
|
|
// beanNum.value = result.data.beanNum |
|
|
|
num.value = result.data.num |
|
|
|
money.value = result.data.money |
|
|
|
console.log('金豆总数获取成功'); |
|
|
|
} |
|
|
@ -409,7 +412,7 @@ onMounted(async function () { |
|
|
|
<el-col> |
|
|
|
<el-card> |
|
|
|
<div class="bean-info"> |
|
|
|
充值金豆数:{{ format3(beanNum) }}, 合计新币数:{{ format3(money) }}。 |
|
|
|
充值金豆数:{{ format3(num) }}, 合计新币数:{{ format3(money) }}。 |
|
|
|
|
|
|
|
</div> |
|
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
|