This commit is contained in:
Tony 2023-12-18 14:40:04 +08:00
commit 7cb246d24e
24 changed files with 2833 additions and 0 deletions

View File

@ -0,0 +1,104 @@
package com.god.web.controller.etmEquipmentPerformance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement;
import com.god.etmEquipmentPerformance.service.IPzhmyAssessmentObjectiveManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 考核目标管理Controller
*
* @author liweijie
* @date 2023-12-18
*/
@RestController
@RequestMapping("/pzhmyAssessment/objectiveManagement")
public class PzhmyAssessmentObjectiveManagementController extends BaseController
{
@Autowired
private IPzhmyAssessmentObjectiveManagementService pzhmyAssessmentObjectiveManagementService;
/**
* 查询考核目标管理列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:list')")
@GetMapping("/list")
public TableDataInfo list(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
startPage();
List<PzhmyAssessmentObjectiveManagement> list = pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement);
return getDataTable(list);
}
/**
* 导出考核目标管理列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:export')")
@Log(title = "考核目标管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
List<PzhmyAssessmentObjectiveManagement> list = pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement);
ExcelUtil<PzhmyAssessmentObjectiveManagement> util = new ExcelUtil<PzhmyAssessmentObjectiveManagement>(PzhmyAssessmentObjectiveManagement.class);
util.exportExcel(response, list, "考核目标管理数据");
}
/**
* 获取考核目标管理详细信息
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return success(pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementById(id));
}
/**
* 新增考核目标管理
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:add')")
@Log(title = "考核目标管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
return toAjax(pzhmyAssessmentObjectiveManagementService.insertPzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement));
}
/**
* 修改考核目标管理
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:edit')")
@Log(title = "考核目标管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
return toAjax(pzhmyAssessmentObjectiveManagementService.updatePzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement));
}
/**
* 删除考核目标管理
*/
@PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:remove')")
@Log(title = "考核目标管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(pzhmyAssessmentObjectiveManagementService.deletePzhmyAssessmentObjectiveManagementByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.god.web.controller.etmEquipmentPerformance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex;
import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationIndexService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 绩效评估指标Controller
*
* @author liweijie
* @date 2023-12-18
*/
@RestController
@RequestMapping("/pzhmyPerformance/EvaluationIndex")
public class PzhmyPerformanceEvaluationIndexController extends BaseController
{
@Autowired
private IPzhmyPerformanceEvaluationIndexService pzhmyPerformanceEvaluationIndexService;
/**
* 查询绩效评估指标列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:list')")
@GetMapping("/list")
public TableDataInfo list(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
startPage();
List<PzhmyPerformanceEvaluationIndex> list = pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex);
return getDataTable(list);
}
/**
* 导出绩效评估指标列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:export')")
@Log(title = "绩效评估指标", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
List<PzhmyPerformanceEvaluationIndex> list = pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex);
ExcelUtil<PzhmyPerformanceEvaluationIndex> util = new ExcelUtil<PzhmyPerformanceEvaluationIndex>(PzhmyPerformanceEvaluationIndex.class);
util.exportExcel(response, list, "绩效评估指标数据");
}
/**
* 获取绩效评估指标详细信息
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return success(pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexById(id));
}
/**
* 新增绩效评估指标
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:add')")
@Log(title = "绩效评估指标", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
return toAjax(pzhmyPerformanceEvaluationIndexService.insertPzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex));
}
/**
* 修改绩效评估指标
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:edit')")
@Log(title = "绩效评估指标", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
return toAjax(pzhmyPerformanceEvaluationIndexService.updatePzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex));
}
/**
* 删除绩效评估指标
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:remove')")
@Log(title = "绩效评估指标", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(pzhmyPerformanceEvaluationIndexService.deletePzhmyPerformanceEvaluationIndexByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.god.web.controller.etmEquipmentPerformance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult;
import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationResultService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 绩效评估结果Controller
*
* @author liweijie
* @date 2023-12-18
*/
@RestController
@RequestMapping("/pzhmyPerformance/evaluationResult")
public class PzhmyPerformanceEvaluationResultController extends BaseController
{
@Autowired
private IPzhmyPerformanceEvaluationResultService pzhmyPerformanceEvaluationResultService;
/**
* 查询绩效评估结果列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:list')")
@GetMapping("/list")
public TableDataInfo list(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
startPage();
List<PzhmyPerformanceEvaluationResult> list = pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult);
return getDataTable(list);
}
/**
* 导出绩效评估结果列表
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:export')")
@Log(title = "绩效评估结果", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
List<PzhmyPerformanceEvaluationResult> list = pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult);
ExcelUtil<PzhmyPerformanceEvaluationResult> util = new ExcelUtil<PzhmyPerformanceEvaluationResult>(PzhmyPerformanceEvaluationResult.class);
util.exportExcel(response, list, "绩效评估结果数据");
}
/**
* 获取绩效评估结果详细信息
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return success(pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultById(id));
}
/**
* 新增绩效评估结果
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:add')")
@Log(title = "绩效评估结果", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
return toAjax(pzhmyPerformanceEvaluationResultService.insertPzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult));
}
/**
* 修改绩效评估结果
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:edit')")
@Log(title = "绩效评估结果", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
return toAjax(pzhmyPerformanceEvaluationResultService.updatePzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult));
}
/**
* 删除绩效评估结果
*/
@PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:remove')")
@Log(title = "绩效评估结果", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(pzhmyPerformanceEvaluationResultService.deletePzhmyPerformanceEvaluationResultByIds(ids));
}
}

View File

@ -0,0 +1,150 @@
package com.god.etmEquipmentPerformance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.god.common.annotation.Excel;
import com.god.common.core.domain.BaseEntity;
/**
* 考核目标管理对象 pzhmy_assessment_objective_management
*
* @author liweijie
* @date 2023-12-18
*/
public class PzhmyAssessmentObjectiveManagement extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private String id;
/** 考核编号 */
@Excel(name = "考核编号")
private String examinationNumber;
/** 考核任务名称 */
@Excel(name = "考核任务名称")
private String assessmentTaskName;
/** 考核时间 */
@Excel(name = "考核时间")
private String assessmentTime;
/** 考核数据 */
@Excel(name = "考核数据")
private String assessmentData;
/** 后续考核计划 */
@Excel(name = "后续考核计划")
private String followUpAssessmentPlan;
/** 考核目标 */
@Excel(name = "考核目标")
private String assessmentObjective;
/** 本次不足分析 */
@Excel(name = "本次不足分析")
private String thisDeficiencyAnalysis;
/** 完善措施 */
@Excel(name = "完善措施")
private String perfectMeasure;
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setExaminationNumber(String examinationNumber)
{
this.examinationNumber = examinationNumber;
}
public String getExaminationNumber()
{
return examinationNumber;
}
public void setAssessmentTaskName(String assessmentTaskName)
{
this.assessmentTaskName = assessmentTaskName;
}
public String getAssessmentTaskName()
{
return assessmentTaskName;
}
public void setAssessmentTime(String assessmentTime)
{
this.assessmentTime = assessmentTime;
}
public String getAssessmentTime()
{
return assessmentTime;
}
public void setAssessmentData(String assessmentData)
{
this.assessmentData = assessmentData;
}
public String getAssessmentData()
{
return assessmentData;
}
public void setFollowUpAssessmentPlan(String followUpAssessmentPlan)
{
this.followUpAssessmentPlan = followUpAssessmentPlan;
}
public String getFollowUpAssessmentPlan()
{
return followUpAssessmentPlan;
}
public void setAssessmentObjective(String assessmentObjective)
{
this.assessmentObjective = assessmentObjective;
}
public String getAssessmentObjective()
{
return assessmentObjective;
}
public void setThisDeficiencyAnalysis(String thisDeficiencyAnalysis)
{
this.thisDeficiencyAnalysis = thisDeficiencyAnalysis;
}
public String getThisDeficiencyAnalysis()
{
return thisDeficiencyAnalysis;
}
public void setPerfectMeasure(String perfectMeasure)
{
this.perfectMeasure = perfectMeasure;
}
public String getPerfectMeasure()
{
return perfectMeasure;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("examinationNumber", getExaminationNumber())
.append("assessmentTaskName", getAssessmentTaskName())
.append("assessmentTime", getAssessmentTime())
.append("assessmentData", getAssessmentData())
.append("followUpAssessmentPlan", getFollowUpAssessmentPlan())
.append("assessmentObjective", getAssessmentObjective())
.append("thisDeficiencyAnalysis", getThisDeficiencyAnalysis())
.append("perfectMeasure", getPerfectMeasure())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,136 @@
package com.god.etmEquipmentPerformance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.god.common.annotation.Excel;
import com.god.common.core.domain.BaseEntity;
/**
* 绩效评估指标对象 pzhmy_performance_evaluation_index
*
* @author liweijie
* @date 2023-12-18
*/
public class PzhmyPerformanceEvaluationIndex extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private String id;
/** 考核唯一id */
@Excel(name = "考核唯一id")
private String assessUniqueId;
/** 考核名称 */
@Excel(name = "考核名称")
private String assessmentName;
/** 考核指标 */
@Excel(name = "考核指标")
private String assessmentIndex;
/** 工作目标 */
@Excel(name = "工作目标")
private String workObjective;
/** 填写时间 */
@Excel(name = "填写时间")
private String fillingTime;
/** 审核状态 */
@Excel(name = "审核状态")
private String auditStatus;
/** 审核人 */
@Excel(name = "审核人")
private String auditor;
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setAssessUniqueId(String assessUniqueId)
{
this.assessUniqueId = assessUniqueId;
}
public String getAssessUniqueId()
{
return assessUniqueId;
}
public void setAssessmentName(String assessmentName)
{
this.assessmentName = assessmentName;
}
public String getAssessmentName()
{
return assessmentName;
}
public void setAssessmentIndex(String assessmentIndex)
{
this.assessmentIndex = assessmentIndex;
}
public String getAssessmentIndex()
{
return assessmentIndex;
}
public void setWorkObjective(String workObjective)
{
this.workObjective = workObjective;
}
public String getWorkObjective()
{
return workObjective;
}
public void setFillingTime(String fillingTime)
{
this.fillingTime = fillingTime;
}
public String getFillingTime()
{
return fillingTime;
}
public void setAuditStatus(String auditStatus)
{
this.auditStatus = auditStatus;
}
public String getAuditStatus()
{
return auditStatus;
}
public void setAuditor(String auditor)
{
this.auditor = auditor;
}
public String getAuditor()
{
return auditor;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("assessUniqueId", getAssessUniqueId())
.append("assessmentName", getAssessmentName())
.append("assessmentIndex", getAssessmentIndex())
.append("workObjective", getWorkObjective())
.append("fillingTime", getFillingTime())
.append("auditStatus", getAuditStatus())
.append("auditor", getAuditor())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,150 @@
package com.god.etmEquipmentPerformance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.god.common.annotation.Excel;
import com.god.common.core.domain.BaseEntity;
/**
* 绩效评估结果对象 pzhmy_performance_evaluation_result
*
* @author liweijie
* @date 2023-12-18
*/
public class PzhmyPerformanceEvaluationResult extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private String id;
/** 员工姓名 */
@Excel(name = "员工姓名")
private String employeeName;
/** 绩效计算规则 */
@Excel(name = "绩效计算规则")
private String performanceCalculationRules;
/** 员工绩效考核表 */
@Excel(name = "员工绩效考核表")
private String employeePerformanceAppraisalForm;
/** 部门绩效考核表 */
@Excel(name = "部门绩效考核表")
private String departmentPerformanceReviewForm;
/** 员工绩效考核等级表 */
@Excel(name = "员工绩效考核等级表")
private String employeePerformanceAppraisalScale;
/** 各种考核方式的绩效得分 */
@Excel(name = "各种考核方式的绩效得分")
private String performanceScoresForVariousAssessmentMethods;
/** 历史考核数据 */
@Excel(name = "历史考核数据")
private String historicalAssessmentData;
/** 员工历次绩效考核结果表 */
@Excel(name = "员工历次绩效考核结果表")
private String employeePerformanceAppraisalResults;
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setEmployeeName(String employeeName)
{
this.employeeName = employeeName;
}
public String getEmployeeName()
{
return employeeName;
}
public void setPerformanceCalculationRules(String performanceCalculationRules)
{
this.performanceCalculationRules = performanceCalculationRules;
}
public String getPerformanceCalculationRules()
{
return performanceCalculationRules;
}
public void setEmployeePerformanceAppraisalForm(String employeePerformanceAppraisalForm)
{
this.employeePerformanceAppraisalForm = employeePerformanceAppraisalForm;
}
public String getEmployeePerformanceAppraisalForm()
{
return employeePerformanceAppraisalForm;
}
public void setDepartmentPerformanceReviewForm(String departmentPerformanceReviewForm)
{
this.departmentPerformanceReviewForm = departmentPerformanceReviewForm;
}
public String getDepartmentPerformanceReviewForm()
{
return departmentPerformanceReviewForm;
}
public void setEmployeePerformanceAppraisalScale(String employeePerformanceAppraisalScale)
{
this.employeePerformanceAppraisalScale = employeePerformanceAppraisalScale;
}
public String getEmployeePerformanceAppraisalScale()
{
return employeePerformanceAppraisalScale;
}
public void setPerformanceScoresForVariousAssessmentMethods(String performanceScoresForVariousAssessmentMethods)
{
this.performanceScoresForVariousAssessmentMethods = performanceScoresForVariousAssessmentMethods;
}
public String getPerformanceScoresForVariousAssessmentMethods()
{
return performanceScoresForVariousAssessmentMethods;
}
public void setHistoricalAssessmentData(String historicalAssessmentData)
{
this.historicalAssessmentData = historicalAssessmentData;
}
public String getHistoricalAssessmentData()
{
return historicalAssessmentData;
}
public void setEmployeePerformanceAppraisalResults(String employeePerformanceAppraisalResults)
{
this.employeePerformanceAppraisalResults = employeePerformanceAppraisalResults;
}
public String getEmployeePerformanceAppraisalResults()
{
return employeePerformanceAppraisalResults;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("employeeName", getEmployeeName())
.append("performanceCalculationRules", getPerformanceCalculationRules())
.append("employeePerformanceAppraisalForm", getEmployeePerformanceAppraisalForm())
.append("departmentPerformanceReviewForm", getDepartmentPerformanceReviewForm())
.append("employeePerformanceAppraisalScale", getEmployeePerformanceAppraisalScale())
.append("performanceScoresForVariousAssessmentMethods", getPerformanceScoresForVariousAssessmentMethods())
.append("historicalAssessmentData", getHistoricalAssessmentData())
.append("employeePerformanceAppraisalResults", getEmployeePerformanceAppraisalResults())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.mapper;
import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement;
import java.util.List;
/**
* 考核目标管理Mapper接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface PzhmyAssessmentObjectiveManagementMapper
{
/**
* 查询考核目标管理
*
* @param id 考核目标管理主键
* @return 考核目标管理
*/
public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id);
/**
* 查询考核目标管理列表
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 考核目标管理集合
*/
public List<PzhmyAssessmentObjectiveManagement> selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 新增考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 修改考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 删除考核目标管理
*
* @param id 考核目标管理主键
* @return 结果
*/
public int deletePzhmyAssessmentObjectiveManagementById(String id);
/**
* 批量删除考核目标管理
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids);
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.mapper;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex;
import java.util.List;
/**
* 绩效评估指标Mapper接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface PzhmyPerformanceEvaluationIndexMapper
{
/**
* 查询绩效评估指标
*
* @param id 绩效评估指标主键
* @return 绩效评估指标
*/
public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id);
/**
* 查询绩效评估指标列表
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 绩效评估指标集合
*/
public List<PzhmyPerformanceEvaluationIndex> selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 新增绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 修改绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 删除绩效评估指标
*
* @param id 绩效评估指标主键
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationIndexById(String id);
/**
* 批量删除绩效评估指标
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids);
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.mapper;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult;
import java.util.List;
/**
* 绩效评估结果Mapper接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface PzhmyPerformanceEvaluationResultMapper
{
/**
* 查询绩效评估结果
*
* @param id 绩效评估结果主键
* @return 绩效评估结果
*/
public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id);
/**
* 查询绩效评估结果列表
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 绩效评估结果集合
*/
public List<PzhmyPerformanceEvaluationResult> selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 新增绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 修改绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 删除绩效评估结果
*
* @param id 绩效评估结果主键
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationResultById(String id);
/**
* 批量删除绩效评估结果
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids);
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.service;
import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement;
import java.util.List;
/**
* 考核目标管理Service接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface IPzhmyAssessmentObjectiveManagementService
{
/**
* 查询考核目标管理
*
* @param id 考核目标管理主键
* @return 考核目标管理
*/
public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id);
/**
* 查询考核目标管理列表
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 考核目标管理集合
*/
public List<PzhmyAssessmentObjectiveManagement> selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 新增考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 修改考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement);
/**
* 批量删除考核目标管理
*
* @param ids 需要删除的考核目标管理主键集合
* @return 结果
*/
public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids);
/**
* 删除考核目标管理信息
*
* @param id 考核目标管理主键
* @return 结果
*/
public int deletePzhmyAssessmentObjectiveManagementById(String id);
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.service;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex;
import java.util.List;
/**
* 绩效评估指标Service接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface IPzhmyPerformanceEvaluationIndexService
{
/**
* 查询绩效评估指标
*
* @param id 绩效评估指标主键
* @return 绩效评估指标
*/
public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id);
/**
* 查询绩效评估指标列表
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 绩效评估指标集合
*/
public List<PzhmyPerformanceEvaluationIndex> selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 新增绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 修改绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex);
/**
* 批量删除绩效评估指标
*
* @param ids 需要删除的绩效评估指标主键集合
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids);
/**
* 删除绩效评估指标信息
*
* @param id 绩效评估指标主键
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationIndexById(String id);
}

View File

@ -0,0 +1,61 @@
package com.god.etmEquipmentPerformance.service;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult;
import java.util.List;
/**
* 绩效评估结果Service接口
*
* @author liweijie
* @date 2023-12-18
*/
public interface IPzhmyPerformanceEvaluationResultService
{
/**
* 查询绩效评估结果
*
* @param id 绩效评估结果主键
* @return 绩效评估结果
*/
public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id);
/**
* 查询绩效评估结果列表
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 绩效评估结果集合
*/
public List<PzhmyPerformanceEvaluationResult> selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 新增绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 修改绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult);
/**
* 批量删除绩效评估结果
*
* @param ids 需要删除的绩效评估结果主键集合
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids);
/**
* 删除绩效评估结果信息
*
* @param id 绩效评估结果主键
* @return 结果
*/
public int deletePzhmyPerformanceEvaluationResultById(String id);
}

View File

@ -0,0 +1,95 @@
package com.god.etmEquipmentPerformance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement;
import com.god.etmEquipmentPerformance.mapper.PzhmyAssessmentObjectiveManagementMapper;
import com.god.etmEquipmentPerformance.service.IPzhmyAssessmentObjectiveManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 考核目标管理Service业务层处理
*
* @author liweijie
* @date 2023-12-18
*/
@Service
public class PzhmyAssessmentObjectiveManagementServiceImpl implements IPzhmyAssessmentObjectiveManagementService
{
@Autowired
private PzhmyAssessmentObjectiveManagementMapper pzhmyAssessmentObjectiveManagementMapper;
/**
* 查询考核目标管理
*
* @param id 考核目标管理主键
* @return 考核目标管理
*/
@Override
public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id)
{
return pzhmyAssessmentObjectiveManagementMapper.selectPzhmyAssessmentObjectiveManagementById(id);
}
/**
* 查询考核目标管理列表
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 考核目标管理
*/
@Override
public List<PzhmyAssessmentObjectiveManagement> selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
return pzhmyAssessmentObjectiveManagementMapper.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement);
}
/**
* 新增考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
@Override
public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
pzhmyAssessmentObjectiveManagement.setId(IdUtils.fastSimpleUUID());
return pzhmyAssessmentObjectiveManagementMapper.insertPzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement);
}
/**
* 修改考核目标管理
*
* @param pzhmyAssessmentObjectiveManagement 考核目标管理
* @return 结果
*/
@Override
public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement)
{
return pzhmyAssessmentObjectiveManagementMapper.updatePzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement);
}
/**
* 批量删除考核目标管理
*
* @param ids 需要删除的考核目标管理主键
* @return 结果
*/
@Override
public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids)
{
return pzhmyAssessmentObjectiveManagementMapper.deletePzhmyAssessmentObjectiveManagementByIds(ids);
}
/**
* 删除考核目标管理信息
*
* @param id 考核目标管理主键
* @return 结果
*/
@Override
public int deletePzhmyAssessmentObjectiveManagementById(String id)
{
return pzhmyAssessmentObjectiveManagementMapper.deletePzhmyAssessmentObjectiveManagementById(id);
}
}

