Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪晓凯
robot-monitor
Commits
5232ed00
Commit
5232ed00
authored
Apr 23, 2019
by
xiedong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部版本隐藏了充提按钮
parent
6fe7e40e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
25 deletions
+31
-25
RobotDetails.vue
src/views/RobotDetails.vue
+30
-24
overview.vue
src/views/overview.vue
+1
-1
No files found.
src/views/RobotDetails.vue
View file @
5232ed00
...
...
@@ -81,18 +81,21 @@
<div
class=
"handle-content"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"handle"
>
<span
class=
"coin-name"
>
{{
robotInfo
.
coin
}}
</span>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickRecharge(robotInfo.coin)"
>
充币
</button>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickWithdraw(robotInfo.coin)"
>
提币
</button>
<div
class=
"switch"
>
<span
v-show=
"robotInfo.transfer_status==='open'"
>
关闭
</span>
<span
v-show=
"robotInfo.transfer_status==='close'"
>
开启
</span>
<el-switch
@
change=
"transferStatusChange"
v-model=
"transfer_status"
active-color=
"rgba(119,146,167,1)"
inactive-color=
"rgba(236,239,241,1)"
>
</el-switch>
</div>
<template
v-if=
"environment=='inside'"
>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickRecharge(robotInfo.coin)"
>
充币
</button>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickWithdraw(robotInfo.coin)"
>
提币
</button>
<div
class=
"switch"
>
<span
v-show=
"robotInfo.transfer_status==='open'"
>
关闭
</span>
<span
v-show=
"robotInfo.transfer_status==='close'"
>
开启
</span>
<el-switch
@
change=
"transferStatusChange"
v-model=
"transfer_status"
active-color=
"rgba(119,146,167,1)"
inactive-color=
"rgba(236,239,241,1)"
>
</el-switch>
</div>
</
template
>
</div>
<p
class=
"item"
>
<span
class=
"type-name"
>
可用
</span>
...
...
@@ -118,18 +121,21 @@
<div
class=
"handle-content"
v-loading=
"Loading"
element-loading-text=
"正在刷新数据"
>
<div
class=
"handle"
>
<span
class=
"coin-name"
>
{{robotInfo.base}}
</span>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickRecharge(robotInfo.base)"
>
充币
</button>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickWithdraw(robotInfo.base)"
>
提币
</button>
<div
class=
"switch"
>
<span
v-show=
"robotInfo.transfer_status==='open'"
>
关闭
</span>
<span
v-show=
"robotInfo.transfer_status==='close'"
>
开启
</span>
<el-switch
@
change=
"transferStatusChange"
v-model=
"transfer_status"
active-color=
"rgba(119,146,167,1)"
inactive-color=
"rgba(236,239,241,1)"
>
</el-switch>
</div>
<
template
v-if=
"environment=='inside'"
>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickRecharge(robotInfo.base)"
>
充币
</button>
<button
class=
"button"
:class=
"robotInfo.transfer_status"
:disabled=
"robotInfo.transfer_status==='close'"
@
click=
"clickWithdraw(robotInfo.base)"
>
提币
</button>
<div
class=
"switch"
>
<span
v-show=
"robotInfo.transfer_status==='open'"
>
关闭
</span>
<span
v-show=
"robotInfo.transfer_status==='close'"
>
开启
</span>
<el-switch
@
change=
"transferStatusChange"
v-model=
"transfer_status"
active-color=
"rgba(119,146,167,1)"
inactive-color=
"rgba(236,239,241,1)"
>
</el-switch>
</div>
</
template
>
</div>
<p
class=
"item"
>
<span
class=
"type-name"
>
可用
</span>
...
...
src/views/overview.vue
View file @
5232ed00
...
...
@@ -12,7 +12,7 @@
<p>
{{
robotStatusList
.
status_stop
}}
</p>
<p>
停止运行(台)
</p>
</li>
<li
class=
"abnormal"
:class=
"
{ 'filter' : robotStatus === 'profit'}" @click="statusFilter('profit')">
<li
class=
"abnormal"
:class=
"
{ 'filter' : robotStatus === 'profit'}" @click="statusFilter('profit')"
v-if="environment=='inside'"
>
<p>
{{
robotStatusList
.
profit_status_abnormal
}}
</p>
<p>
盈利异常(台)
</p>
</li>
...
...
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