feat: 家具初版

This commit is contained in:
砂糖
2025-09-03 11:55:00 +08:00
parent 623fa846a4
commit 82faee4f7c
44 changed files with 1824 additions and 943 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询其他收入列表
export function listOtherIncome(query) {
return request({
url: '/oa/otherIncome/list',
method: 'get',
params: query
})
}
// 查询其他收入详细
export function getOtherIncome(otherIncomeId) {
return request({
url: '/oa/otherIncome/' + otherIncomeId,
method: 'get'
})
}
// 新增其他收入
export function addOtherIncome(data) {
return request({
url: '/oa/otherIncome',
method: 'post',
data: data
})
}
// 修改其他收入
export function updateOtherIncome(data) {
return request({
url: '/oa/otherIncome',
method: 'put',
data: data
})
}
// 删除其他收入
export function delOtherIncome(otherIncomeId) {
return request({
url: '/oa/otherIncome/' + otherIncomeId,
method: 'delete'
})
}

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询退换货管理列表
export function listReturnExchange(query) {
return request({
url: '/oa/returnExchange/list',
method: 'get',
params: query
})
}
// 查询退换货管理详细
export function getReturnExchange(returnExchangeId) {
return request({
url: '/oa/returnExchange/' + returnExchangeId,
method: 'get'
})
}
// 新增退换货管理
export function addReturnExchange(data) {
return request({
url: '/oa/returnExchange',
method: 'post',
data: data
})
}
// 修改退换货管理
export function updateReturnExchange(data) {
return request({
url: '/oa/returnExchange',
method: 'put',
data: data
})
}
// 删除退换货管理
export function delReturnExchange(returnExchangeId) {
return request({
url: '/oa/returnExchange/' + returnExchangeId,
method: 'delete'
})
}

View File

@@ -0,0 +1,27 @@
import request from '@/utils/request'
// 查询OSS对象存储列表
export function listOss(query) {
return request({
url: '/system/oss/list',
method: 'get',
params: query
})
}
// 查询OSS对象基于id串
export function listByIds(ossId) {
return request({
url: '/system/oss/listByIds/' + ossId,
method: 'get'
})
}
// 删除OSS对象存储
export function delOss(ossId) {
return request({
url: '/system/oss/' + ossId,
method: 'delete'
})
}

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询CRM 客户列表
export function listCustomer(query) {
return request({
url: '/oa/customer/list',
method: 'get',
params: query
})
}
// 查询CRM 客户详细
export function getCustomer(customerId) {
return request({
url: '/oa/customer/' + customerId,
method: 'get'
})
}
// 新增CRM 客户
export function addCustomer(data) {
return request({
url: '/oa/customer',
method: 'post',
data: data
})
}
// 修改CRM 客户
export function updateCustomer(data) {
return request({
url: '/oa/customer',
method: 'put',
data: data
})
}
// 删除CRM 客户
export function delCustomer(customerId) {
return request({
url: '/oa/customer/' + customerId,
method: 'delete'
})
}