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
168b8aa3
Commit
168b8aa3
authored
Mar 15, 2023
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix-问题修改
parent
90c9f1c0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1264 additions
and
1153 deletions
+1264
-1153
index.vue
src/modules/relatedProject/views/index.vue
+20
-20
relatedFlow.vue
src/modules/relatedProject/views/relatedFlow.vue
+2
-2
plan.vue
src/modules/repayPlan/views/plan.vue
+2
-1
index.vue
src/modules/selfService/views/index.vue
+1
-1
yarn.lock
yarn.lock
+1239
-1129
No files found.
src/modules/relatedProject/views/index.vue
View file @
168b8aa3
...
...
@@ -40,37 +40,37 @@ const queryList = async () => {
refreshing
=
true
let
res
=
await
api
.
contractQueryAll
({
receivets
:
+
new
Date
()
+
''
,
...
pager
})
if
(
res
.
success
)
{
// if (res.total == 0) finished = true
listValue
=
res
.
rows
.
map
(
item
=>
{
return
{
if
(
res
.
success
&&
res
.
total
>
0
)
{
res
.
rows
.
forEach
(
item
=>
{
let
temp
=
{
...
item
,
title
:
item
.
contractNumber
+
''
||
''
,
other_title
:
item
.
acceptDate
?.
split
(
' '
)[
0
]
||
''
,
values
:
[[
"机型"
,
"机号"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
machineNumber
,
item
.
contractStatus
,
item
.
agencyName
]],
...
item
values
:
[[
"机型"
,
"机号"
,
"状态"
,
"代理店"
],
[
item
.
model
,
item
.
machineNumber
,
item
.
contractStatus
,
item
.
agencyName
]]
}
listValue
.
push
(
temp
)
})
}
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
=
()
=>
{
...
...
src/modules/relatedProject/views/relatedFlow.vue
View file @
168b8aa3
...
...
@@ -66,7 +66,7 @@ const firstFormConfig = $ref(new AuFormClass([
isRequired
:
true
}
]))
cons
t
FirstFormValues
=
$ref
({})
le
t
FirstFormValues
=
$ref
({})
const
secondFormConfig
=
$ref
({})
const
lastFormConfig
=
$ref
(
new
AuFormClass
([
{
...
...
@@ -179,7 +179,7 @@ const nextStep = async () => {
}
}
cons
t
buttonValues
=
$ref
(
'获取验证码'
)
le
t
buttonValues
=
$ref
(
'获取验证码'
)
const
getSms
=
async
()
=>
{
if
(
phoneReg
.
test
(
secondFormConfig
.
tel
))
{
let
res
=
await
api
.
phoneValid
({
...
...
src/modules/repayPlan/views/plan.vue
View file @
168b8aa3
<
template
>
<RepayPlan
navTitle=
"还款计划"
:currencyObj=
"currencyObj"
>
<RepayPlan
navTitle=
"还款计划"
:currencyObj=
"currencyObj"
@
click-left=
"goBack"
>
<template
#
list
>
<div
class=
"repay_list"
>
<div
class=
"left"
>
...
...
@@ -41,6 +41,7 @@
<
script
setup
>
import
RepayPlan
from
'@/components/RepayPlan.vue'
import
{
goBack
}
from
"@/utils/globalFun"
import
{
Icon
}
from
'vant'
import
{
useRoute
}
from
'vue-router'
import
api
from
"../api"
;
...
...
src/modules/selfService/views/index.vue
View file @
168b8aa3
...
...
@@ -5,7 +5,7 @@
<section
class=
"list"
>
<PullRefresh
v-model=
"refreshing"
@
refresh=
"onRefresh"
class=
"scroll"
>
<List
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"loadApproval"
>
<ListItem
v-for=
"item in listValue"
:title=
"item.title"
:values=
"item.values"
@
click=
"jump"
/>
<ListItem
v-for=
"item in listValue"
:title=
"item.title"
:values=
"item.values"
/>
</List>
</PullRefresh>
</section>
...
...
yarn.lock
View file @
168b8aa3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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