Ver código fonte

功能修改

wangcahngsheng 11 meses atrás
pai
commit
50a911e97d

+ 5 - 3
src/components/assessment/evaluationDeptStartFrom.vue

@@ -251,7 +251,9 @@
                     createDate: row.createTime,
                     type: row.checkCycle === 'YDKP' ? '月度考评' : row.checkCycle === 'JDKP' ? '季度考评' : '年度考评',
                     year: row.appraisalYear,
-                    recStage: '有效'
+                    recStage: '有效',
+                    deptName: row.deptName,
+                    deptId: row.deptId,
                 }
                 this.getDetails(row.id)
                 // this.getshowDepartDataFn(row)
@@ -380,7 +382,7 @@
                     showInput: true,
                     businessPlanId: this.rowMsg.id,
                     serialNumber: '1',
-                    deptName: this.receiptMsg.deptId,
+                    deptId: this.receiptMsg.deptId,
                     targetName: '',
                     targetValue: '',
                     baseScore: 0,
@@ -404,7 +406,7 @@
                         createDept: that.userMes.deptId
                     }
                     if (item.showInput) {
-                        obj.deptId = item.deptName
+                        obj.deptId = item.deptId
                         obj.businessPlanId = item.businessPlanId
                     } else {
                         obj.id = item.id

+ 1 - 1
src/components/assessment/evaluationDeptStartPage.vue

@@ -33,7 +33,7 @@
                     <el-table-column type="selection" label="操作" align="center"></el-table-column>
                     <el-table-column label="业务编号" prop="responsibilityCode" width="300" />
                     <el-table-column label="考评年度" prop="appraisalYear" width="200" />
-                    <el-table-column label="考评部门" prop="appraisalYear" width="200" />
+                    <el-table-column label="考评部门" prop="deptName" width="200" />
                     <!-- <el-table-column label="业务简述" prop="des">
                         <template #default="scope">
                             <div v-if="!scope.row.chngeDes">

+ 8 - 5
src/components/taskCenter/taskCenterDeptStartFrom.vue

@@ -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