1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_CONTRACT_TENANT,
- API_POST_ADD_CONTRACT_TENANT,
- API_POST_MANNER_OF_PACKING_TENANT,
- API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN,
- API_POST_CUSTOM_DOWN_ADD,
- API_POST_CUSTOM_DOWN_EDIT,
- API_POST_CUSTOM_DOWN_DELETE,
- API_POST_EXPORT,
- API_GET_BILL_OPERATE_HIS,
- API_POST_EDITSTATUS,
- API_GET_CONTRACT_MANAGEMENTINFO,
- API_POST_EDITINFO,
- API_POST_CONTRACT_DELETE
- } from '@/api/V2/contract'
- // 列表
- export const getList = appRx.get(API_GET_CONTRACT_TENANT, errorCatcher, errorHandle, filter)
- // 添加
- export const addList = appRx.post(API_POST_ADD_CONTRACT_TENANT, errorCatcher, errorHandle, filter)
- // 包装方式
- export const packList = appRx.get(API_POST_MANNER_OF_PACKING_TENANT, errorCatcher, errorHandle, filter)
- // 查看
- export const examineList = appRx.get(API_GET_CONTRACT_MANAGEMENTINFO, errorCatcher, errorHandle, filter)
- // 下拉
- export const xiala = appRx.get(API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter)
- export const addxiala = appRx.post(API_POST_CUSTOM_DOWN_ADD, errorCatcher, errorHandle, filter)
- export const editxiala = appRx.post(API_POST_CUSTOM_DOWN_EDIT, errorCatcher, errorHandle, filter)
- export const delxiala = appRx.post(API_POST_CUSTOM_DOWN_DELETE, errorCatcher, errorHandle, filter)
- // 导出
- export const export1 = appRx.get(API_POST_EXPORT)
- // 操作历史
- export const billoperatehis = appRx.get(API_GET_BILL_OPERATE_HIS, errorCatcher, errorHandle, filter)
- // 修改状态
- export const editstatus = appRx.post(API_POST_EDITSTATUS, errorCatcher, errorHandle, filter)
- //修改销售合同编辑
- export const editInfo = appRx.post(API_POST_EDITINFO, errorCatcher, errorHandle, filter)
- //删除
- export const deletecontract = appRx.post(API_POST_CONTRACT_DELETE,errorCatcher,errorHandle,filter)
|