AppService.js
913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import {post, upload} from "./rpc"
export const _postFileIds= (data) => {
data.method = "api.foundation.attachmentByFileId.upload";
return post(data)
}
/**
* 关联附件和任务ID
*/
export const _getFiles= (data) => {
data.method = "api.foundation.attachmentsByBizInfo.get";
return post(data)
}
/**
* 更新清单
*/
export const _del= (data) => {
data.method = "api.foundation.attachment.delete";
return post(data)
}
/**
* 删除附件
*/
export const _getPassport= (data) => {
data.method = "api.security.passport.get";
return post(data)
}
/**
*获取passportid
*/
export const _share= (data) => {
data.method = "api.foundation.message.batch.create";
return post(data)
}
// ------------------------- 差旅接口 ----------------
/**
* 批量查询差旅列表
*/
export const _findTravelHead = (data) => {
data.method = "api.reimbursement.triphead.find";
return post(data)
};