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
e14a9a96
Commit
e14a9a96
authored
Jun 08, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冒烟测试和发送进度对话框新增未解决bug立碑
parent
a9376e19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
4 deletions
+55
-4
jira.js
src/api/jira.js
+8
-0
Notify.vue
src/views/jira/Notify.vue
+47
-4
No files found.
src/api/jira.js
View file @
e14a9a96
...
...
@@ -94,3 +94,11 @@ export function editPipeline(data) {
data
})
}
export
function
getJiraIssueList
(
data
)
{
return
request
({
url
:
'
/jira/issue/list
'
,
method
:
'
get
'
,
params
:
data
})
}
src/views/jira/Notify.vue
View file @
e14a9a96
...
...
@@ -215,6 +215,18 @@
<el-input
v-model=
"sendScheduleForm.risk"
type=
"textarea"
placeholder=
"请输入测试风险点(非必填)"
></el-input>
</el-form-item>
</el-form>
<p>
未解决BUG列表:
</p>
<el-table
:data=
"scheduleUnsolvedIssueList"
border
style=
"width: 100%"
>
<el-table-column
prop=
"key"
label=
"关键字"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"summary"
label=
"标题"
>
</el-table-column>
<el-table-column
prop=
"priority"
label=
"优先级"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"assignee"
label=
"经办人"
width=
"80"
>
</el-table-column>
</el-table>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"sendScheduleDialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"sendSchedule"
>
发 送
</el-button>
...
...
@@ -237,6 +249,18 @@
<el-input
v-model=
"sendSmokingForm.risk"
type=
"textarea"
placeholder=
"请输入测试风险点(非必填)"
></el-input>
</el-form-item>
</el-form>
<p>
未解决BUG列表:
</p>
<el-table
:data=
"smokingUnsolvedIssueList"
border
style=
"width: 100%"
>
<el-table-column
prop=
"key"
label=
"关键字"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"summary"
label=
"标题"
>
</el-table-column>
<el-table-column
prop=
"priority"
label=
"优先级"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"assignee"
label=
"经办人"
width=
"80"
>
</el-table-column>
</el-table>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"smokingDialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"sendSmoking"
>
发 送
</el-button>
...
...
@@ -255,7 +279,8 @@ import {
sendScheduleReport
,
sendSmokingResult
,
getGitProjectList
,
getGitBranchList
getGitBranchList
,
getJiraIssueList
}
from
'
@/api/jira
'
import
{
getNamespaceList
}
from
'
@/api/getXyqbData
'
// import { getGitlabProject } from '@/api/qaApi'
...
...
@@ -294,6 +319,10 @@ export default {
editRobotForm
:
{},
sendProjectRobot
:
{},
// 冒烟未解决BUG列表
smokingUnsolvedIssueList
:
[],
// 发送进度未解决BUG列表
scheduleUnsolvedIssueList
:
[],
// 发送进度报告参数
sendScheduleData
:
{},
// 发送冒烟结果参数
...
...
@@ -532,17 +561,31 @@ export default {
},
openEditDialog
(
projectRobot
)
{
this
.
editDialogVisible
=
true
this
.
editRobotForm
=
projectRobot
this
.
editRobotForm
=
projectRobot
.
dingRobot
},
// 打开发送进度对话框
openSendDialog
(
projectRobot
)
{
this
.
sendScheduleDialogVisible
=
true
this
.
sendProjectRobot
=
projectRobot
this
.
sendProjectRobot
=
projectRobot
.
dingRobot
getJiraIssueList
({
jiraProjectKey
:
this
.
sendProjectRobot
.
jiraProjectKey
,
projectName
:
this
.
sendProjectRobot
.
projectName
,
unsolved
:
true
}).
then
((
resp
)
=>
{
this
.
scheduleUnsolvedIssueList
=
resp
.
data
.
data
})
},
// 打开发送冒烟测试结果对话框
openSendSmokingDialog
(
projectRobot
)
{
this
.
smokingDialogVisible
=
true
this
.
sendProjectRobot
=
projectRobot
this
.
sendProjectRobot
=
projectRobot
.
dingRobot
getJiraIssueList
({
jiraProjectKey
:
this
.
sendProjectRobot
.
jiraProjectKey
,
projectName
:
this
.
sendProjectRobot
.
projectName
,
unsolved
:
true
}).
then
((
resp
)
=>
{
this
.
smokingUnsolvedIssueList
=
resp
.
data
.
data
})
},
closeAddDialog
()
{
this
.
$refs
.
addRobotFormRef
.
resetFields
()
...
...
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