Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
4bd5bdd6
Commit
4bd5bdd6
authored
Dec 19, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示班级
parent
16b277e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
index.vue
src/components/class/index.vue
+4
-5
No files found.
src/components/class/index.vue
View file @
4bd5bdd6
...
@@ -137,15 +137,15 @@
...
@@ -137,15 +137,15 @@
<el-table-column
<el-table-column
label=
"班级类型"
>
label=
"班级类型"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
type
|
classTypeFilter
}}
{{
scope
.
row
.
type
|
classTypeFilter
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
!-- <
el-table-column
<el-table-column
label=
"班级名称"
>
label=
"班级名称"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{scope.row.
teacher_name}}一班
{{
scope
.
row
.
class_name
}}
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
<el-table-column
<el-table-column
prop=
"max_join_num"
prop=
"max_join_num"
label=
"最大人数"
>
label=
"最大人数"
>
...
@@ -261,7 +261,6 @@
...
@@ -261,7 +261,6 @@
getDefaultPeriodsApi
().
then
(
res
=>
{
getDefaultPeriodsApi
().
then
(
res
=>
{
if
(
res
){
if
(
res
){
this
.
goods_id
=
res
.
goods_id
;
this
.
goods_id
=
res
.
goods_id
;
console
.
log
(
res
)
this
.
selectedGoods
=
[
parseInt
(
res
.
goods_id
),
parseInt
(
res
.
id
)];
this
.
selectedGoods
=
[
parseInt
(
res
.
goods_id
),
parseInt
(
res
.
id
)];
getPeriodsApi
({
goods_id
:
this
.
selectedGoods
[
0
]}).
then
(
res
=>
{
getPeriodsApi
({
goods_id
:
this
.
selectedGoods
[
0
]}).
then
(
res
=>
{
res
.
list
.
forEach
(
i
=>
{
i
.
name
=
i
.
title
});
res
.
list
.
forEach
(
i
=>
{
i
.
name
=
i
.
title
});
...
...
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