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
617b42f2
Commit
617b42f2
authored
Jul 14, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
22010092
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
3 deletions
+42
-3
changeClassForm.vue
src/components/teacher/changeClassForm.vue
+42
-3
No files found.
src/components/teacher/changeClassForm.vue
View file @
617b42f2
...
...
@@ -310,7 +310,7 @@
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6 col"
>
目标教室
</div>
<div
class=
"row"
>
<q-select
filled
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"msg.ClassRoomId"
:options=
"roomList"
emit-value
map-options
label=
"教室"
class=
"col-6"
>
:options=
"roomList"
emit-value
map-options
label=
"教室"
class=
"col-6
q-pr-lg
"
>
<
template
v-slot:option=
"{ itemProps, itemEvents, opt, selected, toggleOption }"
>
<q-item
v-bind=
"itemProps"
v-on=
"itemEvents"
>
<q-item-section>
...
...
@@ -322,18 +322,47 @@
</q-item>
</
template
>
</q-select>
<q-input
v-if=
"msg.MoveType=='2'"
filled
v-model=
"msg.TakeEffectTime"
class=
"col-6"
mask=
"date"
label=
"生效时间"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.TakeEffectTime"
:options=
"optionsFn"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
</div>
<div
v-if=
"msg.ChangeType==2"
>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6 col"
>
目标老师
</div>
<div
class=
"row"
>
<q-select
filled
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"msg.TeacherId"
:options=
"TeacherList"
emit-value
map-options
label=
"老师"
class=
"col-6"
>
:options=
"TeacherList"
emit-value
map-options
label=
"老师"
class=
"col-6
q-pr-lg
"
>
</q-select>
<q-input
filled
v-if=
"msg.MoveType=='2'"
v-model=
"msg.TakeEffectTime"
class=
"col-6"
mask=
"date"
label=
"生效时间"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.TakeEffectTime"
:options=
"optionsFn"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
</div>
<div
v-if=
"msg.ChangeType==4&&msg.MoveType=='2'"
class=
"row"
>
<q-input
filled
v-model=
"msg.TakeEffectTime"
class=
"col-6"
mask=
"date"
label=
"生效时间"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"msg.TakeEffectTime"
:options=
"optionsFn"
@
input=
"() => $refs.qDateProxy1.hide()"
/>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
</div>
<q-input
filled
type=
"textarea"
:rows=
"3"
style=
"margin-top:20px;"
stack-label
maxlength=
"2000"
v-model=
"msg.Remarks"
:dense=
"false"
class=
"col-12 q-p
r-lg q-p
b-lg"
label=
"备注"
/>
class=
"col-12 q-pb-lg"
label=
"备注"
/>
</q-scroll-area>
</q-card-section>
...
...
@@ -409,6 +438,7 @@
ClassRoomId
:
0
,
DefaultTimeList
:
[]
},
TakeEffectTime
:
''
,
//生效日期
Remarks
:
''
//备注
},
selected
:
[],
...
...
@@ -614,6 +644,15 @@
this
.
$emit
(
'close'
)
this
.
persistent
=
false
},
optionsFn
(
date
)
{
var
myDate
=
new
Date
();
let
month
=
myDate
.
getMonth
()
+
1
;
if
(
month
<
10
){
month
=
'0'
+
month
}
var
toDay
=
myDate
.
getFullYear
()
+
'/'
+
month
+
'/'
+
myDate
.
getDate
()
return
date
>=
toDay
},
//保存修改
save
()
{
//变更类型课程时间 变更范围单个或多个
...
...
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