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
1b4660ff
Commit
1b4660ff
authored
Dec 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础设置修改
parent
84bc78fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
38 deletions
+81
-38
employee_finace.vue
src/components/school/manager/employee_finace.vue
+2
-2
teacher-form.vue
src/components/school/teacher/teacher-form.vue
+30
-3
teacher.vue
src/pages/school/teacher.vue
+49
-33
No files found.
src/components/school/manager/employee_finace.vue
View file @
1b4660ff
<
template
>
<div
class=
"EmployeeFinace"
style=
"margin:0 20px;"
>
<q-btn-toggle
style=
"width:50%;margin:0 auto;"
v-model=
"msg.Conditon"
spread
no-caps
toggle-color=
"primary"
color=
"
white
"
text-color=
"black"
class=
"my-custom-toggle"
:options=
"[
color=
"
#2961FE
"
text-color=
"black"
class=
"my-custom-toggle"
:options=
"[
{label: '交接人发起的', value: 1},
{label: '待交接人审批的', value: 2}
]" @input="queryChange" />
...
...
@@ -173,7 +173,7 @@
</
script
>
<
style
scoped
>
.EmployeeFinace
.my-custom-toggle
{
border
:
1px
solid
#
027be3
border
:
1px
solid
#
2961FE
}
</
style
>
src/components/school/teacher/teacher-form.vue
View file @
1b4660ff
...
...
@@ -22,7 +22,7 @@
<q-select
filled
stack-label
option-value=
"PostId"
option-label=
"PostName"
v-model=
"objOption.Post_Id"
ref=
"Post_Id"
:options=
"PostList"
label=
"岗位"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseStuNum"
ref=
"BaseStuNum"
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseStuNum"
ref=
"BaseStuNum"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"带班基础人数"
/>
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.BaseHourFee"
ref=
"BaseHourFee"
class=
"col-6 q-pb-lg"
label=
"基础课时费"
/>
...
...
@@ -99,6 +99,9 @@
import
{
queryDeptPostList
}
from
'../../../api/system/post'
import
{
GetClassConfig
,
//课程基础配置
}
from
'../../../api/system/index'
;
import
extEditor
from
'../../common/ext-editor'
import
selectTree
from
'../../common/select-tree'
export
default
{
...
...
@@ -142,15 +145,25 @@
DeptList
:
[],
//部门列表
PostList
:
[],
//岗位列表
returnString
:
[],
//默认岗位
bacisClassConfig
:
{},
//班级基础配置
}
},
created
()
{
this
.
queryClassConfig
();
this
.
getSchool
()
},
mounted
()
{
this
.
initObj
()
},
methods
:
{
//获取课程基础配置
queryClassConfig
()
{
GetClassConfig
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
bacisClassConfig
=
res
.
Data
;
}
});
},
//学校改变
schoolChagne
()
{
this
.
objOption
.
Dept_Id
=
0
;
...
...
@@ -246,7 +259,8 @@
this
.
tags
=
JSON
.
parse
(
this
.
objOption
.
TeachTag
)
}
}
else
{
this
.
optionTitle
=
"新增教师"
this
.
optionTitle
=
"新增教师"
;
}
},
removeTag
(
i
)
{
...
...
@@ -334,7 +348,20 @@
}
},
},
watch
:
{},
watch
:
{
bacisClassConfig
:
function
(
val
)
{
if
(
this
.
objOption
.
TId
==
0
)
{
if
(
this
.
bacisClassConfig
)
{
if
(
this
.
bacisClassConfig
.
BasicClassNum
)
{
this
.
objOption
.
BaseStuNum
=
this
.
bacisClassConfig
.
BasicClassNum
;
}
if
(
this
.
bacisClassConfig
.
BasicHourFee
)
{
this
.
objOption
.
BaseHourFee
=
this
.
bacisClassConfig
.
BasicHourFee
;
}
}
}
}
},
}
</
script
>
...
...
src/pages/school/teacher.vue
View file @
1b4660ff
...
...
@@ -14,10 +14,10 @@
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.IsShow"
:options=
"ShowOpts"
emit-value
map-options
label=
"显示状态"
/>
</div>
<div
class=
"col-3"
>
<
!--
<
div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
v-model=
"msg.AuditStatus"
:options=
"AuditOpts"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
-->
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -83,17 +83,33 @@
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<div
style=
"min-width:190px;width:100%"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"addObj(props.row)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-list>
<q-item
clickable
v-close-popup
@
click=
"resetPw(props.row.TId)"
>
<q-item-section>
<q-item-label>
重置密码
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"deleteUser(props.row.TId)"
>
<q-item-section>
<q-item-label>
删除
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"goEAccountId(props.row.EmAccountId)"
v-if=
"props.row.EmAccountId>0"
>
<q-item-section>
<q-item-label>
账户
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<div
style=
"display:none"
>
<q-btn
v-if=
"props.row.AuditStatus==1"
flat
size=
"xs"
icon=
"iconfont icon-shenhe"
color=
"info"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"审核"
@
click=
"showExamine(props.row)"
/>
<q-btn
v-if=
"props.row.AuditStatus==2"
flat
size=
"xs"
icon=
"iconfont icon-ziyuan"
color=
"warning"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"重置密码"
@
click=
"resetPw(props.row.TId)"
/>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-shanchu"
color=
"negative"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"删除"
@
click=
"deleteUser(props.row.TId)"
/>
<q-btn
v-if=
"props.row.AuditStatus==3"
flat
size=
"xs"
icon=
"iconfont icon-ziyuan"
color=
"negative"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"重新申请"
@
click=
"reApplyTeacher(props.row.TId)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"addObj(props.row)"
/>
</div>
</q-td>
</
template
>
...
...
@@ -141,12 +157,12 @@
field
:
'TeacherTel'
,
align
:
'left'
},
{
name
:
'TeachTag'
,
label
:
'标签'
,
field
:
'TeachTag'
,
align
:
'left'
},
//
{
//
name: 'TeachTag',
//
label: '标签',
//
field: 'TeachTag',
//
align: 'left'
//
},
{
name
:
'SName'
,
label
:
'所属校区'
,
...
...
@@ -171,12 +187,12 @@
field
:
'BaseStuNum'
,
align
:
'left'
,
},
{
name
:
'AuditStatus'
,
label
:
'审核状态'
,
align
:
'left'
,
field
:
'AuditStatus'
},
//
{
//
name: 'AuditStatus',
//
label: '审核状态',
//
align: 'left',
//
field: 'AuditStatus'
//
},
{
name
:
'IsShow'
,
label
:
'是否显示'
,
...
...
@@ -195,18 +211,18 @@
align
:
'left'
,
field
:
'CourseCount'
},
{
name
:
'OnlineClassCount'
,
label
:
'网课产品'
,
align
:
'left'
,
field
:
'OnlineClassCount'
},
{
name
:
'OnlineOrderCount'
,
label
:
'网课订单'
,
align
:
'left'
,
field
:
'OnlineOrderCount'
},
//
{
//
name: 'OnlineClassCount',
//
label: '网课产品',
//
align: 'left',
//
field: 'OnlineClassCount'
//
},
//
{
//
name: 'OnlineOrderCount',
//
label: '网课订单',
//
align: 'left',
//
field: 'OnlineOrderCount'
//
},
{
name
:
'CreateTimeStr'
,
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