Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-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
xugong
hls-xcmg-vue-app
Commits
cfc56f03
Commit
cfc56f03
authored
Nov 19, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
45c25f93
70195c78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
35 deletions
+34
-35
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+15
-16
start-list.vue
src/pages/contractStart/start-list.vue
+19
-19
No files found.
src/pages/carConfirm/confirm-list.vue
View file @
cfc56f03
...
@@ -126,22 +126,21 @@ export default {
...
@@ -126,22 +126,21 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
// let returnData = []
let
returnData
=
[]
// returnData = res.lists
returnData
=
res
.
lists
// if (returnData.length === 0) {
if
(
returnData
.
length
===
0
)
{
// vm.$refs.scroll.update(true)
vm
.
$refs
.
scroll
.
update
(
true
)
// } else if (returnData.length > 0 && returnData.length
<
10
)
{
}
else
if
(
returnData
.
length
>
0
&&
returnData
.
length
<
10
)
{
// vum.forEach(returnData, function (data, index, array) {
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
// vm.lists.push(array[index])
vm
.
lists
.
push
(
array
[
index
])
// })
})
// vm.$refs.scroll.update(true)
vm
.
$refs
.
scroll
.
update
(
true
)
// } else if (returnData.length === 10) {
}
else
if
(
returnData
.
length
===
10
)
{
// vum.forEach(returnData, function (data, index, array) {
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
// vm.lists.push(array[index])
vm
.
lists
.
push
(
array
[
index
])
// })
})
// vm.$refs.scroll.update(false)
vm
.
$refs
.
scroll
.
update
(
false
)
// }
}
vm
.
lists
=
res
.
lists
vm
.
selectShowList
()
vm
.
selectShowList
()
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/contractStart/start-list.vue
View file @
cfc56f03
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<input
v-model=
"keyWord"
placeholder=
"请输入合同号/产品线/承租人名称"
>
<input
v-model=
"keyWord"
placeholder=
"请输入合同号/产品线/承租人名称"
>
</div>
</div>
<h-content
class=
"my-content"
>
<h-content
class=
"my-content"
>
<scroll
ref=
"scroll"
:updateData=
"[lists]"
:pullUp=
"true"
>
<scroll
ref=
"scroll"
:updateData=
"[lists]"
:pullUp=
"true"
@
pullingUp=
"getList"
>
<div
<div
v-for=
"(item,index) in showList"
v-for=
"(item,index) in showList"
:key=
"index"
:key=
"index"
...
@@ -137,24 +137,24 @@ export default {
...
@@ -137,24 +137,24 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
//
vm.pagenum += 1
vm
.
pagenum
+=
1
//
let returnData = []
let
returnData
=
[]
//
returnData = res.lists
returnData
=
res
.
lists
//
if (returnData.length === 0) {
if
(
returnData
.
length
===
0
)
{
//
vm.$refs.scroll.update(true)
vm
.
$refs
.
scroll
.
update
(
true
)
//
} else if (returnData.length > 0 && returnData.length
<
10
)
{
}
else
if
(
returnData
.
length
>
0
&&
returnData
.
length
<
10
)
{
//
vum.forEach(returnData, function (data, index, array) {
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
//
vm.lists.push(array[index])
vm
.
lists
.
push
(
array
[
index
])
//
})
})
//
vm.$refs.scroll.update(true)
vm
.
$refs
.
scroll
.
update
(
true
)
//
} else if (returnData.length === 10) {
}
else
if
(
returnData
.
length
===
10
)
{
//
vum.forEach(returnData, function (data, index, array) {
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
//
vm.lists.push(array[index])
vm
.
lists
.
push
(
array
[
index
])
//
})
})
//
vm.$refs.scroll.update(false)
vm
.
$refs
.
scroll
.
update
(
false
)
//
}
}
vm
.
lists
=
res
.
lists
//
vm.lists = res.lists
vm
.
selectShowList
()
//
vm.selectShowList()
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
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