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
e7974e4c
Commit
e7974e4c
authored
Mar 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yem xiu
parent
48513965
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
+21
-12
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+21
-12
No files found.
src/pages/sale/japaneseTrain.vue
View file @
e7974e4c
...
@@ -30,13 +30,15 @@
...
@@ -30,13 +30,15 @@
</q-field>
</q-field>
</div>
</div>
</div>
-->
</div>
-->
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<div
class=
"col-3 Sysuser_Date"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<
template
v-slot:control
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"msg.StartTime"
type=
"date"
placeholder=
"开学日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
<el-date-picker
v-model=
"msg.StartTime"
type=
"date"
placeholder=
"开学日期"
size=
"small"
style=
"width:47%;"
</el-date-picker>
-
@
change=
"resetSearch"
clear-icon=
""
>
<el-date-picker
v-model=
"msg.EndTime"
type=
"date"
placeholder=
"结束日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
</el-date-picker>
至
<el-date-picker
v-model=
"msg.EndTime"
type=
"date"
placeholder=
"结束日期"
size=
"small"
style=
"width:47%;"
@
change=
"resetSearch"
clear-icon=
""
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
...
@@ -46,9 +48,11 @@
...
@@ -46,9 +48,11 @@
<div
class=
"col-3 Sysuser_Date"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<
template
v-slot:control
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"msg.JoinStartTime"
type=
"date"
placeholder=
"报名截止日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
<el-date-picker
v-model=
"msg.JoinStartTime"
type=
"date"
placeholder=
"报名截止日期"
size=
"small"
</el-date-picker>
-
style=
"width:47%;"
@
change=
"resetSearch"
>
<el-date-picker
v-model=
"msg.JoinEndTime"
type=
"date"
placeholder=
"报名截止日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
</el-date-picker>
至
<el-date-picker
v-model=
"msg.JoinEndTime"
type=
"date"
placeholder=
"报名截止日期"
size=
"small"
style=
"width:47%;"
@
change=
"resetSearch"
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
...
@@ -77,12 +81,12 @@
...
@@ -77,12 +81,12 @@
style=
"width: 14px;height: 14px;margin-right: 5px;"
>
{{item.ClassHours?item.ClassHours:'0'}}课时
</div>
style=
"width: 14px;height: 14px;margin-right: 5px;"
>
{{item.ClassHours?item.ClassHours:'0'}}课时
</div>
</div>
</div>
<div
class=
"d2"
>
<div
class=
"d2"
>
<div
class=
"row"
style=
"align-items: center"
>
<div
class=
"row"
style=
"align-items: center
;margin:0;padding:0;
"
>
<span
class=
"d2-n"
>
带课老师
</span>
<span
class=
"d2-n"
>
带课老师
</span>
<q-avatar
rounded
size=
"sm"
v-if=
"item.TeacherHead&&item.TeacherHead!=''"
>
<q-avatar
rounded
size=
"sm"
v-if=
"item.TeacherHead&&item.TeacherHead!=''"
>
<img
:src=
"item.TeacherHead"
/>
<img
:src=
"item.TeacherHead"
/>
</q-avatar>
</q-avatar>
<q-avatar
v-else
rounded
size=
"sm"
color=
"teal-10"
text-color=
"white"
style=
"margin:0;padding:0;"
>
<q-avatar
v-else
rounded
size=
"sm"
color=
"teal-10"
text-color=
"white"
>
<
template
v-if=
"item.TeacherName&&item.TeacherName!=''"
>
<
template
v-if=
"item.TeacherName&&item.TeacherName!=''"
>
{{
item
.
TeacherName
.
substr
(
0
,
1
)
}}
{{
item
.
TeacherName
.
substr
(
0
,
1
)
}}
</
template
>
</
template
>
...
@@ -322,9 +326,9 @@
...
@@ -322,9 +326,9 @@
var
year
=
nowDay
.
getFullYear
();
//年
var
year
=
nowDay
.
getFullYear
();
//年
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
var
day
=
nowDay
.
getDate
();
//日
var
day
=
nowDay
.
getDate
();
//日
var
currentDay
=
year
+
'-'
+
month
+
'-'
+
day
;
var
currentDay
=
year
+
'-'
+
month
+
'-'
+
day
;
//this.dateList[0] = currentDay;
//this.dateList[0] = currentDay;
this
.
msg
.
StartTime
=
currentDay
this
.
msg
.
StartTime
=
currentDay
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
@@ -405,7 +409,7 @@
...
@@ -405,7 +409,7 @@
// this.msg.StartTime = '';
// this.msg.StartTime = '';
// this.msg.EndTime = '';
// this.msg.EndTime = '';
// }
// }
this
.
loading
=
true
;
this
.
loading
=
true
;
getClassPruductList
(
this
.
msg
).
then
(
res
=>
{
getClassPruductList
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
...
@@ -703,4 +707,9 @@
...
@@ -703,4 +707,9 @@
height
:
60px
;
height
:
60px
;
}
}
.japaneseTrain
.el-input__inner
{
border
:
none
!important
;
background
:
transparent
!important
;
}
</
style
>
</
style
>
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