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
70d1debe
Commit
70d1debe
authored
Jul 04, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充提币ok
parent
9f9798c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
api-config.js
src/config/api-config.js
+2
-0
RobotDetails.vue
src/views/RobotDetails.vue
+0
-0
container.vue
src/views/container.vue
+4
-2
overview.vue
src/views/overview.vue
+2
-2
No files found.
src/config/api-config.js
View file @
70d1debe
...
@@ -8,6 +8,8 @@ const Api = {
...
@@ -8,6 +8,8 @@ const Api = {
GetRobotStatus
:
"/robotStatus"
,
//机器人预警状态查询
GetRobotStatus
:
"/robotStatus"
,
//机器人预警状态查询
GetPlatformInfo
:
"/platform"
,
//交易所及匹配的交易对、目标币信息查询
GetPlatformInfo
:
"/platform"
,
//交易所及匹配的交易对、目标币信息查询
GetRobotBank
:
"/accountlist"
,
//查询机器人银行账户
GetRobotBank
:
"/accountlist"
,
//查询机器人银行账户
GetWalletInfo
:
"/walletInfo "
,
//查询某个账号的当前资产信息
Transfer
:
"/transfer"
,
//充币提币
}
}
export
default
Api
;
export
default
Api
;
src/views/RobotDetails.vue
View file @
70d1debe
This diff is collapsed.
Click to expand it.
src/views/container.vue
View file @
70d1debe
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<nav-left
:platInfo=
"platInfo"
></nav-left>
<nav-left
:platInfo=
"platInfo"
></nav-left>
</div>
</div>
<div
class=
"main"
>
<div
class=
"main"
>
<router-view
:platInfo=
"platInfo"
></router-view>
<router-view
:platInfo=
"platInfo"
:robotBankList=
"robotBankList"
></router-view>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
data
()
{
data
()
{
return
{
return
{
platInfo
:
[],
platInfo
:
[],
robotBankList
:
''
,
// platInfo: [
// platInfo: [
// {
// {
// "platform":"找币",
// "platform":"找币",
...
@@ -73,7 +74,8 @@
...
@@ -73,7 +74,8 @@
}
}
axios
.
post
(
ApiConfig
.
GetRobotBank
,
params
).
then
(
res
=>
{
axios
.
post
(
ApiConfig
.
GetRobotBank
,
params
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
// console.log(res.data.data);
this
.
robotBankList
=
res
.
data
.
data
})
})
},
},
}
}
...
...
src/views/overview.vue
View file @
70d1debe
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
</ul>
</ul>
<p
v-if=
"robotList === null"
class=
"no-data"
>
暂无数据
</p>
<p
v-if=
"robotList === null"
class=
"no-data"
>
暂无数据
</p>
</div>
</div>
<robot-details
v-show=
"robotDetails"
:robotDetailInfo=
"robotDetailInfo"
></robot-details>
<robot-details
v-show=
"robotDetails"
:robotDetailInfo=
"robotDetailInfo"
:robotBankList=
"robotBankList"
></robot-details>
</div>
</div>
</
template
>
</
template
>
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
};
};
},
},
components
:
{
RobotDetails
},
components
:
{
RobotDetails
},
props
:
[
'platInfo'
],
props
:
[
'platInfo'
,
'robotBankList'
],
created
()
{
created
()
{
this
.
init
();
this
.
init
();
Bus
.
$on
(
'navClick'
,
()
=>
{
Bus
.
$on
(
'navClick'
,
()
=>
{
...
...
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