Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c331a83b
authored
Apr 14, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crm:code review 销售漏斗
parent
56829ff9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
40 deletions
+4
-40
.env.local-dev
+0
-36
package.json
+3
-3
src/views/crm/statistics/funnel/components/FunnelBusiness.vue
+1
-1
No files found.
.env.local-dev
deleted
100644 → 0
View file @
56829ff9
# 本地开发环境:本地启动所有项目(前端、后端、APP)时使用,不依赖外部环境
NODE_ENV=development
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://localhost:48080'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
# 上传路径
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=false
# 是否删除console.log
VITE_DROP_CONSOLE=false
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 商城H5会员端域名
VITE_MALL_H5_DOMAIN='http://localhost:3000'
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false
package.json
View file @
c331a83b
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
"private"
:
false
,
"private"
:
false
,
"scripts"
:
{
"scripts"
:
{
"i"
:
"pnpm install"
,
"i"
:
"pnpm install"
,
"
local-server
"
:
"vite --mode local-dev"
,
"
dev
"
:
"vite --mode local-dev"
,
"dev-server"
:
"vite --mode dev"
,
"dev-server"
:
"vite --mode dev"
,
"ts:check"
:
"vue-tsc --noEmit"
,
"ts:check"
:
"vue-tsc --noEmit"
,
"build:local"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev"
,
"build:local
-dev
"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev"
,
"build:dev"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev"
,
"build:dev"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode
local-
dev"
,
"build:test"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test"
,
"build:test"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test"
,
"build:stage"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage"
,
"build:stage"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage"
,
"build:prod"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod"
,
"build:prod"
:
"node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod"
,
...
...
src/views/crm/statistics/funnel/components/FunnelBusiness.vue
View file @
c331a83b
...
@@ -32,7 +32,6 @@ import { DICT_TYPE } from '@/utils/dict'
...
@@ -32,7 +32,6 @@ import { DICT_TYPE } from '@/utils/dict'
import
echarts
from
'@/plugins/echarts'
import
echarts
from
'@/plugins/echarts'
import
{
FunnelChart
}
from
'echarts/charts'
import
{
FunnelChart
}
from
'echarts/charts'
echarts
?.
use
([
FunnelChart
])
defineOptions
({
name
:
'FunnelBusiness'
})
defineOptions
({
name
:
'FunnelBusiness'
})
const
props
=
defineProps
<
{
queryParams
:
any
}
>
()
// 搜索参数
const
props
=
defineProps
<
{
queryParams
:
any
}
>
()
// 搜索参数
...
@@ -40,6 +39,7 @@ const loading = ref(false) // 加载中
...
@@ -40,6 +39,7 @@ const loading = ref(false) // 加载中
const
list
=
ref
<
CrmStatisticFunnelRespVO
[]
>
([])
// 列表的数据
const
list
=
ref
<
CrmStatisticFunnelRespVO
[]
>
([])
// 列表的数据
/** 销售漏斗 */
/** 销售漏斗 */
echarts
?.
use
([
FunnelChart
])
const
echartsOption
=
reactive
<
EChartsOption
>
({
const
echartsOption
=
reactive
<
EChartsOption
>
({
title
:
{
title
:
{
text
:
'销售漏斗'
text
:
'销售漏斗'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment