Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 182e954c
authored
Jun 11, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor(earlyWarning): 优化线上运营分布组件并移除调试日志
1 parent
c67eef4b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
12 deletions
src/views/earlyWarningManager/strategyAnalysis/components/OnlineOperList/index.vue
src/views/earlyWarningManager/strategyAnalysis/index.vue
src/views/earlyWarningManager/strategyCentre/storeSignboard/components/StaffOverview/index.vue
src/views/earlyWarningManager/strategyCentre/storeSignboard/components/SummaryOverview/index.vue
src/views/earlyWarningManager/strategyAnalysis/components/OnlineOperList/index.vue
View file @
182e954
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<span
class=
"rank-header-col"
style=
"flex: 1; text-align: center;"
>
占比
</span>
<span
class=
"rank-header-col"
style=
"flex: 1; text-align: center;"
>
占比
</span>
</div>
</div>
<!-- 列表内容 -->
<!-- 列表内容 -->
<block
v-if=
"rankData.length > 0"
>
<template
v-if=
"rankData.length > 0"
>
<div
v-for=
"(item, index) in rankData"
<div
v-for=
"(item, index) in rankData"
:key=
"index"
:key=
"index"
class=
"rank-item"
>
class=
"rank-item"
>
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
<div
class=
"rank-index"
<div
class=
"rank-index"
:class=
"`rank-$
{index + 1}`">
:class=
"`rank-$
{index + 1}`">
<img
v-if=
"index
< 3
"
<img
v-if=
"index
< 3
"
:src=
"require(`@/assets/strategy/icon-strategy-rank0$
{index + 1}.png`)
"
style=
"width: 24px; height: 24px;
"
style="width: 24px; height: 24px;
" />
:src=
"require(`@/assets/strategy/icon-strategy-rank0$
{index + 1}.png`)
" />
<span
v-else
<span
v-else
style=
"width: 20px; height: 20px; border-radius: 50%; opacity: 1; background: #2a58ad1a; display: inline-block; text-align: center; line-height: 20px;"
>
style=
"width: 20px; height: 20px; border-radius: 50%; opacity: 1; background: #2a58ad1a; display: inline-block; text-align: center; line-height: 20px;"
>
{{
index
+
1
}}
{{
index
+
1
}}
...
@@ -45,10 +45,7 @@
...
@@ -45,10 +45,7 @@
{{
item
.
storeCountPercent
}}
%
{{
item
.
storeCountPercent
}}
%
</div>
</div>
</div>
</div>
</block>
</
template
>
<block
v-else
>
<!-- 空数据占位,实际显示在 .dashboard-card 层级 -->
</block>
</div>
</div>
<div
v-if=
"rankData.length === 0"
class=
"empty-box"
>
<div
v-if=
"rankData.length === 0"
class=
"empty-box"
>
<img
alt=
"暂无数据"
:src=
"noDataImg"
>
<img
alt=
"暂无数据"
:src=
"noDataImg"
>
...
...
src/views/earlyWarningManager/strategyAnalysis/index.vue
View file @
182e954
...
@@ -715,7 +715,6 @@ export default {
...
@@ -715,7 +715,6 @@ export default {
uuid
:
this
.
strategyTypeOperatorFilter
,
uuid
:
this
.
strategyTypeOperatorFilter
,
};
};
const
res
=
await
getStrategyTypeDist
(
params
);
const
res
=
await
getStrategyTypeDist
(
params
);
console
.
log
(
"getStrategyTypeDist"
,
res
);
this
.
strategyTypeData
=
res
||
[];
this
.
strategyTypeData
=
res
||
[];
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
"获取策略类型分布失败:"
,
error
);
console
.
error
(
"获取策略类型分布失败:"
,
error
);
...
...
src/views/earlyWarningManager/strategyCentre/storeSignboard/components/StaffOverview/index.vue
View file @
182e954
...
@@ -193,12 +193,13 @@
...
@@ -193,12 +193,13 @@
<div
v-loading=
"staffRightLoading"
<div
v-loading=
"staffRightLoading"
class=
"staff-overview-item right"
>
class=
"staff-overview-item right"
>
<div
class=
"content"
>
<div
class=
"content"
>
<OverViewList
:business-type=
"paramsInfo.bizs"
<OverViewList
v-if=
"paramsInfo.bizs != 3"
:business-type=
"paramsInfo.bizs"
:is-harmony=
"isHarmony"
:is-harmony=
"isHarmony"
:is-staff=
"true"
:is-staff=
"true"
:view-data=
"viewData"
>
:view-data=
"viewData"
>
</OverViewList>
</OverViewList>
<div
v-show=
"!isHarmony"
class=
"empty-box"
>
<div
v-show=
"!isHarmony
|| paramsInfo.bizs == 3
"
class=
"empty-box"
>
<img
alt=
"暂无数据"
src=
"@/assets/strategy/emepty-strategy.png"
>
<img
alt=
"暂无数据"
src=
"@/assets/strategy/emepty-strategy.png"
>
<div
class=
"empty-text"
>
<div
class=
"empty-text"
>
暂无数据
暂无数据
...
...
src/views/earlyWarningManager/strategyCentre/storeSignboard/components/SummaryOverview/index.vue
View file @
182e954
...
@@ -149,13 +149,14 @@
...
@@ -149,13 +149,14 @@
<div
class=
"summary-overview-item right"
>
<div
class=
"summary-overview-item right"
>
<div
v-loading=
"summaryRightLoading"
<div
v-loading=
"summaryRightLoading"
class=
"content"
>
class=
"content"
>
<OverViewList
has-e-hi
<OverViewList
v-if=
"paramsInfo.bizs != 3"
has-e-hi
:business-type=
"paramsInfo.bizs"
:business-type=
"paramsInfo.bizs"
:is-harmony=
"isHarmony"
:is-harmony=
"isHarmony"
:is-oem-data-source=
"activeDataSource === 2"
:is-oem-data-source=
"activeDataSource === 2"
:view-data=
"viewData"
>
:view-data=
"viewData"
>
</OverViewList>
</OverViewList>
<div
v-show=
"!isHarmony"
class=
"empty-box"
>
<div
v-show=
"!isHarmony
|| paramsInfo.bizs == 3
"
class=
"empty-box"
>
<img
alt=
"暂无数据"
src=
"@/assets/strategy/emepty-strategy.png"
>
<img
alt=
"暂无数据"
src=
"@/assets/strategy/emepty-strategy.png"
>
<div
class=
"empty-text"
>
<div
class=
"empty-text"
>
暂无数据
暂无数据
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment