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
af9cc3b5
Commit
af9cc3b5
authored
Dec 28, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0020cb32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
audition-form.vue
src/components/schedul/audition-form.vue
+6
-0
student-shiting.vue
src/components/school/student/student-shiting.vue
+18
-2
No files found.
src/components/schedul/audition-form.vue
View file @
af9cc3b5
...
@@ -112,6 +112,12 @@
...
@@ -112,6 +112,12 @@
label
:
'时间'
,
label
:
'时间'
,
align
:
'left'
align
:
'left'
},
},
{
name
:
'LessonName'
,
label
:
'课程名称'
,
field
:
'LessonName'
,
align
:
'left'
},
{
{
name
:
'RoomName'
,
name
:
'RoomName'
,
label
:
'教室'
,
label
:
'教室'
,
...
...
src/components/school/student/student-shiting.vue
View file @
af9cc3b5
...
@@ -56,6 +56,10 @@
...
@@ -56,6 +56,10 @@
<q-select
filled
stack-label
option-value=
"RoomId"
dense
option-label=
"RoomName"
v-model=
"addMsg.ClassRoomId"
<q-select
filled
stack-label
option-value=
"RoomId"
dense
option-label=
"RoomName"
v-model=
"addMsg.ClassRoomId"
ref=
"ClassRoomId"
:options=
"ClassRoomList"
label=
"关联教室"
class=
"col-6 q-pb-lg q-pr-lg"
ref=
"ClassRoomId"
:options=
"ClassRoomList"
label=
"关联教室"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
emit-value
map-options
/>
<q-select
filled
stack-label
option-value=
"Id"
dense
option-label=
"LessonName"
v-model=
"addMsg.TrialLessonId"
:options=
"TrialList"
label=
"试听课程"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
</div>
</div>
<div
class=
"row wrap justify-end q-pr-lg"
style=
"margin-bottom:10px;"
>
<div
class=
"row wrap justify-end q-pr-lg"
style=
"margin-bottom:10px;"
>
<q-btn
label=
"保存"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"saveAppointForm()"
/>
<q-btn
label=
"保存"
color=
"accent q-mb-lg"
size=
"md"
@
click=
"saveAppointForm()"
/>
...
@@ -74,6 +78,7 @@
...
@@ -74,6 +78,7 @@
<div
class=
"StuCom_Inner"
>
{{
tItem
.
ClassContent
}}
</div>
<div
class=
"StuCom_Inner"
>
{{
tItem
.
ClassContent
}}
</div>
</div>
</div>
<div>
主讲老师:
{{
tItem
.
TeacherName
}}
</div>
<div>
主讲老师:
{{
tItem
.
TeacherName
}}
</div>
<div>
课程名称:
{{
tItem
.
TrialLessonId
}}
</div>
<div
class=
"StuCom_Remark"
>
<div
class=
"StuCom_Remark"
>
<span
class=
"StuCom_Left"
>
教室
</span>
:
{{
tItem
.
RoomName
}}
<span
class=
"StuCom_Left"
>
教室
</span>
:
{{
tItem
.
RoomName
}}
</div>
</div>
...
@@ -107,7 +112,8 @@
...
@@ -107,7 +112,8 @@
import
{
import
{
getTeacherDropDownList
,
getTeacherDropDownList
,
queryClassRoomList
queryClassRoomList
,
GetTrialLessonList
}
from
"../../../api/school/index"
;
}
from
"../../../api/school/index"
;
import
auditionForm
from
'../../schedul/audition-form'
import
auditionForm
from
'../../schedul/audition-form'
...
@@ -137,6 +143,7 @@
...
@@ -137,6 +143,7 @@
TeacherId
:
0
,
//教师编号
TeacherId
:
0
,
//教师编号
ClassRoomId
:
0
,
//教室编号
ClassRoomId
:
0
,
//教室编号
ClassContent
:
""
,
//主讲内容
ClassContent
:
""
,
//主讲内容
TrialLessonId
:
''
},
},
qMsg
:
{
qMsg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -161,12 +168,14 @@
...
@@ -161,12 +168,14 @@
ClassRoomList
:
[],
ClassRoomList
:
[],
dataList
:
[],
dataList
:
[],
page_Count
:
0
,
page_Count
:
0
,
isShowTeacher
:
false
isShowTeacher
:
false
,
TrialList
:[]
//试听课程下拉数据
}
}
},
},
created
()
{
created
()
{
this
.
getClassRoomList
();
this
.
getClassRoomList
();
this
.
GetTeacherList
();
this
.
GetTeacherList
();
this
.
GetTrialDrop
();
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
)
{
this
.
addMsg
.
Visitor_Id
=
this
.
saveObj
.
StuId
;
this
.
addMsg
.
Visitor_Id
=
this
.
saveObj
.
StuId
;
this
.
qMsg
.
Visitor_Id
=
this
.
saveObj
.
StuId
;
this
.
qMsg
.
Visitor_Id
=
this
.
saveObj
.
StuId
;
...
@@ -176,6 +185,13 @@
...
@@ -176,6 +185,13 @@
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
GetTrialDrop
(){
GetTrialLessonList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
TrialList
=
res
.
Data
;
}
});
},
//保存
//保存
saveAppointForm
()
{
saveAppointForm
()
{
if
(
this
.
addMsg
.
ClassDate
==
''
){
if
(
this
.
addMsg
.
ClassDate
==
''
){
...
...
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