Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
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 90e84082
authored
Mar 24, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
deleted log
1 parent
003e8dd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
index.html
index.html
View file @
90e8408
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
<!-- import JavaScript -->
<!-- import JavaScript -->
<script
src=
"./js/index.js"
></script>
<script
src=
"./js/index.js"
></script>
<script
src=
"js/common.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"js/common.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"./js/socket.js"
></script>
</head>
</head>
<body>
<body>
...
@@ -1139,7 +1138,6 @@
...
@@ -1139,7 +1138,6 @@
watch
:
{
watch
:
{
accountVal
:
{
accountVal
:
{
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
console
.
log
(
'accountVal-------->'
,
val
)
if
(
val
&&
val
.
length
)
{
if
(
val
&&
val
.
length
)
{
this
.
query
.
accountVal
=
val
this
.
query
.
accountVal
=
val
}
}
...
@@ -1161,7 +1159,6 @@
...
@@ -1161,7 +1159,6 @@
'rematchPerson'
:
this
.
rematchPersonType
'rematchPerson'
:
this
.
rematchPersonType
}
}
this
.
footerText
=
val
===
'compare'
?
'数据对比'
:
this
.
dateLevelList
.
find
(
item
=>
item
.
label
===
val
).
name
this
.
footerText
=
val
===
'compare'
?
'数据对比'
:
this
.
dateLevelList
.
find
(
item
=>
item
.
label
===
val
).
name
console
.
log
(
this
.
socket
)
this
.
socket
&&
this
.
socket
.
close
()
this
.
socket
&&
this
.
socket
.
close
()
this
.
results
.
length
&&
(
this
.
results
=
[])
this
.
results
.
length
&&
(
this
.
results
=
[])
this
.
query
.
type
=
typeof
typeHandler
[
val
]
===
'undefined'
this
.
query
.
type
=
typeof
typeHandler
[
val
]
===
'undefined'
...
@@ -1179,7 +1176,6 @@
...
@@ -1179,7 +1176,6 @@
}
}
},
},
created
:
function
()
{
created
:
function
()
{
console
.
log
(
'apiUrl-----'
,
apiUrl
)
this
.
locationHref
=
this
.
locationHref
=
location
.
href
.
indexOf
(
"?super"
)
!=
-
1
?
true
:
false
;
location
.
href
.
indexOf
(
"?super"
)
!=
-
1
?
true
:
false
;
this
.
getAccount
();
this
.
getAccount
();
...
@@ -1878,7 +1874,6 @@
...
@@ -1878,7 +1874,6 @@
const
{
const
{
dateVal
,
mallVal
,
type
dateVal
,
mallVal
,
type
}
=
query
}
=
query
console
.
log
(
'onSearchClick dateFormat'
,
dateFormat
)
var
urlPath
=
TAB_API
[
dateFormat
](
type
)
var
urlPath
=
TAB_API
[
dateFormat
](
type
)
var
scheduleType
=
dateFormat
+
type
var
scheduleType
=
dateFormat
+
type
var
parameter
=
{
var
parameter
=
{
...
@@ -1907,7 +1902,6 @@
...
@@ -1907,7 +1902,6 @@
var
self
=
this
,
var
self
=
this
,
wsUrl
=
webSockUrl
||
window
.
location
.
host
,
wsUrl
=
webSockUrl
||
window
.
location
.
host
,
socketUrl
=
"ws://"
+
wsUrl
+
"/recal/schedule/"
+
scheduleType
socketUrl
=
"ws://"
+
wsUrl
+
"/recal/schedule/"
+
scheduleType
console
.
log
(
'[socketUrl]:'
,
socketUrl
)
if
(
"WebSocket"
in
window
)
{
if
(
"WebSocket"
in
window
)
{
self
.
socket
=
new
WebSocket
(
socketUrl
);
self
.
socket
=
new
WebSocket
(
socketUrl
);
}
else
if
(
"MozWebSocket"
in
window
)
{
}
else
if
(
"MozWebSocket"
in
window
)
{
...
@@ -1940,29 +1934,6 @@
...
@@ -1940,29 +1934,6 @@
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
'onSocketConnect:'
,
error
)
console
.
log
(
'onSocketConnect:'
,
error
)
}
}
// self.socket = new ws(socketUrl)
// self.socket.onconnecting = function (ev) {
// console.log('socket:onconnecting', ev)
// }
// self.socket.onopen = function(ev) {
// console.log('socket:onopen', ev)
// self.startTiming = +new Date()
// self.fetchApi(callbackUrlPath, callbackParam)
// }
// self.socket.onclose = function(ev) {
// console.log('socket:onclose', ev)
// // log('WebSocket Closed!!')
// }
// self.socket.onmessage = function(ev) {
// console.log('socket:onmessage', ev)
// var msg = JSON.parse(ev.data)
// console.log('[onmessage]:', msg)
// self.dealMessage(msg)
// if (msg.stepCount === 1) {
// self.endTiming = +new Date()
// self.socket.close()
// }
// }
},
},
fetchApi
(
urlPath
,
parameter
)
{
fetchApi
(
urlPath
,
parameter
)
{
const
{
const
{
...
@@ -2028,7 +1999,6 @@
...
@@ -2028,7 +1999,6 @@
self
.
results
.
push
(
resObj
)
self
.
results
.
push
(
resObj
)
resObj
=
{}
resObj
=
{}
}
}
console
.
log
(
self
.
results
)
// 滚动至底部
// 滚动至底部
// this.$nextTick(() => {
// this.$nextTick(() => {
// this.$refs.scrollbarRef.wrap.scrollTop = this.$refs.scrollbarRef.wrap.scrollHeight
// this.$refs.scrollbarRef.wrap.scrollTop = this.$refs.scrollbarRef.wrap.scrollHeight
...
...
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