View File

@ -0,0 +1,95 @@
package com.god.etmEquipmentPerformance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex;
import com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationIndexMapper;
import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationIndexService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 绩效评估指标Service业务层处理
*
* @author liweijie
* @date 2023-12-18
*/
@Service
public class PzhmyPerformanceEvaluationIndexServiceImpl implements IPzhmyPerformanceEvaluationIndexService
{
@Autowired
private PzhmyPerformanceEvaluationIndexMapper pzhmyPerformanceEvaluationIndexMapper;
/**
* 查询绩效评估指标
*
* @param id 绩效评估指标主键
* @return 绩效评估指标
*/
@Override
public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id)
{
return pzhmyPerformanceEvaluationIndexMapper.selectPzhmyPerformanceEvaluationIndexById(id);
}
/**
* 查询绩效评估指标列表
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 绩效评估指标
*/
@Override
public List<PzhmyPerformanceEvaluationIndex> selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
return pzhmyPerformanceEvaluationIndexMapper.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex);
}
/**
* 新增绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
@Override
public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
pzhmyPerformanceEvaluationIndex.setId(IdUtils.fastSimpleUUID());
return pzhmyPerformanceEvaluationIndexMapper.insertPzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex);
}
/**
* 修改绩效评估指标
*
* @param pzhmyPerformanceEvaluationIndex 绩效评估指标
* @return 结果
*/
@Override
public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex)
{
return pzhmyPerformanceEvaluationIndexMapper.updatePzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex);
}
/**
* 批量删除绩效评估指标
*
* @param ids 需要删除的绩效评估指标主键
* @return 结果
*/
@Override
public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids)
{
return pzhmyPerformanceEvaluationIndexMapper.deletePzhmyPerformanceEvaluationIndexByIds(ids);
}
/**
* 删除绩效评估指标信息
*
* @param id 绩效评估指标主键
* @return 结果
*/
@Override
public int deletePzhmyPerformanceEvaluationIndexById(String id)
{
return pzhmyPerformanceEvaluationIndexMapper.deletePzhmyPerformanceEvaluationIndexById(id);
}
}

