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
b071a009
Commit
b071a009
authored
Jan 12, 2023
by
Step_by_step
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://hel.hand-china.com/komatsu/komatsu-lease-app
parents
09162977
b5c7aaa6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
index.vue
src/modules/projectList/views/index.vue
+2
-3
index.vue
src/modules/repayPlan/views/index.vue
+4
-3
No files found.
src/modules/projectList/views/index.vue
View file @
b071a009
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</PullRefresh>
</PullRefresh>
</section>
</section>
<Plus
@
click=
"jump"
/
>
<!--
<Plus
@
click=
"jump"
/>
--
>
</div>
</div>
</
template
>
</
template
>
...
@@ -45,14 +45,13 @@ let listValue = $ref([]);
...
@@ -45,14 +45,13 @@ let listValue = $ref([]);
const
getList
=
async
()
=>
{
const
getList
=
async
()
=>
{
// 下拉重置参数,重新加载
// 下拉重置参数,重新加载
let
res
=
await
api
.
getProjectList
({
userId
:
window
.
localStorage
.
getItem
(
'userId'
)});
let
res
=
await
api
.
getProjectList
({
userId
:
window
.
localStorage
.
getItem
(
'userId'
)});
console
.
log
(
'hha'
,
res
);
let
list
=
[]
let
list
=
[]
if
(
res
.
success
){
if
(
res
.
success
){
list
=
res
.
rows
.
map
(
item
=>
({
list
=
res
.
rows
.
map
(
item
=>
({
...
item
,
...
item
,
title
:
item
.
itemProjectNumber
,
title
:
item
.
itemProjectNumber
,
other_title
:
item
.
creationDate
?.
split
(
' '
)[
0
],
other_title
:
item
.
creationDate
?.
split
(
' '
)[
0
],
values
:
[[
"机型"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
intention
StatusN
,
item
.
agencyBpName
]]
values
:
[[
"机型"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
contract
StatusN
,
item
.
agencyBpName
]]
}))
}))
}
else
{
}
else
{
list
=
[];
list
=
[];
...
...
src/modules/repayPlan/views/index.vue
View file @
b071a009
...
@@ -45,9 +45,10 @@ const finished = $ref(true);
...
@@ -45,9 +45,10 @@ const finished = $ref(true);
const
getList
=
async
()
=>
{
const
getList
=
async
()
=>
{
// 下拉重置参数,重新加载
// 下拉重置参数,重新加载
let
list
=
await
api
.
getRepayPlantList
({
userId
:
window
.
localStorage
.
getItem
(
'userId'
)});
let
res
=
await
api
.
getRepayPlantList
({
userId
:
window
.
localStorage
.
getItem
(
'userId'
)});
if
(
list
.
result
===
'SUCCESS'
){
let
list
=
[]
list
=
list
.
data
.
map
(
item
=>
({
if
(
res
.
success
){
list
=
res
.
rows
.
map
(
item
=>
({
...
item
,
...
item
,
title
:
item
.
contractNumber
,
title
:
item
.
contractNumber
,
other_title
:
item
.
applyDate
?.
split
(
' '
)[
0
],
other_title
:
item
.
applyDate
?.
split
(
' '
)[
0
],
...
...
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