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
fba47e98
Commit
fba47e98
authored
Dec 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
57158400
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
teacher-form.vue
src/components/school/teacher/teacher-form.vue
+11
-1
teacher.vue
src/pages/school/teacher.vue
+9
-4
No files found.
src/components/school/teacher/teacher-form.vue
View file @
fba47e98
...
...
@@ -47,6 +47,10 @@
v-model=
"objOption.IsRecommend"
/>
<div
class=
"text-grey-6 text-caption"
>
注意:推荐后教师将在营销端呈现
</div>
</div>
<div
class=
"col-6 q-pb-lg q-pt-lg"
>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.BaseStuNum"
ref=
"BaseStuNum"
class=
"col-6 q-pb-lg"
label=
"带班基础人数"
/>
</div>
<div
class=
"col-12 q-pb-lg"
>
<q-field
filled
label=
"教师标签"
bg-color=
"white"
stack-label
>
<template
v-slot:control
>
...
...
@@ -122,6 +126,7 @@
TeachTag
:
""
,
Dept_Id
:
0
,
//部门编号
Post_Id
:
0
,
//岗位编号
BaseStuNum
:
0
,
//带班基础人数
},
optionTitle
:
""
,
schoolList
:
[],
...
...
@@ -223,6 +228,7 @@
this
.
objOption
.
TeachTag
=
this
.
saveObj
.
TeachTag
;
this
.
objOption
.
Dept_Id
=
this
.
saveObj
.
Dept_Id
;
this
.
objOption
.
Post_Id
=
this
.
saveObj
.
Post_Id
;
this
.
objOption
.
BaseStuNum
=
this
.
saveObj
.
BaseStuNum
;
if
(
this
.
objOption
.
School_Id
)
{
this
.
queryDeptTree
();
}
...
...
@@ -275,7 +281,11 @@
}
},
saveTeacher
()
{
this
.
saveLoading
=
true
this
.
saveLoading
=
true
;
if
(
this
.
objOption
.
Dept_Id
&&
this
.
objOption
.
Dept_Id
==
""
)
{
this
.
objOption
.
Dept_Id
=
0
;
}
this
.
$refs
.
School_Id
.
validate
()
this
.
$refs
.
TeacherName
.
validate
()
this
.
$refs
.
TeacherTel
.
validate
()
...
...
src/pages/school/teacher.vue
View file @
fba47e98
...
...
@@ -22,8 +22,8 @@
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
教师信息
</div>
<q-space
/>
...
...
@@ -128,8 +128,7 @@
data
()
{
return
{
currentUrl
:
""
,
columns
:
[
{
columns
:
[{
name
:
'TeacherName'
,
required
:
true
,
label
:
'教师名称'
,
...
...
@@ -166,6 +165,12 @@
field
:
'PostName'
,
align
:
'left'
,
},
{
name
:
'BaseStuNum'
,
label
:
'带班基础人数'
,
field
:
'BaseStuNum'
,
align
:
'left'
,
},
{
name
:
'AuditStatus'
,
label
:
'审核状态'
,
...
...
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