View File

@ -0,0 +1,95 @@
package com.god.etmEquipmentPerformance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult;
import com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationResultMapper;
import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationResultService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 绩效评估结果Service业务层处理
*
* @author liweijie
* @date 2023-12-18
*/
@Service
public class PzhmyPerformanceEvaluationResultServiceImpl implements IPzhmyPerformanceEvaluationResultService
{
@Autowired
private PzhmyPerformanceEvaluationResultMapper pzhmyPerformanceEvaluationResultMapper;
/**
* 查询绩效评估结果
*
* @param id 绩效评估结果主键
* @return 绩效评估结果
*/
@Override
public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id)
{
return pzhmyPerformanceEvaluationResultMapper.selectPzhmyPerformanceEvaluationResultById(id);
}
/**
* 查询绩效评估结果列表
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 绩效评估结果
*/
@Override
public List<PzhmyPerformanceEvaluationResult> selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
return pzhmyPerformanceEvaluationResultMapper.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult);
}
/**
* 新增绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
@Override
public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
pzhmyPerformanceEvaluationResult.setId(IdUtils.fastSimpleUUID());
return pzhmyPerformanceEvaluationResultMapper.insertPzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult);
}
/**
* 修改绩效评估结果
*
* @param pzhmyPerformanceEvaluationResult 绩效评估结果
* @return 结果
*/
@Override
public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult)
{
return pzhmyPerformanceEvaluationResultMapper.updatePzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult);
}
/**
* 批量删除绩效评估结果
*
* @param ids 需要删除的绩效评估结果主键
* @return 结果
*/
@Override
public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids)
{
return pzhmyPerformanceEvaluationResultMapper.deletePzhmyPerformanceEvaluationResultByIds(ids);
}
/**
* 删除绩效评估结果信息
*
* @param id 绩效评估结果主键
* @return 结果
*/
@Override
public int deletePzhmyPerformanceEvaluationResultById(String id)
{
return pzhmyPerformanceEvaluationResultMapper.deletePzhmyPerformanceEvaluationResultById(id);
}
}

