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
ee1adc3f
Commit
ee1adc3f
authored
Mar 22, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b88e412c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
tickMode.vue
src/components/school/student/transfer-order/tickMode.vue
+3
-3
vipcourse.vue
src/components/school/student/transfer-order/vipcourse.vue
+15
-4
No files found.
src/components/school/student/transfer-order/tickMode.vue
View file @
ee1adc3f
...
...
@@ -17,7 +17,7 @@
<q-icon
name=
"check"
class=
"check-icon"
/>
</div>
</div>
<div
class=
"box-businessModel"
style=
"margin-right:0;
display:none
"
:class=
"
{ 'checked-border': type == 3 }" @click="chooseChange(3)">
<div
class=
"box-businessModel"
style=
"margin-right:0;"
:class=
"
{ 'checked-border': type == 3 }" @click="chooseChange(3)">
<i
class=
"iconfont icon-vipkecheng"
style=
"font-size:38px"
></i>
<div>
VIP课程
</div>
<div
class=
"right"
v-if=
"type == 3"
>
...
...
@@ -63,8 +63,8 @@
.box-businessModel
{
cursor
:
pointer
;
//
width: 209px;
width
:
314px
;
width
:
209px
;
//
width: 314px;
height
:
198px
;
background
:
#f9f9f9
;
border-radius
:
5px
;
...
...
src/components/school/student/transfer-order/vipcourse.vue
View file @
ee1adc3f
...
...
@@ -5,9 +5,13 @@
<div
class=
"col row wrap"
>
<q-input
filled
stack-label
ref=
"CourseName"
:dense=
"false"
:rules=
"[val => !!val || '请输入课程名称']"
v-model=
"CourseMsg.CourseName"
label=
"课程名称"
class=
"col-6 q-pr-lg q-pb-lg"
/>
<q-input
filled
stack-label
:dense=
"false"
ref=
"TotalHour"
v-model=
"CourseMsg.TotalHour"
:rules=
"[val => !!val || '请输入课时']"
@
keyup
.
native=
"checkInteger(CourseMsg,'TotalHour')"
class=
"col-6"
<div
class=
"col-6 row"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"CourseMsg.HourType"
:options=
"HourTypeList"
label=
"课时类型"
class=
"col-5"
emit-value
map-options
/>
<q-input
filled
stack-label
:dense=
"false"
style=
"margin-left:30px;"
ref=
"TotalHour"
v-model=
"CourseMsg.TotalHour"
@
keyup
.
native=
"checkPrice(CourseMsg,'TotalHour')"
class=
"col-6"
label=
"课时"
/>
</div>
</div>
<div
class=
"col row wrap"
>
<q-input
filled
stack-label
:dense=
"false"
ref=
"CoursePrice"
maxlength=
"10"
...
...
@@ -43,6 +47,7 @@
CourseMsg
:
{
Id
:
0
,
CourseName
:
""
,
//课程名称
HourType
:
1
,
//课时类型 1课时2小时
TotalHour
:
''
,
//课时
CoursePrice
:
''
,
//价格
CourseTimeId
:
1
,
//上课时段
...
...
@@ -50,6 +55,13 @@
StuId
:
1
},
CourseTimeList
:
[],
HourTypeList
:[{
Id
:
1
,
Name
:
'课时'
},{
Id
:
2
,
Name
:
'小时'
}]
};
},
created
()
{},
...
...
@@ -76,9 +88,8 @@
}
this
.
CourseMsg
.
StuId
=
StuArr
.
toString
();
this
.
$refs
.
CourseName
.
validate
();
this
.
$refs
.
TotalHour
.
validate
();
this
.
$refs
.
CoursePrice
.
validate
();
if
(
!
this
.
$refs
.
CourseName
.
hasError
&&
!
this
.
$refs
.
TotalHour
.
hasError
&&
!
this
.
$refs
.
CoursePrice
.
hasError
)
{
if
(
!
this
.
$refs
.
CourseName
.
hasError
&&
!
this
.
$refs
.
CoursePrice
.
hasError
)
{
SetVipCourseApply
(
this
.
CourseMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
...
...
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