Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
7c1b5dfa
Commit
7c1b5dfa
authored
Mar 22, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 生产对接执行嵌入错误
parent
1ad6d7d4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
.env.production
.env.production
+2
-1
.env.staging
.env.staging
+1
-1
index.vue
src/views/processing/carTest/execution-test-plan/index.vue
+1
-1
index.vue
src/views/processing/unprocessed-review/index.vue
+1
-1
index.vue
src/views/setting/testMatrix/useCaseDetails/index.vue
+1
-2
vue.config.js
vue.config.js
+2
-2
No files found.
.env.production
View file @
7c1b5dfa
...
@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台
...
@@ -4,10 +4,11 @@ VUE_APP_TITLE = 周期性检测平台
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
# 中汽研安全检测平台管理系统/生产环境
# 中汽研安全检测平台管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/prod-api'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API ='https://10.12.48.78'
VUE_APP_IMAGE_API ='https://10.12.48.78'
VUE_APP_CLIENT_API = 'http
://10.12.48.78:8090
'
VUE_APP_CLIENT_API = 'http
s://10.12.48.78/vvmpapi
'
.env.staging
View file @
7c1b5dfa
...
@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
...
@@ -9,4 +9,4 @@ VUE_APP_BASE_API = 'http://49.232.167.247:22032'
# 图片服务器地址
# 图片服务器地址
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_IMAGE_API = 'http://49.232.167.247:22037'
VUE_APP_CLIENT_API = 'http
://10.12.48.78:8090
'
VUE_APP_CLIENT_API = 'http
s://10.12.48.78/vvmpapi
'
src/views/processing/carTest/execution-test-plan/index.vue
View file @
7c1b5dfa
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
id
=
this
.
$route
.
query
.
id
const
id
=
this
.
$route
.
query
.
id
this
.
url
=
`http
://10.12.48.80:1234
/car/complianceTestingCenter/projectOverView/
${
id
}
`
this
.
url
=
`http
s://10.12.48.78:8090
/car/complianceTestingCenter/projectOverView/
${
id
}
`
},
},
methods
:
{}
methods
:
{}
}
}
...
...
src/views/processing/unprocessed-review/index.vue
View file @
7c1b5dfa
...
@@ -600,7 +600,7 @@ export default {
...
@@ -600,7 +600,7 @@ export default {
// 确认测试结果
// 确认测试结果
case
'SIGNED'
:
case
'SIGNED'
:
this
.
$router
.
push
({
this
.
$router
.
push
({
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
p
ath
:
`/processing/carTest/confirmation-test??id=
${
id
}
`
})
})
break
break
case
'FINISH'
:
case
'FINISH'
:
...
...
src/views/setting/testMatrix/useCaseDetails/index.vue
View file @
7c1b5dfa
...
@@ -18,12 +18,11 @@ export default {
...
@@ -18,12 +18,11 @@ export default {
return
{
return
{
id
:
this
.
$route
.
query
,
id
:
this
.
$route
.
query
,
url
:
''
url
:
''
// http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/case_items;375
}
}
},
},
mounted
()
{
mounted
()
{
const
id
=
this
.
$route
.
query
.
id
const
id
=
this
.
$route
.
query
.
id
this
.
url
=
`http://10.12.48.78:8090/car/caseManage/case/casePublishDetail/
${
id
}
`
this
.
url
=
`http
s
://10.12.48.78:8090/car/caseManage/case/casePublishDetail/
${
id
}
`
},
},
methods
:
{}
methods
:
{}
}
}
...
...
vue.config.js
View file @
7c1b5dfa
...
@@ -42,7 +42,7 @@ module.exports = {
...
@@ -42,7 +42,7 @@ module.exports = {
}
}
},
},
[
process
.
env
.
VUE_APP_CLIENT_API
]:
{
[
process
.
env
.
VUE_APP_CLIENT_API
]:
{
target
:
`http
://10.12.48.78:8090
`
,
target
:
`http
s://10.12.48.78/vvmpapi
`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_CLIENT_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_CLIENT_API
]:
''
...
@@ -116,7 +116,7 @@ module.exports = {
...
@@ -116,7 +116,7 @@ module.exports = {
.
use
(
'graphql-tag/loader'
)
.
use
(
'graphql-tag/loader'
)
.
loader
(
'graphql-tag/loader'
)
.
loader
(
'graphql-tag/loader'
)
.
end
();
.
end
();
config
.
when
(
process
.
env
.
NODE_ENV
!==
'development
'
,
config
=>
{
config
.
when
(
process
.
env
.
NODE_ENV
===
'production
'
,
config
=>
{
config
config
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
after
(
'html'
)
.
after
(
'html'
)
...
...
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