Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test_platform_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
Wallen姚文辉
test_platform_web
Commits
05e4c2dd
Commit
05e4c2dd
authored
May 23, 2024
by
Wallen姚文辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增抄送人
parent
b96fa7c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
TestReport.vue
src/views/tool/TestReport.vue
+6
-2
No files found.
src/views/tool/TestReport.vue
View file @
05e4c2dd
...
@@ -198,7 +198,10 @@
...
@@ -198,7 +198,10 @@
</Card>
</Card>
<Space
wrap
>
<Space
wrap
>
<Modal
title=
"选择收件人"
v-model=
"modlShow"
class-name=
"vertical-center-modal"
@
on-cancel=
"closeShow()"
>
<Modal
title=
"选择收件人"
v-model=
"modlShow"
class-name=
"vertical-center-modal"
@
on-cancel=
"closeShow()"
>
<Select
v-model=
"sendto"
multiple
style=
"width:260px"
>
<Select
filterable
v-model=
"sendto"
multiple
style=
"width:260px;margin-bottom: 15px"
placeholder=
"收件人"
>
<Option
v-for=
"item in emailList"
:value=
"item.address"
:key=
"item.id"
>
{{ item.name }}
</Option>
</Select>
<Select
filterable
v-model=
"sendcc"
multiple
style=
"width:260px"
placeholder=
"抄送人"
>
<Option
v-for=
"item in emailList"
:value=
"item.address"
:key=
"item.id"
>
{{ item.name }}
</Option>
<Option
v-for=
"item in emailList"
:value=
"item.address"
:key=
"item.id"
>
{{ item.name }}
</Option>
</Select>
</Select>
<
template
#
footer
>
<
template
#
footer
>
...
@@ -217,6 +220,7 @@ export default {
...
@@ -217,6 +220,7 @@ export default {
return
{
return
{
modlShow
:
false
,
modlShow
:
false
,
sendto
:
[],
sendto
:
[],
sendcc
:
[],
emailList
:
[],
emailList
:
[],
bug_p_column
:
{
bug_p_column
:
{
title
:
{
title
:
{
...
@@ -546,7 +550,7 @@ export default {
...
@@ -546,7 +550,7 @@ export default {
const
result
=
c
+
m
const
result
=
c
+
m
const
sub
=
this
.
info
.
project
+
"-"
+
this
.
info
.
sprint
+
"测试报告"
const
sub
=
this
.
info
.
project
+
"-"
+
this
.
info
.
sprint
+
"测试报告"
this
.
closeShow
()
this
.
closeShow
()
this
.
$request
(
"post"
,
"/tool/testport/sendport"
,
{
to
:
this
.
sendto
,
subject
:
sub
,
contents
:
result
},
this
,
()
=>
{
this
.
sendto
=
[]
})
this
.
$request
(
"post"
,
"/tool/testport/sendport"
,
{
to
:
this
.
sendto
,
cc
:
this
.
sendcc
,
subject
:
sub
,
contents
:
result
},
this
,
()
=>
{
this
.
sendto
=
[]
})
});
});
},
},
getallEmail
()
{
getallEmail
()
{
...
...
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