Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qahome-diamond
Commits
7bbc4a75
Commit
7bbc4a75
authored
May 07, 2019
by
kewei.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pipeline 功能修改
parent
650e0fc6
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
124 additions
and
71 deletions
+124
-71
dev.env.js
config/dev.env.js
+1
-1
prod.env.js
config/prod.env.js
+2
-1
pipelineNode.js
src/api/pipelineNode.js
+37
-0
application.vue
src/views/pipeline/application.vue
+84
-69
No files found.
config/dev.env.js
View file @
7bbc4a75
...
@@ -4,5 +4,5 @@ module.exports = {
...
@@ -4,5 +4,5 @@ module.exports = {
// QA_API: '"http://172.30.220.22:3003"',
// QA_API: '"http://172.30.220.22:3003"',
QA_API
:
'
"http://127.0.0.1:3003"
'
,
QA_API
:
'
"http://127.0.0.1:3003"
'
,
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
PIPELINE_API
:
'
"http://pipes.liangkebang.com"
'
// PIPELINE_API:'"http://pipes.liangkebang.com"',
}
}
config/prod.env.js
View file @
7bbc4a75
...
@@ -3,5 +3,6 @@ module.exports = {
...
@@ -3,5 +3,6 @@ module.exports = {
ENV_CONFIG
:
'
"prod"
'
,
ENV_CONFIG
:
'
"prod"
'
,
QA_API
:
'
"http://172.30.220.22:3003"
'
,
QA_API
:
'
"http://172.30.220.22:3003"
'
,
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
PIPELINE_API
:
'
"http://pipes.liangkebang.com"
'
PIPELINE_API
:
'
"http://pipes.liangkebang.com"
'
,
PIPELINE_API_JAVA
:
'
"http://pipes.liangkebang.com"
'
,
}
}
src/api/pipelineNode.js
0 → 100644
View file @
7bbc4a75
import
request
from
'
@/utils/request
'
export
function
getMaster
(
data
)
{
return
request
({
url
:
'
/pipeline/master
'
,
method
:
'
post
'
,
data
})
}
export
function
saveApplication
(
data
)
{
return
request
({
url
:
'
/pipeline/save
'
,
method
:
'
post
'
,
data
})
}
export
function
getApplications
(
data
)
{
return
request
({
url
:
'
/pipeline/find
'
,
method
:
'
post
'
,
data
})
}
export
function
deleteApplication
(
data
)
{
return
request
({
url
:
`/pipeline/delete`
,
method
:
'
post
'
,
data
})
}
export
function
updateApplication
(
data
)
{
return
request
({
url
:
'
/manage/application
'
,
method
:
'
put
'
,
data
})
}
src/views/pipeline/application.vue
View file @
7bbc4a75
This diff is collapsed.
Click to expand it.
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