View File

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentPerformance.mapper.PzhmyAssessmentObjectiveManagementMapper">
<resultMap type="PzhmyAssessmentObjectiveManagement" id="PzhmyAssessmentObjectiveManagementResult">
<result property="id" column="id" />
<result property="examinationNumber" column="examination_number" />
<result property="assessmentTaskName" column="assessment_task_name" />
<result property="assessmentTime" column="assessment_time" />
<result property="assessmentData" column="assessment_data" />
<result property="followUpAssessmentPlan" column="follow_up_assessment_plan" />
<result property="assessmentObjective" column="assessment_objective" />
<result property="thisDeficiencyAnalysis" column="this_deficiency_analysis" />
<result property="perfectMeasure" column="perfect_measure" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectPzhmyAssessmentObjectiveManagementVo">
select id, examination_number, assessment_task_name, assessment_time, assessment_data, follow_up_assessment_plan, assessment_objective, this_deficiency_analysis, perfect_measure, remark from pzhmy_assessment_objective_management
</sql>
<select id="selectPzhmyAssessmentObjectiveManagementList" parameterType="PzhmyAssessmentObjectiveManagement" resultMap="PzhmyAssessmentObjectiveManagementResult">
<include refid="selectPzhmyAssessmentObjectiveManagementVo"/>
<where>
<if test="examinationNumber != null and examinationNumber != ''"> and examination_number like concat('%', #{examinationNumber}, '%')</if>
<if test="assessmentTaskName != null and assessmentTaskName != ''"> and assessment_task_name like concat('%', #{assessmentTaskName}, '%')</if>
<if test="assessmentTime != null and assessmentTime != ''"> and assessment_time like concat('%', #{assessmentTime}, '%')</if>
<if test="assessmentData != null and assessmentData != ''"> and assessment_data like concat('%', #{assessmentData}, '%')</if>
<if test="followUpAssessmentPlan != null and followUpAssessmentPlan != ''"> and follow_up_assessment_plan like concat('%', #{followUpAssessmentPlan}, '%')</if>
<if test="assessmentObjective != null and assessmentObjective != ''"> and assessment_objective like concat('%', #{assessmentObjective}, '%')</if>
<if test="thisDeficiencyAnalysis != null and thisDeficiencyAnalysis != ''"> and this_deficiency_analysis = #{thisDeficiencyAnalysis}</if>
<if test="perfectMeasure != null and perfectMeasure != ''"> and perfect_measure = #{perfectMeasure}</if>
</where>
</select>
<select id="selectPzhmyAssessmentObjectiveManagementById" parameterType="String" resultMap="PzhmyAssessmentObjectiveManagementResult">
<include refid="selectPzhmyAssessmentObjectiveManagementVo"/>
where id = #{id}
</select>
<insert id="insertPzhmyAssessmentObjectiveManagement" parameterType="PzhmyAssessmentObjectiveManagement">
insert into pzhmy_assessment_objective_management
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="examinationNumber != null">examination_number,</if>
<if test="assessmentTaskName != null">assessment_task_name,</if>
<if test="assessmentTime != null">assessment_time,</if>
<if test="assessmentData != null">assessment_data,</if>
<if test="followUpAssessmentPlan != null">follow_up_assessment_plan,</if>
<if test="assessmentObjective != null">assessment_objective,</if>
<if test="thisDeficiencyAnalysis != null">this_deficiency_analysis,</if>
<if test="perfectMeasure != null">perfect_measure,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="examinationNumber != null">#{examinationNumber},</if>
<if test="assessmentTaskName != null">#{assessmentTaskName},</if>
<if test="assessmentTime != null">#{assessmentTime},</if>
<if test="assessmentData != null">#{assessmentData},</if>
<if test="followUpAssessmentPlan != null">#{followUpAssessmentPlan},</if>
<if test="assessmentObjective != null">#{assessmentObjective},</if>
<if test="thisDeficiencyAnalysis != null">#{thisDeficiencyAnalysis},</if>
<if test="perfectMeasure != null">#{perfectMeasure},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updatePzhmyAssessmentObjectiveManagement" parameterType="PzhmyAssessmentObjectiveManagement">
update pzhmy_assessment_objective_management
<trim prefix="SET" suffixOverrides=",">
<if test="examinationNumber != null">examination_number = #{examinationNumber},</if>
<if test="assessmentTaskName != null">assessment_task_name = #{assessmentTaskName},</if>
<if test="assessmentTime != null">assessment_time = #{assessmentTime},</if>
<if test="assessmentData != null">assessment_data = #{assessmentData},</if>
<if test="followUpAssessmentPlan != null">follow_up_assessment_plan = #{followUpAssessmentPlan},</if>
<if test="assessmentObjective != null">assessment_objective = #{assessmentObjective},</if>
<if test="thisDeficiencyAnalysis != null">this_deficiency_analysis = #{thisDeficiencyAnalysis},</if>
<if test="perfectMeasure != null">perfect_measure = #{perfectMeasure},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deletePzhmyAssessmentObjectiveManagementById" parameterType="String">
delete from pzhmy_assessment_objective_management where id = #{id}
</delete>
<delete id="deletePzhmyAssessmentObjectiveManagementByIds" parameterType="String">
delete from pzhmy_assessment_objective_management where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationIndexMapper">
<resultMap type="PzhmyPerformanceEvaluationIndex" id="PzhmyPerformanceEvaluationIndexResult">
<result property="id" column="id" />
<result property="assessUniqueId" column="assess_unique_id" />
<result property="assessmentName" column="assessment_name" />
<result property="assessmentIndex" column="assessment_index" />
<result property="workObjective" column="work_objective" />
<result property="fillingTime" column="filling_time" />
<result property="auditStatus" column="audit_status" />
<result property="auditor" column="auditor" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectPzhmyPerformanceEvaluationIndexVo">
select id, assess_unique_id, assessment_name, assessment_index, work_objective, filling_time, audit_status, auditor, remark from pzhmy_performance_evaluation_index
</sql>
<select id="selectPzhmyPerformanceEvaluationIndexList" parameterType="PzhmyPerformanceEvaluationIndex" resultMap="PzhmyPerformanceEvaluationIndexResult">
<include refid="selectPzhmyPerformanceEvaluationIndexVo"/>
<where>
<if test="assessUniqueId != null and assessUniqueId != ''"> and assess_unique_id like concat('%', #{assessUniqueId}, '%')</if>
<if test="assessmentName != null and assessmentName != ''"> and assessment_name like concat('%', #{assessmentName}, '%')</if>
<if test="assessmentIndex != null and assessmentIndex != ''"> and assessment_index like concat('%', #{assessmentIndex}, '%')</if>
<if test="workObjective != null and workObjective != ''"> and work_objective like concat('%', #{workObjective}, '%')</if>
<if test="fillingTime != null and fillingTime != ''"> and filling_time like concat('%', #{fillingTime}, '%')</if>
<if test="auditStatus != null and auditStatus != ''"> and audit_status like concat('%', #{auditStatus}, '%')</if>
<if test="auditor != null and auditor != ''"> and auditor like concat('%', #{auditor}, '%')</if>
</where>
</select>
<select id="selectPzhmyPerformanceEvaluationIndexById" parameterType="String" resultMap="PzhmyPerformanceEvaluationIndexResult">
<include refid="selectPzhmyPerformanceEvaluationIndexVo"/>
where id = #{id}
</select>
<insert id="insertPzhmyPerformanceEvaluationIndex" parameterType="PzhmyPerformanceEvaluationIndex">
insert into pzhmy_performance_evaluation_index
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="assessUniqueId != null">assess_unique_id,</if>
<if test="assessmentName != null">assessment_name,</if>
<if test="assessmentIndex != null">assessment_index,</if>
<if test="workObjective != null">work_objective,</if>
<if test="fillingTime != null">filling_time,</if>
<if test="auditStatus != null">audit_status,</if>
<if test="auditor != null">auditor,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="assessUniqueId != null">#{assessUniqueId},</if>
<if test="assessmentName != null">#{assessmentName},</if>
<if test="assessmentIndex != null">#{assessmentIndex},</if>
<if test="workObjective != null">#{workObjective},</if>
<if test="fillingTime != null">#{fillingTime},</if>
<if test="auditStatus != null">#{auditStatus},</if>
<if test="auditor != null">#{auditor},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updatePzhmyPerformanceEvaluationIndex" parameterType="PzhmyPerformanceEvaluationIndex">
update pzhmy_performance_evaluation_index
<trim prefix="SET" suffixOverrides=",">
<if test="assessUniqueId != null">assess_unique_id = #{assessUniqueId},</if>
<if test="assessmentName != null">assessment_name = #{assessmentName},</if>
<if test="assessmentIndex != null">assessment_index = #{assessmentIndex},</if>
<if test="workObjective != null">work_objective = #{workObjective},</if>
<if test="fillingTime != null">filling_time = #{fillingTime},</if>
<if test="auditStatus != null">audit_status = #{auditStatus},</if>
<if test="auditor != null">auditor = #{auditor},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deletePzhmyPerformanceEvaluationIndexById" parameterType="String">
delete from pzhmy_performance_evaluation_index where id = #{id}
</delete>
<delete id="deletePzhmyPerformanceEvaluationIndexByIds" parameterType="String">
delete from pzhmy_performance_evaluation_index where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationResultMapper">
<resultMap type="PzhmyPerformanceEvaluationResult" id="PzhmyPerformanceEvaluationResultResult">
<result property="id" column="id" />
<result property="employeeName" column="employee_name" />
<result property="performanceCalculationRules" column="performance_calculation_rules" />
<result property="employeePerformanceAppraisalForm" column="employee_performance_appraisal_form" />
<result property="departmentPerformanceReviewForm" column="department_performance_review_form" />
<result property="employeePerformanceAppraisalScale" column="employee_performance_appraisal_scale" />
<result property="performanceScoresForVariousAssessmentMethods" column="performance_scores_for_various_assessment_methods" />
<result property="historicalAssessmentData" column="historical_assessment_data" />
<result property="employeePerformanceAppraisalResults" column="employee_performance_appraisal_results" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectPzhmyPerformanceEvaluationResultVo">
select id, employee_name, performance_calculation_rules, employee_performance_appraisal_form, department_performance_review_form, employee_performance_appraisal_scale, performance_scores_for_various_assessment_methods, historical_assessment_data, employee_performance_appraisal_results, remark from pzhmy_performance_evaluation_result
</sql>
<select id="selectPzhmyPerformanceEvaluationResultList" parameterType="PzhmyPerformanceEvaluationResult" resultMap="PzhmyPerformanceEvaluationResultResult">
<include refid="selectPzhmyPerformanceEvaluationResultVo"/>
<where>
<if test="employeeName != null and employeeName != ''"> and employee_name like concat('%', #{employeeName}, '%')</if>
<if test="performanceCalculationRules != null and performanceCalculationRules != ''"> and performance_calculation_rules like concat('%', #{performanceCalculationRules}, '%')</if>
<if test="employeePerformanceAppraisalForm != null and employeePerformanceAppraisalForm != ''"> and employee_performance_appraisal_form = #{employeePerformanceAppraisalForm}</if>
<if test="departmentPerformanceReviewForm != null and departmentPerformanceReviewForm != ''"> and department_performance_review_form = #{departmentPerformanceReviewForm}</if>
<if test="employeePerformanceAppraisalScale != null and employeePerformanceAppraisalScale != ''"> and employee_performance_appraisal_scale = #{employeePerformanceAppraisalScale}</if>
<if test="performanceScoresForVariousAssessmentMethods != null and performanceScoresForVariousAssessmentMethods != ''"> and performance_scores_for_various_assessment_methods like concat('%', #{performanceScoresForVariousAssessmentMethods}, '%')</if>
<if test="historicalAssessmentData != null and historicalAssessmentData != ''"> and historical_assessment_data like concat('%', #{historicalAssessmentData}, '%')</if>
<if test="employeePerformanceAppraisalResults != null and employeePerformanceAppraisalResults != ''"> and employee_performance_appraisal_results = #{employeePerformanceAppraisalResults}</if>
</where>
</select>
<select id="selectPzhmyPerformanceEvaluationResultById" parameterType="String" resultMap="PzhmyPerformanceEvaluationResultResult">
<include refid="selectPzhmyPerformanceEvaluationResultVo"/>
where id = #{id}
</select>
<insert id="insertPzhmyPerformanceEvaluationResult" parameterType="PzhmyPerformanceEvaluationResult">
insert into pzhmy_performance_evaluation_result
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="employeeName != null">employee_name,</if>
<if test="performanceCalculationRules != null">performance_calculation_rules,</if>
<if test="employeePerformanceAppraisalForm != null">employee_performance_appraisal_form,</if>
<if test="departmentPerformanceReviewForm != null">department_performance_review_form,</if>
<if test="employeePerformanceAppraisalScale != null">employee_performance_appraisal_scale,</if>
<if test="performanceScoresForVariousAssessmentMethods != null">performance_scores_for_various_assessment_methods,</if>
<if test="historicalAssessmentData != null">historical_assessment_data,</if>
<if test="employeePerformanceAppraisalResults != null">employee_performance_appraisal_results,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="employeeName != null">#{employeeName},</if>
<if test="performanceCalculationRules != null">#{performanceCalculationRules},</if>
<if test="employeePerformanceAppraisalForm != null">#{employeePerformanceAppraisalForm},</if>
<if test="departmentPerformanceReviewForm != null">#{departmentPerformanceReviewForm},</if>
<if test="employeePerformanceAppraisalScale != null">#{employeePerformanceAppraisalScale},</if>
<if test="performanceScoresForVariousAssessmentMethods != null">#{performanceScoresForVariousAssessmentMethods},</if>
<if test="historicalAssessmentData != null">#{historicalAssessmentData},</if>
<if test="employeePerformanceAppraisalResults != null">#{employeePerformanceAppraisalResults},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updatePzhmyPerformanceEvaluationResult" parameterType="PzhmyPerformanceEvaluationResult">
update pzhmy_performance_evaluation_result
<trim prefix="SET" suffixOverrides=",">
<if test="employeeName != null">employee_name = #{employeeName},</if>
<if test="performanceCalculationRules != null">performance_calculation_rules = #{performanceCalculationRules},</if>
<if test="employeePerformanceAppraisalForm != null">employee_performance_appraisal_form = #{employeePerformanceAppraisalForm},</if>
<if test="departmentPerformanceReviewForm != null">department_performance_review_form = #{departmentPerformanceReviewForm},</if>
<if test="employeePerformanceAppraisalScale != null">employee_performance_appraisal_scale = #{employeePerformanceAppraisalScale},</if>
<if test="performanceScoresForVariousAssessmentMethods != null">performance_scores_for_various_assessment_methods = #{performanceScoresForVariousAssessmentMethods},</if>
<if test="historicalAssessmentData != null">historical_assessment_data = #{historicalAssessmentData},</if>
<if test="employeePerformanceAppraisalResults != null">employee_performance_appraisal_results = #{employeePerformanceAppraisalResults},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deletePzhmyPerformanceEvaluationResultById" parameterType="String">
delete from pzhmy_performance_evaluation_result where id = #{id}
</delete>
<delete id="deletePzhmyPerformanceEvaluationResultByIds" parameterType="String">
delete from pzhmy_performance_evaluation_result where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询考核目标管理列表
export function listObjectiveManagement(query) {
return request({
url: '/pzhmyAssessment/objectiveManagement/list',
method: 'get',
params: query
})
}
// 查询考核目标管理详细
export function getObjectiveManagement(id) {
return request({
url: '/pzhmyAssessment/objectiveManagement/' + id,
method: 'get'
})
}
// 新增考核目标管理
export function addObjectiveManagement(data) {
return request({
url: '/pzhmyAssessment/objectiveManagement',
method: 'post',
data: data
})
}
// 修改考核目标管理
export function updateObjectiveManagement(data) {
return request({
url: '/pzhmyAssessment/objectiveManagement',
method: 'put',
data: data
})
}
// 删除考核目标管理
export function delObjectiveManagement(id) {
return request({
url: '/pzhmyAssessment/objectiveManagement/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询绩效评估指标列表
export function listEvaluationIndex(query) {
return request({
url: '/pzhmyPerformance/EvaluationIndex/list',
method: 'get',
params: query
})
}
// 查询绩效评估指标详细
export function getEvaluationIndex(id) {
return request({
url: '/pzhmyPerformance/EvaluationIndex/' + id,
method: 'get'
})
}
// 新增绩效评估指标
export function addEvaluationIndex(data) {
return request({
url: '/pzhmyPerformance/EvaluationIndex',
method: 'post',
data: data
})
}
// 修改绩效评估指标
export function updateEvaluationIndex(data) {
return request({
url: '/pzhmyPerformance/EvaluationIndex',
method: 'put',
data: data
})
}
// 删除绩效评估指标
export function delEvaluationIndex(id) {
return request({
url: '/pzhmyPerformance/EvaluationIndex/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询绩效评估结果列表
export function listEvaluationResult(query) {
return request({
url: '/pzhmyPerformance/evaluationResult/list',
method: 'get',
params: query
})
}
// 查询绩效评估结果详细
export function getEvaluationResult(id) {
return request({
url: '/pzhmyPerformance/evaluationResult/' + id,
method: 'get'
})
}
// 新增绩效评估结果
export function addEvaluationResult(data) {
return request({
url: '/pzhmyPerformance/evaluationResult',
method: 'post',
data: data
})
}
// 修改绩效评估结果
export function updateEvaluationResult(data) {
return request({
url: '/pzhmyPerformance/evaluationResult',
method: 'put',
data: data
})
}
// 删除绩效评估结果
export function delEvaluationResult(id) {
return request({
url: '/pzhmyPerformance/evaluationResult/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,347 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="考核编号" prop="examinationNumber">
<el-input
v-model="queryParams.examinationNumber"
placeholder="请输入考核编号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="考核任务名称" prop="assessmentTaskName">
<el-input
v-model="queryParams.assessmentTaskName"
placeholder="请输入考核任务名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="考核时间" prop="assessmentTime">
<el-date-picker clearable
v-model="queryParams.assessmentTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择考核时间">
</el-date-picker>
</el-form-item>
<el-form-item label="考核数据" prop="assessmentData">
<el-input
v-model="queryParams.assessmentData"
placeholder="请输入考核数据"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="后续考核计划" prop="followUpAssessmentPlan">
<el-input
v-model="queryParams.followUpAssessmentPlan"
placeholder="请输入后续考核计划"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="考核目标" prop="assessmentObjective">
<el-input
v-model="queryParams.assessmentObjective"
placeholder="请输入考核目标"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['pzhmyAssessment:objectiveManagement:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['pzhmyAssessment:objectiveManagement:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['pzhmyAssessment:objectiveManagement:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['pzhmyAssessment:objectiveManagement:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="objectiveManagementList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" /> -->
<el-table-column label="考核编号" align="center" prop="examinationNumber" />
<el-table-column label="考核任务名称" align="center" prop="assessmentTaskName" />
<el-table-column label="考核时间" align="center" prop="assessmentTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.assessmentTime, '{y}-{m}-{d} {h}:{m}:{s}') }}</span>
</template>
</el-table-column>
<el-table-column label="考核数据" align="center" prop="assessmentData" >
<template slot-scope="scope">
<span><el-tag>{{scope.row.assessmentData}}</el-tag></span>
</template>
</el-table-column>
<el-table-column label="后续考核计划" align="center" prop="followUpAssessmentPlan" />
<el-table-column label="考核目标" align="center" prop="assessmentObjective" />
<el-table-column label="本次不足分析" align="center" prop="thisDeficiencyAnalysis" />
<el-table-column label="完善措施" align="center" prop="perfectMeasure" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['pzhmyAssessment:objectiveManagement:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['pzhmyAssessment:objectiveManagement:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改考核目标管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="考核编号" prop="examinationNumber">
<el-input v-model="form.examinationNumber" placeholder="请输入考核编号" />
</el-form-item>
<el-form-item label="考核任务名称" prop="assessmentTaskName">
<el-input v-model="form.assessmentTaskName" placeholder="请输入考核任务名称" />
</el-form-item>
<el-form-item label="考核时间" prop="assessmentTime">
<el-date-picker clearable
v-model="form.assessmentTime"
type="datetime"
value-format="yyyy-MM-dd hh:mm:ss"
placeholder="请选择考核时间">
</el-date-picker>
</el-form-item>
<el-form-item label="考核数据" prop="assessmentData">
<el-input v-model="form.assessmentData" placeholder="请输入考核数据" />
</el-form-item>
<el-form-item label="后续考核计划" prop="followUpAssessmentPlan">
<el-input v-model="form.followUpAssessmentPlan" placeholder="请输入后续考核计划" />
</el-form-item>
<el-form-item label="考核目标" prop="assessmentObjective">
<el-input v-model="form.assessmentObjective" placeholder="请输入考核目标" />
</el-form-item>
<el-form-item label="本次不足分析" prop="thisDeficiencyAnalysis">
<el-input v-model="form.thisDeficiencyAnalysis" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="完善措施" prop="perfectMeasure">
<el-input v-model="form.perfectMeasure" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listObjectiveManagement, getObjectiveManagement, delObjectiveManagement, addObjectiveManagement, updateObjectiveManagement } from "@/api/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement";
export default {
name: "ObjectiveManagement",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
objectiveManagementList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
examinationNumber: null,
assessmentTaskName: null,
assessmentTime: null,
assessmentData: null,
followUpAssessmentPlan: null,
assessmentObjective: null,
thisDeficiencyAnalysis: null,
perfectMeasure: null,
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询考核目标管理列表 */
getList() {
this.loading = true;
listObjectiveManagement(this.queryParams).then(response => {
this.objectiveManagementList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
examinationNumber: null,
assessmentTaskName: null,
assessmentTime: null,
assessmentData: null,
followUpAssessmentPlan: null,
assessmentObjective: null,
thisDeficiencyAnalysis: null,
perfectMeasure: null,
remark: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加考核目标管理";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getObjectiveManagement(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改考核目标管理";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateObjectiveManagement(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addObjectiveManagement(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除考核目标管理编号为"' + ids + '"的数据项?').then(function() {
return delObjectiveManagement(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('pzhmyAssessment/objectiveManagement/export', {
...this.queryParams
}, `objectiveManagement_${new Date().getTime()}.xlsx`)
}
}
};
</script>

View File

@ -0,0 +1,348 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="考核唯一id" prop="assessUniqueId">
<el-input
v-model="queryParams.assessUniqueId"
placeholder="请输入考核唯一id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="考核名称" prop="assessmentName">
<el-input
v-model="queryParams.assessmentName"
placeholder="请输入考核名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="考核指标" prop="assessmentIndex">
<el-input
v-model="queryParams.assessmentIndex"
placeholder="请输入考核指标"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="工作目标" prop="workObjective">
<el-input
v-model="queryParams.workObjective"
placeholder="请输入工作目标"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="填写时间" prop="fillingTime">
<el-date-picker clearable
v-model="queryParams.fillingTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择填写时间">
</el-date-picker>
</el-form-item>
<el-form-item label="审核状态" prop="auditStatus">
<el-input
v-model="queryParams.auditStatus"
placeholder="请输入审核状态"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核人" prop="auditor">
<el-input
v-model="queryParams.auditor"
placeholder="请输入审核人"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="EvaluationIndexList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" /> -->
<el-table-column label="考核唯一id" align="center" prop="assessUniqueId" />
<el-table-column label="考核名称" align="center" prop="assessmentName" />
<el-table-column label="考核指标" align="center" prop="assessmentIndex" />
<el-table-column label="工作目标" align="center" prop="workObjective" />
<el-table-column label="填写时间" align="center" prop="fillingTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.fillingTime, '{y}-{m}-{d} {h}:{m}:{s}') }}</span>
</template>
</el-table-column>
<el-table-column label="审核状态" align="center" prop="auditStatus" >
<template slot-scope="scope">
<el-tag>{{scope.row.auditStatus}}</el-tag>
</template>
</el-table-column>
<el-table-column label="审核人" align="center" prop="auditor" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['pzhmyPerformance:EvaluationIndex:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改绩效评估指标对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="考核唯一id" prop="assessUniqueId">
<el-input v-model="form.assessUniqueId" placeholder="请输入考核唯一id" />
</el-form-item>
<el-form-item label="考核名称" prop="assessmentName">
<el-input v-model="form.assessmentName" placeholder="请输入考核名称" />
</el-form-item>
<el-form-item label="考核指标" prop="assessmentIndex">
<el-input v-model="form.assessmentIndex" placeholder="请输入考核指标" />
</el-form-item>
<el-form-item label="工作目标" prop="workObjective">
<el-input v-model="form.workObjective" placeholder="请输入工作目标" />
</el-form-item>
<el-form-item label="填写时间" prop="fillingTime">
<el-date-picker clearable
v-model="form.fillingTime"
type="datetime"
value-format="yyyy-MM-dd hh:mm:ss"
placeholder="请选择填写时间">
</el-date-picker>
</el-form-item>
<el-form-item label="审核状态" prop="auditStatus">
<el-input v-model="form.auditStatus" placeholder="请输入审核状态" />
</el-form-item>
<el-form-item label="审核人" prop="auditor">
<el-input v-model="form.auditor" placeholder="请输入审核人" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listEvaluationIndex, getEvaluationIndex, delEvaluationIndex, addEvaluationIndex, updateEvaluationIndex } from "@/api/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex";
export default {
name: "EvaluationIndex",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
EvaluationIndexList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
assessUniqueId: null,
assessmentName: null,
assessmentIndex: null,
workObjective: null,
fillingTime: null,
auditStatus: null,
auditor: null,
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询绩效评估指标列表 */
getList() {
this.loading = true;
listEvaluationIndex(this.queryParams).then(response => {
this.EvaluationIndexList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
assessUniqueId: null,
assessmentName: null,
assessmentIndex: null,
workObjective: null,
fillingTime: null,
auditStatus: null,
auditor: null,
remark: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加绩效评估指标";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getEvaluationIndex(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改绩效评估指标";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateEvaluationIndex(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addEvaluationIndex(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除绩效评估指标编号为"' + ids + '"的数据项?').then(function() {
return delEvaluationIndex(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('pzhmyPerformance/EvaluationIndex/export', {
...this.queryParams
}, `EvaluationIndex_${new Date().getTime()}.xlsx`)
}
}
};
</script>

View File

@ -0,0 +1,321 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="180px">
<el-form-item label="员工姓名" prop="employeeName">
<el-input
v-model="queryParams.employeeName"
placeholder="请输入员工姓名"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="绩效计算规则" prop="performanceCalculationRules">
<el-input
v-model="queryParams.performanceCalculationRules"
placeholder="请输入绩效计算规则"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="各种考核方式的绩效得分" prop="performanceScoresForVariousAssessmentMethods">
<el-input
v-model="queryParams.performanceScoresForVariousAssessmentMethods"
placeholder="请输入各种考核方式的绩效得分"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="历史考核数据" prop="historicalAssessmentData">
<el-input
v-model="queryParams.historicalAssessmentData"
placeholder="请输入历史考核数据"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['pzhmyPerformance:evaluationResult:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['pzhmyPerformance:evaluationResult:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['pzhmyPerformance:evaluationResult:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['pzhmyPerformance:evaluationResult:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="evaluationResultList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" /> -->
<el-table-column label="员工姓名" align="center" prop="employeeName" />
<el-table-column label="绩效计算规则" align="center" prop="performanceCalculationRules" />
<el-table-column label="员工绩效考核表" align="center" prop="employeePerformanceAppraisalForm" />
<el-table-column label="部门绩效考核表" align="center" prop="departmentPerformanceReviewForm" />
<el-table-column label="员工绩效考核等级表" align="center" prop="employeePerformanceAppraisalScale" />
<el-table-column label="各种考核方式的绩效得分" align="center" prop="performanceScoresForVariousAssessmentMethods" />
<!-- <template slot-scope="scope" >
<el-tag>{{scope.row.performanceScoresForVariousAssessmentMethods}}</el-tag>
</template>
</el-table-column> -->
<el-table-column label="历史考核数据" align="center" prop="historicalAssessmentData" />
<el-table-column label="员工历次绩效考核结果表" align="center" prop="employeePerformanceAppraisalResults" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['pzhmyPerformance:evaluationResult:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['pzhmyPerformance:evaluationResult:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改绩效评估结果对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-form-item label="员工姓名" prop="employeeName">
<el-input v-model="form.employeeName" placeholder="请输入员工姓名" />
</el-form-item>
<el-form-item label="绩效计算规则" prop="performanceCalculationRules">
<el-input v-model="form.performanceCalculationRules" placeholder="请输入绩效计算规则" />
</el-form-item>
<el-form-item label="员工绩效考核表" prop="employeePerformanceAppraisalForm">
<file-upload v-model="form.employeePerformanceAppraisalForm"/>
</el-form-item>
<el-form-item label="部门绩效考核表" prop="departmentPerformanceReviewForm">
<file-upload v-model="form.departmentPerformanceReviewForm"/>
</el-form-item>
<el-form-item label="员工绩效考核等级表" prop="employeePerformanceAppraisalScale">
<file-upload v-model="form.employeePerformanceAppraisalScale"/>
</el-form-item>
<el-form-item label="各种考核方式的绩效得分" prop="performanceScoresForVariousAssessmentMethods">
<el-input v-model="form.performanceScoresForVariousAssessmentMethods" placeholder="请输入各种考核方式的绩效得分" />
</el-form-item>
<el-form-item label="历史考核数据" prop="historicalAssessmentData">
<el-input v-model="form.historicalAssessmentData" placeholder="请输入历史考核数据" />
</el-form-item>
<el-form-item label="员工历次绩效考核结果表" prop="employeePerformanceAppraisalResults">
<file-upload v-model="form.employeePerformanceAppraisalResults"/>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listEvaluationResult, getEvaluationResult, delEvaluationResult, addEvaluationResult, updateEvaluationResult } from "@/api/etmEquipmentPerformance/pzhmyPerformance/evaluationResult";
export default {
name: "EvaluationResult",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
evaluationResultList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
employeeName: null,
performanceCalculationRules: null,
employeePerformanceAppraisalForm: null,
departmentPerformanceReviewForm: null,
employeePerformanceAppraisalScale: null,
performanceScoresForVariousAssessmentMethods: null,
historicalAssessmentData: null,
employeePerformanceAppraisalResults: null,
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询绩效评估结果列表 */
getList() {
this.loading = true;
listEvaluationResult(this.queryParams).then(response => {
this.evaluationResultList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
employeeName: null,
performanceCalculationRules: null,
employeePerformanceAppraisalForm: null,
departmentPerformanceReviewForm: null,
employeePerformanceAppraisalScale: null,
performanceScoresForVariousAssessmentMethods: null,
historicalAssessmentData: null,
employeePerformanceAppraisalResults: null,
remark: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加绩效评估结果";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getEvaluationResult(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改绩效评估结果";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateEvaluationResult(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addEvaluationResult(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除绩效评估结果编号为"' + ids + '"的数据项?').then(function() {
return delEvaluationResult(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('pzhmyPerformance/evaluationResult/export', {
...this.queryParams
}, `evaluationResult_${new Date().getTime()}.xlsx`)
}
}
};
</script>