Commit 85058f7c authored by 姬鋆屾's avatar 姬鋆屾
parents 312d6fe2 83e0278c
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
url = "/perform/perpose/save"; url = "/perform/perpose/save";
} else if (url == "/perform/rules/attend/save") { } else if (url == "/perform/rules/attend/save") {
url = "/perform/rules/category/save"; url = "/perform/rules/category/save";
} else if ((url = "/perform/staff/conf/save")) { } else if ((url == "/perform/staff/conf/save")) {
sessionStorage.getItem("type") == 1 sessionStorage.getItem("type") == 1
? (url = "/perform/dept/conf/save") ? (url = "/perform/dept/conf/save")
: sessionStorage.getItem("type") == 2 : sessionStorage.getItem("type") == 2
......
...@@ -126,6 +126,7 @@ const router = new Router({ ...@@ -126,6 +126,7 @@ const router = new Router({
...restBuilder("feedback", "feedback"), //反馈信息 ...restBuilder("feedback", "feedback"), //反馈信息
...restBuilder("feedback/addQuestion", "feedback/addQuestion"), //新增反馈 ...restBuilder("feedback/addQuestion", "feedback/addQuestion"), //新增反馈
...restBuilder("feedback/questionnaire", "feedback/questionnaire"), //问卷情况
...restBuilder("feedback/question", "feedback/question"), //反馈问题 ...restBuilder("feedback/question", "feedback/question"), //反馈问题
...restBuilder("feedback/option", "feedback/option"), //反馈选项 ...restBuilder("feedback/option", "feedback/option"), //反馈选项
......
<template> <template>
<div class="page"> <div class="page">
<div class="top">
<el-button class="backBtn" size="small" @click="$router.back()">返回上一级</el-button> <el-button class="backBtn" size="small" @click="$router.back()">返回上一级</el-button>
<el-tabs v-model="tabs"> <el-tabs v-model="tabs">
<el-tab-pane label="设计问卷" name="1"> <el-tab-pane label="设计问卷" name="1">
<fc-designer style="height: 79vh;" ref="designer"> <fc-designer style="height: 79vh;" ref="designer">
<template slot="handle"> <template slot="handle">
<ElButton icon="el-icon-upload" type="success" size="small" @click="showDrawer" round>移动端预览 <ElButton icon="el-icon-upload" type="success" size="small" @click="showDrawer" round>移动端预览
</ElButton> </ElButton>
</template> </template>
</fc-designer> </fc-designer>
<!-- <div class="tool"> <!-- <div class="tool">
<el-row> <el-row>
<el-button icon="el-icon-download" type="primary" size="small" @click="getFormJson()" <el-button icon="el-icon-download" type="primary" size="small" @click="getFormJson()"
round>生成表单JSON</el-button> round>生成表单JSON</el-button>
...@@ -21,19 +21,18 @@ ...@@ -21,19 +21,18 @@
</el-row> </el-row>
</div> --> </div> -->
<el-drawer :visible.sync="drawer" :with-header="false"> <el-drawer :visible.sync="drawer" title="预览">
<div class="showPhone"> <div class="showPhone">
<div class="phone"> <div class="phone">
<div class="phoneContent"> <div class="phoneContent">
<form-create :rule="Frule" :option="Fopthion" @submit="onSubmit"> <form-create :rule="Frule" :option="Fopthion" @submit="onSubmit">
</form-create> </form-create>
</div>
</div> </div>
</div> </div>
</el-drawer> </div>
</el-tab-pane> </el-drawer>
</el-tabs> </el-tab-pane>
</div> </el-tabs>
</div> </div>
</template> </template>
...@@ -235,6 +234,7 @@ export default { ...@@ -235,6 +234,7 @@ export default {
background: #EEEEEE; background: #EEEEEE;
border-radius: 4px; border-radius: 4px;
} }
/* 侧边滚动条 */ /* 侧边滚动条 */
/deep/._fc-m-drag::-webkit-scrollbar { /deep/._fc-m-drag::-webkit-scrollbar {
width: 3px; width: 3px;
...@@ -251,5 +251,4 @@ export default { ...@@ -251,5 +251,4 @@ export default {
background: #EEEEEE; background: #EEEEEE;
border-radius: 4px; border-radius: 4px;
} }
</style> </style>
\ No newline at end of file
...@@ -50,7 +50,8 @@ export default { ...@@ -50,7 +50,8 @@ export default {
}, },
/** 重写查看方法 */ /** 重写查看方法 */
toView(row) { toView(row) {
this.$refs.drawerform.view(row); // this.$refs.drawerform.view(row);
this.$router.push('/feedback/questionnaire/list')
}, },
goPage(path) { goPage(path) {
this.$router.push(path) this.$router.push(path)
...@@ -107,7 +108,7 @@ export default { ...@@ -107,7 +108,7 @@ export default {
width: 240, width: 240,
formatter: row => { formatter: row => {
return ( return (
<table-buttons noAdd row={row} onEdit={this.toEdit} onView={this.goPage} onDel={this.toDel} /> <table-buttons noAdd row={row} onEdit={this.toEdit} onView={this.toView} onDel={this.toDel} />
); );
} }
} }
......
<template>
<div class="page font">
<el-button class="backBtn" size="small" @click="$router.back()">返回列表</el-button>
<el-tabs v-model="tabs">
<el-tab-pane label="问卷情况" name="1">
<div class="top" style="margin: 10px 0;">
<div style="width: 80%;">
<div class="title">问卷名称</div>
<div class="tips">
问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述问卷描述
</div>
</div>
<el-button type="success" @click="drawer = true">预览</el-button>
</div>
<div style="margin: 10px 0;">
<el-tag type="success"> 进行中</el-tag> 反馈时间:2023-06-23 09:00:00~2023-06-24 17:00:00
</div>
<div class="content">
<div class="cLeft"></div>
<div class="cRight">
<div class="title">
题型数据分析
</div>
<div class="box">
<div style="display: flex;align-items: center;">
<el-tag type="primary" effect="plain">单项选择</el-tag>
<div style="margin-left: 10px;">1.你是男性还是女性</div>
</div>
<div>
<el-progress type="circle" :percentage="45"></el-progress>
<el-progress type="circle" :percentage="55"></el-progress>
</div>
</div>
</div>
</div>
</el-tab-pane>
</el-tabs>
<el-drawer :visible.sync="drawer" title="预览">
<div class="showPhone">
<div class="phone">
<div class="phoneContent">
<form-create :rule="Frule" :option="Fopthion" @submit="onSubmit">
</form-create>
</div>
</div>
</div>
</el-drawer>
</div>
</template>
<script>
import formCreate from "@form-create/element-ui";
export default {
data() {
return {
tabs: '1',
drawer: false,
Frule: '',
Fopthion: '',
}
},
mounted() {
this.Frule = [
{
"type": "span",
"title": "问卷名称",
"native": false,
"children": [
"这是一段文字"
],
"_fc_drag_tag": "span",
"hidden": false,
"display": true
},
{
"type": "input",
"field": "Fupb1nuyh5txf1",
"title": "输入框",
"info": "",
"$required": false,
"_fc_drag_tag": "input",
"hidden": false,
"display": true
},
{
"type": "inputNumber",
"field": "Flo91nuyh5vjag",
"title": "计数器",
"info": "",
"$required": false,
"_fc_drag_tag": "inputNumber",
"hidden": false,
"display": true
},
{
"type": "radio",
"field": "Fz3d1nuyh5xpor",
"title": "单选框",
"info": "",
"effect": {
"fetch": ""
},
"$required": false,
"options": [
{
"value": "1",
"label": "选项1"
},
{
"value": "2",
"label": "选项2"
}
],
"_fc_drag_tag": "radio",
"hidden": false,
"display": true
},
{
"type": "checkbox",
"field": "Fwzb1nuyh61906",
"title": "多选框",
"info": "",
"effect": {
"fetch": ""
},
"$required": false,
"options": [
{
"value": "1",
"label": "选项1"
},
{
"value": "2",
"label": "选项2"
}
],
"_fc_drag_tag": "checkbox",
"hidden": false,
"display": true
}
]
this.Fopthion = {
"form": {
"labelPosition": "top",
"size": "mini",
"labelWidth": "20%",
"hideRequiredAsterisk": false,
"showMessage": true,
"inlineMessage": false
},
"submitBtn": true,
"resetBtn": false
}
}
}
</script>
<style lang="less" scoped>
.font {
font-size: 16px;
line-height: 1.5;
}
.backBtn {
position: absolute;
right: 20px;
z-index: 99;
}
.top {
display: flex;
align-items: center;
justify-content: space-between;
.title {
font-size: 24px;
font-weight: bold;
}
.tips {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
/* 限制显示行数 */
overflow: hidden;
}
}
.showPhone {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
.phone {
width: 378px;
height: 770px;
background: url('../../../assets/images/phone.png') no-repeat;
position: relative;
.phoneContent {
// border: 1px solid;
position: absolute;
top: 95px;
left: 25px;
width: 86.5%;
height: 75%;
box-sizing: border-box;
padding: 20px;
overflow-y: scroll;
overflow-x: hidden;
}
/* 侧边滚动条 */
.phoneContent::-webkit-scrollbar {
width: 3px;
}
/* 滚动条上的滚动滑块 */
.phoneContent::-webkit-scrollbar-thumb {
background: #CCCCCC;
border-radius: 4px;
}
/* 滚动条轨道 */
.phoneContent::-webkit-scrollbar-track {
background: #EEEEEE;
border-radius: 4px;
}
}
}
.content {
display: flex;
align-items: center;
justify-content: space-between;
// border: 1px solid;
height: 600px;
.cLeft {
background-color: #fafafa;
height: 100%;
border-radius: 4px;
width: 49%;
}
.cRight {
background-color: #fafafa;
height: 100%;
border-radius: 4px;
width: 49%;
box-sizing: border-box;
padding: 20px;
}
.title {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
}
</style>
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformAttendRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckAttendRecordDao, CheckAttendRecordEntity, Long> implements CheckAttendRecordService { public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckAttendRecordDao, CheckAttendRecordEntity, Long> implements CheckAttendRecordService {
@Autowired
private PerformAttendRecordService performAttendRecordService;
@Override @Override
public void examine(CheckAttendRecordEntity entity, Context context) throws AppException { public void examine(CheckAttendRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,11 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA ...@@ -36,5 +41,11 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performAttendRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformComplainRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<CheckComplainRecordDao, CheckComplainRecordEntity, Long> implements CheckComplainRecordService { public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<CheckComplainRecordDao, CheckComplainRecordEntity, Long> implements CheckComplainRecordService {
@Autowired
private PerformComplainRecordService performComplainRecordService;
@Override @Override
public void examine(CheckComplainRecordEntity entity, Context context) throws AppException { public void examine(CheckComplainRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,10 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec ...@@ -36,5 +41,10 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performComplainRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformEffectRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckEffectRecordDao, CheckEffectRecordEntity, Long> implements CheckEffectRecordService { public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckEffectRecordDao, CheckEffectRecordEntity, Long> implements CheckEffectRecordService {
@Autowired
private PerformEffectRecordService performEffectRecordService;
@Override @Override
public void examine(CheckEffectRecordEntity entity, Context context) throws AppException { public void examine(CheckEffectRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,10 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE ...@@ -36,5 +41,10 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performEffectRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformGoworkRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckGoworkRecordDao, CheckGoworkRecordEntity, Long> implements CheckGoworkRecordService { public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckGoworkRecordDao, CheckGoworkRecordEntity, Long> implements CheckGoworkRecordService {
@Autowired
private PerformGoworkRecordService performGoworkRecordService;
@Override @Override
public void examine(CheckGoworkRecordEntity entity, Context context) throws AppException { public void examine(CheckGoworkRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,10 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG ...@@ -36,5 +41,10 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performGoworkRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformOtherRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOtherRecordDao, CheckOtherRecordEntity, Long> implements CheckOtherRecordService { public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOtherRecordDao, CheckOtherRecordEntity, Long> implements CheckOtherRecordService {
@Autowired
private PerformOtherRecordService performOtherRecordService;
@Override @Override
public void examine(CheckOtherRecordEntity entity, Context context) throws AppException { public void examine(CheckOtherRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,10 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt ...@@ -36,5 +41,10 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performOtherRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.check.service.impl; package com.mortals.xhx.module.check.service.impl;
import com.mortals.framework.service.IUser; import com.mortals.framework.service.IUser;
import com.mortals.xhx.module.perform.service.PerformReviewRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl; import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException; import com.mortals.framework.exception.AppException;
...@@ -22,6 +24,9 @@ import java.util.Date; ...@@ -22,6 +24,9 @@ import java.util.Date;
@Slf4j @Slf4j
public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckReviewRecordDao, CheckReviewRecordEntity, Long> implements CheckReviewRecordService { public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckReviewRecordDao, CheckReviewRecordEntity, Long> implements CheckReviewRecordService {
@Autowired
private PerformReviewRecordService performReviewRecordService;
@Override @Override
public void examine(CheckReviewRecordEntity entity, Context context) throws AppException { public void examine(CheckReviewRecordEntity entity, Context context) throws AppException {
if(entity.getId()==null){ if(entity.getId()==null){
...@@ -36,5 +41,10 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR ...@@ -36,5 +41,10 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
entity.setUpdateTime(entity.getCheckTime()); entity.setUpdateTime(entity.getCheckTime());
entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理) entity.setCheckStatus(2); //处理状态(1.未处理,2.已处理)
dao.update(entity); dao.update(entity);
try {
performReviewRecordService.updateProcessStatus(entity.getRecordId(),2);
}catch (Exception e){
log.error(e.getMessage());
}
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformAttendRecordEntity; import com.mortals.xhx.module.perform.model.PerformAttendRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao; import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao;
public interface PerformAttendRecordService extends ICRUDService<PerformAttendRecordEntity,Long>{ public interface PerformAttendRecordService extends ICRUDService<PerformAttendRecordEntity,Long>{
PerformAttendRecordDao getDao(); PerformAttendRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformComplainRecordEntity; import com.mortals.xhx.module.perform.model.PerformComplainRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformComplainRecordDao; import com.mortals.xhx.module.perform.dao.PerformComplainRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformComplainRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformComplainRecordDao;
public interface PerformComplainRecordService extends ICRUDService<PerformComplainRecordEntity,Long>{ public interface PerformComplainRecordService extends ICRUDService<PerformComplainRecordEntity,Long>{
PerformComplainRecordDao getDao(); PerformComplainRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformEffectRecordEntity; import com.mortals.xhx.module.perform.model.PerformEffectRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao; import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
public interface PerformEffectRecordService extends ICRUDService<PerformEffectRecordEntity,Long>{ public interface PerformEffectRecordService extends ICRUDService<PerformEffectRecordEntity,Long>{
PerformEffectRecordDao getDao(); PerformEffectRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity; import com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao; import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao;
public interface PerformGoworkRecordService extends ICRUDService<PerformGoworkRecordEntity,Long>{ public interface PerformGoworkRecordService extends ICRUDService<PerformGoworkRecordEntity,Long>{
PerformGoworkRecordDao getDao(); PerformGoworkRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformOtherRecordEntity; import com.mortals.xhx.module.perform.model.PerformOtherRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao; import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao;
public interface PerformOtherRecordService extends ICRUDService<PerformOtherRecordEntity,Long>{ public interface PerformOtherRecordService extends ICRUDService<PerformOtherRecordEntity,Long>{
PerformOtherRecordDao getDao(); PerformOtherRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
package com.mortals.xhx.module.perform.service; package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ICRUDService; import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformReviewRecordEntity; import com.mortals.xhx.module.perform.model.PerformReviewRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao; import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao;
...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao; ...@@ -13,4 +14,12 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao;
public interface PerformReviewRecordService extends ICRUDService<PerformReviewRecordEntity,Long>{ public interface PerformReviewRecordService extends ICRUDService<PerformReviewRecordEntity,Long>{
PerformReviewRecordDao getDao(); PerformReviewRecordDao getDao();
/**
* 修改处理状态
* @param id
* @param status
* @throws AppException
*/
void updateProcessStatus(Long id,Integer status) throws AppException;
} }
\ No newline at end of file
...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao; ...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformAttendRecordDao;
import com.mortals.xhx.module.perform.model.PerformAttendRecordEntity; import com.mortals.xhx.module.perform.model.PerformAttendRecordEntity;
import com.mortals.xhx.module.perform.service.PerformAttendRecordService; import com.mortals.xhx.module.perform.service.PerformAttendRecordService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformAttendRecordService * PerformAttendRecordService
* 考勤绩效记录信息 service实现 * 考勤绩效记录信息 service实现
...@@ -39,4 +42,23 @@ public class PerformAttendRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -39,4 +42,23 @@ public class PerformAttendRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
} }
checkAttendRecordService.save(checkAttendRecordEntity,context); checkAttendRecordService.save(checkAttendRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("考勤绩效记录Id不能为空");
}
PerformAttendRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的考勤绩效记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformAttendRecordEntity update = new PerformAttendRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
...@@ -13,6 +13,9 @@ import lombok.extern.slf4j.Slf4j; ...@@ -13,6 +13,9 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.Date;
/** /**
* PerformComplainRecordService * PerformComplainRecordService
* 评价绩效投诉记录信息 service实现 * 评价绩效投诉记录信息 service实现
...@@ -40,4 +43,23 @@ public class PerformComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Pe ...@@ -40,4 +43,23 @@ public class PerformComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Pe
} }
checkComplainRecordService.save(checkComplainRecordEntity,context); checkComplainRecordService.save(checkComplainRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("评价绩效投诉记录Id不能为空");
}
PerformComplainRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的评价绩效投诉记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformComplainRecordEntity update = new PerformComplainRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao; ...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
import com.mortals.xhx.module.perform.model.PerformEffectRecordEntity; import com.mortals.xhx.module.perform.model.PerformEffectRecordEntity;
import com.mortals.xhx.module.perform.service.PerformEffectRecordService; import com.mortals.xhx.module.perform.service.PerformEffectRecordService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformEffectRecordService * PerformEffectRecordService
* 效能绩效记录信息 service实现 * 效能绩效记录信息 service实现
...@@ -39,4 +42,23 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -39,4 +42,23 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
} }
checkEffectRecordService.save(checkEffectRecordEntity,context); checkEffectRecordService.save(checkEffectRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("效能绩效记录Id不能为空");
}
PerformEffectRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的效能绩效记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformEffectRecordEntity update = new PerformEffectRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao; ...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformGoworkRecordDao;
import com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity; import com.mortals.xhx.module.perform.model.PerformGoworkRecordEntity;
import com.mortals.xhx.module.perform.service.PerformGoworkRecordService; import com.mortals.xhx.module.perform.service.PerformGoworkRecordService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformGoworkRecordService * PerformGoworkRecordService
* 办件绩效记录信息 service实现 * 办件绩效记录信息 service实现
...@@ -39,4 +42,23 @@ public class PerformGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -39,4 +42,23 @@ public class PerformGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
} }
checkGoworkRecordService.save(checkGoworkRecordEntity,context); checkGoworkRecordService.save(checkGoworkRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("办件绩效记录Id不能为空");
}
PerformGoworkRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的办件绩效记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformGoworkRecordEntity update = new PerformGoworkRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao; ...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformOtherRecordDao;
import com.mortals.xhx.module.perform.model.PerformOtherRecordEntity; import com.mortals.xhx.module.perform.model.PerformOtherRecordEntity;
import com.mortals.xhx.module.perform.service.PerformOtherRecordService; import com.mortals.xhx.module.perform.service.PerformOtherRecordService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformOtherRecordService * PerformOtherRecordService
* 其它绩效记录信息 service实现 * 其它绩效记录信息 service实现
...@@ -39,4 +42,23 @@ public class PerformOtherRecordServiceImpl extends AbstractCRUDServiceImpl<Perfo ...@@ -39,4 +42,23 @@ public class PerformOtherRecordServiceImpl extends AbstractCRUDServiceImpl<Perfo
} }
checkOtherRecordService.save(checkOtherRecordEntity,context); checkOtherRecordService.save(checkOtherRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("其它绩效记录Id不能为空");
}
PerformOtherRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的其它绩效记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformOtherRecordEntity update = new PerformOtherRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao; ...@@ -12,6 +12,9 @@ import com.mortals.xhx.module.perform.dao.PerformReviewRecordDao;
import com.mortals.xhx.module.perform.model.PerformReviewRecordEntity; import com.mortals.xhx.module.perform.model.PerformReviewRecordEntity;
import com.mortals.xhx.module.perform.service.PerformReviewRecordService; import com.mortals.xhx.module.perform.service.PerformReviewRecordService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.util.Date;
/** /**
* PerformReviewRecordService * PerformReviewRecordService
* 评价差评绩效记录信息 service实现 * 评价差评绩效记录信息 service实现
...@@ -38,4 +41,23 @@ public class PerformReviewRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -38,4 +41,23 @@ public class PerformReviewRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
} }
checkReviewRecordService.save(checkReviewRecordEntity,context); checkReviewRecordService.save(checkReviewRecordEntity,context);
} }
@Override
public void updateProcessStatus(Long id, Integer status) throws AppException {
if(id==null){
throw new AppException("评价差评绩效记录Id不能为空");
}
PerformReviewRecordEntity entity = this.get(id);
if(entity==null){
throw new AppException("无效的评价差评绩效记录Id");
}
if(status==null){
status=1; //处理状态(1.未核查,2.已核查)
}
PerformReviewRecordEntity update = new PerformReviewRecordEntity();
update.setId(id);
update.setProcessStatus(status);
update.setUpdateTime(new Date());
dao.update(update);
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment