feat: 新增客户管理、项目进度和财务中心功能模块
新增客户管理、项目进度和财务中心相关页面及API接口 添加项目明细页面和启动图资源 重构请求基础URL和更新逻辑 引入uni-badge和uni-list组件 优化工作台首页功能入口布局 更新版本号至5.0.0并修改启动图配置
This commit is contained in:
52
api/oa/customer.js
Normal file
52
api/oa/customer.js
Normal file
@@ -0,0 +1,52 @@
|
||||
import request from "@/util/oaRequest"
|
||||
|
||||
// 查询CRM 客户列表
|
||||
export function listCustomer(query) {
|
||||
return request({
|
||||
url: '/oa/customer/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询CRM 客户列表
|
||||
export function listSeaCustomer(query) {
|
||||
return request({
|
||||
url: '/oa/customer/list-sea',
|
||||
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'
|
||||
})
|
||||
}
|
||||
53
api/oa/notice.js
Normal file
53
api/oa/notice.js
Normal file
@@ -0,0 +1,53 @@
|
||||
import request from "@/util/oaRequest"
|
||||
|
||||
// 查询公告列表
|
||||
export function listNotice(query) {
|
||||
return request({
|
||||
url: '/system/notice/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//查询固定条数的列表
|
||||
export function listNoticeLimit(query) {
|
||||
return request({
|
||||
url: '/system/notice/listLimit',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询公告详细
|
||||
export function getNotice(noticeId) {
|
||||
return request({
|
||||
url: '/system/notice/' + noticeId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增公告
|
||||
export function addNotice(data) {
|
||||
return request({
|
||||
url: '/system/notice',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改公告
|
||||
export function updateNotice(data) {
|
||||
return request({
|
||||
url: '/system/notice',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除公告
|
||||
export function delNotice(noticeId) {
|
||||
return request({
|
||||
url: '/system/notice/' + noticeId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user