|
@@ -122,7 +122,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
</template>
|
|
|
<noData v-else content="暂无内容" imgW="120px" imgH="80px"></noData>
|
|
|
</template>
|
|
@@ -131,7 +130,19 @@
|
|
|
<div v-if="agencyList && agencyList.length > 0 || plcList && plcList.length > 0"
|
|
|
class="fontColorC flex-box-ce more" @click="more()"
|
|
|
style="width: 100%; margin: 0px 0; justify-content: flex-end;">
|
|
|
- 查看更多</div>
|
|
|
+ <el-popover ref="popoverRef" effect="dark" placement="left" trigger="hover">
|
|
|
+ <template #reference>
|
|
|
+ <el-link type="primary" class="reference">
|
|
|
+ 查看更多
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <div>
|
|
|
+ <strong>查看更多</strong>
|
|
|
+ <p style="margin: 5px 0;">每个节点可以点击查看更多,去批量操作</p>
|
|
|
+ </div>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
<div v-else style="width: 100%; margin: 20px 0;"></div>
|
|
|
|
|
|
<div v-if="activeName !== 10" class="flex-box-ce" style="justify-content: center; ">
|
|
@@ -158,7 +169,7 @@
|
|
|
type="text" @click="getTemplateDetails(performInfo.reviewId)">查看考核明细</el-button>
|
|
|
<el-tooltip effect="dark" content="教程指引" placement="top">
|
|
|
<div class="icon flex-center-center" @click="initStepData()">
|
|
|
- <i class="el-icon-document"></i>
|
|
|
+ <i class="el-icon-document" id="startTour"></i>
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
@@ -178,26 +189,23 @@
|
|
|
<div v-if="performInfo" class="flex-box-ce" style=" margin-top: 10px; ">
|
|
|
<div class="flex-box-ce"
|
|
|
style="width: 100px; height: 80px; margin: 0 auto; justify-content: space-around; flex-direction: column; border-radius: 5px;">
|
|
|
- <div class="green-color" style="font-size: 22px; font-weight: 600;">
|
|
|
+ <div v-if="performInfo.levelName" class="green-color"
|
|
|
+ style="font-size: 22px; font-weight: 600;">
|
|
|
{{ performInfo.levelName }}
|
|
|
</div>
|
|
|
- <div class="green-color" style="font-size: 18px; font-weight: 500; ">
|
|
|
+ <div v-else class="fontColorC" style="font-size: 16px;">
|
|
|
+ {{ '暂无评级' }}
|
|
|
+ </div>
|
|
|
+ <div v-if="performInfo.score" class="green-color"
|
|
|
+ style="font-size: 18px; font-weight: 500; ">
|
|
|
{{ performInfo.score }}
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div v-else class="flex-box-ce" style=" margin-top: 10px; ">
|
|
|
- <div class="flex-box-ce"
|
|
|
- style=" height: 80px; margin: 0 auto; justify-content: space-around; flex-direction: column; border-radius: 5px;">
|
|
|
- <div class="fontColorC" style="font-size: 20px; font-weight: 500;">
|
|
|
- 暂无考核信息
|
|
|
+ <div v-else class="fontColorC" style="font-size: 16px;">
|
|
|
+ {{ '暂无评分' }}
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -212,7 +220,7 @@
|
|
|
<!-- 编辑流程节点 -->
|
|
|
<EditNodeDialog v-if="dialogData" v-model="dialogVisible" :activeName="activeName" :dialogTitle="dialogTitle"
|
|
|
:dialogData="dialogData" :node-type="nodeType" @handleSuccess="getNewList"
|
|
|
- @handleEditSuccess="changeDialogData" />
|
|
|
+ @handleEditSuccess="changeDialogData" @refresh-data="refreshData" />
|
|
|
|
|
|
<!-- 面谈流程节点 -->
|
|
|
<InterviewNodeDialog v-if="interviewNodeVisible" v-model="interviewNodeVisible" :activeName="activeName"
|
|
@@ -238,12 +246,13 @@ import moment from 'moment';
|
|
|
import { mapGetters } from 'vuex';
|
|
|
import EditNodeDialog from './Workbench/EditNode';
|
|
|
import InterviewNodeDialog from './Workbench/InterviewNode';
|
|
|
-import IndicatorList from './Workbench/IndicatorList';
|
|
|
+import IndicatorList from './Workbench/IndicatorList'; // 指标审批列表
|
|
|
import MyPerformance from './MyPerformance'; // 我的考核
|
|
|
import workbenchSettingStep from "@/newPerformance/utils/workbenchSettingStep"
|
|
|
+import newWorkbenchSettingStep from "@/newPerformance/utils/new-workbenchSettingStep"
|
|
|
import introJs from 'intro.js'
|
|
|
import 'intro.js/introjs.css'
|
|
|
-import { Notification } from 'element-ui';
|
|
|
+
|
|
|
export default {
|
|
|
name: 'Workbench',
|
|
|
components: {
|
|
@@ -258,15 +267,15 @@ export default {
|
|
|
isDetailBtnShow: false,
|
|
|
day: moment().format('YYYY-MM-DD'),
|
|
|
editableTabs: [
|
|
|
- { title: '目标制定', name: '0', num: 0 },
|
|
|
- { title: '确认目标', name: '1', num: 0 },
|
|
|
- { title: '录入结果', name: '2', num: 0 },
|
|
|
- { title: '自评', name: '3', num: 0 },
|
|
|
- { title: '互评', name: '4', num: 0 },
|
|
|
- { title: '评分', name: '5', num: 0 },
|
|
|
- { title: '审批', name: '6', num: 0 },
|
|
|
- // { title: '面谈', name: '7', num: 0 },
|
|
|
- { title: '绩效确认', name: '10', num: 0 }
|
|
|
+ // { title: '目标制定', name: '0', num: 0 },
|
|
|
+ // { title: '确认目标', name: '1', num: 0 },
|
|
|
+ // { title: '录入结果', name: '2', num: 0 },
|
|
|
+ // { title: '自评', name: '3', num: 0 },
|
|
|
+ // { title: '互评', name: '4', num: 0 },
|
|
|
+ // { title: '评分', name: '5', num: 0 },
|
|
|
+ // { title: '审批', name: '6', num: 0 },
|
|
|
+ // // { title: '面谈', name: '7', num: 0 },
|
|
|
+ // { title: '绩效确认', name: '10', num: 0 }
|
|
|
],
|
|
|
userInfo: this.$userInfo(),
|
|
|
total: 0,
|
|
@@ -290,7 +299,6 @@ export default {
|
|
|
name: '', //搜索Name
|
|
|
pendingList: [], //提供给考核详情上下切换人员列表
|
|
|
plcList: [],
|
|
|
- site_info: null,
|
|
|
detailDialogVisible: false,
|
|
|
reviewId: '',
|
|
|
sendEmployeeId: "",
|
|
@@ -328,20 +336,85 @@ export default {
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
- ...mapGetters(['user_info'])
|
|
|
+ ...mapGetters(['site_info', 'user_info']),
|
|
|
+ isNewCompany() {
|
|
|
+ // 新绩效系统上线时间:2025年7月15日
|
|
|
+ const year = 2025;
|
|
|
+ const month = 7; // 注意:月份是从0开始的,7表示8月
|
|
|
+ const day = 5;
|
|
|
+
|
|
|
+ // 创建 Date 对象
|
|
|
+ const date = new Date(year, month - 1, day); // 月份需要减1
|
|
|
+
|
|
|
+ // 获取时间戳(毫秒)
|
|
|
+ const timestamp = date.getTime();
|
|
|
+
|
|
|
+ // 公司创建时间和新系统上线时间对比
|
|
|
+ return this.site_info.create_time * 1000 > timestamp
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
+
|
|
|
activated() {
|
|
|
+ // 新用户
|
|
|
+ if (this.isNewCompany) {
|
|
|
+ this.editableTabs = [
|
|
|
+ { title: '确认目标', name: '1', num: 0 },
|
|
|
+ { title: '录入结果', name: '2', num: 0 },
|
|
|
+ { title: '自评', name: '3', num: 0 },
|
|
|
+ { title: '互评', name: '4', num: 0 },
|
|
|
+ { title: '评分', name: '5', num: 0 },
|
|
|
+ { title: '审批', name: '6', num: 0 },
|
|
|
+ ]
|
|
|
+ } else {
|
|
|
+ this.editableTabs = [
|
|
|
+ { title: '目标制定', name: '0', num: 0 },
|
|
|
+ { title: '确认目标', name: '1', num: 0 },
|
|
|
+ { title: '录入结果', name: '2', num: 0 },
|
|
|
+ { title: '自评', name: '3', num: 0 },
|
|
|
+ { title: '互评', name: '4', num: 0 },
|
|
|
+ { title: '评分', name: '5', num: 0 },
|
|
|
+ { title: '审批', name: '6', num: 0 },
|
|
|
+ // { title: '面谈', name: '7', num: 0 },
|
|
|
+ { title: '绩效确认', name: '10', num: 0 }
|
|
|
+ ]
|
|
|
+ }
|
|
|
this.getAgencyNum(); // 获取旧系统的待办列表 角标数量
|
|
|
+ this.getNewAgencyNum(); // 获取新系统的待办列表 角标数量
|
|
|
this.getAgency(); // 获取旧系统的待办列表
|
|
|
this.getPlc();
|
|
|
},
|
|
|
created() {
|
|
|
+ // 新用户
|
|
|
+ if (this.isNewCompany) {
|
|
|
+ this.editableTabs = [
|
|
|
+ { title: '确认目标', name: '1', num: 0 },
|
|
|
+ { title: '录入结果', name: '2', num: 0 },
|
|
|
+ { title: '自评', name: '3', num: 0 },
|
|
|
+ { title: '互评', name: '4', num: 0 },
|
|
|
+ { title: '评分', name: '5', num: 0 },
|
|
|
+ { title: '审批', name: '6', num: 0 },
|
|
|
+ ]
|
|
|
+ } else {
|
|
|
+ this.editableTabs = [
|
|
|
+ { title: '目标制定', name: '0', num: 0 },
|
|
|
+ { title: '确认目标', name: '1', num: 0 },
|
|
|
+ { title: '录入结果', name: '2', num: 0 },
|
|
|
+ { title: '自评', name: '3', num: 0 },
|
|
|
+ { title: '互评', name: '4', num: 0 },
|
|
|
+ { title: '评分', name: '5', num: 0 },
|
|
|
+ { title: '审批', name: '6', num: 0 },
|
|
|
+ // { title: '面谈', name: '7', num: 0 },
|
|
|
+ { title: '绩效确认', name: '10', num: 0 }
|
|
|
+ ]
|
|
|
+ }
|
|
|
this.getAgencyNum(); // 获取旧系统的待办列表 角标数量
|
|
|
this.getNewAgencyNum(); // 获取新系统的待办列表 角标数量
|
|
|
this.getAgency(); // 获取旧系统的待办列表
|
|
|
this.getMyTemplateList();
|
|
|
- this.getUserMain()
|
|
|
+ this.getUserMain();
|
|
|
|
|
|
+
|
|
|
},
|
|
|
// mounted() {
|
|
|
// this.$nextTick(() => {
|
|
@@ -380,11 +453,20 @@ export default {
|
|
|
methods: {
|
|
|
// 开启教程指引
|
|
|
initStepData() {
|
|
|
- setTimeout(() => {
|
|
|
- this.isDetailBtnShow = true
|
|
|
- this.startGuide();
|
|
|
- }, 300)
|
|
|
+ if (this.isNewCompany) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isDetailBtnShow = true
|
|
|
+ this.startNewGuide();
|
|
|
+ }, 300)
|
|
|
+ } else {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isDetailBtnShow = true
|
|
|
+ this.startGuide();
|
|
|
+ }, 300)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
+
|
|
|
startGuide() {
|
|
|
introJs().setOptions({
|
|
|
nextLabel: '下一个', // 下一个按钮文字
|
|
@@ -400,7 +482,45 @@ export default {
|
|
|
showProgress: false, /* 是否显示进度条 */
|
|
|
scrollToElement: true, /* 是否滑动到高亮的区域 */
|
|
|
overlayOpacity: 0.5, // 遮罩层的透明度 0-1之间
|
|
|
- positionPrecedence: ['bottom', 'top', 'right', 'left'], /* 当位置选择自动的时候,位置排列的优先级 */
|
|
|
+ // positionPrecedence: ['bottom', 'top', 'right', 'left'], /* 当位置选择自动的时候,位置排列的优先级 */
|
|
|
+ disableInteraction: false, /* 是否禁止与元素的相互关联 */
|
|
|
+ hidePrev: true, /* 是否在第一步隐藏上一步 */
|
|
|
+ hidePrev: false, // 在第一步中是否隐藏上一个按钮
|
|
|
+ hideNext: false, // 在最后一步中是否隐藏下一个按钮
|
|
|
+ exitOnOverlayClick: false, // 点击叠加层时是否退出介绍
|
|
|
+ showStepNumbers: false, // 是否显示红色圆圈的步骤编号
|
|
|
+ disableInteraction: true, // 是否禁用与突出显示的框内的元素的交互,就是禁止点击
|
|
|
+ showBullets: true, // 是否显示面板指示点
|
|
|
+ // 配置内容 steps数组,内部一个对象代表一个步骤
|
|
|
+ steps: workbenchSettingStep,
|
|
|
+ scrollToElement: true, // 自动滚动到目标元素
|
|
|
+ }).onexit((e) => {
|
|
|
+ this.isDetailBtnShow = false
|
|
|
+ this.startGuide2()
|
|
|
+ }).oncomplete((e) => {
|
|
|
+ this.isDetailBtnShow = false
|
|
|
+ this.startGuide2()
|
|
|
+ }).onbeforechange((e) => {
|
|
|
+ }).start()
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ startNewGuide() {
|
|
|
+ introJs().setOptions({
|
|
|
+ nextLabel: '下一个', // 下一个按钮文字
|
|
|
+ prevLabel: '上一个', // 上一个按钮文字
|
|
|
+ skipLabel: '跳过', // 跳过按钮文字
|
|
|
+ doneLabel: '立即体验',// 完成按钮文字
|
|
|
+ tooltipClass: 'intro-tooltip', /* 引导说明文本框的样式 */
|
|
|
+ highlightClass: 'intro-highlight', /* 说明高亮区域的样式 */
|
|
|
+ exitOnEsc: true, /* 是否使用键盘Esc退出 */
|
|
|
+ exitOnOverlayClick: false, /* 是否允许点击空白处退出 */
|
|
|
+ keyboardNavigation: true, /* 是否允许键盘来操作 */
|
|
|
+ showBullets: false, /* 是否使用点显示进度 */
|
|
|
+ showProgress: false, /* 是否显示进度条 */
|
|
|
+ scrollToElement: true, /* 是否滑动到高亮的区域 */
|
|
|
+ overlayOpacity: 0.5, // 遮罩层的透明度 0-1之间
|
|
|
+ // positionPrecedence: ['bottom', 'top', 'right', 'left'], /* 当位置选择自动的时候,位置排列的优先级 */
|
|
|
disableInteraction: false, /* 是否禁止与元素的相互关联 */
|
|
|
hidePrev: true, /* 是否在第一步隐藏上一步 */
|
|
|
hidePrev: false, // 在第一步中是否隐藏上一个按钮
|
|
@@ -410,17 +530,46 @@ export default {
|
|
|
disableInteraction: true, // 是否禁用与突出显示的框内的元素的交互,就是禁止点击
|
|
|
showBullets: true, // 是否显示面板指示点
|
|
|
// 配置内容 steps数组,内部一个对象代表一个步骤
|
|
|
- steps: workbenchSettingStep
|
|
|
+ steps: newWorkbenchSettingStep,
|
|
|
+ scrollToElement: true, // 自动滚动到目标元素
|
|
|
}).onexit((e) => {
|
|
|
- console.log("退出")
|
|
|
this.isDetailBtnShow = false
|
|
|
+ this.startGuide2()
|
|
|
}).oncomplete((e) => {
|
|
|
- console.log("完成")
|
|
|
this.isDetailBtnShow = false
|
|
|
+ this.startGuide2()
|
|
|
}).onbeforechange((e) => {
|
|
|
}).start()
|
|
|
},
|
|
|
|
|
|
+
|
|
|
+ startGuide2() {
|
|
|
+ introJs().setOptions({
|
|
|
+ steps: [
|
|
|
+ {
|
|
|
+ element: '#startTour',
|
|
|
+ intro: '教程已结束。您可以在点击这里重新开始教程。'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ overlayOpacity: 0.5, // 遮罩层的透明度 0-1之间
|
|
|
+ showBullets: false,
|
|
|
+ showProgress: false,
|
|
|
+ showStepNumbers: false,
|
|
|
+ tooltipClass: 'intro-tooltip', /* 引导说明文本框的样式 */
|
|
|
+ highlightClass: 'intro-highlight', /* 说明高亮区域的样式 */
|
|
|
+ exitOnEsc: true, /* 是否使用键盘Esc退出 */
|
|
|
+ exitOnOverlayClick: false, /* 是否允许点击空白处退出 */
|
|
|
+ scrollToElement: true, // 自动滚动到目标元素
|
|
|
+ skipLabel: '知道了',
|
|
|
+ doneLabel: '知道了'
|
|
|
+
|
|
|
+ }).onexit((e) => {
|
|
|
+ }).oncomplete((e) => {
|
|
|
+ }).onbeforechange((e) => {
|
|
|
+ }).start()
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
idGeneral() {
|
|
|
var s = [];
|
|
|
var hexDigits = "0123456789abcdef";
|
|
@@ -495,12 +644,14 @@ export default {
|
|
|
let { data: { data: { list, total }, code } } = res;
|
|
|
if (code == 1) {
|
|
|
if (list && list.length > 0) {
|
|
|
- that.performInfo = list.filter(item => item.score > 0)[0] || null;
|
|
|
+ that.performInfo = list.filter(item => item.status == 1)[0] || null; // 已结束的考核
|
|
|
if (that.performInfo && that.performInfo.startTime)
|
|
|
that.performInfo.startTime = that.formatDate(that.performInfo.startTime)
|
|
|
if (that.performInfo && that.performInfo.endTime)
|
|
|
that.performInfo.endTime = that.formatDate(that.performInfo.endTime)
|
|
|
+
|
|
|
let deptMap = JSON.parse(localStorage.getItem("SET_EMPLOYEE_MAP"));
|
|
|
+
|
|
|
if (Object.keys(deptMap) && Object.keys(deptMap).length > 0) {
|
|
|
if (that.performInfo) {
|
|
|
const employeeDetails = deptMap[that.performInfo.employeeId];
|
|
@@ -519,9 +670,9 @@ export default {
|
|
|
more() {
|
|
|
if (this.activeName == 0 || this.activeName == 10) {
|
|
|
if (this.activeName == 0)
|
|
|
- this.$router.push({ path: "/backlog?activeName=" + Number(this.activeName + 1) })
|
|
|
+ this.$router.push({ path: "/backlog?activeName=" + Number(this.activeName + 1), query: { from: "new_system" } })
|
|
|
else
|
|
|
- this.$router.push({ path: "/backlog?activeName" + Number(this.activeName) })
|
|
|
+ this.$router.push({ path: "/backlog?activeName" + Number(this.activeName), query: { from: "new_system" } })
|
|
|
} else {
|
|
|
this.$router.push({ path: "/moreNode/" + this.activeName })
|
|
|
}
|
|
@@ -531,6 +682,7 @@ export default {
|
|
|
handleCateDetailsClose() {
|
|
|
this.cateDetailsDialog = false
|
|
|
},
|
|
|
+
|
|
|
getNewList() {
|
|
|
this.getAgencyNum(); // 获取旧系统的待办列表 角标数量
|
|
|
this.getNewAgencyNum(); // 获取新系统的待办列表 角标数量
|
|
@@ -543,6 +695,7 @@ export default {
|
|
|
this.sendEmployeeId = this.user_info.id
|
|
|
this.detailDialogVisible = true
|
|
|
},
|
|
|
+
|
|
|
closeDialog() {
|
|
|
this.dialogVisible = false
|
|
|
},
|
|
@@ -557,6 +710,7 @@ export default {
|
|
|
openUploadPublish() {
|
|
|
this.showUploadPublish = true;
|
|
|
},
|
|
|
+
|
|
|
// 确认删除模板
|
|
|
confirmDelete(templateId) {
|
|
|
this.$axiosUser('post', `/performance/template/remove/${this.user_info.site_id}/${templateId}`).then(res => {
|
|
@@ -583,7 +737,6 @@ export default {
|
|
|
},
|
|
|
|
|
|
openAffirm(item) {
|
|
|
-
|
|
|
this.$router.push({ path: '/affirm', query: { pl_id: item.id, level_name: item.level_name, package_id: item.package_id, from: "new_system" } });
|
|
|
},
|
|
|
|
|
@@ -597,7 +750,7 @@ export default {
|
|
|
|
|
|
|
|
|
// 关闭绩效弹框回调事件
|
|
|
- handleClose() { },
|
|
|
+ handleClose() {},
|
|
|
|
|
|
|
|
|
openDetail(item) {
|
|
@@ -708,37 +861,57 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
|
|
|
+ // 接收子组件操作数据成功的回调,刷新数据
|
|
|
changeDialogData(data) {
|
|
|
this.dialogData = data;
|
|
|
},
|
|
|
+
|
|
|
+ refreshData() {
|
|
|
+ this.getAgencyNum();
|
|
|
+ this.getNewAgencyNum();
|
|
|
+ this.getNewAgency();
|
|
|
+ },
|
|
|
+
|
|
|
//待办数量
|
|
|
getAgencyNum() {
|
|
|
this.$axiosUser('get', '/api/pro/per/package/msg/agency_num', { status: 0 }, 'v2').then(res => {
|
|
|
let data = res.data.data;
|
|
|
- this.editableTabs[0].num = data.target; // 目标制定
|
|
|
- this.editableTabs[7].num = data.level_confirm; // 绩效确认
|
|
|
- // this.editableTabs[8].num = data.level_confirm; // 绩效确认
|
|
|
+ if (!this.isNewCompany) {
|
|
|
+ this.editableTabs[0].num = data.target; // 目标制定
|
|
|
+ this.editableTabs[7].num = data.level_confirm; // 绩效确认
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
|
|
|
getNewAgencyNum() {
|
|
|
this.$axiosUser('get', `/performance/statistics/job/${this.user_info.site_id}`).then(res => {
|
|
|
let data = res.data.data;
|
|
|
- this.editableTabs[1].num = data.targetConfirm; // 确认目标
|
|
|
- this.editableTabs[2].num = data.resultInput; // 录入结果
|
|
|
- this.editableTabs[3].num = data.scoreSelf; // 自评
|
|
|
- this.editableTabs[4].num = data.scoreEachOther; // 互评
|
|
|
- this.editableTabs[5].num = data.scores; // 评分
|
|
|
- this.editableTabs[6].num = data.reviews; // 审批
|
|
|
- // this.editableTabs[7].num = data.interviews; // 面谈
|
|
|
+ if (this.isNewCompany) {
|
|
|
+ this.editableTabs[0].num = data.targetConfirm; // 确认目标
|
|
|
+ this.editableTabs[1].num = data.resultInput; // 录入结果
|
|
|
+ this.editableTabs[2].num = data.scoreSelf; // 自评
|
|
|
+ this.editableTabs[3].num = data.scoreEachOther; // 互评
|
|
|
+ this.editableTabs[4].num = data.scores; // 评分
|
|
|
+ this.editableTabs[5].num = data.reviews; // 审批
|
|
|
+ // this.editableTabs[7].num = data.interviews; // 面谈
|
|
|
+ } else {
|
|
|
+ this.editableTabs[1].num = data.targetConfirm; // 确认目标
|
|
|
+ this.editableTabs[2].num = data.resultInput; // 录入结果
|
|
|
+ this.editableTabs[3].num = data.scoreSelf; // 自评
|
|
|
+ this.editableTabs[4].num = data.scoreEachOther; // 互评
|
|
|
+ this.editableTabs[5].num = data.scores; // 评分
|
|
|
+ this.editableTabs[6].num = data.reviews; // 审批
|
|
|
+ // this.editableTabs[7].num = data.interviews; // 面谈
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
//待办
|
|
|
getNewAgency() {
|
|
|
this.loading = true;
|
|
@@ -755,6 +928,7 @@ export default {
|
|
|
|
|
|
handleSizeChange(val) {
|
|
|
},
|
|
|
+
|
|
|
handleCurrentChange(val) {
|
|
|
this.getAgency();
|
|
|
},
|
|
@@ -818,12 +992,13 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
<style scoped="scoped" lang="scss">
|
|
|
.green-color {
|
|
|
color: #67C23A;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.orange-color {
|
|
|
color: #e6a23c;
|
|
|
}
|
|
@@ -918,7 +1093,6 @@ export default {
|
|
|
margin-left: 10px;
|
|
|
padding: 10px;
|
|
|
box-sizing: border-box;
|
|
|
-
|
|
|
.title-box {
|
|
|
display: flex;
|
|
|
align-items: center;
|