Commit f9f88551 authored by 罗超's avatar 罗超

1

parent 3ba5954c
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="editOrder(item)" v-if="item.EduUserId===loginId"/> @click="editOrder(item)" v-if="item.EduUserId===loginId"/>
</template> </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-list>
<!-- <q-item clickable v-close-popup> <!-- <q-item clickable v-close-popup>
<q-item-section @click="gostudent(item)"> <q-item-section @click="gostudent(item)">
......
<template> <template>
<div class="page-body myOrder"> <div class="page-body myActiveOrder">
<div class="row col" style="height: 40px"> <div class="row col" style="height: 40px">
<div class="row col " style="align-items: center;margin-bottom: 10px"> <div class="row col " style="align-items: center;margin-bottom: 10px">
<q-btn color="accent" size="sm" class="q-mr-md " label="返回" @click="goBack" /> <q-btn color="accent" size="sm" class="q-mr-md " label="返回" @click="goBack" />
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
<div class="page-content"> <div class="page-content">
<OrderItem :dataList="data.List" ref="orderL" :authObj="authObj" :modityOrderType="2" :cancelList="CancelList" <OrderItem :dataList="data.List" ref="orderL" :authObj="authObj" :modityOrderType="2" :cancelList="CancelList"
@success="refreshClassOrder"></OrderItem> @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>
</div> </div>
</template> </template>
...@@ -29,8 +34,11 @@ ...@@ -29,8 +34,11 @@
data: {}, data: {},
activeName:"", activeName:"",
msg: { msg: {
pageIndex:1,
pageSize:10,
ActivityId: 0 ActivityId: 0
}, },
pageCount:0,
//正常订单 //正常订单
dataList: [], dataList: [],
//取消订单 //取消订单
...@@ -77,11 +85,18 @@ ...@@ -77,11 +85,18 @@
}, },
goBack(){ goBack(){
this.$router.go(-1) this.$router.go(-1)
} , },
//翻页
changePage(val) {
this.msg.pageIndex = val;
this.getList()
},
} }
} }
</script> </script>
<style> <style >
.myActiveOrder .table-body{
height: calc(100vh - 220px);
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment