Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
d0c21c4b
Commit
d0c21c4b
authored
Feb 01, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
71021c4c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
948 additions
and
6 deletions
+948
-6
addclassify.vue
src/components/education/addclassify.vue
+17
-6
addteacherCourse.vue
src/components/education/addteacherCourse.vue
+380
-0
educationIndex.vue
src/components/education/educationIndex.vue
+3
-0
teacherCourseList.vue
src/components/education/teacherCourseList.vue
+536
-0
index.js
src/router/index.js
+12
-0
No files found.
src/components/education/addclassify.vue
View file @
d0c21c4b
...
...
@@ -19,18 +19,18 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"是否为公开课"
>
<el-radio
v-model=
"addMsg.IsPublic"
:label=
"0"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsPublic"
:label=
"1"
>
是
</el-radio>
<el-form-item
label=
"是否为公开课"
>
<el-radio
v-model=
"addMsg.IsPublic"
:label=
"0"
@
change=
"getgongkai()"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsPublic"
:label=
"1"
@
change=
"getgongkai()"
>
是
</el-radio>
</el-form-item>
<el-form-item
label=
"是否免费"
>
<el-radio
v-model=
"addMsg.IsFree"
:label=
"0"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsFree"
:label=
"1"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsFree"
:label=
"0"
:disabled=
"gkshow"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsFree"
:label=
"1"
:disabled=
"gkshow"
>
是
</el-radio>
</el-form-item>
<el-form-item
label=
"点数"
prop=
"PointNum"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.PointNum"
placeholder=
"请输入点数"
class=
"w400"
type=
"number"
:min=
"0"
/>
<el-input
v-model=
"addMsg.PointNum"
placeholder=
"请输入点数"
class=
"w400"
type=
"number"
:min=
"0"
:disabled=
"gkshow"
/>
</el-form-item>
<el-form-item
label=
"时长"
prop=
"Duration"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.Duration"
placeholder=
"请输入时长"
class=
"w400"
type=
"number"
:min=
"0"
/>
...
...
@@ -101,6 +101,7 @@
CourseClassList
:[],
DurationList
:[],
StudentList
:[],
gkshow
:
false
};
},
created
()
{
...
...
@@ -113,6 +114,16 @@
this
.
getStudentList
()
//上课人数枚举
},
methods
:
{
getgongkai
(){
if
(
this
.
addMsg
.
IsPublic
==
1
){
this
.
addMsg
.
PointNum
=
0
;
this
.
addMsg
.
IsFree
=
1
;
this
.
gkshow
=
true
;
}
else
{
this
.
gkshow
=
false
}
},
Save
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/components/education/addteacherCourse.vue
0 → 100644
View file @
d0c21c4b
This diff is collapsed.
Click to expand it.
src/components/education/educationIndex.vue
View file @
d0c21c4b
...
...
@@ -202,6 +202,9 @@
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/onlineclassifyList'}" @click="isChecked='/onlineclassifyList',CommonJump('onlineclassifyList')">
<i
class=
"el-icon-menu"
></i><span>
在线分类列表
</span>
</li>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/teacherCourseList'}" @click="isChecked='/teacherCourseList',CommonJump('teacherCourseList')">
<i
class=
"el-icon-menu"
></i><span>
老师排课
</span>
</li>
</ul>
</div>
</div>
...
...
src/components/education/teacherCourseList.vue
0 → 100644
View file @
d0c21c4b
This diff is collapsed.
Click to expand it.
src/router/index.js
View file @
d0c21c4b
...
...
@@ -409,6 +409,18 @@ export default new Router({
path
:
'/addclassify'
,
name
:
'addclassify'
,
component
:
resolve
=>
require
([
'@/components/education/addclassify'
],
resolve
),
},
//网课 老师排课
{
path
:
'/teacherCourseList'
,
name
:
'teacherCourseList'
,
component
:
resolve
=>
require
([
'@/components/education/teacherCourseList'
],
resolve
),
},
//网课 新增/修改老师排课
{
path
:
'/addteacherCourse'
,
name
:
'addteacherCourse'
,
component
:
resolve
=>
require
([
'@/components/education/addteacherCourse'
],
resolve
),
}
]
},
...
...
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