Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
14cfb545
authored
2023-06-09 13:33:08 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
11
1 parent
bc812e66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
56 deletions
src/api/user.js
src/api/user.js
View file @
14cfb54
...
...
@@ -5,62 +5,6 @@
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/**
* @description: 获取首页通知公告列表
* @author: renchao
*/
export
function
getHomeNoticeList
()
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/workBench/getHomeNoticeList'
,
method
:
'get'
})
}
/**
* @description:
* @author: renchao
*/
// 获取首页待办事项
export
function
getHomeTodoList
()
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/workBench/getHomeTodoList'
,
method
:
'get'
})
}
/**
* @description: 获取首页已办事项
* @author: renchao
*/
export
function
getHomeDoneList
()
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/workBench/getHomeDoneList'
,
method
:
'get'
})
}
/**
* @description: 获取首页常办项目
* @author: renchao
*/
export
function
getHomeFrequentProjects
()
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/workBench/getHomeFrequentProjects'
,
method
:
'get'
})
}
/**
* @description: 保存常办项目
* @param {*} data
* @author: renchao
*/
export
function
saveFrequentProjectsList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/workBench/saveFrequentProjectsList'
,
method
:
'post'
,
data
})
}
/**
...
...
Please
register
or
sign in
to post a comment