Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高滢
psa-web
Commits
98b27f92
Commit
98b27f92
authored
Apr 11, 2025
by
yanzhengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用审批接口修改
parent
3ebb0b7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
36 deletions
+32
-36
cost.js
src/api/costManage/cost.js
+0
-16
examineAndApprove.js
src/api/examineAndApprove/examineAndApprove.js
+31
-19
dailyReimburseApprove.vue
...ge/examineAndApprove/components/dailyReimburseApprove.vue
+1
-1
No files found.
src/api/costManage/cost.js
View file @
98b27f92
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
// 获取路由
// export const test = () => {
// return request({
// url: '/test',
// method: 'get'
// })
// }
export
const
listDailyApprove
=
(
query
)
=>
{
return
request
({
url
:
'/expenseApproval/dailyExpenseList'
,
method
:
'get'
,
params
:
query
})
}
// 日常报销列表
// 日常报销列表
export
const
listCostManage
=
(
query
)
=>
{
export
const
listCostManage
=
(
query
)
=>
{
return
request
({
return
request
({
...
...
src/api/examineAndApprove/examineAndApprove.js
View file @
98b27f92
...
@@ -80,25 +80,6 @@ export function projectCostReimbursementNotPass(query) {
...
@@ -80,25 +80,6 @@ export function projectCostReimbursementNotPass(query) {
})
})
}
}
// 5.项目费用申请审批
//项目费用申请审批-通过
export
function
dailyCostPass
(
query
)
{
return
request
({
url
:
'/expenseApproval/dailyReimburseApproval'
,
method
:
'post'
,
data
:
query
})
}
//项目费用申请审批-驳回
export
function
dailyCostNotPass
(
query
)
{
return
request
({
url
:
'/expenseApproval/dailyReimburseApprovalReject'
,
method
:
'post'
,
data
:
query
})
}
// 3.出差申请审批
// 3.出差申请审批
//出差申请-列表
//出差申请-列表
export
function
tripApplicationList
(
query
)
{
export
function
tripApplicationList
(
query
)
{
...
@@ -108,6 +89,7 @@ export function tripApplicationList(query) {
...
@@ -108,6 +89,7 @@ export function tripApplicationList(query) {
params
:
query
params
:
query
})
})
}
}
//出差申请-通过
//出差申请-通过
export
function
tripApplicationApproval
(
query
)
{
export
function
tripApplicationApproval
(
query
)
{
return
request
({
return
request
({
...
@@ -116,6 +98,7 @@ export function tripApplicationApproval(query) {
...
@@ -116,6 +98,7 @@ export function tripApplicationApproval(query) {
data
:
query
data
:
query
})
})
}
}
//出差申请审批-驳回
//出差申请审批-驳回
export
function
tripApplicationPassNotPass
(
query
)
{
export
function
tripApplicationPassNotPass
(
query
)
{
return
request
({
return
request
({
...
@@ -134,6 +117,7 @@ export function travelOnBusinessPass(query) {
...
@@ -134,6 +117,7 @@ export function travelOnBusinessPass(query) {
data
:
query
data
:
query
})
})
}
}
//差旅报销-驳回
//差旅报销-驳回
export
function
travelOnBusinessNotPass
(
query
)
{
export
function
travelOnBusinessNotPass
(
query
)
{
return
request
({
return
request
({
...
@@ -142,3 +126,31 @@ export function travelOnBusinessNotPass(query) {
...
@@ -142,3 +126,31 @@ export function travelOnBusinessNotPass(query) {
data
:
query
data
:
query
})
})
}
}
// 5.日常报销审批
//日常报销-列表
export
function
listDailyApprove
(
query
)
{
return
request
({
url
:
'/expenseApproval/dailyExpenseList'
,
method
:
'get'
,
params
:
query
})
}
//日常报销审批-通过
export
function
dailyCostPass
(
query
)
{
return
request
({
url
:
'/expenseApproval/dailyReimburseApproval'
,
method
:
'post'
,
data
:
query
})
}
//日常报销审批-驳回
export
function
dailyCostNotPass
(
query
)
{
return
request
({
url
:
'/expenseApproval/dailyReimburseApprovalReject'
,
method
:
'post'
,
data
:
query
})
}
src/views/costManage/examineAndApprove/components/dailyReimburseApprove.vue
View file @
98b27f92
...
@@ -211,8 +211,8 @@ import {ElMessage} from "element-plus";
...
@@ -211,8 +211,8 @@ import {ElMessage} from "element-plus";
import
{
import
{
getProjectName
,
getProjectName
,
getApproveNodeList
,
getRoleId
,
getApproveNodeList
,
getRoleId
,
listDailyApprove
,
dailyCostPass
,
dailyCostNotPass
}
from
'@/api/examineAndApprove/examineAndApprove.js'
dailyCostPass
,
dailyCostNotPass
}
from
'@/api/examineAndApprove/examineAndApprove.js'
import
{
listDailyApprove
}
from
'@/api/costManage/cost.js'
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
ref
}
from
"vue"
;
import
{
ref
}
from
"vue"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment