From b0da8df316a55b6f530f73d0e699b6ea26b5fb32 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sun, 7 Feb 2021 17:07:48 +0800 Subject: [PATCH] jiaru yuangong kaohe --- .../myQuestionAnswerManage.js | 17 +-- .../staffAssessmentManage.html | 103 ++++++++++++++++++ .../staffAssessmentManage.js | 93 ++++++++++++++++ .../userQuestionAnswerManage.js | 5 +- public/vcCore/vc-en.js | 3 +- 5 files changed, 212 insertions(+), 9 deletions(-) create mode 100644 public/pages/property/staffAssessmentManage/staffAssessmentManage.html create mode 100644 public/pages/property/staffAssessmentManage/staffAssessmentManage.js diff --git a/public/pages/property/myQuestionAnswerManage/myQuestionAnswerManage.js b/public/pages/property/myQuestionAnswerManage/myQuestionAnswerManage.js index c3beea9f7..74257cf53 100644 --- a/public/pages/property/myQuestionAnswerManage/myQuestionAnswerManage.js +++ b/public/pages/property/myQuestionAnswerManage/myQuestionAnswerManage.js @@ -16,8 +16,8 @@ qaType: '', qaName: '', qaId: '', - communityId:vc.getCurrentCommunity().communityId, - roleCd:'staff' + communityId: vc.getCurrentCommunity().communityId, + roleCd: 'staff' } } }, @@ -59,8 +59,11 @@ } ); }, - _toQuestionAnswerTitle:function(_questionAnswer){ - vc.jumpToPage('/admin.html#/pages/property/userQuestionAnswerManage?qaId='+_questionAnswer.qaId+"&objType="+_questionAnswer.objType+"&objId="+_questionAnswer.objId) + _toQuestionAnswerTitle: function (_questionAnswer) { + vc.jumpToPage('/admin.html#/pages/property/userQuestionAnswerManage?qaId=' + + _questionAnswer.qaId + "&objType=" + _questionAnswer.objType + + "&objId=" + _questionAnswer.objId + + "&answerType=1002&userQaId=-1") }, _queryQuestionAnswerMethod: function () { vc.component._listQuestionAnswers(DEFAULT_PAGE, DEFAULT_ROWS); @@ -72,10 +75,10 @@ vc.component.myQuestionAnswerManageInfo.moreCondition = true; } }, - _getStateName:function(_state){ - if(_state == '1201'){ + _getStateName: function (_state) { + if (_state == '1201') { return '待领导评价'; - }else if(_state == '1202'){ + } else if (_state == '1202') { return '完成'; } diff --git a/public/pages/property/staffAssessmentManage/staffAssessmentManage.html b/public/pages/property/staffAssessmentManage/staffAssessmentManage.html new file mode 100644 index 000000000..f28dc9769 --- /dev/null +++ b/public/pages/property/staffAssessmentManage/staffAssessmentManage.html @@ -0,0 +1,103 @@ +
| 员工名称 | +问卷名称 | +开始时间 | +结束时间 | +状态 | +自评得分 | +考核得分 | +操作 | +
|---|---|---|---|---|---|---|---|
| {{questionAnswer.personName}} | +{{questionAnswer.qaName}} | +{{questionAnswer.startTime}} | +{{questionAnswer.endTime}} | +{{_getStateName(questionAnswer.state)}} | +{{questionAnswer.score}} | +{{questionAnswer.evaluationScore}} | +
+
+
+
+
+ |
+
|
+ |
+ |||||||