Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
court-inner
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
court-inner
Commits
db402fb5
Commit
db402fb5
authored
Oct 23, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信审批
parent
9c5b1f36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
src/api/manage/manage.js
+8
-0
src/views/manage/index.vue
+23
-2
No files found.
src/api/manage/manage.js
View file @
db402fb5
...
...
@@ -205,4 +205,12 @@ export const batchOpenNews = (data) => {
})
}
//批量发送审核提醒信息
export
const
sendBatchAssRemindSms
=
(
data
)
=>
{
return
request
({
url
:
'websiteCluster/website/sendBatchAssRemindSms'
,
method
:
'POST'
,
data
})
}
src/views/manage/index.vue
View file @
db402fb5
...
...
@@ -155,7 +155,7 @@
</el-table-column>
</el-table>
<el-row
class=
"mt-10"
>
<el-button
type=
"primary"
size=
"mini"
>
提交短信审批
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"upLetterEvent"
>
提交短信审批
</el-button>
</el-row>
<div
style=
"margin-top:10px;"
>
<el-pagination
...
...
@@ -1225,6 +1225,7 @@ import {
logDetail
,
//日志详情
findNews
,
//搜索信息
delFile
,
//删除附件
sendBatchAssRemindSms
,
//批量短信
}
from
"@/api/manage/manage"
;
import
{
removeToken
}
from
"@/utils/auth"
;
import
{
getInfo
,
logout
}
from
"@/api/login"
;
...
...
@@ -1451,9 +1452,29 @@ export default {
//勾选管理列表
handleSelectionChange1
(
val
){
console
.
log
(
'勾选1=='
,
val
);
this
.
multipleSelection1
=
val
;
// this.multipleSelection1 = val;
var
newsIdArr
=
[];
val
.
forEach
(
item
=>
{
newsIdArr
.
push
(
item
.
newsId
);
})
this
.
multipleSelection1
=
newsIdArr
;
},
// 管理列表批量短信
upLetterEvent
(){
let
params
=
{};
params
.
newsIds
=
this
.
multipleSelection1
;
// params.publish=publish;
sendBatchAssRemindSms
(
JSON
.
stringify
(
params
)).
then
(
res
=>
{
if
(
res
.
success
){
this
.
getManageList
();
//刷新列表
this
.
$message
({
message
:
'批量审核成功!'
,
type
:
'success'
})
}
})
},
//勾选审核列表----接口用不了
handleSelectionChange2
(
val
){
console
.
log
(
'勾选2=='
,
val
);
...
...
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