Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
repair_workers_h5
Commits
9e507d57
Commit
9e507d57
authored
Sep 02, 2021
by
石盼盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'spp' into 'master'
Spp See merge request
!12
parents
20d3b6b9
6ce4756e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
105 deletions
+153
-105
Home.vue
src/views/tabbar/Home.vue
+136
-105
admin_home.vue
src/views/tabbar/admin_home.vue
+17
-0
No files found.
src/views/tabbar/Home.vue
View file @
9e507d57
This diff is collapsed.
Click to expand it.
src/views/tabbar/admin_home.vue
View file @
9e507d57
...
...
@@ -36,6 +36,12 @@
</div>
<van-pull-refresh
v-model=
"isloading"
@
refresh=
"onRefresh"
>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了~"
@
load=
"onmore"
>
<div
class=
"order-item"
v-for=
"(item, index) in list"
:key=
"index"
>
<div
class=
"title"
>
{{
item
.
order_status_display
}}
</div>
<div
class=
"item flex-h flex-vc"
>
...
...
@@ -103,6 +109,7 @@
</div>
<!-- 空数据 -->
<van-empty
class=
"custom-image"
description=
"暂无工单哦~"
v-if=
"!list.length && !more"
/>
</van-list>
</van-pull-refresh>
<div
class=
"blank"
></div>
<!-- 取消工单原因弹窗 -->
...
...
@@ -216,6 +223,9 @@ export default {
more
:
true
,
locked
:
false
,
limit
:
10
,
// 上拉加载
loading
:
false
,
finished
:
false
,
imgList
:
[],
// 转单
...
...
@@ -228,6 +238,9 @@ export default {
this
.
getWorkers
()
},
methods
:
{
onmore
(){
this
.
getList
()
},
preview
(
img
,
index
){
let
temp
=
img
.
map
(
item
=>
{
return
item
.
url
...
...
@@ -369,6 +382,8 @@ export default {
this
.
more
=
true
this
.
locked
=
false
this
.
isloading
=
false
this
.
loading
=
false
this
.
finished
=
false
},
// 获取工单列表
getList
()
{
...
...
@@ -402,6 +417,8 @@ export default {
this
.
locked
=
false
this
.
isloading
=
false
this
.
count
=
data
.
count
this
.
loading
=
false
this
.
finished
=
!
data
.
more
;
if
(
data
.
worker
){
this
.
worker_id
=
data
.
worker
.
id
this
.
workerName
=
data
.
worker
.
name
...
...
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