From 9defb9a669080be30250bc1befdb8dc266cd3afe Mon Sep 17 00:00:00 2001
From: gssong <1742057357@qq.com>
Date: 星期六, 09 三月 2024 11:22:28 +0800
Subject: [PATCH] remove 删除无用组件 调整修改办理人,已完成单据可查看审批记录等
---
src/api/system/post/index.ts | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts
index 84d5615..3e523ab 100644
--- a/src/api/system/post/index.ts
+++ b/src/api/system/post/index.ts
@@ -4,43 +4,43 @@
// 鏌ヨ宀椾綅鍒楄〃
export function listPost(query: PostQuery): AxiosPromise<PostVO[]> {
- return request({
- url: '/system/post/list',
- method: 'get',
- params: query
- });
+ return request({
+ url: '/system/post/list',
+ method: 'get',
+ params: query
+ });
}
// 鏌ヨ宀椾綅璇︾粏
export function getPost(postId: string | number): AxiosPromise<PostVO> {
- return request({
- url: '/system/post/' + postId,
- method: 'get'
- });
+ return request({
+ url: '/system/post/' + postId,
+ method: 'get'
+ });
}
// 鏂板宀椾綅
export function addPost(data: PostForm) {
- return request({
- url: '/system/post',
- method: 'post',
- data: data
- });
+ return request({
+ url: '/system/post',
+ method: 'post',
+ data: data
+ });
}
// 淇敼宀椾綅
export function updatePost(data: PostForm) {
- return request({
- url: '/system/post',
- method: 'put',
- data: data
- });
+ return request({
+ url: '/system/post',
+ method: 'put',
+ data: data
+ });
}
// 鍒犻櫎宀椾綅
export function delPost(postId: string | number | (string | number)[]) {
- return request({
- url: '/system/post/' + postId,
- method: 'delete'
- });
+ return request({
+ url: '/system/post/' + postId,
+ method: 'delete'
+ });
}
--
Gitblit v1.9.3