Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
f9f88551
Commit
f9f88551
authored
Jul 05, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3ba5954c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
activeOrder-item.vue
src/components/sale/activeOrder-item.vue
+1
-1
activeOrderList.vue
src/pages/sale/activeOrderList.vue
+19
-4
No files found.
src/components/sale/activeOrder-item.vue
View file @
f9f88551
...
...
@@ -205,7 +205,7 @@
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
v-if=
"item.EduUserId===loginId"
/>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
v-if=
"item.EduUserId===loginId"
style=
"margin-left:10px;"
>
<q-list>
<!-- <q-item clickable v-close-popup>
<q-item-section @click="gostudent(item)">
...
...
src/pages/sale/activeOrderList.vue
View file @
f9f88551
<
template
>
<div
class=
"page-body myOrder"
>
<div
class=
"page-body my
Active
Order"
>
<div
class=
"row col"
style=
"height: 40px"
>
<div
class=
"row col "
style=
"align-items: center;margin-bottom: 10px"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md "
label=
"返回"
@
click=
"goBack"
/>
...
...
@@ -11,6 +11,11 @@
<div
class=
"page-content"
>
<OrderItem
:dataList=
"data.List"
ref=
"orderL"
:authObj=
"authObj"
:modityOrderType=
"2"
:cancelList=
"CancelList"
@
success=
"refreshClassOrder"
></OrderItem>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
color=
"primary"
:input=
"true"
>
</q-pagination>
</div>
</div>
</div>
</
template
>
...
...
@@ -29,8 +34,11 @@
data
:
{},
activeName
:
""
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
ActivityId
:
0
},
pageCount
:
0
,
//正常订单
dataList
:
[],
//取消订单
...
...
@@ -77,11 +85,18 @@
},
goBack
(){
this
.
$router
.
go
(
-
1
)
}
,
},
//翻页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
()
},
}
}
</
script
>
<
style
>
<
style
>
.myActiveOrder
.table-body
{
height
:
calc
(
100vh
-
220px
);
}
</
style
>
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