|
@@ -77,13 +77,14 @@
|
|
|
<el-table-column label="序号" type="index" width="80" />
|
|
|
<el-table-column label="部门名称" prop="deptName" width="300">
|
|
|
<template #default="scope">
|
|
|
- <el-select v-model="scope.row.deptName"
|
|
|
+ <!-- <el-select v-model="scope.row.deptName"
|
|
|
:disabled="scope.row.dataPermission === '-1' && scope.row.deptName !== ''"
|
|
|
placeholder="请选择所属部门" filterable v-if="scope.row.showInput">
|
|
|
<el-option v-for="item in departData" :key="item.deptId" :label="item.deptName"
|
|
|
:value="item.deptId">
|
|
|
</el-option>
|
|
|
- </el-select>
|
|
|
+ </el-select> -->
|
|
|
+ <span v-if="scope.row.showInput">{{receiptMsg.deptName}}</span>
|
|
|
<span v-else>{{scope.row.deptName}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -361,7 +362,9 @@
|
|
|
type: item.checkCycle === 'YDKP' ? '月度考评' : item.checkCycle === 'JDKP' ?
|
|
|
'季度考评' : '年度考评',
|
|
|
year: item.appraisalYear,
|
|
|
- recStage: '有效'
|
|
|
+ recStage: '有效',
|
|
|
+ deptName: item.deptName,
|
|
|
+ deptId: item.deptId
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -377,7 +380,7 @@
|
|
|
showInput: true,
|
|
|
businessPlanId: this.importId,
|
|
|
serialNumber: 1,
|
|
|
- deptName: '',
|
|
|
+ deptId: this.receiptMsg.deptId,
|
|
|
targetName: '',
|
|
|
targetValue: '',
|
|
|
baseScore: 0,
|
|
@@ -402,7 +405,7 @@
|
|
|
createDept: userMes.deptId
|
|
|
}
|
|
|
if (item.showInput) {
|
|
|
- obj.deptId = item.deptName
|
|
|
+ obj.deptId = item.deptId
|
|
|
obj.businessPlanId = item.businessPlanId
|
|
|
} else {
|
|
|
obj.id = item.id
|