Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
5e5382e9
Commit
5e5382e9
authored
Sep 11, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
d53be6a0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
548 additions
and
0 deletions
+548
-0
pushManagement.js
src/api/appManagement/pushManagement.js
+73
-0
index.js
src/router/index.js
+6
-0
index.vue
src/views/appManagement/pushManagement/index.vue
+469
-0
No files found.
src/api/appManagement/pushManagement.js
0 → 100644
View file @
5e5382e9
import
fetch
from
'utils/fetch'
;
/**
* 获取列表
* @param query
*/
export
function
getPushList
(
query
)
{
return
fetch
({
url
:
'/api/universal/jpush/list'
,
method
:
'Get'
,
params
:
query
});
}
/**
* 获取弹窗管理列表某一条数据
* @param query
*/
export
function
getObj
(
id
)
{
return
fetch
({
url
:
'/api/universal/jpush/getOne/'
+
id
,
method
:
'Get'
})
}
/**
* 弹窗管理--添加
* @param query
*/
export
function
addObj
(
obj
)
{
return
fetch
({
url
:
'/api/universal/jpush/addMessagePush'
,
method
:
'post'
,
data
:
obj
});
}
/**
* 编辑某一条数据,上下架
* @param query
*/
export
function
editObj
(
data
)
{
return
fetch
({
url
:
'/api/universal/jpush/udpMessagePush'
,
method
:
'post'
,
data
:
data
})
}
/**
* 删除数据
* @param query
*/
export
function
delObj
(
id
)
{
return
fetch
({
url
:
'/api/universal/jpush/del/'
+
id
,
method
:
'delete'
,
})
}
/**
* 立即推送
* @param query
*/
export
function
pushStype
(
query
)
{
return
fetch
({
url
:
'/api/universal/jpush/stype'
,
method
:
'Get'
,
params
:
query
});
}
src/router/index.js
View file @
5e5382e9
...
...
@@ -519,6 +519,12 @@ export const asyncRouterMap = [{
component
:
_import
(
'appManagement/selectedActivities/index'
),
name
:
'首页精选活动'
,
authority
:
'selectedActivities'
},
{
path
:
'pushManagement'
,
component
:
_import
(
'appManagement/pushManagement/index'
),
name
:
'消息推送'
,
authority
:
'pushManagement'
}
]
},
...
...
src/views/appManagement/pushManagement/index.vue
0 → 100644
View file @
5e5382e9
This diff is collapsed.
Click to expand it.
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