上传新增文件

This commit is contained in:
2026-01-12 19:35:52 +08:00
parent fee5e2a6c0
commit d0c3fe5084
27 changed files with 64347 additions and 460 deletions

View File

@@ -28,12 +28,12 @@ export function addObj(obj?: Object) {
/**
* 根据查询参数获取对象详情。
* @param {Object} [obj] - 查询参数。
* @returns {Promise} 请求的 Promise 对象数组
* @param {Object} [obj] - 查询参数,包含 id
* @returns {Promise} 请求的 Promise 对象。
*/
export function getObj(obj?: Object) {
return request({
url: '/stuwork/weekPlan/details',
url: '/stuwork/weekPlan/detail',
method: 'get',
params: obj
})
@@ -41,13 +41,13 @@ export function getObj(obj?: Object) {
/**
* 根据 ID 删除对象。
* @param {Object} [ids] - 要删除的对象 ID。
* @param {Object} [ids] - 要删除的对象 ID 数组
* @returns {Promise} 请求的 Promise 对象。
*/
export function delObjs(ids?: Object) {
return request({
url: '/stuwork/weekPlan',
method: 'delete',
url: '/stuwork/weekPlan/delete',
method: 'post',
data: ids
})
}
@@ -59,8 +59,8 @@ export function delObjs(ids?: Object) {
*/
export function putObj(obj?: Object) {
return request({
url: '/stuwork/weekPlan',
method: 'put',
url: '/stuwork/weekPlan/edit',
method: 'post',
data: obj
})
}