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
e7cacde4
Commit
e7cacde4
authored
Feb 03, 2023
by
WangRui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feature]关联项目列表调整
parent
58e583aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
index.vue
src/modules/relatedProject/views/index.vue
+8
-7
No files found.
src/modules/relatedProject/views/index.vue
View file @
e7cacde4
...
...
@@ -30,11 +30,11 @@ import Plus from '@/components/Plus.vue'
import
api
from
"../api"
;
import
{
useRouter
}
from
"vue-router"
;
cons
t
listValue
=
$ref
([])
le
t
listValue
=
$ref
([])
let
pager
=
{
page
:
1
,
pageSize
:
10
}
cons
t
refreshing
=
$ref
(
false
);
cons
t
finished
=
$ref
(
false
);
le
t
refreshing
=
$ref
(
false
);
le
t
finished
=
$ref
(
false
);
const
queryList
=
async
()
=>
{
refreshing
=
true
...
...
@@ -43,15 +43,16 @@ const queryList = async () => {
if
(
res
.
success
)
{
pager
.
page
++
if
(
res
.
total
==
0
)
finished
=
true
res
.
rows
.
forEach
(
item
=>
{
listValue
.
push
(
{
listValue
=
res
.
rows
.
forEach
(
item
=>
{
return
{
title
:
item
.
contractNumber
+
''
||
''
,
other_title
:
item
.
acceptDate
.
split
(
' '
)[
0
]
||
''
,
other_title
:
item
.
acceptDate
?
.
split
(
' '
)[
0
]
||
''
,
values
:
[[
"机型"
,
"机号"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
machineNumber
,
item
.
contractStatus
,
item
.
agencyName
]],
...
item
}
)
}
})
}
else
{
listValue
=
[]
finished
=
true
}
...
...
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