Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WebProject
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taein Kim
WebProject
Commits
e4e66d8b
Commit
e4e66d8b
authored
5 years ago
by
uutaein
Browse files
Options
Downloads
Patches
Plain Diff
수익률까지
parent
1811284b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Frontend/src/Layout/Components/StrategySimulator.vue
+3
-4
3 additions, 4 deletions
Frontend/src/Layout/Components/StrategySimulator.vue
Frontend/src/store/index.js
+3
-1
3 additions, 1 deletion
Frontend/src/store/index.js
with
6 additions
and
5 deletions
Frontend/src/Layout/Components/StrategySimulator.vue
+
3
−
4
View file @
e4e66d8b
...
...
@@ -30,7 +30,7 @@
<div
class=
"card-header-tab card-header"
>
<div
class=
"card-header-title font-size-lg text-capitalize font-weight-normal"
>
<i
class=
"header-icon lnr-cloud-download icon-gradient bg-happy-itmeo"
>
</i>
Technical Support
내 포트폴리오 결과
</div>
</div>
<div
class=
"p-0 card-body"
>
...
...
@@ -39,14 +39,13 @@
<div
class=
"widget-chat-wrapper-outer"
>
<div
class=
"widget-chart-content widget-chart-content-lg pb-0"
>
<div
class=
"widget-chart-flex"
>
<div
class=
"widget-title opacity-5 text-muted text-uppercase"
>
Helpdesk
Tickets
<div
class=
"widget-title opacity-5 text-muted text-uppercase"
>
최종 수익률
</div>
</div>
<div
class=
"widget-numbers"
>
<div
class=
"widget-chart-flex"
>
<div>
<span
class=
"text-warning"
>
34
</span>
<span
class=
"text-warning"
>
{{
this
.
$store
.
state
.
SS_profit
}}
%
</span>
</div>
<div
class=
"widget-title ml-2 font-size-lg font-weight-normal text-dark"
>
...
...
This diff is collapsed.
Click to expand it.
Frontend/src/store/index.js
+
3
−
1
View file @
e4e66d8b
...
...
@@ -16,7 +16,8 @@ export default new Vuex.Store({
SS_chart_labels
:
[],
SS_chart_data1
:
[],
SS_chart_data2
:
[],
SS_chart_done
:
false
SS_chart_done
:
false
,
SS_profit
:
0
},
// 전체돈 * ration / 주식개별
// 전체돈 * 코스닥 가격
...
...
@@ -88,6 +89,7 @@ export default new Vuex.Store({
}
}
state
.
SS_chart_data2
.
reverse
();
state
.
SS_profit
=
(
state
.
SS_chart_data2
[
payloadNumSize
]
-
state
.
SS_init_money
)
/
state
.
SS_init_money
*
100
;
state
.
SS_chart_done
=
true
;
console
.
log
(
state
.
SS_chart_data2
);
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment