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 ed715e56
authored
Jan 27, 2022
by
李金轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ljx
1 parent
43d045c5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
public/config.js
src/Request/PublicAxiosInstance.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 @
ed715e5
window
.
_
baseUrl
=
[
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
)
?
'http://mall.keliuyun.com:9998'
:
''
window
.
_
serverHost
=
[
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
)
?
'mall.keliuyun.com:9998'
:
window
.
location
.
host
window
.
_
host
=
[
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
)
?
'mall.keliuyun.com:9998'
:
window
.
location
.
host
window
.
_
baseUrl
=
[
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
)
?
'http://mall.keliuyun.com:9998'
:
`http://
${
window
.
_serverHost
}
`
// window._baseUrl = 'http://36.112.68.214:9999'
// window._baseUrl = 'http://36.112.68.214:9999'
const
log
=
console
.
log
.
bind
(
console
)
const
log
=
console
.
log
.
bind
(
console
)
src/Request/PublicAxiosInstance.js
View file @
ed715e5
...
@@ -15,7 +15,7 @@ axiosInstance.interceptors.request.use(
...
@@ -15,7 +15,7 @@ axiosInstance.interceptors.request.use(
config
=>
{
config
=>
{
if
([
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
))
if
([
'localhost'
,
'192.168.1.104'
].
includes
(
window
.
location
.
hostname
))
{
{
config
.
headers
.
Authorization
=
'
a54766a2-96df-43cf-ab78-963a8b7915de
'
config
.
headers
.
Authorization
=
'
0cb1645a-d091-423e-9afa-4724564119a8
'
}
}
else
else
{
{
...
...
src/views/DataRerun/DataRerun.vue
View file @
ed715e5
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</a-form>
</a-form>
<div
class=
"result-wrapper-2"
>
<div
class=
"result-wrapper-2"
>
<el-row
v-for=
"item in resultList"
>
<el-row
v-for=
"item in resultList"
style=
"padding: 5px 0"
>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
{{
progressMap
[
item
.
scheduleType
]
+
':'
}}
{{
progressMap
[
item
.
scheduleType
]
+
':'
}}
</el-col>
</el-col>
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
webSocketMap
[
scheduleType
].
close
()
webSocketMap
[
scheduleType
].
close
()
}
}
webSocketMap
[
scheduleType
]
=
new
WebSocket
(
`ws://
${
window
.
_
h
ost
}
/recal/schedule/
${
scheduleType
}
`
)
webSocketMap
[
scheduleType
]
=
new
WebSocket
(
`ws://
${
window
.
_
serverH
ost
}
/recal/schedule/
${
scheduleType
}
`
)
webSocketMap
[
scheduleType
].
onopen
=
()
=>
{
webSocketMap
[
scheduleType
].
onopen
=
()
=>
{
queryData
(
scheduleType
)
queryData
(
scheduleType
)
...
...
src/views/FeatureLibraryRebuild/FeatureLibraryRebuild.vue
View file @
ed715e5
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
h
ost
}
/recal/schedule/rebuildFeatureLib
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
serverH
ost
}
/recal/schedule/rebuildFeatureLib
${
queryForm
.
featureRevisitType
}
`
)
webSocket
.
onopen
=
queryData
webSocket
.
onopen
=
queryData
...
...
src/views/FeatureReExtract/FeatureReExtract.vue
View file @
ed715e5
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
h
ost
}
/recal/schedule/revisitFeature
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
serverH
ost
}
/recal/schedule/revisitFeature
${
queryForm
.
featureRevisitType
}
`
)
webSocket
.
onopen
=
queryData
webSocket
.
onopen
=
queryData
...
...
src/views/PeopleReContrast/PeopleReContrast.vue
View file @
ed715e5
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
}
}
resultList
.
value
=
[]
resultList
.
value
=
[]
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
h
ost
}
/recal/schedule/rematchPerson
${
queryForm
.
featureRevisitType
}
`
)
webSocket
=
new
WebSocket
(
`ws://
${
window
.
_
serverH
ost
}
/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