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
e54963d7
Commit
e54963d7
authored
Apr 02, 2025
by
qiyaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改bug
parent
207378c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
projectCostRequestApprove.vue
...xamineAndApprove/components/projectCostRequestApprove.vue
+7
-1
index.vue
src/views/costManage/projectCostRequest/index.vue
+1
-11
No files found.
src/views/costManage/examineAndApprove/components/projectCostRequestApprove.vue
View file @
e54963d7
...
...
@@ -208,6 +208,11 @@ const reset = () => {
queryParams
.
approveStatus
=
null
getList
()
}
// 提交搜索表单
const
onSearch
=
()
=>
{
getList
()
}
//获取当前用户角色信息
const
getRoleInfo
=
()
=>
{
getRoleId
().
then
(
res
=>
{
...
...
@@ -404,14 +409,15 @@ const getNodeList = ()=>{
const
projectCostRequestList
=
reactive
([]);
const
getList
=
()
=>
{
loading
.
value
=
true
;
console
.
log
(
"参数"
,
queryParams
);
getCostRequestList
(
queryParams
).
then
(
response
=>
{
loading
.
value
=
false
;
total
.
value
=
response
.
total
Object
.
assign
(
projectCostRequestList
,
response
.
rows
);
console
.
log
(
"项目费用申请审批-列表"
,
projectCostRequestList
)
for
(
let
i
in
projectCostRequestList
){
projectCostRequestList
[
i
].
currentStatus
=
approvalStatusChange
(
projectCostRequestList
[
i
].
approveStatus
,
projectCostRequestList
[
i
].
currentAuditRoleId
)
}
console
.
log
(
"项目费用申请审批-列表"
,
projectCostRequestList
)
getTopApproveInfo
()
});
...
...
src/views/costManage/projectCostRequest/index.vue
View file @
e54963d7
...
...
@@ -231,7 +231,6 @@ const handleSelectionChange = (val) => {
})
}
//导出
const
handleExport
=
()
=>
{
if
(
ids
.
value
.
length
===
0
)
{
...
...
@@ -246,7 +245,6 @@ const handleExport = ()=>{
}
}
//获取所有审批流程
const
getAllshenpiList
=
()
=>
{
getAllapproveList
(
14
).
then
(
response
=>
{
...
...
@@ -278,6 +276,7 @@ const reset = () => {
const
onSearch
=
()
=>
{
getList
()
}
// 鼠标悬停更改步骤条
const
hoverColumnData
=
ref
(
''
);
const
stepActive
=
ref
(
1
);
...
...
@@ -294,18 +293,10 @@ const handleHover = (row, column, cell, event) => {
let
i
=
allList
.
value
.
findIndex
((
item
)
=>
item
.
nodeId
===
row
.
currentAuditRoleId
)
if
(
i
===
-
1
)
stepActive
.
value
=
1
else
stepActive
.
value
=
i
+
1
},
300
);
}
const
handleLeave
=
()
=>
{
if
(
timer
)
{
clearTimeout
(
timer
);
}
...
...
@@ -313,7 +304,6 @@ const handleLeave = () => {
getTopApproveInfo
()
},
300
);
}
// 新增按钮
...
...
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