AppService.js 913 Bytes
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)
};