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
2a4f3b8f
Commit
2a4f3b8f
authored
Jun 22, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8442a656
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
appoint-form.vue
src/components/schedul/appoint-form.vue
+17
-2
audition-form.vue
src/components/schedul/audition-form.vue
+2
-1
No files found.
src/components/schedul/appoint-form.vue
View file @
2a4f3b8f
...
...
@@ -45,12 +45,14 @@
</
template
>
</q-field>
</div>
<q-input
v-model=
"addMsg.ClassContent"
ref=
"ClassContent"
class=
"q-pb-lg"
:rules=
"[val => !!val || '请输入主讲内容']"
filled
type=
"textarea"
placeholder=
"主讲内容"
/>
<q-select
filled
stack-label
option-value=
"Name"
option-label=
"Name"
v-model=
"addMsg.ClassContent"
ref=
"ClassContent"
:options=
"ContentList"
:rules=
"[val => !!val || '请选择主讲内容']"
label=
"主讲内容"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
<div
style=
"display:flex;align-items:center;"
>
<q-select
filled
stack-label
option-value=
"TId"
style=
"width:90%"
option-label=
"TeacherName"
v-model=
"addMsg.TeacherId"
ref=
"TeacherId"
:options=
"TeacherList"
label=
"选择教师"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
<div
style=
"margin:-20px 0 0 9px"
@
click=
"isShowTeacher=true"
>
选择
</div>
<div
style=
"margin:-20px 0 0 9px
;cursor:pointer;
"
@
click=
"isShowTeacher=true"
>
选择
</div>
</div>
<q-select
filled
stack-label
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"addMsg.ClassRoomId"
ref=
"ClassRoomId"
:options=
"ClassRoomList"
label=
"关联教室"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
...
...
@@ -107,6 +109,19 @@
ClassRoomList
:
[],
//教室
saveAppointLoading
:
false
,
isShowTeacher
:
false
,
//显示选择框
ContentList
:
[{
Id
:
1
,
Name
:
'少儿类:主要以丰富可与时间和兴趣为主,要求课堂轻松活跃。趣味性十足'
},
{
Id
:
2
,
Name
:
'兴趣类:成年人,对日语学习从兴趣开始,要求课堂丰富有趣'
},
{
Id
:
3
,
Name
:
'实用类:对于日语学习有一定的需求(考研、就业等),要求学习过程专业,干货多'
},
{
Id
:
4
,
Name
:
'留学类:打算去往日本留学(本科、硕士、语言学校、私塾等)'
}]
}
},
created
()
{
...
...
src/components/schedul/audition-form.vue
View file @
2a4f3b8f
...
...
@@ -2,7 +2,7 @@
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
<q-card
style=
"width: 800px;max-width:900px;"
>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-table
:loading=
"loading"
no-data-label=
"暂无相关数据"
style=
"margin-top:20px;"
flat
class=
"sticky-column-table sticky-right-column-table"
<q-table
:
pagination=
"msg"
:
loading=
"loading"
no-data-label=
"暂无相关数据"
style=
"margin-top:20px;"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
人员信息
</div>
...
...
@@ -44,6 +44,7 @@
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
rowsPerPage
:
10
,
StartClassDate
:
''
},
PageCount
:
0
,
...
...
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