OA/api/company.js

78 lines
1.7 KiB
JavaScript

import oahttp from "@/utils/oahttp.js";
/**
* 我的公司
*/
export const companyMine = (data) => oahttp.get('/company/mine', data)
/**
* 公司列表
*/
export const companyIndex = (data) => oahttp.get('/company/index', data)
/**
* 未签约公司列表
*/
export const companyUnsigned = (data) => oahttp.get('/company/unsigned', data)
/**
* 公司详情
*/
export const companyView = (data) => oahttp.get('/company/view', data)
/**
* 公司详情
*/
export const companyAreaManager = (data) => oahttp.get('/company/areaManager', data)
/**
* 人员列表
*/
export const companyUser = (data) => oahttp.get('/company/users', data)
/**
* 人员详情
*/
export const companyUserDetail = (data) => oahttp.get('/company/user', data)
/**
* 月流水
*/
export const accountMonthList = (data) => oahttp.get('/account_log/company_year_count', data)
/**
* 日流水
*/
export const accountDateList = (data) => oahttp.get('/account_log/company_lists', data)
/**
* 发起合同
*/
export const initiateContract = (data) => oahttp.post('/company/initiate_contract', data)
/**
* 生成合同
*/
export const Draftingcontracts = (data) => oahttp.post('/company/Draftingcontracts', data)
/**
* 发送短信
*/
export const postsms = (data) => oahttp.post('/company/postsms', data)
/**
* 公司财务
*/
export const sss = (data) => oahttp.post('/company/postsms', data)
/**
* 查询甲方公司信息
*/
export const getPartyACompany = (data) => oahttp.get('/company/getPartyACompany', data)
/**
* 查询押金凭证记录
*/
export const getDepositRechargeTransferVoucherList = (data) => oahttp.get('/company/getDepositRechargeTransferVoucherList', data)