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
278c0635
Commit
278c0635
authored
Mar 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bcaac4ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
16 deletions
+58
-16
studyAbroad-form.vue
src/components/studyAbroad/studyAbroad-form.vue
+3
-0
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+55
-16
No files found.
src/components/studyAbroad/studyAbroad-form.vue
View file @
278c0635
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
<q-input
filled
stack-label
:dense=
"false"
v-model=
"objOption.Remark"
style=
"margin-top: 20px"
type=
"textarea"
<q-input
filled
stack-label
:dense=
"false"
v-model=
"objOption.Remark"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"备注"
maxlength=
"300"
/>
class=
"col-12"
label=
"备注"
maxlength=
"300"
/>
</div>
</div>
<div
class=
"row wrap"
style=
"margin-top:5px;color:red;"
>
必须上传供应商合同才能上架.
</div>
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-card-actions
align=
"right"
class=
"bg-white"
>
...
...
src/pages/sale/japaneseTrain.vue
View file @
278c0635
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
option-value=
"CourseId"
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
option-value=
"CourseId"
option-label=
"CourseName"
v-model=
"msg.CouseId"
:options=
"ClassList"
emit-value
map-options
label=
"学习课程"
/>
option-label=
"CourseName"
v-model=
"msg.CouseId"
:options=
"ClassList"
emit-value
map-options
label=
"学习课程"
/>
</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
>
...
@@ -29,6 +29,30 @@
...
@@ -29,6 +29,30 @@
</
template
>
</
template
>
</q-field>
</q-field>
</div>
</div>
</div>
-->
<div
class=
"col-3"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<
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>
-
<el-date-picker
v-model=
"msg.EndTime"
type=
"date"
placeholder=
"结束日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
</el-date-picker>
</
template
>
</q-field>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<
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>
-
<el-date-picker
v-model=
"msg.JoinEndTime"
type=
"date"
placeholder=
"报名截止日期"
size=
"small"
style=
"width:160px;border:none;"
@
change=
"resetSearch"
>
</el-date-picker>
</
template
>
</q-field>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -46,15 +70,24 @@
...
@@ -46,15 +70,24 @@
<div
class=
"dline"
>
<div
class=
"dline"
>
<div
class=
"d1"
>
<div
class=
"d1"
>
<div
class=
"di-title"
>
{{item.ClassName}}
</div>
<div
class=
"di-title"
>
{{item.ClassName}}
</div>
<div
class=
"di-c"
style=
"margin-top: 25px;"
><img
src=
"../../assets/images/administration/kezname.png"
<div
class=
"di-c"
style=
"margin-top: 25px;"
>
alt=
""
style=
"width: 14px;height: 14px;margin-right: 5px;"
>
{{item.CourseName}}
</div>
<img
src=
"../../assets/images/administration/kezname.png"
alt=
""
style=
"width: 14px;height: 14px;margin-right: 5px;"
>
{{item.CourseName}}
</div>
<div
class=
"di-c"
><img
src=
"../../assets/images/administration/period.png"
alt=
""
<div
class=
"di-c"
><img
src=
"../../assets/images/administration/period.png"
alt=
""
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"
>
<span
class=
"d2-n"
>
带课老师
</span><img
:src=
"item.TeacherHead"
<div
class=
"row"
style=
"align-items: center"
>
alt=
""
<span
class=
"d2-n"
>
带课老师
</span>
style=
"width: 26px;height: 26px;border-radius: 4px;margin-right: 5px;color: #2961FE"
>
{{item.TeacherName}}
<q-avatar
rounded
size=
"sm"
v-if=
"item.TeacherHead&&item.TeacherHead!=''"
>
<img
:src=
"item.TeacherHead"
/>
</q-avatar>
<q-avatar
v-else
rounded
size=
"sm"
color=
"teal-10"
text-color=
"white"
style=
"margin:0;padding:0;"
>
<
template
v-if=
"item.TeacherName&&item.TeacherName!=''"
>
{{
item
.
TeacherName
.
substr
(
0
,
1
)
}}
</
template
>
</q-avatar>
{{item.TeacherName}}
</div>
</div>
<div><span
class=
"d2-n"
>
上课教室
</span>
{{item.RoomName}}
</div>
<div><span
class=
"d2-n"
>
上课教室
</span>
{{item.RoomName}}
</div>
<div><span
class=
"d2-n"
>
上课时间
</span><span
<div><span
class=
"d2-n"
>
上课时间
</span><span
...
@@ -162,7 +195,7 @@
...
@@ -162,7 +195,7 @@
style=
"color:var(--q-color-negative);font-weight: bold"
>
{{item.SurplusNum}}人
</span></div>
style=
"color:var(--q-color-negative);font-weight: bold"
>
{{item.SurplusNum}}人
</span></div>
</div>
</div>
<div
class=
"d7"
>
<div
class=
"d7"
>
<q-btn
color=
"primary"
label=
"立即下单"
v-if=
"item.IsCanApply==1"
style=
"display:none;"
@
click=
"placeAnorder(item)"
/>
<q-btn
color=
"primary"
label=
"立即下单"
v-if=
"item.IsCanApply==1"
@
click=
"placeAnorder(item)"
/>
<div
v-if=
"item.IsCanApply==0"
>
<div
v-if=
"item.IsCanApply==0"
>
<img
src=
"../../assets/images/administration/bmym.png"
alt=
""
<img
src=
"../../assets/images/administration/bmym.png"
alt=
""
style=
"width: 64px;height: 62px;margin-right: 15px"
v-if=
"item.SurplusNum==0"
>
style=
"width: 64px;height: 62px;margin-right: 15px"
v-if=
"item.SurplusNum==0"
>
...
@@ -172,7 +205,8 @@
...
@@ -172,7 +205,8 @@
</div>
</div>
</div>
</div>
<div
class=
"d6 row"
>
<div
class=
"d6 row"
>
<p
style=
"color:var(--q-color-negative);font-weight: bold"
><span
style=
"color:#2D2D2D;"
>
OP备注:
</span>
{{item.OutRemark}}
</p>
<p
style=
"color:var(--q-color-negative);font-weight: bold"
><span
style=
"color:#2D2D2D;"
>
OP备注:
</span>
{{item.OutRemark}}
</p>
<div
class=
"progress"
>
<div
class=
"progress"
>
<q-linear-progress
size=
"5px"
color=
"#3FC4FF"
:value=
"(item.OrderStudentCount/item.ClassPersion)"
<q-linear-progress
size=
"5px"
color=
"#3FC4FF"
:value=
"(item.OrderStudentCount/item.ClassPersion)"
rounded
/>
rounded
/>
...
@@ -254,6 +288,8 @@
...
@@ -254,6 +288,8 @@
CouseId
:
0
,
//课程id
CouseId
:
0
,
//课程id
Teacher_Id
:
0
,
//教师id
Teacher_Id
:
0
,
//教师id
Q_CanApply
:
"0"
,
//是否可以报名 1是
Q_CanApply
:
"0"
,
//是否可以报名 1是
JoinStartTime
:
''
,
//报名截止日期开始
JoinEndTime
:
""
,
//报名截止日期结束
},
},
enrollMsg
:
{
enrollMsg
:
{
ClassId
:
0
,
ClassId
:
0
,
...
@@ -286,7 +322,9 @@
...
@@ -286,7 +322,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
();
//日
this
.
dateList
[
0
]
=
year
+
'-'
+
month
+
'-'
+
day
;
var
currentDay
=
year
+
'-'
+
month
+
'-'
+
day
;
//this.dateList[0] = currentDay;
this
.
msg
.
StartTime
=
currentDay
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
@@ -360,13 +398,14 @@
...
@@ -360,13 +398,14 @@
},
},
//获取菜单分页列表
//获取菜单分页列表
getList
()
{
getList
()
{
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
)
{
// if (this.dateList && this.dateList.length > 0) {
this
.
msg
.
StartTime
=
this
.
dateList
[
0
];
// this.msg.StartTime = this.dateList[0];
this
.
msg
.
EndTime
=
this
.
dateList
[
1
];
// this.msg.EndTime = this.dateList[1];
}
else
{
// } else {
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
...
...
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