Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Muse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
Muse
Commits
3b53d0a1
Commit
3b53d0a1
authored
Dec 18, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
socket 端口号修改为5002
parent
4ae81766
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
lineChart.vue
src/components/viitto/lineChart.vue
+1
-1
viittoData.vue
src/components/viitto/viittoData.vue
+6
-2
viittoData2.vue
src/components/viitto/viittoData2.vue
+5
-1
index.vue
src/views/index.vue
+4
-4
No files found.
src/components/viitto/lineChart.vue
View file @
3b53d0a1
...
...
@@ -194,7 +194,7 @@ export default {
left
:
40
,
right
:
10
,
top
:
'40px'
,
height
:
'150px'
height
:
'150px'
,
},
{
left
:
40
,
right
:
10
,
...
...
src/components/viitto/viittoData.vue
View file @
3b53d0a1
...
...
@@ -424,7 +424,8 @@ export default {
ToDayClientLoginNum
:
0
,
CityHot
:
[],
ToDayClientLoginList
:
[]
}
},
ChangeBoard
:
null
}
},
mounted
()
{
let
Height
=
window
.
innerHeight
...
...
@@ -434,7 +435,7 @@ export default {
setTimeout
(()
=>
{
this
.
connec
();
},
1000
);
setTimeout
(()
=>
{
this
.
ChangeBoard
=
setTimeout
(()
=>
{
this
.
exChangeBoard
();
},
300000
);
this
.
getLoginHot
()
...
...
@@ -523,6 +524,9 @@ export default {
getIntegerNum
(
num
,
n
){
return
num
.
toFixed
(
n
);
}
},
beforeDestroy
(){
clearInterval
(
this
.
ChangeBoard
);
this
.
ChangeBoard
=
null
;
}
}
</
script
>
src/components/viitto/viittoData2.vue
View file @
3b53d0a1
...
...
@@ -424,6 +424,7 @@ export default {
centerMpShow
:
true
,
baiduMapData
:
[],
newBaiduArr
:
[],
ChangeBoard
:
null
};
},
mounted
()
{
...
...
@@ -434,7 +435,7 @@ export default {
setTimeout
(()
=>
{
this
.
connec
();
},
1000
);
setTimeout
(()
=>
{
this
.
ChangeBoard
=
setTimeout
(()
=>
{
this
.
exChangeBoard
();
},
300000
);
let
_this
=
this
...
...
@@ -654,6 +655,9 @@ export default {
}
},
err
=>
{});
},
},
beforeDestroy
(){
clearInterval
(
this
.
ChangeBoard
);
this
.
ChangeBoard
=
null
;
}
};
</
script
>
\ No newline at end of file
src/views/index.vue
View file @
3b53d0a1
...
...
@@ -235,7 +235,7 @@ export default {
videoErr
:
function
(){
this
.
movieShow
=
false
this
.
movieTime
=
0
this
.
fiveMinutes
=
99999
this
.
fiveMinutes
=
99999
99
},
getMovieTimmer
:
function
()
{
if
(
this
.
movieTime
<
this
.
fiveMinutes
)
{
...
...
@@ -270,7 +270,7 @@ export default {
},
connec
(){
let
_this
=
this
let
url
=
'http://47.96.23.199:500
0
/data_server'
let
url
=
'http://47.96.23.199:500
2
/data_server'
// let url = 'http://192.168.2.215:5000/data_server'
let
userInfo
=
this
.
getLocalStorage
()
// if (userInfo) {
...
...
@@ -297,7 +297,7 @@ export default {
});
//测试
this
.
socket
.
on
(
'server_response'
,
function
(
msg
)
{
//
console.log(msg)
console
.
log
(
msg
)
});
//收客数
this
.
socket
.
on
(
'guest_num'
,
function
(
msg
)
{
...
...
@@ -342,7 +342,7 @@ export default {
init
(){
// this.apipost('')
//let url='http://dataapi.oytour.com/api/user/get_init_data'
let
url
=
'http://47.96.23.199:500
0
/api/user/get_init_data'
let
url
=
'http://47.96.23.199:500
2
/api/user/get_init_data'
let
msg
=
{
tdsourcetag
:
's_pcqq_aiomsg'
}
...
...
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