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
ffd6768e
Commit
ffd6768e
authored
Mar 09, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
f5d287cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
45 deletions
+19
-45
class-record.vue
src/components/school/student/class-record.vue
+7
-2
chapter.vue
src/pages/course/chapter.vue
+5
-0
coffeeOrderList.vue
src/pages/stuMan/coffeeManage/coffeeOrderList.vue
+7
-43
No files found.
src/components/school/student/class-record.vue
View file @
ffd6768e
...
...
@@ -80,6 +80,11 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"AgainNum"
label=
"进度"
width=
"80"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
CourseRateName
}}
(
{{
scope
.
row
.
ChapterGradeNo
}}
)
</
template
>
</el-table-column>
<el-table-column
prop=
"State"
label=
"状态"
width=
"70"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.State == 1"
>
...
...
@@ -91,11 +96,11 @@
<div
class=
"text-negative"
v-if=
"scope.row.State == 3"
>
缺课
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"AgainNum"
label=
"重学次数"
width=
"80"
>
<
!-- <
el-table-column prop="AgainNum" label="重学次数" width="80">
<template slot-scope="scope">
{{scope.row.AgainNum}}
</template>
</el-table-column>
</el-table-column>
-->
</el-table>
</div>
...
...
src/pages/course/chapter.vue
View file @
ffd6768e
...
...
@@ -39,6 +39,11 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"进度"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
CourseRateName
}}
(
{{
scope
.
row
.
ChapterGradeNo
}}
)
</
template
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"课时"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
StudyHours
}}
课时
...
...
src/pages/stuMan/coffeeManage/coffeeOrderList.vue
View file @
ffd6768e
...
...
@@ -19,50 +19,11 @@
</div>
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top
>
<div
class=
"col-2 q-table__title"
>
订单列表
</div>
</
template
>
<
template
v-slot:body-cell-orderInfo=
"props"
>
<q-td
:props=
"props"
>
<div
class=
"q-my-xs"
>
<span
class=
"label"
>
订单号
</span>
:
{{
props
.
row
.
OrderNo
}}
(
{{
props
.
row
.
OrderId
}}
)
</div>
<div
class=
"q-my-xs"
>
<span
class=
"label"
>
下单时间
</span>
:
{{
props
.
row
.
CreateDate
}}
</div>
<div
class=
"q-my-xs"
>
<span
class=
"label"
>
付款时间
</span>
:
{{
props
.
row
.
PaymentTime
}}
</div>
<div
class=
"q-my-xs"
>
<span
class=
"label"
>
订单状态
</span>
:
<span
v-if=
"props.row.OrderStatus==1"
>
待付款
</span>
<span
v-if=
"props.row.OrderStatus==2"
>
已完成
</span>
<span
v-if=
"props.row.OrderStatus==3"
>
已取消
</span>
</div>
<div
class=
"q-my-xs"
v-if=
"props.row.OrderStatus==3"
>
<span
class=
"label"
>
取消时间
</span>
:
{{
props
.
row
.
CancelTime
}}
</div>
<div
class=
"q-my-xs"
><span
class=
"label"
>
用户
</span>
:
<span
v-if=
"props.row.UserType==1"
>
{{
props
.
row
.
EmName
}}
<q-chip
class=
"q-ml-xs"
size=
"xs"
color=
"primary"
text-color=
"white"
>
内部人员
</q-chip></span>
<span
v-if=
"props.row.UserType==2"
>
{{
props
.
row
.
EmName
}}
<q-chip
class=
"q-ml-xs"
size=
"xs"
color=
"positive"
text-color=
"white"
>
学生
</q-chip></span>
<span
v-if=
"props.row.UserType==3"
>
{{
props
.
row
.
UserName
}}
<q-chip
class=
"q-ml-xs"
size=
"xs"
color=
"info"
text-color=
"white"
>
甲鹤用户
</q-chip></span>
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-goodsInfo=
"props"
>
<q-td
:props=
"props"
>
<div>
<q-img
:src=
"props.row.CoverImage"
spinner-color=
"white"
style=
"height: 90px; max-width: 90px"
:ratio=
"4/3"
/>
<span
class=
"q-ml-sm"
>
{{
props
.
row
.
GoodsName
}}
</span>
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-priceInfo=
"props"
>
<q-td
:props=
"props"
>
<div
class=
"q-my-xs"
>
单价:
{{
props
.
row
.
Unit_Price
}}
</div>
<div
class=
"q-my-xs"
>
应收:
{{
props
.
row
.
PreferPrice
}}
</div>
<div
class=
"q-my-xs"
>
实收:
{{
props
.
row
.
Income
}}
</div>
<div
class=
"q-my-xs"
v-if=
"props.row.Fee"
>
手续费:
{{
props
.
row
.
Fee
}}
</div>
<div
class=
"q-my-xs"
v-if=
"props.row.Refund"
>
退款金额:
{{
props
.
row
.
Refund
}}
</div>
</q-td>
</
template
>
<
template
v-slot:bottom
>
<OrderList
:dataList=
"dataList"
></OrderList>
<div>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
</div>
</div>
</div>
</
template
>
...
...
@@ -70,11 +31,14 @@
import
{
getCoffeeOrderList
}
from
"../../../api/stuMan/index"
import
OrderList
from
'../../../components/sale/orderlistbycoffee.vue'
export
default
{
meta
:
{
title
:
"咖啡订单列表"
},
components
:{
OrderList
},
data
()
{
return
{
dataList
:
[],
...
...
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