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 d596c667
authored
Apr 06, 2022
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
socket服务地址
1 parent
a498f4cd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
public/config.js
src/views/DataRerun/DataRerun.vue
src/views/FeatureLibraryRebuild/FeatureLibraryRebuild.vue
src/views/FeatureReExtract/FeatureReExtract.vue
src/views/PeopleReContrast/PeopleReContrast.vue
public/config.js
View file @
d596c66
window
.
_serverHost
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'
36.112.68.214:9999
'
:
window
.
location
.
host
window
.
_serverHost
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'
store.keliuyun.com/
'
:
window
.
location
.
host
window
.
_baseUrl
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'http
://36.112.68.214:9999/tool/'
:
`http
://
${
window
.
_serverHost
}
/tool/`
window
.
_baseUrl
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'http
s://store.keliuyun.com/tool/'
:
`https
://
${
window
.
_serverHost
}
/tool/`
window
.
_baseImgUrl
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'http
://36.112.68.214:9999
/images/'
:
`
${
window
.
location
.
origin
}
/images/`
window
.
_baseImgUrl
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
'http
s://store.keliuyun.com
/images/'
:
`
${
window
.
location
.
origin
}
/images/`
window
.
_socketUrl
=
[
'localhost'
,
'192.168.1.168'
].
includes
(
window
.
location
.
hostname
)
?
`wss://
${
window
.
_serverHost
}
/`
:
`wss://
${
window
.
_serverHost
}
/`
const
log
=
console
.
log
.
bind
(
console
)
const
log
=
console
.
log
.
bind
(
console
)
src/views/DataRerun/DataRerun.vue
View file @
d596c66
...
@@ -253,7 +253,7 @@ export default {
...
@@ -253,7 +253,7 @@ export default {
webSocketMap
[
scheduleType
].
close
()
webSocketMap
[
scheduleType
].
close
()
}
}
webSocketMap
[
scheduleType
]
=
new
WebSocket
(
`
ws://
${
window
.
_serverHost
}
/recal/schedule/
${
scheduleType
}
`
)
webSocketMap
[
scheduleType
]
=
new
WebSocket
(
`
${
window
.
_socketUrl
}
/recal/schedule/
${
scheduleType
}
`
)
webSocketMap
[
scheduleType
].
onopen
=
()
=>
{
webSocketMap
[
scheduleType
].
onopen
=
()
=>
{
queryData
(
scheduleType
)
queryData
(
scheduleType
)
...
...
src/views/FeatureLibraryRebuild/FeatureLibraryRebuild.vue
View file @
d596c66
...
@@ -187,7 +187,7 @@ export default {
...
@@ -187,7 +187,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`
ws://
${
window
.
_serverHost
}
/recal/schedule/rebuildFeatureLib
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`
${
window
.
_socketUrl
}
/recal/schedule/rebuildFeatureLib
${
queryForm
.
featureRevisitType
}
`
)
webSocket
.
onopen
=
queryData
webSocket
.
onopen
=
queryData
...
...
src/views/FeatureReExtract/FeatureReExtract.vue
View file @
d596c66
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`
ws://
${
window
.
_serverHost
}
/recal/schedule/revisitFeature
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`
${
window
.
_socketUrl
}
/recal/schedule/revisitFeature
${
queryForm
.
featureRevisitType
}
`
)
webSocket
.
onopen
=
queryData
webSocket
.
onopen
=
queryData
...
...
src/views/PeopleReContrast/PeopleReContrast.vue
View file @
d596c66
...
@@ -188,7 +188,7 @@ export default {
...
@@ -188,7 +188,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`
ws://
${
window
.
_serverHost
}
/recal/schedule/rematchPerson
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`
${
window
.
_socketUrl
}
/recal/schedule/rematchPerson
${
queryForm
.
featureRevisitType
}
`
)
webSocket
.
onopen
=
queryData
webSocket
.
onopen
=
queryData
...
...
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