初始代码

This commit is contained in:
wangmingwei
2026-04-21 16:55:00 +08:00
parent be9f1657b9
commit 35101db700
1335 changed files with 211213 additions and 0 deletions

44
api/home.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 获取通知公告
export function getNotice(data) {
return request({
url: '/api/visualdev/Dashboard/Notice',
method: 'post',
data,
options: {
load: false
}
})
}
// 获取未读邮件
export function getEmail() {
return request({
url: '/api/visualdev/Dashboard/Email',
method: 'get',
options: {
load: false
}
})
}
// 获取待办事项
export function getFlowTodo(type) {
return request({
url: `/api/visualdev/Dashboard/FlowTodo?type=${type}`,
method: 'get',
options: {
load: false
}
})
}
// 获取我的待办事项
export function getMyFlowTodo() {
return request({
url: '/api/visualdev/Dashboard/MyFlowTodo',
method: 'get',
options: {
load: false
}
})
}