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
f4498fb2
Commit
f4498fb2
authored
Oct 21, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
班课转订单显示异常调整
parent
548a4482
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
transfer-order.vue
src/components/school/student/transfer-order.vue
+7
-5
courselist.vue
src/components/school/student/transfer-order/courselist.vue
+6
-5
No files found.
src/components/school/student/transfer-order.vue
View file @
f4498fb2
...
...
@@ -59,9 +59,9 @@
</div>
</div>
</div>
<Course
:dataList=
"courseData"
@
select=
"selectClass"
:select=
"defaultCourse"
></Course>
<Course
:
qMsg=
"courseMsg"
:
dataList=
"courseData"
@
select=
"selectClass"
:select=
"defaultCourse"
></Course>
<q-pagination
class=
"full-width justify-end"
v-model=
"courseMsg.pageIndex"
color=
"primary"
:max=
"coursePageCount"
:input=
"true"
@
input=
"changePage"
/>
:max=
"course
Msg.course
PageCount"
:input=
"true"
@
input=
"changePage"
/>
</template>
<
template
v-if=
"mode == 2"
>
<yueke
@
select=
"selectCourse"
:mode=
"mode"
:select=
"selectedCourseList"
></yueke>
...
...
@@ -159,7 +159,8 @@
},
courseMsg
:
{
pageIndex
:
1
,
pageSize
:
8
,
pageSize
:
7
,
rowsPerPage
:
7
,
ClassName
:
""
,
//班级名称
StartTime
:
""
,
//开始时间
EndTime
:
""
,
//结束时间
...
...
@@ -173,9 +174,10 @@
CourseSubject
:
""
,
//所属科目
IsQuerySalePlat
:
1
,
SaleState
:
1
,
//显示正常的课程
coursePageCount
:
0
,
//课程页数
},
courseData
:
[],
//课程列表
coursePageCount
:
0
,
//课程页数
saveObj
:
{},
//所选课程
defaultCourse
:
[],
//默认课程
//关联校区列表
...
...
@@ -220,7 +222,7 @@
getCourseList
()
{
getClassPruductList
(
this
.
courseMsg
).
then
(
res
=>
{
this
.
courseData
=
res
.
Data
.
PageData
;
this
.
coursePageCount
=
res
.
Data
.
PageCount
;
this
.
course
Msg
.
course
PageCount
=
res
.
Data
.
PageCount
;
this
.
courseData
.
forEach
(
x
=>
{
if
(
x
.
ClassStyle
==
1
)
{
let
weekList
=
[
...
...
src/components/school/student/transfer-order/courselist.vue
View file @
f4498fb2
<
template
>
<q-table
:pagination=
"
m
sg"
selection=
"single"
:selected
.
sync=
"selection"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"
qM
sg"
selection=
"single"
:selected
.
sync=
"selection"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table sticky-two-header-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"ClassId"
@
update:selected=
"emitSel"
table-class=
"table"
hide-bottom
>
</q-table>
...
...
@@ -15,15 +15,16 @@
select
:
{
type
:
Array
,
default
:
()
=>
[]
},
qMsg
:{
type
:
Object
,
default
:
null
}
},
data
()
{
return
{
selection
:
[],
msg
:
{
pageIndex
:
1
,
rowsPerPage
:
8
},
columns
:
[{
name
:
"ClassName"
,
label
:
"班级"
,
...
...
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