1.将部门修改为渠道,并且所有dice_表关联渠道表
2.将所有配置表,记录表设置关联渠道 3.优化后台页面设置
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { fetchRechargeChart } from '@/api/dashboard'
|
||||
import { getChannelDeptRequestParams, useChannelDeptReload } from '@/composables/useChannelDeptScope'
|
||||
|
||||
/**
|
||||
* 充值金额数据
|
||||
@@ -28,10 +29,12 @@
|
||||
*/
|
||||
const xData = ref<string[]>([])
|
||||
|
||||
onMounted(async () => {
|
||||
fetchRechargeChart().then((data: any) => {
|
||||
const loadChart = () => {
|
||||
fetchRechargeChart(getChannelDeptRequestParams()).then((data: any) => {
|
||||
yData.value = data?.recharge_amount ?? []
|
||||
xData.value = data?.recharge_date ?? []
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
useChannelDeptReload(loadChart)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user