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
5e9ee6c6
Commit
5e9ee6c6
authored
Dec 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a0e8aa92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
class-form.vue
src/components/course/class-form.vue
+14
-4
No files found.
src/components/course/class-form.vue
View file @
5e9ee6c6
...
...
@@ -125,8 +125,8 @@
map-options
/>
</div>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"
SId"
option-label=
"S
Name"
v-model=
"objOption.ClassRoomId"
ref=
"
School_Id"
:options=
"c
lassRoomList"
label=
"关联教室"
:dense=
"false"
class=
"col-6 q-pr-lg q-pr-lg"
<q-select
filled
stack-label
option-value=
"
RoomId"
option-label=
"Room
Name"
v-model=
"objOption.ClassRoomId"
ref=
"
ClassRoomId"
:options=
"C
lassRoomList"
label=
"关联教室"
:dense=
"false"
class=
"col-6 q-pr-lg q-pr-lg"
emit-value
map-options
/>
</div>
</div>
...
...
@@ -243,7 +243,8 @@
getTeacherDropDownList
,
getSchoolDropdown
,
saveClass
,
getClassInfo
getClassInfo
,
queryClassRoomList
}
from
'../../api/school/index'
export
default
{
components
:
{},
...
...
@@ -292,7 +293,7 @@
ClassList
:
[],
//关联课程下拉数据
TeacherList
:
[],
//关联教师下拉数据
SchoolList
:
[],
//关联校区下拉数据
classRoomList
:
[],
// 关联教室
ClassRoomList
:[],
//教室下拉数据
ladderPriceList
:
[{
//阶梯定价数组
pnumber
:
2
,
price
:
''
...
...
@@ -349,6 +350,7 @@
created
()
{
this
.
getSchool
();
this
.
CourseList
();
this
.
getClassRoomList
();
this
.
GetTeacherList
();
},
mounted
()
{
...
...
@@ -421,6 +423,14 @@
}
})
},
//获取教室下拉
getClassRoomList
()
{
queryClassRoomList
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
ClassRoomList
=
res
.
Data
;
}
})
},
//新增阶梯定价
addStepPrice
()
{
var
_index
=
this
.
ladderPriceList
.
length
-
1
;
...
...
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