人效管理-绩效管理-绩效模板维护-接口对接

dev-scheduling
ysn 1 month ago
parent e283545043
commit 63de248e5e
  1. 8
      src/views/personnelEfficiencyManagement/performanceManagement/components/batchAddPerf.vue

@ -11,7 +11,7 @@
{{ formError }}
</div>
<el-table :data="form.tableData" @select="selectChange" border>
<el-table-column type="selection" width="55" v-if="moldAddMore"/>
<el-table-column type="selection" width="55" v-if="moldAddMore" />
<!-- 绩效任务名称 -->
<el-table-column align="center" label="绩效任务名称">
<template #header>
@ -164,14 +164,14 @@ export default {
this.loading = true;
const page = { currentPage: 1, pageSize: 500 };
const queryParams = Object.assign({}, this.query || {}, {
status: this.auditMode ? 0 : 1,
userName: query,
status: 1,
realName: query,
});
getList(page.currentPage, page.pageSize, queryParams)
.then(res => {
const data = res.data.data;
this.userData = data.records;
if (this.detailRow.reportUser){
if (this.detailRow.reportUser) {
// id
const hasItem = this.userData.some(item => item.id == this.detailRow.reportUser);
if (!hasItem) {

Loading…
Cancel
Save