Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
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
qa-platform-ui
Commits
e2b61ff9
Commit
e2b61ff9
authored
Jun 09, 2021
by
晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
79b79f46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
20 deletions
+21
-20
Main.vue
src/views/Main.vue
+1
-1
Notify.vue
src/views/jira/Notify.vue
+20
-19
No files found.
src/views/Main.vue
View file @
e2b61ff9
<
template
>
<div>
<div
style=
"margin-left:30px"
>
<h2>
欢迎来到QA测试平台!
</h2>
<p>
本平台当前包含的功能有:
</p>
<p>
1. 现金分期
...
...
src/views/jira/Notify.vue
View file @
e2b61ff9
...
...
@@ -57,7 +57,7 @@
</el-select>
</el-form-item>
<!-- 添加 Pipeline -->
<el-form-item
label=
"Pipeline"
prop=
"piplineList"
>
<el-form-item
label=
"Pipeline"
>
<el-row>
<el-col
:span=
"6"
>
<div
style=
"text-align: center"
>
...
...
@@ -97,7 +97,7 @@
</el-col>
<el-col
:span=
"6"
>
<div
style=
"text-align: center;margin-top:5px"
>
<el-switch
v-model=
"item.enable"
active-color=
"#13ce66"
inactive-color=
"#A9A9A9"
active-text=
"是"
inactive-text=
"否"
active-value=
"1"
inactive-value=
"0"
></el-switch>
<el-switch
v-model=
"item.enable"
active-color=
"#13ce66"
inactive-color=
"#A9A9A9"
active-text=
"是"
inactive-text=
"否"
:active-value=
'1'
:inactive-value=
'0'
></el-switch>
</div>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -106,7 +106,9 @@
</div>
</el-col>
</el-row>
<el-button
size=
"mini"
type=
"primary"
@
click=
"AddPipelineListRow()"
style=
"mragin-top: 10px;width:500px"
>
添加
</el-button>
<el-row>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-circle-plus-outline"
@
click=
"AddPipelineListRow()"
style=
"margin-top: 10px"
>
添加
</el-button>
</el-row>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -190,7 +192,7 @@
</div>
</el-col>
</el-row>
<el-button
size=
"mini"
plain
@
click=
"EditPipelineListRow()"
style=
"mragin-top: 10px"
class=
"el-icon-circle-plus
"
>
添加
</el-button>
<el-button
size=
"mini"
plain
@
click=
"EditPipelineListRow()"
icon=
"el-icon-circle-plus-outline
"
>
添加
</el-button>
</el-form-item>
</el-form>
...
...
@@ -307,7 +309,7 @@ export default {
serviceBranch
:
''
,
serviceType
:
''
,
namespace
:
''
,
enable
:
1
enable
:
'
1
'
}
]
},
...
...
@@ -329,7 +331,7 @@ export default {
serviceBranch
:
''
,
serviceType
:
''
,
namespace
:
''
,
enable
:
1
enable
:
''
}
]
},
...
...
@@ -419,16 +421,7 @@ export default {
},
namespaceList
:
[],
projectName
:
''
,
// 编辑pipeline
editPipelineList
:
[
{
serviceName
:
''
,
serviceBranch
:
''
,
enable
:
true
}
]
projectName
:
''
}
},
methods
:
{
...
...
@@ -460,6 +453,7 @@ export default {
pipeline
.
namespace
=
this
.
pipelineFrom
.
dingRobot
.
namespace
})
})
console
.
log
(
'
5555
'
,
this
.
pipelineFrom
)
addPipeline
(
this
.
pipelineFrom
).
then
((
resp
)
=>
{
if
(
resp
.
data
.
data
===
true
)
{
this
.
addDialogVisible
=
false
...
...
@@ -467,7 +461,7 @@ export default {
this
.
pipelineFrom
.
pipelineList
.
push
({
serviceName
:
''
,
serviceBranch
:
''
,
enable
:
1
enable
:
''
})
this
.
getProjectRobotList
()
return
this
.
$message
.
success
(
'
新增成功!
'
)
...
...
@@ -619,9 +613,16 @@ export default {
},
closeAddDialog
()
{
this
.
$refs
.
addRobotFormRef
.
resetFields
()
this
.
pipelineFrom
.
pipelineList
=
[]
this
.
pipelineFrom
.
pipelineList
.
push
({
serviceName
:
''
,
serviceBranch
:
''
,
enable
:
''
})
},
closeEditDialog
()
{
this
.
$refs
.
editRobotFormRef
.
resetFields
()
this
.
getProjectRobotList
()
},
closeSendDialog
()
{
this
.
$refs
.
sendFormRef
.
resetFields
()
...
...
@@ -641,7 +642,7 @@ export default {
this
.
pipelineFrom
.
pipelineList
.
push
({
serviceName
:
''
,
serviceBranch
:
''
,
enable
:
1
enable
:
''
})
},
// 删除行
...
...
@@ -653,7 +654,7 @@ export default {
this
.
editPipelineForm
.
pipelineList
.
push
({
serviceName
:
''
,
serviceBranch
:
''
,
enable
:
1
enable
:
''
})
},
// 编辑删除pipeline按钮
...
...
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