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
8e4260ce
Commit
8e4260ce
authored
Jun 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bdd2b8a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
39 deletions
+20
-39
audition-form.vue
src/components/schedul/audition-form.vue
+19
-38
visitorRegistrat.vue
src/pages/sale/visitorRegistrat.vue
+1
-1
No files found.
src/components/schedul/audition-form.vue
View file @
8e4260ce
...
...
@@ -6,37 +6,20 @@
</q-card-section>
<q-card-section>
<div
class=
"row wrap"
>
<div
class=
"col-6 q-pb-lg q-pr-lg auditionformdate"
>
<q-field
borderless
>
<template
v-slot:prepend
>
<q-input
filled
v-model=
"msg.StartClassDate"
mask=
"date"
label=
"开始日期"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"StartClassDate"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.StartClassDate"
@
input=
"() => $refs.StartClassDate.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</template>
<
template
v-slot:append
>
至
</
template
>
<
template
v-slot:append
>
<q-input
filled
v-model=
"msg.EndClassDate"
mask=
"date"
label=
"结束日期"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"EndClassDate"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.EndClassDate"
@
input=
"() => $refs.EndClassDate.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-field
filled
>
<template
v-slot:control
>
<el-date-picker
v-model=
"msg.StartClassDate"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"开始时间"
size=
"small"
style=
"width:47%;"
@
change=
"resetSearch"
clear-icon=
"iconfont icon-guanbi"
>
</el-date-picker>
至
<el-date-picker
v-model=
"msg.EndClassDate"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"结束时间"
size=
"small"
style=
"width:47%;"
@
change=
"resetSearch"
clear-icon=
"iconfont icon-guanbi"
>
</el-date-picker>
</
template
>
</q-field>
</div>
<div
class=
"col-6 q-pr-lg q-pb-lg"
>
<q-select
@
input=
"resetSearch"
filled
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"msg.TeacherId"
<q-select
@
input=
"resetSearch"
filled
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"msg.TeacherId"
:options=
"TeacherList"
emit-value
map-options
label=
"老师"
clearable
/>
</div>
</div>
...
...
@@ -68,7 +51,7 @@
</q-card-section>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"
关闭
"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"closeSaveForm"
/>
<q-btn
label=
"
取消
"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"closeSaveForm"
/>
</q-card-actions>
</q-card>
</q-dialog>
...
...
@@ -89,8 +72,8 @@
loading
:
false
,
msg
:
{
pageIndex
:
1
,
pageSize
:
6
,
rowsPerPage
:
6
,
pageSize
:
10
,
rowsPerPage
:
10
,
StartClassDate
:
""
,
//开始时间
EndClassDate
:
""
,
//结束时间
TeacherId
:
""
,
//教师编号
...
...
@@ -147,12 +130,8 @@
this
.
GetTeacherList
();
},
mounted
()
{
let
nowDay
=
new
Date
();
var
year
=
nowDay
.
getFullYear
();
//年
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
var
day
=
nowDay
.
getDate
();
//日
var
currentDay
=
year
+
'-'
+
(
month
<
10
?
(
'0'
+
month
)
:
month
)
+
'-'
+
day
;
this
.
msg
.
StartClassDate
=
currentDay
;
var
day
=
new
Date
();
this
.
msg
.
StartClassDate
=
day
.
getFullYear
()
+
"-"
+
(
day
.
getMonth
()
+
1
)
+
"-"
+
day
.
getDate
();
this
.
getList
();
},
methods
:
{
...
...
@@ -204,10 +183,12 @@
}
</
script
>
<
style
>
.auditionformdate
.el-input__inner
{
<
style
>
.Sysuser_Date
.el-input__inner
{
background
:
transparent
!important
;
border
:
0
!important
;
}
</
style
>
</style>
src/pages/sale/visitorRegistrat.vue
View file @
8e4260ce
...
...
@@ -43,7 +43,7 @@
<q-btn
flat
size=
"xs"
@
click=
"getDetail(props.row)"
icon=
"iconfont icon-View"
color=
"accent"
style=
"font-weight:400"
label=
"详情"
/>
<q-btn
flat
size=
"xs"
@
click=
"getAppointment(props.row)"
icon=
"iconfont icon-ziyuan1"
color=
"accent"
style=
"font-weight:400;
display:none;
"
label=
"申请约课"
/>
style=
"font-weight:400;
"
label=
"申请约课"
/>
</q-td>
</
template
>
...
...
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