123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- import upload from '@/utils/upload'
- import request from '@/utils/request'
- // 获取用户详细信息
- export function getOrderBillsPlansByid(entityId) {
- return request({
- 'url': '/order-bills-plans/' + entityId,
- 'method': 'get'
- })
- }
- // 查询报销费用
- export function getGasStations() {
- return request({
- 'url': '/order-bills-plans/gas-stations',
- 'method': 'get'
- })
- }
- // 查询其他费用
- export function getItems() {
- return request({
- 'url': '/order-bills-plans/items',
- 'method': 'get'
- })
- }
- // 保存订单
- export function putOrderBillsPlansByid(data) {
- return request({
- 'url': '/order-bills-plans/put',
- 'method': 'post',
- 'data': data
- })
- }
- // 提交审核
- export function submitAudit(data) {
- return request({
- 'url': '/order-bills-plans/submit-audit',
- 'method': 'post',
- 'data': data
- })
- }
- // 主库添加图片数据
- export function insertTmsAttachMngs(data) {
- return request({
- 'url': '/order-bills-plans/attach-mngs',
- 'method': 'post',
- 'data': data
- })
- }
- // 上传照片
- export function pictureUploading(data, formData) {
- return upload({
- url: '/attachmngs',
- name: data.name,
- filePath: data.filePath,
- formData: formData
- })
- }
- // 删除图片
- export function deleteTmsAttachMngs(attachId) {
- return request({
- 'url': '/order-bills-plans/attach-mngs/delete/' + attachId,
- 'method': 'get'
- })
- }
- // 队长审核
- export function audit(data) {
- return request({
- 'url': '/order-bills-plans/submit-audit/audit',
- 'method': 'post',
- 'data': data
- })
- }
- // 提交报账单
- export function upReceipts(orderNo,data) {
- return request({
- 'url': '/order-bills-plans/up-receipts/' + orderNo,
- 'method': 'get',
- 'data': data
- })
- }
|