教师月绩效考核-根据月份和教师自动获取一日流程得分
This commit is contained in:
parent
723e7e454e
commit
70d5ec51b8
@ -100,6 +100,7 @@
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="teacherassessmentList"
|
||||
border
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
@ -109,12 +110,13 @@
|
||||
align="center"
|
||||
prop="classid"
|
||||
:formatter="classFormat"
|
||||
fixed
|
||||
/>
|
||||
<el-table-column
|
||||
label="教师"
|
||||
align="center"
|
||||
prop="sysUser.nickName"
|
||||
|
||||
fixed
|
||||
/>
|
||||
<el-table-column label="考核月份" align="center" prop="month" />
|
||||
<el-table-column label="一日流程" align="center" prop="yrlcbl" />
|
||||
@ -125,8 +127,9 @@
|
||||
<el-table-column label="总分" align="center" prop="zfbl" />
|
||||
<el-table-column
|
||||
label="操作"
|
||||
fixed="right"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
class-name="small-padding fixed-width edit-btns"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
@ -523,3 +526,20 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.el-select {
|
||||
width: 100%;
|
||||
}
|
||||
.my-date-picker {
|
||||
width: 100%;
|
||||
}
|
||||
.edit-btns {
|
||||
.el-button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
.no-margin ::v-deep.el-form-item__content {
|
||||
margin: 0 !important;
|
||||
}
|
||||
</style>
|
@ -3,6 +3,7 @@ package com.ruoyi.project.benyi.service.impl;
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.project.benyi.mapper.ByTeacherassessmentMapper;
|
||||
@ -38,6 +39,7 @@ public class ByTeacherassessmentServiceImpl implements IByTeacherassessmentServi
|
||||
* @return 教师月绩效考核
|
||||
*/
|
||||
@Override
|
||||
@DataScope(deptAlias = "a")
|
||||
public List<ByTeacherassessment> selectByTeacherassessmentList(ByTeacherassessment byTeacherassessment) {
|
||||
return byTeacherassessmentMapper.selectByTeacherassessmentList(byTeacherassessment);
|
||||
}
|
||||
|
@ -46,6 +46,8 @@
|
||||
<if test="wsbl != null ">and a.wsbl = #{wsbl}</if>
|
||||
<if test="zfbl != null ">and a.zfbl = #{zfbl}</if>
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${dataScope}
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user