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
9a410d7b
Commit
9a410d7b
authored
Mar 18, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
adb284fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
teacher-form.vue
src/components/school/teacher/teacher-form.vue
+6
-1
No files found.
src/components/school/teacher/teacher-form.vue
View file @
9a410d7b
...
...
@@ -32,7 +32,7 @@
ref=
"BaseHoursEnabled"
:options=
"BaseHoursList"
label=
"是否启用基础课时"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
<q-input
v-if=
'objOption.BaseHoursEnabled==1'
filled
v-model=
"objOption.EnableTime"
mask=
"####-##"
label=
"启用时间"
ref=
"EnableTime"
:rules=
"[val => !!val || '请选择启用时间']"
>
label=
"启用时间"
ref=
"EnableTime"
:rules=
"[val => !!val || '请选择启用时间']"
class=
"col-6 q-pr-lg q-pb-lg"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy"
transition-show=
"scale"
transition-hide=
"scale"
>
...
...
@@ -44,6 +44,9 @@
</q-icon>
</
template
>
</q-input>
<q-input
v-if=
'objOption.BaseHoursEnabled==1'
filled
v-model=
"objOption.BaseHoursAdd"
label=
"基础课程增加"
class=
"col-6 q-pb-lg"
>
</q-input>
</div>
<div
class=
"row wrap"
style=
"margin-top:20px;"
>
<div
class=
"col-6 q-pr-lg q-pb-lg"
>
...
...
@@ -162,6 +165,7 @@
Specialty
:
""
,
//老师擅长
BaseHoursEnabled
:
0
,
//是否启用基础课时 1是
EnableTime
:
''
,
//启用时间 (存到月)
BaseHoursAdd
:
0
,
},
BaseHoursList
:
[{
Id
:
0
,
...
...
@@ -297,6 +301,7 @@
this
.
objOption
.
Specialty
=
this
.
saveObj
.
Specialty
;
this
.
objOption
.
EnableTime
=
this
.
saveObj
.
EnableTime
;
this
.
objOption
.
BaseHoursEnabled
=
this
.
saveObj
.
BaseHoursEnabled
;
this
.
objOption
.
BaseHoursAdd
=
this
.
saveObj
.
BaseHoursAdd
;
if
(
this
.
saveObj
.
ChooseSpecialty
&&
this
.
saveObj
.
ChooseSpecialty
.
length
>
0
)
{
this
.
chooseSpecialty
=
this
.
saveObj
.
ChooseSpecialty
;
}
...
...
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