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 @@
...
@@ -47,6 +47,10 @@
v-model=
"objOption.IsRecommend"
/>
v-model=
"objOption.IsRecommend"
/>
<div
class=
"text-grey-6 text-caption"
>
注意:推荐后教师将在营销端呈现
</div>
<div
class=
"text-grey-6 text-caption"
>
注意:推荐后教师将在营销端呈现
</div>
</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"
>
<div
class=
"col-12 q-pb-lg"
>
<q-field
filled
label=
"教师标签"
bg-color=
"white"
stack-label
>
<q-field
filled
label=
"教师标签"
bg-color=
"white"
stack-label
>
<template
v-slot:control
>
<template
v-slot:control
>
...
@@ -122,6 +126,7 @@
...
@@ -122,6 +126,7 @@
TeachTag
:
""
,
TeachTag
:
""
,
Dept_Id
:
0
,
//部门编号
Dept_Id
:
0
,
//部门编号
Post_Id
:
0
,
//岗位编号
Post_Id
:
0
,
//岗位编号
BaseStuNum
:
0
,
//带班基础人数
},
},
optionTitle
:
""
,
optionTitle
:
""
,
schoolList
:
[],
schoolList
:
[],
...
@@ -223,6 +228,7 @@
...
@@ -223,6 +228,7 @@
this
.
objOption
.
TeachTag
=
this
.
saveObj
.
TeachTag
;
this
.
objOption
.
TeachTag
=
this
.
saveObj
.
TeachTag
;
this
.
objOption
.
Dept_Id
=
this
.
saveObj
.
Dept_Id
;
this
.
objOption
.
Dept_Id
=
this
.
saveObj
.
Dept_Id
;
this
.
objOption
.
Post_Id
=
this
.
saveObj
.
Post_Id
;
this
.
objOption
.
Post_Id
=
this
.
saveObj
.
Post_Id
;
this
.
objOption
.
BaseStuNum
=
this
.
saveObj
.
BaseStuNum
;
if
(
this
.
objOption
.
School_Id
)
{
if
(
this
.
objOption
.
School_Id
)
{
this
.
queryDeptTree
();
this
.
queryDeptTree
();
}
}
...
@@ -275,7 +281,11 @@
...
@@ -275,7 +281,11 @@
}
}
},
},
saveTeacher
()
{
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
.
School_Id
.
validate
()
this
.
$refs
.
TeacherName
.
validate
()
this
.
$refs
.
TeacherName
.
validate
()
this
.
$refs
.
TeacherTel
.
validate
()
this
.
$refs
.
TeacherTel
.
validate
()
...
...
src/pages/school/teacher.vue
View file @
fba47e98
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
:data=
"data"
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
:columns=
"columns"
row-key=
"name"
>
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
教师信息
</div>
<div
class=
"col-2 q-table__title"
>
教师信息
</div>
<q-space
/>
<q-space
/>
...
@@ -128,8 +128,7 @@
...
@@ -128,8 +128,7 @@
data
()
{
data
()
{
return
{
return
{
currentUrl
:
""
,
currentUrl
:
""
,
columns
:
[
columns
:
[{
{
name
:
'TeacherName'
,
name
:
'TeacherName'
,
required
:
true
,
required
:
true
,
label
:
'教师名称'
,
label
:
'教师名称'
,
...
@@ -166,6 +165,12 @@
...
@@ -166,6 +165,12 @@
field
:
'PostName'
,
field
:
'PostName'
,
align
:
'left'
,
align
:
'left'
,
},
},
{
name
:
'BaseStuNum'
,
label
:
'带班基础人数'
,
field
:
'BaseStuNum'
,
align
:
'left'
,
},
{
{
name
:
'AuditStatus'
,
name
:
'AuditStatus'
,
label
:
'审核状态'
,
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