Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
885799d0
...
885799d077f54f87cc502c7374303af2d1572737
authored
2022-04-12 17:38:36 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
6865df7b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
src/page/selectActOnline.vue
src/page/tool.vue
src/page/selectActOnline.vue
View file @
885799d
...
...
@@ -285,6 +285,7 @@
export
default
{
data
()
{
return
{
mailReceiver
:
this
.
$route
.
query
.
mailReceiver
,
nowActList
:
[],
nowDateByStartTimeList
:
[],
yesterdayByStartTimeList
:
[],
...
...
@@ -311,6 +312,7 @@
}
}
this
.
$http
.
get
(
'/tool/selectActOnline?'
+
this
.
$qs
.
stringify
({
mailReceiver
:
this
.
mailReceiver
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
nowActList
=
res
.
data
.
nowActList
...
...
@@ -320,6 +322,19 @@
this
.
nowDateByEndTimeList
=
res
.
data
.
nowDateByEndTimeList
this
.
yesterdayByEndTimeList
=
res
.
data
.
yesterdayByEndTimeList
this
.
tomorrowByEndTimeList
=
res
.
data
.
tomorrowByEndTimeList
if
(
res
.
data
.
mailReceiver
==
'success'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'邮件发送成功'
,
type
:
'success'
});
}
else
if
(
res
.
data
.
mailReceiver
==
'fail'
)
{
this
.
$message
({
showClose
:
true
,
message
:
'邮件发送失败'
,
type
:
'error'
});
}
loading
.
close
();
}).
catch
(
error
=>
{
console
.
log
(
error
);
...
...
src/page/tool.vue
View file @
885799d
...
...
@@ -787,6 +787,9 @@
</div>
<div
class=
"text item"
>
<el-form-item>
<el-input
placeholder=
"如需发送邮件,可输入公司邮箱地址;如有多个地址以,号分隔"
v-model=
"selectActOnline.mailReceiver"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-button
round
@
click=
"selectActOnlineSubmit"
>
查询上下线情况
</el-button>
</el-form-item>
</div>
...
...
@@ -1104,6 +1107,7 @@
}]
},
selectActOnline
:
{
mailReceiver
:
''
},
actProvinceOptions
:
[],
actCityOptions
:
[],
...
...
@@ -1771,7 +1775,7 @@
},
selectActOnlineSubmit
()
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'selectActOnline'
,
query
:
{}})
{
mailReceiver
:
this
.
selectActOnline
.
mailReceiver
}})
window
.
open
(
href
,
'_blank'
)
},
changeOrgAllSubmit
()
{
...
...
Please
register
or
sign in
to post a comment