You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
520 B
32 lines
520 B
5 years ago
|
import request from '../utils/requestClerk'
|
||
|
|
||
|
/**
|
||
|
* 获得随手记列表
|
||
|
* pageIndex 页码
|
||
|
* pageSize 页容量
|
||
|
*/
|
||
|
export function getDailyRecordList({
|
||
|
pageIndex,
|
||
|
pageSize
|
||
|
}) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'workRecord/daily/getDailyRecordList',
|
||
|
options: {
|
||
|
pageIndex,
|
||
|
pageSize
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获得随手记详情
|
||
|
* id
|
||
|
*/
|
||
|
|
||
|
export function getDailyRecordDetail(id) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: `/workRecord/daily/getDailyRecordDetail/${id}`,
|
||
|
})
|
||
|
}
|