Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
binhai-video
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
binhai-jiaoguan
binhai-video
Commits
be790c6c
Commit
be790c6c
authored
Nov 23, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置取值修改
parent
413ead29
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
.env.production
.env.production
+2
-2
dataBackup.vue
src/views/configurationManagement/components/dataBackup.vue
+2
-2
recordVideo.vue
src/views/configurationManagement/components/recordVideo.vue
+2
-2
vue.config.js
vue.config.js
+1
-1
No files found.
.env.production
View file @
be790c6c
...
...
@@ -6,6 +6,6 @@ VUE_APP_TITLE = 视频资源整合与智能分析系统
ENV = 'production'
# 视频资源整合与智能分析系统/生产环境
VUE_APP_BASE_API = 'http://1
27.0.0.1
:8083/video-prod-api'
VUE_APP_BASE_API = 'http://1
0.10.10.105
:8083/video-prod-api'
# 图片地址
VUE_APP_IMG_API = 'http://1
27.0.0.1
:8083/video-prod-api/profile/upload'
VUE_APP_IMG_API = 'http://1
0.10.10.105
:8083/video-prod-api/profile/upload'
src/views/configurationManagement/components/dataBackup.vue
View file @
be790c6c
...
...
@@ -43,7 +43,7 @@ export default {
methods
:
{
// 获取本地配置详情
getConfig
()
{
getBackup
(
this
.
userId
).
then
(
res
=>
{
getBackup
(
'1'
).
then
(
res
=>
{
this
.
form
=
{
...
res
.
data
}
})
},
...
...
@@ -51,7 +51,7 @@ export default {
submitForm
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
form
.
userId
=
this
.
userId
this
.
form
.
id
=
'1'
updateBackup
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'修改成功'
)
})
...
...
src/views/configurationManagement/components/recordVideo.vue
View file @
be790c6c
...
...
@@ -112,7 +112,7 @@ export default {
methods
:
{
// 获取本地配置详情
getConfig
()
{
getVideo
(
this
.
userId
).
then
(
res
=>
{
getVideo
(
'1'
).
then
(
res
=>
{
this
.
form
=
{
...
res
.
data
}
})
},
...
...
@@ -120,7 +120,7 @@ export default {
submitForm
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
form
.
userId
=
this
.
userId
this
.
form
.
id
=
'1'
updateVideo
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
'修改成功'
)
})
...
...
vue.config.js
View file @
be790c6c
...
...
@@ -35,7 +35,7 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://10.10.10.148:808
3/video-prod-api
`
,
target
:
`http://10.10.10.148:808
0
`
,
// target: `http://49.232.167.247:22020`,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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