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
225ba242
Commit
225ba242
authored
Apr 02, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批-搜索
parent
63b7a830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
tripApplicationApprove.vue
...e/examineAndApprove/components/tripApplicationApprove.vue
+15
-15
No files found.
src/views/costManage/examineAndApprove/components/tripApplicationApprove.vue
View file @
225ba242
...
@@ -48,14 +48,14 @@
...
@@ -48,14 +48,14 @@
</el-form-item>
</el-form-item>
<!-- 操作按钮 -->
<!-- 操作按钮 -->
<el-form-item
style=
"padding-left: 5.4%"
>
<el-form-item
style=
"padding-left: 5.4%"
>
<el-button
icon=
"Refresh"
@
click=
"resetQuery"
class=
"el-button-defalu
t"
>
重置
</el-button>
<el-button
type=
"default"
class=
"el-button-defalut"
icon=
"Refresh"
@
click=
"rese
t"
>
重置
</el-button>
<el-button
type=
"primary"
icon=
"Search"
@
click=
"handleQuery"
class=
"el-button-primary
"
>
查询
</el-button>
<el-button
type=
"primary"
class=
"el-button-primary"
icon=
"Search"
@
click=
"getList
"
>
查询
</el-button>
<el-button
size=
"large"
type=
"text"
@
click=
"toggleSearch"
>
<!--
<el-button
size=
"large"
type=
"text"
@
click=
"toggleSearch"
>
--
>
{{
isExpanded
?
' 收起'
:
' 展开'
}}
<!--
{{
isExpanded
?
' 收起'
:
' 展开'
}}
-->
<el-icon
class=
"el-icon--right"
>
<!--
<el-icon
class=
"el-icon--right"
>
--
>
<arrow-down
/
>
<!--
<arrow-down
/>
--
>
</el-icon
>
<!--
</el-icon>
--
>
</el-button
>
<!--
</el-button>
--
>
</el-form-item>
</el-form-item>
<!-- 可折叠的查询条件 -->
<!-- 可折叠的查询条件 -->
<transition>
<transition>
...
@@ -251,7 +251,7 @@ const reset = () => {
...
@@ -251,7 +251,7 @@ const reset = () => {
queryParams
.
projectName
=
null
queryParams
.
projectName
=
null
queryParams
.
projectType
=
null
queryParams
.
projectType
=
null
queryParams
.
status
=
null
queryParams
.
status
=
null
//
getList()
getList
()
}
}
//获取所有流程列表,根据审批id
//获取所有流程列表,根据审批id
...
@@ -274,15 +274,15 @@ const getRoleInfo = ()=>{
...
@@ -274,15 +274,15 @@ const getRoleInfo = ()=>{
}
}
// 列表
// 列表
const
ReimbursementRequestList
=
re
active
([]);
const
ReimbursementRequestList
=
re
f
([]);
const
getList
=
()
=>
{
const
getList
=
()
=>
{
listTripApplication
(
queryParams
).
then
(
response
=>
{
listTripApplication
(
queryParams
).
then
(
response
=>
{
console
.
log
(
"出差申请-列表"
,
response
.
rows
)
console
.
log
(
"出差申请-列表"
,
response
.
rows
)
total
.
value
=
response
.
total
total
.
value
=
response
.
total
Object
.
assign
(
ReimbursementRequestList
,
response
.
rows
);
ReimbursementRequestList
.
value
=
response
.
rows
for
(
let
i
in
ReimbursementRequestList
){
for
(
let
i
in
ReimbursementRequestList
.
value
){
console
.
log
(
ReimbursementRequestList
[
i
])
console
.
log
(
ReimbursementRequestList
.
value
[
i
])
ReimbursementRequestList
[
i
].
currentStatus
=
approvalStatusChange
(
ReimbursementRequestList
[
i
].
status
,
ReimbursementRequestList
[
i
].
currentAuditRoleId
)
ReimbursementRequestList
.
value
[
i
].
currentStatus
=
approvalStatusChange
(
ReimbursementRequestList
.
value
[
i
].
status
,
ReimbursementRequestList
.
value
[
i
].
currentAuditRoleId
)
}
}
getTopApproveInfo
()
getTopApproveInfo
()
});
});
...
@@ -345,7 +345,7 @@ const approvalStatusChange = (status,currentNodeId)=>{
...
@@ -345,7 +345,7 @@ const approvalStatusChange = (status,currentNodeId)=>{
//获取列表第一个顶部信息
//获取列表第一个顶部信息
const
getTopApproveInfo
=
()
=>
{
const
getTopApproveInfo
=
()
=>
{
let
item2
=
ReimbursementRequestList
[
0
]
let
item2
=
ReimbursementRequestList
.
value
[
0
]
changProjectNumber
.
value
=
item2
.
projectNumber
changProjectNumber
.
value
=
item2
.
projectNumber
let
i
=
allList
.
value
.
findIndex
((
item
)
=>
item
.
nodeId
===
item2
.
currentAuditRoleId
)
let
i
=
allList
.
value
.
findIndex
((
item
)
=>
item
.
nodeId
===
item2
.
currentAuditRoleId
)
if
(
i
===
-
1
)
stepActive
.
value
=
1
if
(
i
===
-
1
)
stepActive
.
value
=
1
...
...
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