Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
train-admin-h5
Overview
Overview
Details
Activity
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
tangjiale
train-admin-h5
Commits
bf854654
Commit
bf854654
authored
Jul 05, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限制
parent
36939150
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
add-course.vue
pages/components/add-course.vue
+5
-1
No files found.
pages/components/add-course.vue
View file @
bf854654
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @eMail: 932055106@qq.com
* @Date: 2022-06-06 09:28:37
* @Date: 2022-06-06 09:28:37
* @LastEditors: tangjiale
* @LastEditors: tangjiale
* @LastEditTime: 2022-0
6-30 11:31:14
* @LastEditTime: 2022-0
7-05 11:04:48
-->
-->
<
template
>
<
template
>
<div
class=
"add-course-bg"
>
<div
class=
"add-course-bg"
>
...
@@ -234,6 +234,10 @@ export default {
...
@@ -234,6 +234,10 @@ export default {
status
:
that
.
param
.
status
==
1
?
1
:
form
,
//0未发布 1已发布
status
:
that
.
param
.
status
==
1
?
1
:
form
,
//0未发布 1已发布
schIds
:
that
.
checkList
.
join
(
','
),
schIds
:
that
.
checkList
.
join
(
','
),
}
}
if
(
param
.
cost
<=
0
){
that
.
$message
.
error
(
'课程价格不能小于等于0'
)
return
}
//单位:分
//单位:分
param
.
cost
=
param
.
cost
*
100
param
.
cost
=
param
.
cost
*
100
param
.
courseDefNum
=
param
.
courseDefNum
||
0
param
.
courseDefNum
=
param
.
courseDefNum
||
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