93418841 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents c7e50e44 49644b17
...@@ -5,62 +5,6 @@ ...@@ -5,62 +5,6 @@
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 /**
9 * @description: 获取首页通知公告列表
10 * @author: renchao
11 */
12 export function getHomeNoticeList () {
13 return request({
14 url: SERVER.SERVERAPI + '/rest/workBench/getHomeNoticeList',
15 method: 'get'
16 })
17 }
18 /**
19 * @description:
20 * @author: renchao
21 */
22 // 获取首页待办事项
23 export function getHomeTodoList () {
24 return request({
25 url: SERVER.SERVERAPI + '/rest/workBench/getHomeTodoList',
26 method: 'get'
27 })
28 }
29
30 /**
31 * @description: 获取首页已办事项
32 * @author: renchao
33 */
34 export function getHomeDoneList () {
35 return request({
36 url: SERVER.SERVERAPI + '/rest/workBench/getHomeDoneList',
37 method: 'get'
38 })
39 }
40
41 /**
42 * @description: 获取首页常办项目
43 * @author: renchao
44 */
45 export function getHomeFrequentProjects () {
46 return request({
47 url: SERVER.SERVERAPI + '/rest/workBench/getHomeFrequentProjects',
48 method: 'get'
49 })
50 }
51
52 /**
53 * @description: 保存常办项目
54 * @param {*} data
55 * @author: renchao
56 */
57 export function saveFrequentProjectsList (data) {
58 return request({
59 url: SERVER.SERVERAPI + '/rest/workBench/saveFrequentProjectsList',
60 method: 'post',
61 data
62 })
63 }
64 8
65 9
66 /** 10 /**
......