Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
komatsu-lease-app
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
komatsu
komatsu-lease-app
Commits
10dafa76
Commit
10dafa76
authored
Feb 07, 2023
by
WangRui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feature]关联项目列表调整
parent
7bdd091c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
+15
-17
index.vue
src/modules/relatedProject/views/index.vue
+15
-17
No files found.
src/modules/relatedProject/views/index.vue
View file @
10dafa76
...
...
@@ -41,9 +41,8 @@ const queryList = async () => {
let
res
=
await
api
.
contractQueryAll
({
receivets
:
+
new
Date
()
+
''
,
...
pager
})
if
(
res
.
success
)
{
pager
.
page
++
if
(
res
.
total
==
0
)
finished
=
true
listValue
=
res
.
rows
.
forEach
(
item
=>
{
// if (res.total == 0) finished = true
listValue
=
res
.
rows
.
map
(
item
=>
{
return
{
title
:
item
.
contractNumber
+
''
||
''
,
other_title
:
item
.
acceptDate
?.
split
(
' '
)[
0
]
||
''
,
...
...
@@ -53,26 +52,25 @@ const queryList = async () => {
})
}
else
{
listValue
=
[]
finished
=
true
//
finished = true
}
refreshing
=
false
}
queryList
()
const
onRefresh
=
()
=>
{
listValue
=
[];
pager
.
page
=
1
;
pager
.
pageSize
=
10
;
finished
=
false
queryList
()
};
const
loadApproval
=
()
=>
{
pager
.
page
++
;
queryList
()
}
//
const onRefresh = () => {
//
listValue = [];
//
pager.page = 1;
//
pager.pageSize = 10;
//
finished = false
//
queryList()
//
};
//
//
const loadApproval = () => {
//
pager.page++;
//
queryList()
//
}
const
router
=
useRouter
();
const
jump
=
()
=>
{
...
...
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