增加任务中心

This commit is contained in:
2024-12-06 17:57:43 +08:00
parent 49b95137b6
commit 89bbccf174
5 changed files with 779 additions and 393 deletions

41
src/api/renwu.js Normal file
View File

@@ -0,0 +1,41 @@
import $http from '@/utils/httpRequest'
function add(data) {
return $http({
url: 'app/taskCenter/insertTaskCenter',
method: 'post',
data: data
})
}
function del(id) {
return $http({
url: 'app/taskCenter/deleteTaskCenter?id='+id,
method: 'post'
})
}
function getList(data) {
return $http({
url: 'app/taskCenter/selectTaskCenter',
method: 'get',
params: data
})
}
function get(id) {
return $http({
url: 'app/taskCenter' + id,
method: 'get',
params: data
})
}
function update(data) {
return $http({
url: 'app/taskCenter/updateTaskCenter',
method: 'post',
data: data
})
}
export default {
add
, del,
get, getList,
update
}