提交 a9c6e22f authored 作者: 王鹏飞's avatar 王鹏飞

chore: 新增报表分析

上级 dbd52073
差异被折叠。
...@@ -20,30 +20,32 @@ ...@@ -20,30 +20,32 @@
"@vue-flow/controls": "^1.0.4", "@vue-flow/controls": "^1.0.4",
"@vue-flow/core": "^1.17.4", "@vue-flow/core": "^1.17.4",
"@vueuse/core": "^10.3.0", "@vueuse/core": "^10.3.0",
"axios": "^1.4.0", "axios": "^1.5.0",
"blueimp-md5": "^2.19.0", "blueimp-md5": "^2.19.0",
"element-plus": "^2.3.9", "echarts": "^5.4.3",
"element-plus": "^2.3.14",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^4.0.2", "nanoid": "^4.0.2",
"pinia": "^2.1.6", "pinia": "^2.1.6",
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-echarts": "^6.6.1",
"vue-router": "^4.2.4" "vue-router": "^4.2.4"
}, },
"devDependencies": { "devDependencies": {
"@rushstack/eslint-patch": "^1.2.0", "@rushstack/eslint-patch": "^1.2.0",
"@types/blueimp-md5": "^2.18.0", "@types/blueimp-md5": "^2.18.0",
"@types/node": "^20.3.1", "@types/node": "^20.3.1",
"@vitejs/plugin-vue": "^4.3.3", "@vitejs/plugin-vue": "^4.3.4",
"@vue/eslint-config-typescript": "^11.0.3", "@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.1.3", "@vue/tsconfig": "^0.1.3",
"ali-oss": "^6.17.1", "ali-oss": "^6.18.1",
"chalk": "^5.2.0", "chalk": "^5.2.0",
"eslint": "^8.43.0", "eslint": "^8.43.0",
"eslint-plugin-vue": "^9.17.0", "eslint-plugin-vue": "^9.17.0",
"sass": "^1.66.1", "sass": "^1.67.0",
"typescript": "~4.9.5", "typescript": "~4.9.5",
"unplugin-auto-import": "^0.16.6", "unplugin-auto-import": "^0.16.6",
"vite": "^4.4.9", "vite": "^4.4.9",
"vue-tsc": "^1.8.8" "vue-tsc": "^1.8.11"
} }
} }
import httpRequest from '@/utils/axios'
// 获取实验详情
export function getExperiment() {
return httpRequest.get('/api/lab/v1/experiment/once/experiment')
}
// 获取成员性别
export function getMemberGender() {
return httpRequest.get('/api/lab/v1/experiment/once/member-gender-statistics')
}
// 获取成员年龄
export function getMemberAge() {
return httpRequest.get('/api/lab/v1/experiment/once/member-age-statistics')
}
// 获取成员信用卡等级
export function getCardLevel() {
return httpRequest.get('/api/lab/v1/experiment/once/member-credit-card-level-statistics')
}
// 获取成员月收入
export function getMemberMonthly() {
return httpRequest.get('/api/lab/v1/experiment/once/member-monthly-income-statistics')
}
// 获取标签
export function getLabel() {
return httpRequest.get('/api/lab/v1/experiment/once/tag-member-statistics')
}
// 获取群组
export function getGroup() {
return httpRequest.get('/api/lab/v1/experiment/once/group-member-statistics')
}
// 获取事件
export function getEvent() {
return httpRequest.get('/api/lab/v1/experiment/once/event-member-statistics')
}
// 获取信用卡开卡
export function getCardOpen() {
return httpRequest.get('/api/lab/v1/experiment/once/credit-card-open-statistics')
}
// 获取信用卡积分
export function getCardIntegral() {
return httpRequest.get('/api/lab/v1/experiment/once/credit-card-integral-statistics')
}
// 获取信用卡分期还款
export function getCardInstallment() {
return httpRequest.get('/api/lab/v1/experiment/once/credit-card-installment-statistics')
}
<template>
<iframe
src="https://bi.ezijing.com/bi//?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!!6570!!5b57!!8425!!9500!!5206!!6790!!2f!RIO!7528!!6237!!753b!!50cf!!5206!!6790!.db&platform=PC&browserType=chrome"
class="iframe"></iframe>
</template>
<style lang="scss">
.iframe {
display: block;
padding: 0;
margin: 0;
border: 0;
width: 100%;
height: calc(100vh - 90px);
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论